diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/CognitiveServices.Tests.csproj b/src/SDKs/CognitiveServices/CognitiveServices.Tests/CognitiveServices.Tests.csproj
index b6f3910966c4..f7ccec2ad8cb 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/CognitiveServices.Tests.csproj
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/CognitiveServices.Tests.csproj
@@ -14,6 +14,7 @@
+
@@ -27,4 +28,5 @@
+
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/Helpers/CognitiveServicesManagementTestUtilities.cs b/src/SDKs/CognitiveServices/CognitiveServices.Tests/Helpers/CognitiveServicesManagementTestUtilities.cs
index 4debb31fdab2..d4c909d91f1b 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/Helpers/CognitiveServicesManagementTestUtilities.cs
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/Helpers/CognitiveServicesManagementTestUtilities.cs
@@ -1,21 +1,16 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
-using Microsoft.Azure;
-using Microsoft.Azure.Management.Resources;
-using Microsoft.Azure.Management.Resources.Models;
using Microsoft.Azure.Management.CognitiveServices;
using Microsoft.Azure.Management.CognitiveServices.Models;
+using Microsoft.Azure.Management.ResourceManager;
+using Microsoft.Azure.Management.ResourceManager.Models;
using Microsoft.Rest;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using ResourceGroups.Tests;
using System;
using System.Collections.Generic;
-using System.Linq;
-using System.Net;
using System.Net.Http;
-using System.Reflection;
-using System.Security.Cryptography.X509Certificates;
using Xunit;
namespace CognitiveServices.Tests.Helpers
@@ -25,11 +20,6 @@ public static class CognitiveServicesManagementTestUtilities
public static bool IsTestTenant = false;
private static HttpClientHandler Handler = null;
- // These should be filled in only if test tenant is true
-#if DNX451
- private static string certName = null;
- private static string certPassword = null;
-#endif
private const string testSubscription = null;
private static Uri testUri = null;
@@ -76,16 +66,6 @@ public static CognitiveServicesManagementClient GetCognitiveServicesManagementCl
private static HttpClientHandler GetHandler()
{
-#if DNX451
- if (Handler == null)
- {
- //talk to yugangw-msft, if the code doesn't work under dnx451 (same with net451)
- X509Certificate2 cert = new X509Certificate2(certName, certPassword);
- Handler = new System.Net.Http.WebRequestHandler();
- ((WebRequestHandler)Handler).ClientCertificates.Add(cert);
- ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => { return true; };
- }
-#endif
return Handler;
}
@@ -95,7 +75,7 @@ public static CognitiveServicesAccountCreateParameters GetDefaultCognitiveServic
{
Location = DefaultLocation,
Tags = DefaultTags,
- Sku = new Sku { Name = DefaultSkuName },
+ Sku = new Microsoft.Azure.Management.CognitiveServices.Models.Sku { Name = DefaultSkuName },
Kind = DefaultKind,
Properties = new object(),
};
@@ -137,7 +117,7 @@ public static CognitiveServicesAccount CreateAndValidateAccountWithOnlyRequiredP
var accountName = TestUtilities.GenerateName("csa");
var parameters = new CognitiveServicesAccountCreateParameters
{
- Sku = new Sku { Name = skuName },
+ Sku = new Microsoft.Azure.Management.CognitiveServices.Models.Sku { Name = skuName },
Kind = accountType,
Location = location ?? DefaultLocation,
Properties = new object(),
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicsAccountCreateAllApisTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountCreateAllApisTest.json
similarity index 52%
rename from src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicsAccountCreateAllApisTest.json
rename to src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountCreateAllApisTest.json
index 75d5d33711e0..1bfd2319f638 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicsAccountCreateAllApisTest.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountCreateAllApisTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res9030?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczkwMzA/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourcegroups/res9880?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlZ3JvdXBzL3Jlczk4ODA/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,17 +13,17 @@
"28"
],
"x-ms-client-request-id": [
- "e345c84e-112b-4f63-9ef5-e1757a0abaff"
+ "93ffecb7-9900-49ae-ab87-a1e3b32e4974"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030\",\r\n \"name\": \"res9030\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880\",\r\n \"name\": \"res9880\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"167"
@@ -38,22 +38,22 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:50:40 GMT"
+ "Fri, 26 May 2017 12:26:27 GMT"
],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
+ "1172"
],
"x-ms-request-id": [
- "e9fad70d-f599-4b8d-8466-fc8e74416750"
+ "1f18382d-e986-443b-a39e-a8a07ddf23e1"
],
"x-ms-correlation-request-id": [
- "e9fad70d-f599-4b8d-8466-fc8e74416750"
+ "1f18382d-e986-443b-a39e-a8a07ddf23e1"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065040Z:e9fad70d-f599-4b8d-8466-fc8e74416750"
+ "JAPANEAST:20170526T122628Z:1f18382d-e986-443b-a39e-a8a07ddf23e1"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -62,8 +62,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa7302?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E3MzAyP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa8677?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3Jlczk4ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E4Njc3P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Academic\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -74,20 +74,20 @@
"108"
],
"x-ms-client-request-id": [
- "330f6963-10b3-4480-91c6-1935a1c60af7"
+ "99223c5a-2dda-4dbd-a571-b3e912eee9f1"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa7302\",\r\n \"name\": \"csa7302\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Academic\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A08.9568059Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.projectoxford.ai/academic/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"64aedc3d5dcf47758e5f74b36767d1aa\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa8677\",\r\n \"name\": \"csa8677\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Academic\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A26%3A29.823926Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/academic/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"b732c2348b454154992e4d0ae139d55c\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "489"
+ "502"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -99,13 +99,13 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:51:09 GMT"
+ "Fri, 26 May 2017 12:26:30 GMT"
],
"Pragma": [
"no-cache"
],
"ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A08.9568059Z'\""
+ "W/\"datetime'2017-05-26T12%3A26%3A29.823926Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
@@ -120,23 +120,23 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
+ "1171"
],
"x-ms-request-id": [
- "d1a0eaf2-aba4-4a3f-b8c2-587781913f2f"
+ "34469fd6-67aa-415f-92d6-29c9e445e353"
],
"x-ms-correlation-request-id": [
- "d1a0eaf2-aba4-4a3f-b8c2-587781913f2f"
+ "34469fd6-67aa-415f-92d6-29c9e445e353"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065109Z:d1a0eaf2-aba4-4a3f-b8c2-587781913f2f"
+ "JAPANEAST:20170526T122630Z:34469fd6-67aa-415f-92d6-29c9e445e353"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa1224?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2ExMjI0P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa9139?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3Jlczk4ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E5MTM5P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Bing.Autosuggest\",\r\n \"location\": \"global\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -147,17 +147,17 @@
"116"
],
"x-ms-client-request-id": [
- "821d6492-26cf-4665-b6f4-e221be8cc744"
+ "f322c3ba-96d0-451a-a8fd-bf63fe0973e0"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa1224\",\r\n \"name\": \"csa1224\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Bing.Autosuggest\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A12.1338138Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/bing/v5.0/suggestions\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"08641b01faaa4818b1939b43c0f9556f\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa9139\",\r\n \"name\": \"csa9139\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Bing.Autosuggest\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A26%3A31.8437418Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/bing/v5.0/suggestions\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"4937e88d823c46edba6cb864d5f3c900\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"512"
@@ -172,13 +172,13 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:51:12 GMT"
+ "Fri, 26 May 2017 12:26:32 GMT"
],
"Pragma": [
"no-cache"
],
"ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A12.1338138Z'\""
+ "W/\"datetime'2017-05-26T12%3A26%3A31.8437418Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
@@ -193,23 +193,23 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
+ "1170"
],
"x-ms-request-id": [
- "8c48f5c4-a37b-4f9e-b7e1-592ff1672654"
+ "1b510f48-49a8-4888-ba55-108873445ca5"
],
"x-ms-correlation-request-id": [
- "8c48f5c4-a37b-4f9e-b7e1-592ff1672654"
+ "1b510f48-49a8-4888-ba55-108873445ca5"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065112Z:8c48f5c4-a37b-4f9e-b7e1-592ff1672654"
+ "JAPANEAST:20170526T122632Z:1b510f48-49a8-4888-ba55-108873445ca5"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa7867?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E3ODY3P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa8173?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3Jlczk4ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E4MTczP2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Bing.Search\",\r\n \"location\": \"global\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -220,17 +220,17 @@
"111"
],
"x-ms-client-request-id": [
- "0c56cf9d-c1cf-45bf-8afa-41d252ede471"
+ "b3bb97b6-c83e-48a8-9048-5954a8d3cd6c"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa7867\",\r\n \"name\": \"csa7867\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Bing.Search\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A14.9644942Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/bing/v5.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"c429dfc02f0d47ff9b763a98a50c5315\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa8173\",\r\n \"name\": \"csa8173\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Bing.Search\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A26%3A33.1630002Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/bing/v5.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"bb8e8e50881a42f8a8be8be2031e40aa\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"495"
@@ -245,13 +245,13 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:51:14 GMT"
+ "Fri, 26 May 2017 12:26:33 GMT"
],
"Pragma": [
"no-cache"
],
"ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A14.9644942Z'\""
+ "W/\"datetime'2017-05-26T12%3A26%3A33.1630002Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
@@ -266,23 +266,23 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
+ "1169"
],
"x-ms-request-id": [
- "cd3a5f6e-641f-4eb5-986d-f6182d636f73"
+ "0c584b51-876a-4220-aeb5-7f7c358a8c97"
],
"x-ms-correlation-request-id": [
- "cd3a5f6e-641f-4eb5-986d-f6182d636f73"
+ "0c584b51-876a-4220-aeb5-7f7c358a8c97"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065115Z:cd3a5f6e-641f-4eb5-986d-f6182d636f73"
+ "JAPANEAST:20170526T122633Z:0c584b51-876a-4220-aeb5-7f7c358a8c97"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa6029?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E2MDI5P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa8538?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3Jlczk4ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E4NTM4P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Bing.Speech\",\r\n \"location\": \"global\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -293,20 +293,20 @@
"111"
],
"x-ms-client-request-id": [
- "59f7c511-fbba-47b1-a486-1fbe303be4de"
+ "8ff29830-f594-441d-b8f8-698e8703a073"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa6029\",\r\n \"name\": \"csa6029\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Bing.Speech\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A19.523811Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"c618b050d75744689a3a5e7307e9cd18\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa8538\",\r\n \"name\": \"csa8538\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Bing.Speech\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A26%3A34.5805849Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"a6498f573b5840fb891542d6ba462a76\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "493"
+ "494"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -318,13 +318,13 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:51:19 GMT"
+ "Fri, 26 May 2017 12:26:34 GMT"
],
"Pragma": [
"no-cache"
],
"ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A19.523811Z'\""
+ "W/\"datetime'2017-05-26T12%3A26%3A34.5805849Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
@@ -339,23 +339,23 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1195"
+ "1168"
],
"x-ms-request-id": [
- "8a725445-b617-4efc-adb1-19486fd928aa"
+ "c4d0d477-8827-45b3-a02c-c93b8f476684"
],
"x-ms-correlation-request-id": [
- "8a725445-b617-4efc-adb1-19486fd928aa"
+ "c4d0d477-8827-45b3-a02c-c93b8f476684"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065120Z:8a725445-b617-4efc-adb1-19486fd928aa"
+ "JAPANEAST:20170526T122635Z:c4d0d477-8827-45b3-a02c-c93b8f476684"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa6202?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E2MjAyP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa8576?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3Jlczk4ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E4NTc2P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Bing.SpellCheck\",\r\n \"location\": \"global\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -366,17 +366,17 @@
"115"
],
"x-ms-client-request-id": [
- "5c45ea1a-7d5a-4a99-9d77-de7ca34161a5"
+ "9d058bcf-a4d3-4e96-87d0-91ef9b9352bc"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa6202\",\r\n \"name\": \"csa6202\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Bing.SpellCheck\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A22.2110989Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/bing/v5.0/spellcheck\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"ad69f6fb08b643b2b59842987818f10a\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa8576\",\r\n \"name\": \"csa8576\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Bing.SpellCheck\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A26%3A35.7744928Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/bing/v5.0/spellcheck\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"71fce77dd2bd4323af9de5855389600a\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"510"
@@ -391,13 +391,13 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:51:21 GMT"
+ "Fri, 26 May 2017 12:26:35 GMT"
],
"Pragma": [
"no-cache"
],
"ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A22.2110989Z'\""
+ "W/\"datetime'2017-05-26T12%3A26%3A35.7744928Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
@@ -412,25 +412,25 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1194"
+ "1167"
],
"x-ms-request-id": [
- "2d177303-d8ea-4013-b1ad-34aca7ad8cab"
+ "64746c5f-151f-469e-9134-4e8a80f0ff3a"
],
"x-ms-correlation-request-id": [
- "2d177303-d8ea-4013-b1ad-34aca7ad8cab"
+ "64746c5f-151f-469e-9134-4e8a80f0ff3a"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065122Z:2d177303-d8ea-4013-b1ad-34aca7ad8cab"
+ "JAPANEAST:20170526T122636Z:64746c5f-151f-469e-9134-4e8a80f0ff3a"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa3783?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2EzNzgzP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa624?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3Jlczk4ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E2MjQ/YXBpLXZlcnNpb249MjAxNy0wNC0xOA==",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"ComputerVision\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
+ "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"ComputerVision\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
"Content-Type": [
"application/json; charset=utf-8"
@@ -439,20 +439,20 @@
"114"
],
"x-ms-client-request-id": [
- "59cf82d1-f3f3-4cb2-94af-8466b6b2a2ee"
+ "a8c2d80d-7673-4a43-bc81-cdf734b0f557"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa3783\",\r\n \"name\": \"csa3783\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"ComputerVision\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A27.7335822Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.projectoxford.ai/vision/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"8b3b595038ae431285e1ba52a6514708\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa624\",\r\n \"name\": \"csa624\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"ComputerVision\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A26%3A37.1858351Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/vision/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"c17d7692518648a6ab393154783a0101\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "493"
+ "505"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -464,13 +464,13 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:51:27 GMT"
+ "Fri, 26 May 2017 12:26:37 GMT"
],
"Pragma": [
"no-cache"
],
"ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A27.7335822Z'\""
+ "W/\"datetime'2017-05-26T12%3A26%3A37.1858351Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
@@ -485,23 +485,23 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1193"
+ "1166"
],
"x-ms-request-id": [
- "ca15c28b-09d8-4850-87f0-e02ad33200ac"
+ "9ed59ae6-4e95-4b33-bb90-968d1f31a55b"
],
"x-ms-correlation-request-id": [
- "ca15c28b-09d8-4850-87f0-e02ad33200ac"
+ "9ed59ae6-4e95-4b33-bb90-968d1f31a55b"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065128Z:ca15c28b-09d8-4850-87f0-e02ad33200ac"
+ "JAPANEAST:20170526T122637Z:9ed59ae6-4e95-4b33-bb90-968d1f31a55b"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa3345?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2EzMzQ1P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa8490?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3Jlczk4ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E4NDkwP2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"ContentModerator\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -512,20 +512,20 @@
"116"
],
"x-ms-client-request-id": [
- "e1c6d9f6-cc5d-47aa-84e8-19b2b515af46"
+ "77377061-495d-4daa-9d11-2af178739dd5"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa3345\",\r\n \"name\": \"csa3345\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"ContentModerator\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A30.0888128Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/contentmoderator\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"e9736b36e6a64670a5e1dc5dd86f3c18\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa8490\",\r\n \"name\": \"csa8490\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"ContentModerator\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A26%3A38.510077Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/contentmoderator\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"9bbed932547a48328b4c242e69bd0eae\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "514"
+ "513"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -537,13 +537,13 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:51:29 GMT"
+ "Fri, 26 May 2017 12:26:38 GMT"
],
"Pragma": [
"no-cache"
],
"ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A30.0888128Z'\""
+ "W/\"datetime'2017-05-26T12%3A26%3A38.510077Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
@@ -558,23 +558,23 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1192"
+ "1165"
],
"x-ms-request-id": [
- "4fb53c9f-7352-4ce9-abbf-be9769429a9e"
+ "992591cf-dee7-41ac-bc9b-53c3385ff3a3"
],
"x-ms-correlation-request-id": [
- "4fb53c9f-7352-4ce9-abbf-be9769429a9e"
+ "992591cf-dee7-41ac-bc9b-53c3385ff3a3"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065130Z:4fb53c9f-7352-4ce9-abbf-be9769429a9e"
+ "JAPANEAST:20170526T122639Z:992591cf-dee7-41ac-bc9b-53c3385ff3a3"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa8724?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E4NzI0P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa1680?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3Jlczk4ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2ExNjgwP2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Emotion\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -585,20 +585,20 @@
"107"
],
"x-ms-client-request-id": [
- "e32195fa-e56d-4280-b684-a90bd551b8ee"
+ "e6755398-c7db-49f8-9f7f-f97f4410313a"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa8724\",\r\n \"name\": \"csa8724\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Emotion\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A32.9014766Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.projectoxford.ai/emotion/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"7018dc89e464455b86712ccf2354adfb\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa1680\",\r\n \"name\": \"csa1680\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Emotion\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A26%3A39.9794559Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/emotion/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"eaa3df29685c4c4baa32c099d021a833\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "487"
+ "501"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -610,13 +610,13 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:51:32 GMT"
+ "Fri, 26 May 2017 12:26:39 GMT"
],
"Pragma": [
"no-cache"
],
"ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A32.9014766Z'\""
+ "W/\"datetime'2017-05-26T12%3A26%3A39.9794559Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
@@ -631,23 +631,23 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1191"
+ "1164"
],
"x-ms-request-id": [
- "709322a4-349e-4320-85e9-324cf723a341"
+ "e984fda6-bffe-43d6-a6c8-073243078efd"
],
"x-ms-correlation-request-id": [
- "709322a4-349e-4320-85e9-324cf723a341"
+ "e984fda6-bffe-43d6-a6c8-073243078efd"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065133Z:709322a4-349e-4320-85e9-324cf723a341"
+ "JAPANEAST:20170526T122640Z:e984fda6-bffe-43d6-a6c8-073243078efd"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa3000?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2EzMDAwP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa8560?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3Jlczk4ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E4NTYwP2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Face\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -658,20 +658,20 @@
"104"
],
"x-ms-client-request-id": [
- "94d93fc3-b531-420b-a8f7-04a251da3dd1"
+ "671ccf87-306e-4cbe-b7a7-9cbce6316022"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa3000\",\r\n \"name\": \"csa3000\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Face\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A40.3705475Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.projectoxford.ai/face/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"e404485efe8b41cdafbf5089369e1dc9\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa8560\",\r\n \"name\": \"csa8560\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Face\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A26%3A41.4158049Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/face/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"c478100f274244c3a1b3a55e5bd0aab8\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "481"
+ "495"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -683,13 +683,13 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:51:39 GMT"
+ "Fri, 26 May 2017 12:26:41 GMT"
],
"Pragma": [
"no-cache"
],
"ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A40.3705475Z'\""
+ "W/\"datetime'2017-05-26T12%3A26%3A41.4158049Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
@@ -704,23 +704,23 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1190"
+ "1163"
],
"x-ms-request-id": [
- "3b466341-ab38-4f96-a045-f6132dcc586a"
+ "202c85aa-c0fd-4ec4-8686-c38ad3c1741c"
],
"x-ms-correlation-request-id": [
- "3b466341-ab38-4f96-a045-f6132dcc586a"
+ "202c85aa-c0fd-4ec4-8686-c38ad3c1741c"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065140Z:3b466341-ab38-4f96-a045-f6132dcc586a"
+ "JAPANEAST:20170526T122642Z:202c85aa-c0fd-4ec4-8686-c38ad3c1741c"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa6014?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E2MDE0P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa5101?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3Jlczk4ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E1MTAxP2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"LUIS\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -731,20 +731,20 @@
"104"
],
"x-ms-client-request-id": [
- "deae1e9f-f0f7-4cb1-8d27-a5960ee3e95f"
+ "698a49cd-3b7b-448e-a2dc-adbe17207cab"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa6014\",\r\n \"name\": \"csa6014\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"LUIS\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A42.8769205Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.projectoxford.ai/luis/v1\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"baa071fc86304ab7940989a50705a12d\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa5101\",\r\n \"name\": \"csa5101\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"LUIS\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A26%3A42.8131156Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/luis/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"f261e9040f6c473098d7f53bd45e46bb\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "479"
+ "495"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -756,13 +756,13 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:51:43 GMT"
+ "Fri, 26 May 2017 12:26:42 GMT"
],
"Pragma": [
"no-cache"
],
"ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A42.8769205Z'\""
+ "W/\"datetime'2017-05-26T12%3A26%3A42.8131156Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
@@ -777,23 +777,23 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1189"
+ "1162"
],
"x-ms-request-id": [
- "54718803-95f8-4a43-8cbe-02e673f91151"
+ "946b76f6-ffec-4320-977b-37f0592875a8"
],
"x-ms-correlation-request-id": [
- "54718803-95f8-4a43-8cbe-02e673f91151"
+ "946b76f6-ffec-4320-977b-37f0592875a8"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065143Z:54718803-95f8-4a43-8cbe-02e673f91151"
+ "JAPANEAST:20170526T122643Z:946b76f6-ffec-4320-977b-37f0592875a8"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa1?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2ExP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa4081?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3Jlczk4ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0MDgxP2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -804,20 +804,20 @@
"115"
],
"x-ms-client-request-id": [
- "2ca1f709-61db-4eb9-a1a1-68d1cb0a8b0c"
+ "056f97be-b3c6-40f6-983f-b96ac37dd939"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa1\",\r\n \"name\": \"csa1\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A45.0491458Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"866dd754de5f4ea58c8f09d70babaf98\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa4081\",\r\n \"name\": \"csa4081\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A26%3A44.0774152Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"700245c49c904917bd5f2c756a54e3a3\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "511"
+ "517"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -829,13 +829,13 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:51:45 GMT"
+ "Fri, 26 May 2017 12:26:44 GMT"
],
"Pragma": [
"no-cache"
],
"ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A45.0491458Z'\""
+ "W/\"datetime'2017-05-26T12%3A26%3A44.0774152Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
@@ -850,23 +850,23 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1188"
+ "1161"
],
"x-ms-request-id": [
- "4f4c2bcd-0ced-4048-8bfe-ab110e2749f1"
+ "1e1cd673-12ea-4aa8-b1d3-c560fad80624"
],
"x-ms-correlation-request-id": [
- "4f4c2bcd-0ced-4048-8bfe-ab110e2749f1"
+ "1e1cd673-12ea-4aa8-b1d3-c560fad80624"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065145Z:4f4c2bcd-0ced-4048-8bfe-ab110e2749f1"
+ "JAPANEAST:20170526T122644Z:1e1cd673-12ea-4aa8-b1d3-c560fad80624"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa9595?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E5NTk1P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa9859?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3Jlczk4ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E5ODU5P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"SpeakerRecognition\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -877,93 +877,20 @@
"118"
],
"x-ms-client-request-id": [
- "f7608bfc-1673-40d2-9ff0-7f01d3efcf00"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa9595\",\r\n \"name\": \"csa9595\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"SpeakerRecognition\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A47.227039Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.projectoxford.ai/spid/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"adbc19a4624245688d3f90ac50c0ae03\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "494"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 19 Dec 2016 06:51:47 GMT"
- ],
- "Pragma": [
- "no-cache"
- ],
- "ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A47.227039Z'\""
- ],
- "Server": [
- "Microsoft-IIS/8.5"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1187"
- ],
- "x-ms-request-id": [
- "8c02865a-4a11-45d5-b973-f4bcf2ec5352"
- ],
- "x-ms-correlation-request-id": [
- "8c02865a-4a11-45d5-b973-f4bcf2ec5352"
- ],
- "x-ms-routing-request-id": [
- "JAPANEAST:20161219T065147Z:8c02865a-4a11-45d5-b973-f4bcf2ec5352"
- ]
- },
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa9588?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E5NTg4P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Speech\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "106"
- ],
- "x-ms-client-request-id": [
- "82b533fc-b798-47cb-95fa-1d3e41e31f03"
+ "f17703a4-8fdb-42aa-ab83-53a04ad99b20"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa9588\",\r\n \"name\": \"csa9588\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Speech\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A49.7394176Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.projectoxford.ai/speech/v0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"199c505b18f24ca9a7f82555605fa073\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa9859\",\r\n \"name\": \"csa9859\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"SpeakerRecognition\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A26%3A45.4555953Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/spid/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"4fb8f56e227447bf8acbcb106ffb9650\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "483"
+ "509"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -975,13 +902,13 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:51:50 GMT"
+ "Fri, 26 May 2017 12:26:45 GMT"
],
"Pragma": [
"no-cache"
],
"ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A49.7394176Z'\""
+ "W/\"datetime'2017-05-26T12%3A26%3A45.4555953Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
@@ -996,23 +923,23 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1186"
+ "1160"
],
"x-ms-request-id": [
- "05ef7097-6ee9-4cd1-a7fb-73d580d38154"
+ "5b4c34d3-0b6d-4f06-805a-f3a586eb1fa7"
],
"x-ms-correlation-request-id": [
- "05ef7097-6ee9-4cd1-a7fb-73d580d38154"
+ "5b4c34d3-0b6d-4f06-805a-f3a586eb1fa7"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065150Z:05ef7097-6ee9-4cd1-a7fb-73d580d38154"
+ "JAPANEAST:20170526T122646Z:5b4c34d3-0b6d-4f06-805a-f3a586eb1fa7"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa2643?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2EyNjQzP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa8646?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3Jlczk4ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E4NjQ2P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"SpeechTranslation\",\r\n \"location\": \"global\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -1023,17 +950,17 @@
"117"
],
"x-ms-client-request-id": [
- "f93af5cd-7072-45ed-a292-cc3d66847f2e"
+ "1c13459c-1b1f-4324-a722-02af047dc241"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa2643\",\r\n \"name\": \"csa2643\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"SpeechTranslation\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A52.3218621Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"fc003f54ea5341b7a89d4aab3a1c974d\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa8646\",\r\n \"name\": \"csa8646\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"SpeechTranslation\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A26%3A46.6558755Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"5d63b3588c6d4edba93c46ef31543abd\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"500"
@@ -1048,13 +975,13 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:51:52 GMT"
+ "Fri, 26 May 2017 12:26:46 GMT"
],
"Pragma": [
"no-cache"
],
"ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A52.3218621Z'\""
+ "W/\"datetime'2017-05-26T12%3A26%3A46.6558755Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
@@ -1069,23 +996,23 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1185"
+ "1159"
],
"x-ms-request-id": [
- "d09a5bdb-5284-475a-a934-bb0f12414710"
+ "939c72df-0361-49e0-aec4-438d259a66c3"
],
"x-ms-correlation-request-id": [
- "d09a5bdb-5284-475a-a934-bb0f12414710"
+ "939c72df-0361-49e0-aec4-438d259a66c3"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065152Z:d09a5bdb-5284-475a-a934-bb0f12414710"
+ "JAPANEAST:20170526T122647Z:939c72df-0361-49e0-aec4-438d259a66c3"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa41?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0MT9hcGktdmVyc2lvbj0yMDE2LTAyLTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa2659?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3Jlczk4ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2EyNjU5P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -1096,20 +1023,20 @@
"113"
],
"x-ms-client-request-id": [
- "ad037a05-9596-43f0-9854-24a2ed3183fb"
+ "67c1e189-1720-4109-a71d-db8a869427c9"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa41\",\r\n \"name\": \"csa41\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A54.4191914Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"9f8ae597bb12441b85e0230fd4e9ff9f\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa2659\",\r\n \"name\": \"csa2659\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A26%3A48.0300102Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"eafa71968a714859927e098143cdaa8f\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "510"
+ "514"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -1121,13 +1048,13 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:51:54 GMT"
+ "Fri, 26 May 2017 12:26:47 GMT"
],
"Pragma": [
"no-cache"
],
"ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A54.4191914Z'\""
+ "W/\"datetime'2017-05-26T12%3A26%3A48.0300102Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
@@ -1142,23 +1069,23 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1184"
+ "1158"
],
"x-ms-request-id": [
- "382a2ef0-4418-4648-88a3-14c6578fdea3"
+ "4fd4fedd-97b7-444d-9659-e57e96a57cee"
],
"x-ms-correlation-request-id": [
- "382a2ef0-4418-4648-88a3-14c6578fdea3"
+ "4fd4fedd-97b7-444d-9659-e57e96a57cee"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065154Z:382a2ef0-4418-4648-88a3-14c6578fdea3"
+ "JAPANEAST:20170526T122648Z:4fd4fedd-97b7-444d-9659-e57e96a57cee"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa1335?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2ExMzM1P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa920?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3Jlczk4ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E5MjA/YXBpLXZlcnNpb249MjAxNy0wNC0xOA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextTranslation\",\r\n \"location\": \"global\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -1169,20 +1096,20 @@
"115"
],
"x-ms-client-request-id": [
- "ca923c0d-811d-4825-9494-fdc24a70eef5"
+ "40b83e5d-a1ea-49bb-85f5-495b51cbdfc4"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa1335\",\r\n \"name\": \"csa1335\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextTranslation\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A56.8851826Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"2466ecec2999459bb0f9f738762cd614\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa920\",\r\n \"name\": \"csa920\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextTranslation\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A26%3A49.3774722Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"4d0b499bc0454d4ea21c309d9c2d7fb0\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "498"
+ "496"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -1194,13 +1121,13 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:51:57 GMT"
+ "Fri, 26 May 2017 12:26:49 GMT"
],
"Pragma": [
"no-cache"
],
"ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A56.8851826Z'\""
+ "W/\"datetime'2017-05-26T12%3A26%3A49.3774722Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
@@ -1215,23 +1142,23 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1183"
+ "1157"
],
"x-ms-request-id": [
- "98e09a7e-5347-4c25-b9bc-0990379c9258"
+ "db3136e8-23d0-44d3-8a3a-a65f15f02ec5"
],
"x-ms-correlation-request-id": [
- "98e09a7e-5347-4c25-b9bc-0990379c9258"
+ "db3136e8-23d0-44d3-8a3a-a65f15f02ec5"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065157Z:98e09a7e-5347-4c25-b9bc-0990379c9258"
+ "JAPANEAST:20170526T122650Z:db3136e8-23d0-44d3-8a3a-a65f15f02ec5"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa7764?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczkwMzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E3NzY0P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa379?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3Jlczk4ODAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2EzNzk/YXBpLXZlcnNpb249MjAxNy0wNC0xOA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"WebLM\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -1242,20 +1169,20 @@
"105"
],
"x-ms-client-request-id": [
- "d8652469-9b29-4a2c-9481-06cc00a020e4"
+ "6e912245-dfb3-47af-9924-ff8453a042e6"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res9030/providers/Microsoft.CognitiveServices/accounts/csa7764\",\r\n \"name\": \"csa7764\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"WebLM\",\r\n \"etag\": \"W/\\\"datetime'2016-12-19T06%3A51%3A59.1523284Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.projectoxford.ai/text/weblm/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"ca88f0d5d4614b89859010e80ad182c4\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9880/providers/Microsoft.CognitiveServices/accounts/csa379\",\r\n \"name\": \"csa379\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"WebLM\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A26%3A50.7445574Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/weblm/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"f4d791b8508f4058931711a1a8b21978\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "488"
+ "500"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -1267,13 +1194,13 @@
"no-cache"
],
"Date": [
- "Mon, 19 Dec 2016 06:51:59 GMT"
+ "Fri, 26 May 2017 12:26:51 GMT"
],
"Pragma": [
"no-cache"
],
"ETag": [
- "W/\"datetime'2016-12-19T06%3A51%3A59.1523284Z'\""
+ "W/\"datetime'2017-05-26T12%3A26%3A50.7445574Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
@@ -1288,16 +1215,16 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1182"
+ "1156"
],
"x-ms-request-id": [
- "6e92cff2-7195-4403-b9c0-995ff52854c4"
+ "1540145e-a6c1-4050-9599-baebb9ccf0dd"
],
"x-ms-correlation-request-id": [
- "6e92cff2-7195-4403-b9c0-995ff52854c4"
+ "1540145e-a6c1-4050-9599-baebb9ccf0dd"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161219T065159Z:6e92cff2-7195-4403-b9c0-995ff52854c4"
+ "JAPANEAST:20170526T122651Z:1540145e-a6c1-4050-9599-baebb9ccf0dd"
]
},
"StatusCode": 201
@@ -1305,29 +1232,28 @@
],
"Names": {
"CreateResourceGroup": [
- "res9030"
+ "res9880"
],
"CreateAndValidateAccountWithOnlyRequiredParameters": [
- "csa7302",
- "csa1224",
- "csa7867",
- "csa6029",
- "csa6202",
- "csa3783",
- "csa3345",
- "csa8724",
- "csa3000",
- "csa6014",
- "csa1",
- "csa9595",
- "csa9588",
- "csa2643",
- "csa41",
- "csa1335",
- "csa7764"
+ "csa8677",
+ "csa9139",
+ "csa8173",
+ "csa8538",
+ "csa8576",
+ "csa624",
+ "csa8490",
+ "csa1680",
+ "csa8560",
+ "csa5101",
+ "csa4081",
+ "csa9859",
+ "csa8646",
+ "csa2659",
+ "csa920",
+ "csa379"
]
},
"Variables": {
- "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
+ "SubscriptionId": "f1c637e4-72ec-4f89-8d2b-0f933c036002"
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountCreateAndGetDifferentSkusTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountCreateAndGetDifferentSkusTest.json
index 5ecdb0ccf20c..f9dd9dc181bf 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountCreateAndGetDifferentSkusTest.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountCreateAndGetDifferentSkusTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourcegroups/res9610?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlZ3JvdXBzL3Jlczk2MTA/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourcegroups/res9075?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlZ3JvdXBzL3JlczkwNzU/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,16 +13,17 @@
"28"
],
"x-ms-client-request-id": [
- "02f1dd9f-45de-4297-afbd-87034d265a81"
+ "c21c4f32-7681-4216-b325-8d23b6cc4fc0"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9610\",\r\n \"name\": \"res9610\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9075\",\r\n \"name\": \"res9075\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"167"
@@ -33,36 +34,36 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 12:12:42 GMT"
+ ],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1194"
+ "1199"
],
"x-ms-request-id": [
- "0a54a387-aa88-4f0e-badd-a67699053c97"
+ "133a54d0-6730-4a10-bf1a-1318af8f6d60"
],
"x-ms-correlation-request-id": [
- "0a54a387-aa88-4f0e-badd-a67699053c97"
+ "133a54d0-6730-4a10-bf1a-1318af8f6d60"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T171037Z:0a54a387-aa88-4f0e-badd-a67699053c97"
+ "JAPANEAST:20170526T121243Z:133a54d0-6730-4a10-bf1a-1318af8f6d60"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:10:36 GMT"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9610/providers/Microsoft.CognitiveServices/accounts/csa1532?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3Jlczk2MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2ExNTMyP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9075/providers/Microsoft.CognitiveServices/accounts/csa5139?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3JlczkwNzUvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E1MTM5P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -73,19 +74,20 @@
"113"
],
"x-ms-client-request-id": [
- "baa70ee4-3d81-48ca-90b9-d25cf212be1c"
+ "ca7b9ee4-7fd8-4aa7-b8f4-77e52d53e26e"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9610/providers/Microsoft.CognitiveServices/accounts/csa1532\",\r\n \"name\": \"csa1532\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A38.8027245Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9075/providers/Microsoft.CognitiveServices/accounts/csa5139\",\r\n \"name\": \"csa5139\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A12%3A46.9896691Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"c5c841475a7f4c18b6b99f855d38f070\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "445"
+ "514"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -93,48 +95,48 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1193"
- ],
- "x-ms-request-id": [
- "06225ecf-dae9-471e-808f-10a87198a561"
- ],
- "x-ms-correlation-request-id": [
- "06225ecf-dae9-471e-808f-10a87198a561"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T171038Z:06225ecf-dae9-471e-808f-10a87198a561"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:10:37 GMT"
+ "Fri, 26 May 2017 12:12:47 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A10%3A38.8027245Z'\""
+ "W/\"datetime'2017-05-26T12%3A12%3A46.9896691Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-request-id": [
+ "6d3c84e3-96eb-497d-8d59-101068d06151"
+ ],
+ "x-ms-correlation-request-id": [
+ "6d3c84e3-96eb-497d-8d59-101068d06151"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T121248Z:6d3c84e3-96eb-497d-8d59-101068d06151"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9610/providers/Microsoft.CognitiveServices/accounts/csa3788?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3Jlczk2MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2EzNzg4P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9075/providers/Microsoft.CognitiveServices/accounts/csa7434?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3JlczkwNzUvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E3NDM0P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -145,19 +147,20 @@
"113"
],
"x-ms-client-request-id": [
- "071cfbb8-37ed-43fc-8588-9b7ec8334704"
+ "e24aa3d8-811f-4420-9c67-681ab8767232"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9610/providers/Microsoft.CognitiveServices/accounts/csa3788\",\r\n \"name\": \"csa3788\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A39.897746Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9075/providers/Microsoft.CognitiveServices/accounts/csa7434\",\r\n \"name\": \"csa7434\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A12%3A49.818444Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"4888e54595f84a338fd38a10604f1f2f\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "444"
+ "513"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -165,173 +168,181 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1192"
- ],
- "x-ms-request-id": [
- "4df72cc5-0ff8-44b2-89ae-7d71844e2410"
- ],
- "x-ms-correlation-request-id": [
- "4df72cc5-0ff8-44b2-89ae-7d71844e2410"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T171039Z:4df72cc5-0ff8-44b2-89ae-7d71844e2410"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:10:39 GMT"
+ "Fri, 26 May 2017 12:12:49 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A10%3A39.897746Z'\""
+ "W/\"datetime'2017-05-26T12%3A12%3A49.818444Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-request-id": [
+ "ae7f169b-68a1-40f7-8401-4a0f45f17707"
+ ],
+ "x-ms-correlation-request-id": [
+ "ae7f169b-68a1-40f7-8401-4a0f45f17707"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T121250Z:ae7f169b-68a1-40f7-8401-4a0f45f17707"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9610/providers/Microsoft.CognitiveServices/accounts/csa1532?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3Jlczk2MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2ExNTMyP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9075/providers/Microsoft.CognitiveServices/accounts/csa5139?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3JlczkwNzUvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E1MTM5P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "9e665e21-48c2-45d7-86c9-c66e85caae8b"
+ "44e8be76-6f81-40ed-8953-bcbab9b952ad"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9610/providers/Microsoft.CognitiveServices/accounts/csa1532\",\r\n \"name\": \"csa1532\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A38.8027245Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9075/providers/Microsoft.CognitiveServices/accounts/csa5139\",\r\n \"name\": \"csa5139\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A12%3A46.9896691Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"c5c841475a7f4c18b6b99f855d38f070\"\r\n }\r\n}",
"ResponseHeaders": {
- "Content-Length": [
- "445"
- ],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
- "Pragma": [
+ "Cache-Control": [
"no-cache"
],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14999"
- ],
- "x-ms-request-id": [
- "3e25597c-f82a-43af-ae0b-0c69a52f54d5"
- ],
- "x-ms-correlation-request-id": [
- "3e25597c-f82a-43af-ae0b-0c69a52f54d5"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T171039Z:3e25597c-f82a-43af-ae0b-0c69a52f54d5"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+ "Date": [
+ "Fri, 26 May 2017 12:12:51 GMT"
],
- "Cache-Control": [
+ "Pragma": [
"no-cache"
],
- "Date": [
- "Mon, 23 May 2016 17:10:39 GMT"
+ "Transfer-Encoding": [
+ "chunked"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A10%3A38.8027245Z'\""
+ "W/\"datetime'2017-05-26T12%3A12%3A46.9896691Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14718"
+ ],
+ "x-ms-request-id": [
+ "47fed704-b487-4bb2-863e-bb315af337be"
+ ],
+ "x-ms-correlation-request-id": [
+ "47fed704-b487-4bb2-863e-bb315af337be"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T121251Z:47fed704-b487-4bb2-863e-bb315af337be"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9610/providers/Microsoft.CognitiveServices/accounts/csa3788?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3Jlczk2MTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2EzNzg4P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9075/providers/Microsoft.CognitiveServices/accounts/csa7434?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjFjNjM3ZTQtNzJlYy00Zjg5LThkMmItMGY5MzNjMDM2MDAyL3Jlc291cmNlR3JvdXBzL3JlczkwNzUvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E3NDM0P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "e9261897-69df-46d1-8f61-fdeedc5cc7cc"
+ "70ebd181-df09-4492-a298-302a4dd2d3ee"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9610/providers/Microsoft.CognitiveServices/accounts/csa3788\",\r\n \"name\": \"csa3788\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A39.897746Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f1c637e4-72ec-4f89-8d2b-0f933c036002/resourceGroups/res9075/providers/Microsoft.CognitiveServices/accounts/csa7434\",\r\n \"name\": \"csa7434\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T12%3A12%3A49.818444Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"4888e54595f84a338fd38a10604f1f2f\"\r\n }\r\n}",
"ResponseHeaders": {
- "Content-Length": [
- "444"
- ],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
- "Pragma": [
+ "Cache-Control": [
"no-cache"
],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14998"
- ],
- "x-ms-request-id": [
- "c0c67b7a-94a4-4dea-b308-c42043b670df"
- ],
- "x-ms-correlation-request-id": [
- "c0c67b7a-94a4-4dea-b308-c42043b670df"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T171039Z:c0c67b7a-94a4-4dea-b308-c42043b670df"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+ "Date": [
+ "Fri, 26 May 2017 12:12:56 GMT"
],
- "Cache-Control": [
+ "Pragma": [
"no-cache"
],
- "Date": [
- "Mon, 23 May 2016 17:10:39 GMT"
+ "Transfer-Encoding": [
+ "chunked"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A10%3A39.897746Z'\""
+ "W/\"datetime'2017-05-26T12%3A12%3A49.818444Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14717"
+ ],
+ "x-ms-request-id": [
+ "3411f866-34c8-4085-9374-24c43d15a133"
+ ],
+ "x-ms-correlation-request-id": [
+ "3411f866-34c8-4085-9374-24c43d15a133"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T121257Z:3411f866-34c8-4085-9374-24c43d15a133"
]
},
"StatusCode": 200
@@ -339,14 +350,14 @@
],
"Names": {
"CreateResourceGroup": [
- "res9610"
+ "res9075"
],
"CreateAndValidateAccountWithOnlyRequiredParameters": [
- "csa1532",
- "csa3788"
+ "csa5139",
+ "csa7434"
]
},
"Variables": {
- "SubscriptionId": "a064e0b9-e6c9-4a0d-b993-22efebefe2af"
+ "SubscriptionId": "f1c637e4-72ec-4f89-8d2b-0f933c036002"
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountCreateTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountCreateTest.json
index 56c39af081ea..8da6fa5dc30b 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountCreateTest.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountCreateTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourcegroups/res7528?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlZ3JvdXBzL3Jlczc1Mjg/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res6699?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczY2OTk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,16 +13,17 @@
"28"
],
"x-ms-client-request-id": [
- "618650ed-20a0-4e1e-ae37-ab8322567efb"
+ "6043c2f7-db3d-43f5-a89c-0ce98bd01fc5"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res7528\",\r\n \"name\": \"res7528\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6699\",\r\n \"name\": \"res6699\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"167"
@@ -33,36 +34,36 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:11:57 GMT"
+ ],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1195"
+ "1191"
],
"x-ms-request-id": [
- "403bce7f-f580-42ba-baf3-16542ad716cd"
+ "55790cb7-4ae0-4b16-834d-7f32ff16733a"
],
"x-ms-correlation-request-id": [
- "403bce7f-f580-42ba-baf3-16542ad716cd"
+ "55790cb7-4ae0-4b16-834d-7f32ff16733a"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20160523T172757Z:403bce7f-f580-42ba-baf3-16542ad716cd"
+ "JAPANEAST:20170526T111157Z:55790cb7-4ae0-4b16-834d-7f32ff16733a"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:27:56 GMT"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res7528/providers/Microsoft.CognitiveServices/accounts/csa8060?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3Jlczc1MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E4MDYwP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6699/providers/Microsoft.CognitiveServices/accounts/csa5306?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczY2OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E1MzA2P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -73,19 +74,20 @@
"177"
],
"x-ms-client-request-id": [
- "f193525b-a3d2-4951-a3f3-26611084e475"
+ "1a42d9c0-d396-43be-94e6-b6d972431a05"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res7528/providers/Microsoft.CognitiveServices/accounts/csa8060\",\r\n \"name\": \"csa8060\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A27%3A59.2071872Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6699/providers/Microsoft.CognitiveServices/accounts/csa5306\",\r\n \"name\": \"csa5306\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A11%3A59.8635944Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"fd65dcb3af0245468b277ad29293c68b\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "486"
+ "555"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -93,48 +95,48 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1194"
- ],
- "x-ms-request-id": [
- "5b8af522-6520-404b-af70-7925c1207223"
- ],
- "x-ms-correlation-request-id": [
- "5b8af522-6520-404b-af70-7925c1207223"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20160523T172759Z:5b8af522-6520-404b-af70-7925c1207223"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:27:59 GMT"
+ "Fri, 26 May 2017 11:12:01 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A27%3A59.2071872Z'\""
+ "W/\"datetime'2017-05-26T11%3A11%3A59.8635944Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1190"
+ ],
+ "x-ms-request-id": [
+ "f9762c9f-5a53-4473-8ba7-d59145a0eafd"
+ ],
+ "x-ms-correlation-request-id": [
+ "f9762c9f-5a53-4473-8ba7-d59145a0eafd"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T111201Z:f9762c9f-5a53-4473-8ba7-d59145a0eafd"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res7528/providers/Microsoft.CognitiveServices/accounts/csa8060?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3Jlczc1MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E4MDYwP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6699/providers/Microsoft.CognitiveServices/accounts/csa5306?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczY2OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E1MzA2P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -145,68 +147,72 @@
"177"
],
"x-ms-client-request-id": [
- "0f2825a7-b2f3-4ab4-b629-47fe791d9bd4"
+ "583ed10c-256d-4871-9dff-07c6ec5f9c93"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res7528/providers/Microsoft.CognitiveServices/accounts/csa8060\",\r\n \"name\": \"csa8060\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A28%3A00.1730894Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6699/providers/Microsoft.CognitiveServices/accounts/csa5306\",\r\n \"name\": \"csa5306\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A12%3A01.0887626Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"fd65dcb3af0245468b277ad29293c68b\"\r\n }\r\n}",
"ResponseHeaders": {
- "Content-Length": [
- "486"
- ],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
- "Pragma": [
+ "Cache-Control": [
"no-cache"
],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1193"
- ],
- "x-ms-request-id": [
- "26fe4c2e-3a08-497e-8bcd-c6fe4f5cb149"
- ],
- "x-ms-correlation-request-id": [
- "26fe4c2e-3a08-497e-8bcd-c6fe4f5cb149"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20160523T172759Z:26fe4c2e-3a08-497e-8bcd-c6fe4f5cb149"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+ "Date": [
+ "Fri, 26 May 2017 11:12:01 GMT"
],
- "Cache-Control": [
+ "Pragma": [
"no-cache"
],
- "Date": [
- "Mon, 23 May 2016 17:27:59 GMT"
+ "Transfer-Encoding": [
+ "chunked"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A28%3A00.1730894Z'\""
+ "W/\"datetime'2017-05-26T11%3A12%3A01.0887626Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1189"
+ ],
+ "x-ms-request-id": [
+ "8bbf7988-899f-4a68-8e52-eeccbbc5021c"
+ ],
+ "x-ms-correlation-request-id": [
+ "8bbf7988-899f-4a68-8e52-eeccbbc5021c"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T111201Z:8bbf7988-899f-4a68-8e52-eeccbbc5021c"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res7528/providers/Microsoft.CognitiveServices/accounts/csa9384?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3Jlczc1MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E5Mzg0P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6699/providers/Microsoft.CognitiveServices/accounts/csa1864?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczY2OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2ExODY0P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -217,19 +223,20 @@
"115"
],
"x-ms-client-request-id": [
- "ec94db32-f890-4aaa-be15-641f57a95e41"
+ "868b2679-7571-453c-a64a-eeb52d6a7da9"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res7528/providers/Microsoft.CognitiveServices/accounts/csa9384\",\r\n \"name\": \"csa9384\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A28%3A01.0569149Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6699/providers/Microsoft.CognitiveServices/accounts/csa1864\",\r\n \"name\": \"csa1864\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A12%3A02.4630737Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"79d276a7adcb4e8085a831b8052a3a0e\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "448"
+ "517"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -237,48 +244,48 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1192"
- ],
- "x-ms-request-id": [
- "c1dd09c8-8d34-4f81-8ca9-653fe8026a5e"
- ],
- "x-ms-correlation-request-id": [
- "c1dd09c8-8d34-4f81-8ca9-653fe8026a5e"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20160523T172801Z:c1dd09c8-8d34-4f81-8ca9-653fe8026a5e"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:28:00 GMT"
+ "Fri, 26 May 2017 11:12:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A28%3A01.0569149Z'\""
+ "W/\"datetime'2017-05-26T11%3A12%3A02.4630737Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1188"
+ ],
+ "x-ms-request-id": [
+ "72cce213-0193-4039-bb91-15c2692a4d80"
+ ],
+ "x-ms-correlation-request-id": [
+ "72cce213-0193-4039-bb91-15c2692a4d80"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T111203Z:72cce213-0193-4039-bb91-15c2692a4d80"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res7528/providers/Microsoft.CognitiveServices/accounts/csa8375?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3Jlczc1MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E4Mzc1P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6699/providers/Microsoft.CognitiveServices/accounts/csa4010?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczY2OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0MDEwP2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S2\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -289,19 +296,20 @@
"115"
],
"x-ms-client-request-id": [
- "0d96a6f1-b99e-4813-acd7-409e7b0ab67e"
+ "4c187036-9f16-469d-88d0-04cd54f19030"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res7528/providers/Microsoft.CognitiveServices/accounts/csa8375\",\r\n \"name\": \"csa8375\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S2\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A28%3A02.4632278Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6699/providers/Microsoft.CognitiveServices/accounts/csa4010\",\r\n \"name\": \"csa4010\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S2\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A12%3A03.9144586Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"79bd868a6ddb477b90bd24449c78bbd7\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "448"
+ "517"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -309,48 +317,48 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1191"
- ],
- "x-ms-request-id": [
- "1a750019-ad1a-434d-88a0-8ac458e6472b"
- ],
- "x-ms-correlation-request-id": [
- "1a750019-ad1a-434d-88a0-8ac458e6472b"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20160523T172802Z:1a750019-ad1a-434d-88a0-8ac458e6472b"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:28:01 GMT"
+ "Fri, 26 May 2017 11:12:04 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A28%3A02.4632278Z'\""
+ "W/\"datetime'2017-05-26T11%3A12%3A03.9144586Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1187"
+ ],
+ "x-ms-request-id": [
+ "c3e6dfeb-d7c2-401b-9276-90670d0d618f"
+ ],
+ "x-ms-correlation-request-id": [
+ "c3e6dfeb-d7c2-401b-9276-90670d0d618f"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T111204Z:c3e6dfeb-d7c2-401b-9276-90670d0d618f"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res7528/providers/Microsoft.CognitiveServices/accounts/csa9708?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3Jlczc1MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E5NzA4P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6699/providers/Microsoft.CognitiveServices/accounts/csa1904?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczY2OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2ExOTA0P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S3\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -361,19 +369,20 @@
"115"
],
"x-ms-client-request-id": [
- "25367c22-59c2-4973-af51-f9b4688aabb2"
+ "79acabf1-f6b0-411d-96ce-19ca6198b53b"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res7528/providers/Microsoft.CognitiveServices/accounts/csa9708\",\r\n \"name\": \"csa9708\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S3\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A28%3A03.6483343Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6699/providers/Microsoft.CognitiveServices/accounts/csa1904\",\r\n \"name\": \"csa1904\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S3\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A12%3A05.5149856Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"98c76b6ccf8d4c5fb5c00da14eb53296\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "448"
+ "517"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -381,48 +390,48 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1190"
- ],
- "x-ms-request-id": [
- "b01fa393-8d49-419f-9910-f61f19fad8cd"
- ],
- "x-ms-correlation-request-id": [
- "b01fa393-8d49-419f-9910-f61f19fad8cd"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20160523T172803Z:b01fa393-8d49-419f-9910-f61f19fad8cd"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:28:02 GMT"
+ "Fri, 26 May 2017 11:12:06 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A28%3A03.6483343Z'\""
+ "W/\"datetime'2017-05-26T11%3A12%3A05.5149856Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1186"
+ ],
+ "x-ms-request-id": [
+ "e97c6f57-0506-4b7b-ba87-bcb7462b8e9c"
+ ],
+ "x-ms-correlation-request-id": [
+ "e97c6f57-0506-4b7b-ba87-bcb7462b8e9c"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T111206Z:e97c6f57-0506-4b7b-ba87-bcb7462b8e9c"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res7528/providers/Microsoft.CognitiveServices/accounts/csa7666?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3Jlczc1MjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E3NjY2P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6699/providers/Microsoft.CognitiveServices/accounts/csa4874?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczY2OTkvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0ODc0P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S4\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -433,19 +442,20 @@
"115"
],
"x-ms-client-request-id": [
- "7c663009-ac12-4593-a960-c4bae8c3e82a"
+ "8a665bd9-b96f-4f2a-a840-1d697d0b6a16"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res7528/providers/Microsoft.CognitiveServices/accounts/csa7666\",\r\n \"name\": \"csa7666\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S4\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A28%3A04.8224304Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6699/providers/Microsoft.CognitiveServices/accounts/csa4874\",\r\n \"name\": \"csa4874\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S4\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A12%3A07.3247148Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"ff9b8f0d7cbe40bc9e7e8b18dba4d872\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "448"
+ "517"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -453,41 +463,41 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1189"
- ],
- "x-ms-request-id": [
- "a750b30e-a0b9-4b7f-b37f-c393146823e0"
- ],
- "x-ms-correlation-request-id": [
- "a750b30e-a0b9-4b7f-b37f-c393146823e0"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20160523T172805Z:a750b30e-a0b9-4b7f-b37f-c393146823e0"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:28:04 GMT"
+ "Fri, 26 May 2017 11:12:08 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A28%3A04.8224304Z'\""
+ "W/\"datetime'2017-05-26T11%3A12%3A07.3247148Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1185"
+ ],
+ "x-ms-request-id": [
+ "54a8e43e-afc1-45d9-9005-99f2581adb8a"
+ ],
+ "x-ms-correlation-request-id": [
+ "54a8e43e-afc1-45d9-9005-99f2581adb8a"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T111208Z:54a8e43e-afc1-45d9-9005-99f2581adb8a"
]
},
"StatusCode": 201
@@ -495,19 +505,19 @@
],
"Names": {
"CreateResourceGroup": [
- "res7528"
+ "res6699"
],
"CognitiveServicesAccountCreateTest": [
- "csa8060"
+ "csa5306"
],
"CreateAndValidateAccountWithOnlyRequiredParameters": [
- "csa9384",
- "csa8375",
- "csa9708",
- "csa7666"
+ "csa1864",
+ "csa4010",
+ "csa1904",
+ "csa4874"
]
},
"Variables": {
- "SubscriptionId": "a064e0b9-e6c9-4a0d-b993-22efebefe2af"
+ "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountDeleteTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountDeleteTest.json
index 8b3c495d38c5..5e6544e95605 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountDeleteTest.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountDeleteTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourcegroups/res1458?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlZ3JvdXBzL3JlczE0NTg/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res5729?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczU3Mjk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,16 +13,17 @@
"28"
],
"x-ms-client-request-id": [
- "22f3e52b-dcae-4de0-b9c7-70c50d1199dd"
+ "4a561d5f-0146-43d4-9bfd-9e63615e79d5"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res1458\",\r\n \"name\": \"res1458\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res5729\",\r\n \"name\": \"res5729\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"167"
@@ -33,47 +34,48 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:19:50 GMT"
+ ],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
+ "1197"
],
"x-ms-request-id": [
- "a69fa635-7749-4729-ab5b-6393243cb290"
+ "8744cf2c-5b7a-4a36-87ea-069d358ff5de"
],
"x-ms-correlation-request-id": [
- "a69fa635-7749-4729-ab5b-6393243cb290"
+ "8744cf2c-5b7a-4a36-87ea-069d358ff5de"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T171025Z:a69fa635-7749-4729-ab5b-6393243cb290"
+ "SOUTHEASTASIA:20170526T111951Z:8744cf2c-5b7a-4a36-87ea-069d358ff5de"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:10:24 GMT"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res1458/providers/Microsoft.CognitiveServices/accounts/missingaccount?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczE0NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9taXNzaW5nYWNjb3VudD9hcGktdmVyc2lvbj0yMDE2LTAyLTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res5729/providers/Microsoft.CognitiveServices/accounts/missingaccount?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczU3MjkvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9taXNzaW5nYWNjb3VudD9hcGktdmVyc2lvbj0yMDE3LTA0LTE4",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "c3ab1507-8255-428c-a822-0bff6db2108e"
+ "b9bafe5a-4848-4b0f-b9cd-a92bb32952e6"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "",
@@ -81,36 +83,36 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:19:51 GMT"
+ ],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
+ "1196"
],
"x-ms-request-id": [
- "495470f1-5587-4683-96d2-0db4763a57b2"
+ "73717a93-ebaa-4d1f-ab77-9bd9456f32bb"
],
"x-ms-correlation-request-id": [
- "495470f1-5587-4683-96d2-0db4763a57b2"
+ "73717a93-ebaa-4d1f-ab77-9bd9456f32bb"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T171025Z:495470f1-5587-4683-96d2-0db4763a57b2"
+ "SOUTHEASTASIA:20170526T111952Z:73717a93-ebaa-4d1f-ab77-9bd9456f32bb"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:10:24 GMT"
]
},
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res1458/providers/Microsoft.CognitiveServices/accounts/csa3301?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczE0NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2EzMzAxP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res5729/providers/Microsoft.CognitiveServices/accounts/csa9068?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczU3MjkvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E5MDY4P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -121,19 +123,20 @@
"177"
],
"x-ms-client-request-id": [
- "de5fcc65-8324-4e28-9639-83d709a50148"
+ "586323fc-fa8b-4c71-b72b-9820436c7d00"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res1458/providers/Microsoft.CognitiveServices/accounts/csa3301\",\r\n \"name\": \"csa3301\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A26.6423697Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res5729/providers/Microsoft.CognitiveServices/accounts/csa9068\",\r\n \"name\": \"csa9068\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A19%3A55.9378615Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"c04e48ee07414cae951a8478dc4ae869\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "486"
+ "555"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -141,59 +144,60 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
- ],
- "x-ms-request-id": [
- "052702ab-4327-4b28-b949-5d4f6bc3c86e"
- ],
- "x-ms-correlation-request-id": [
- "052702ab-4327-4b28-b949-5d4f6bc3c86e"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T171026Z:052702ab-4327-4b28-b949-5d4f6bc3c86e"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:10:25 GMT"
+ "Fri, 26 May 2017 11:19:56 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A10%3A26.6423697Z'\""
+ "W/\"datetime'2017-05-26T11%3A19%3A55.9378615Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1195"
+ ],
+ "x-ms-request-id": [
+ "2a20b600-e2f4-4583-85b7-5596ae5d7daa"
+ ],
+ "x-ms-correlation-request-id": [
+ "2a20b600-e2f4-4583-85b7-5596ae5d7daa"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHEASTASIA:20170526T111957Z:2a20b600-e2f4-4583-85b7-5596ae5d7daa"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res1458/providers/Microsoft.CognitiveServices/accounts/csa3301?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczE0NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2EzMzAxP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res5729/providers/Microsoft.CognitiveServices/accounts/csa9068?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczU3MjkvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E5MDY4P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "7f342e29-d427-4c0a-af04-dfacecaae205"
+ "ccfc3a51-0fa5-4fbf-be57-638efc84c3e2"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "",
@@ -204,56 +208,57 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-request-id": [
- "a324dce1-f1f9-4bf2-9735-15c613c91ed1"
- ],
- "x-ms-correlation-request-id": [
- "a324dce1-f1f9-4bf2-9735-15c613c91ed1"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T171027Z:a324dce1-f1f9-4bf2-9735-15c613c91ed1"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:10:26 GMT"
+ "Fri, 26 May 2017 11:20:00 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1194"
+ ],
+ "x-ms-request-id": [
+ "7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
+ ],
+ "x-ms-correlation-request-id": [
+ "7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHEASTASIA:20170526T112000Z:7824fc5b-dcea-46b4-91b8-2992ec8a8bf6"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res1458/providers/Microsoft.CognitiveServices/accounts/csa3301?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczE0NTgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2EzMzAxP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res5729/providers/Microsoft.CognitiveServices/accounts/csa9068?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczU3MjkvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E5MDY4P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "f7cf32b4-fd19-4693-a9e0-e24aabe00f68"
+ "1623e3ee-a83e-4c0e-ae0e-e2b4b03aa177"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "",
@@ -261,29 +266,29 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:20:00 GMT"
+ ],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1195"
+ "1193"
],
"x-ms-request-id": [
- "e4b6d343-13c9-4492-bbfe-a2235c1966e2"
+ "18092853-dd73-4e8b-82e3-b48dd8545983"
],
"x-ms-correlation-request-id": [
- "e4b6d343-13c9-4492-bbfe-a2235c1966e2"
+ "18092853-dd73-4e8b-82e3-b48dd8545983"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T171027Z:e4b6d343-13c9-4492-bbfe-a2235c1966e2"
+ "SOUTHEASTASIA:20170526T112000Z:18092853-dd73-4e8b-82e3-b48dd8545983"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:10:26 GMT"
]
},
"StatusCode": 204
@@ -291,13 +296,13 @@
],
"Names": {
"CreateResourceGroup": [
- "res1458"
+ "res5729"
],
"CreateCognitiveServicesAccount": [
- "csa3301"
+ "csa9068"
]
},
"Variables": {
- "SubscriptionId": "a064e0b9-e6c9-4a0d-b993-22efebefe2af"
+ "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountEnumerateSkusTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountEnumerateSkusTest.json
index 20fd4095f9c2..35b23aad8973 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountEnumerateSkusTest.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountEnumerateSkusTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourcegroups/res5965?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlZ3JvdXBzL3JlczU5NjU/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res5422?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczU0MjI/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,16 +13,17 @@
"28"
],
"x-ms-client-request-id": [
- "6c9686f7-7f59-441e-abae-0713b3a56b55"
+ "067cb232-0fd8-4fb4-942a-e3163cfa1744"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res5965\",\r\n \"name\": \"res5965\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res5422\",\r\n \"name\": \"res5422\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"167"
@@ -33,36 +34,36 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:19:14 GMT"
+ ],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
+ "1194"
],
"x-ms-request-id": [
- "70fdcf34-df50-466a-ad63-2aafaaa4f4c1"
+ "6fd42fb6-3594-4c65-ae0f-fed5b4b18ed1"
],
"x-ms-correlation-request-id": [
- "70fdcf34-df50-466a-ad63-2aafaaa4f4c1"
+ "6fd42fb6-3594-4c65-ae0f-fed5b4b18ed1"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20160523T172748Z:70fdcf34-df50-466a-ad63-2aafaaa4f4c1"
+ "SOUTHEASTASIA:20170526T111914Z:6fd42fb6-3594-4c65-ae0f-fed5b4b18ed1"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:27:47 GMT"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res5965/providers/Microsoft.CognitiveServices/accounts/csa1386?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczU5NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2ExMzg2P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res5422/providers/Microsoft.CognitiveServices/accounts/csa679?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczU0MjIvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E2Nzk/YXBpLXZlcnNpb249MjAxNy0wNC0xOA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S3\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -73,19 +74,20 @@
"115"
],
"x-ms-client-request-id": [
- "f9cd3abe-c2da-45bc-89e2-eb78c5dfb815"
+ "06086dd5-e167-407e-aee3-6b9624254d85"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res5965/providers/Microsoft.CognitiveServices/accounts/csa1386\",\r\n \"name\": \"csa1386\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S3\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A27%3A49.9035003Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res5422/providers/Microsoft.CognitiveServices/accounts/csa679\",\r\n \"name\": \"csa679\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S3\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A19%3A17.1018045Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"8bd6ef4058844f228afd36f814191a4a\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "448"
+ "515"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -93,104 +95,108 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
- ],
- "x-ms-request-id": [
- "62445a1f-3cdb-46f0-90ec-eb1c220ffeb8"
- ],
- "x-ms-correlation-request-id": [
- "62445a1f-3cdb-46f0-90ec-eb1c220ffeb8"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20160523T172749Z:62445a1f-3cdb-46f0-90ec-eb1c220ffeb8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:27:49 GMT"
+ "Fri, 26 May 2017 11:19:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A27%3A49.9035003Z'\""
+ "W/\"datetime'2017-05-26T11%3A19%3A17.1018045Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1193"
+ ],
+ "x-ms-request-id": [
+ "4f7bbb93-d4b2-4ef6-9b77-8840b52ccf23"
+ ],
+ "x-ms-correlation-request-id": [
+ "4f7bbb93-d4b2-4ef6-9b77-8840b52ccf23"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHEASTASIA:20170526T111918Z:4f7bbb93-d4b2-4ef6-9b77-8840b52ccf23"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res5965/providers/Microsoft.CognitiveServices/accounts/csa1386/skus?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczU5NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2ExMzg2L3NrdXM/YXBpLXZlcnNpb249MjAxNi0wMi0wMS1wcmV2aWV3",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res5422/providers/Microsoft.CognitiveServices/accounts/csa679/skus?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczU0MjIvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E2Nzkvc2t1cz9hcGktdmVyc2lvbj0yMDE3LTA0LTE4",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "b05109fe-7aa0-4aa2-a93d-9f59f75b3ef2"
+ "d00f6300-f568-4461-ab96-c5e3b629f3b7"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"resourceType\": \"Microsoft.CognitiveServices/accounts\",\r\n \"sku\": {\r\n \"name\": \"F0\",\r\n \"tier\": \"Free\"\r\n }\r\n },\r\n {\r\n \"resourceType\": \"Microsoft.CognitiveServices/accounts\",\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\"\r\n }\r\n },\r\n {\r\n \"resourceType\": \"Microsoft.CognitiveServices/accounts\",\r\n \"sku\": {\r\n \"name\": \"S2\",\r\n \"tier\": \"Standard\"\r\n }\r\n },\r\n {\r\n \"resourceType\": \"Microsoft.CognitiveServices/accounts\",\r\n \"sku\": {\r\n \"name\": \"S3\",\r\n \"tier\": \"Standard\"\r\n }\r\n },\r\n {\r\n \"resourceType\": \"Microsoft.CognitiveServices/accounts\",\r\n \"sku\": {\r\n \"name\": \"S4\",\r\n \"tier\": \"Standard\"\r\n }\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
- "Content-Length": [
- "477"
- ],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
- "Pragma": [
+ "Cache-Control": [
"no-cache"
],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14996"
- ],
- "x-ms-request-id": [
- "68b8e6f2-87d7-4d19-8f6f-8344ab23ea4a"
- ],
- "x-ms-correlation-request-id": [
- "68b8e6f2-87d7-4d19-8f6f-8344ab23ea4a"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20160523T172750Z:68b8e6f2-87d7-4d19-8f6f-8344ab23ea4a"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+ "Date": [
+ "Fri, 26 May 2017 11:19:18 GMT"
],
- "Cache-Control": [
+ "Pragma": [
"no-cache"
],
- "Date": [
- "Mon, 23 May 2016 17:27:49 GMT"
+ "Transfer-Encoding": [
+ "chunked"
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14977"
+ ],
+ "x-ms-request-id": [
+ "1b9fd1c2-66f2-4ce9-8dba-02bfa3bbf022"
+ ],
+ "x-ms-correlation-request-id": [
+ "1b9fd1c2-66f2-4ce9-8dba-02bfa3bbf022"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHEASTASIA:20170526T111918Z:1b9fd1c2-66f2-4ce9-8dba-02bfa3bbf022"
]
},
"StatusCode": 200
@@ -198,13 +204,13 @@
],
"Names": {
"CreateResourceGroup": [
- "res5965"
+ "res5422"
],
"CreateAndValidateAccountWithOnlyRequiredParameters": [
- "csa1386"
+ "csa679"
]
},
"Variables": {
- "SubscriptionId": "a064e0b9-e6c9-4a0d-b993-22efebefe2af"
+ "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountKeysErrorTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountKeysErrorTest.json
index 7b0e984d70a5..0018dcdf1d95 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountKeysErrorTest.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountKeysErrorTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourcegroups/res3806?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlZ3JvdXBzL3JlczM4MDY/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res6031?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczYwMzE/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,16 +13,17 @@
"28"
],
"x-ms-client-request-id": [
- "a7057a8d-e657-4e8e-be99-1bb0b2f22ac9"
+ "13845c96-9e39-41b9-aa3c-6787459f63f6"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res3806\",\r\n \"name\": \"res3806\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6031\",\r\n \"name\": \"res6031\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"167"
@@ -33,47 +34,48 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:19:04 GMT"
+ ],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
+ "1185"
],
"x-ms-request-id": [
- "33161906-edc0-47e0-b36d-be901d99a18c"
+ "e8f6cea8-b071-4ca1-9071-cf70f55a3ec8"
],
"x-ms-correlation-request-id": [
- "33161906-edc0-47e0-b36d-be901d99a18c"
+ "e8f6cea8-b071-4ca1-9071-cf70f55a3ec8"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20160523T180828Z:33161906-edc0-47e0-b36d-be901d99a18c"
+ "JAPANEAST:20170526T111905Z:e8f6cea8-b071-4ca1-9071-cf70f55a3ec8"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 18:08:27 GMT"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/NotExistedRG/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName/listKeys?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL25vbkV4aXN0ZWRBY2NvdW50TmFtZS9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE2LTAyLTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/NotExistedRG/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName/listKeys?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL25vbkV4aXN0ZWRBY2NvdW50TmFtZS9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE3LTA0LTE4",
"RequestMethod": "POST",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "354ba24c-0965-436d-bf68-82dd697f92c6"
+ "ef633cae-e5e3-41d7-b408-ce81e8f2c36d"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'NotExistedRG' could not be found.\"\r\n }\r\n}",
@@ -87,6 +89,12 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:19:04 GMT"
+ ],
"Pragma": [
"no-cache"
],
@@ -94,43 +102,38 @@
"gateway"
],
"x-ms-request-id": [
- "bf9e9914-fd92-4baa-944c-4e1a3c4c93eb"
+ "5051c1c3-6edd-4d84-9484-600970fefbd2"
],
"x-ms-correlation-request-id": [
- "bf9e9914-fd92-4baa-944c-4e1a3c4c93eb"
+ "5051c1c3-6edd-4d84-9484-600970fefbd2"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20160523T180828Z:bf9e9914-fd92-4baa-944c-4e1a3c4c93eb"
+ "JAPANEAST:20170526T111905Z:5051c1c3-6edd-4d84-9484-600970fefbd2"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 18:08:27 GMT"
]
},
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res3806/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName/listKeys?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczM4MDYvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9ub25FeGlzdGVkQWNjb3VudE5hbWUvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNi0wMi0wMS1wcmV2aWV3",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6031/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName/listKeys?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczYwMzEvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9ub25FeGlzdGVkQWNjb3VudE5hbWUvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNy0wNC0xOA==",
"RequestMethod": "POST",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "36c63f67-19e3-4703-9cd3-a7735650bb95"
+ "ecd8fe5c-8dd4-486c-a84c-20ec96dbe85a"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.CognitiveServices/accounts/nonExistedAccountName' under resource group 'res3806' was not found.\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.CognitiveServices/accounts/nonExistedAccountName' under resource group 'res6031' was not found.\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"169"
@@ -141,6 +144,12 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:19:04 GMT"
+ ],
"Pragma": [
"no-cache"
],
@@ -148,22 +157,16 @@
"gateway"
],
"x-ms-request-id": [
- "6682bb38-33b2-46a9-8c69-c8e5cc75bd08"
+ "88c11db2-04ca-49ad-bad6-34087d842ded"
],
"x-ms-correlation-request-id": [
- "6682bb38-33b2-46a9-8c69-c8e5cc75bd08"
+ "88c11db2-04ca-49ad-bad6-34087d842ded"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20160523T180828Z:6682bb38-33b2-46a9-8c69-c8e5cc75bd08"
+ "JAPANEAST:20170526T111905Z:88c11db2-04ca-49ad-bad6-34087d842ded"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 18:08:27 GMT"
]
},
"StatusCode": 404
@@ -171,10 +174,10 @@
],
"Names": {
"CreateResourceGroup": [
- "res3806"
+ "res6031"
]
},
"Variables": {
- "SubscriptionId": "a064e0b9-e6c9-4a0d-b993-22efebefe2af"
+ "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountListByResourceGroupTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountListByResourceGroupTest.json
index 2540b5424b13..e6941b5877a5 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountListByResourceGroupTest.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountListByResourceGroupTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourcegroups/res2188?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlZ3JvdXBzL3JlczIxODg/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res3268?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczMyNjg/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,16 +13,17 @@
"28"
],
"x-ms-client-request-id": [
- "c8eb79e3-3871-4681-a230-9ac69f3fc43d"
+ "6196f5a8-2ed8-4bb8-ab04-2aeccf582736"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res2188\",\r\n \"name\": \"res2188\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3268\",\r\n \"name\": \"res3268\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"167"
@@ -33,162 +34,158 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:20:38 GMT"
+ ],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
+ "1179"
],
"x-ms-request-id": [
- "1da7287b-d4a1-4d07-9867-ea4f9d837cfb"
+ "0de704cd-58d0-4ecc-a8fc-cc92263d1bf9"
],
"x-ms-correlation-request-id": [
- "1da7287b-d4a1-4d07-9867-ea4f9d837cfb"
+ "0de704cd-58d0-4ecc-a8fc-cc92263d1bf9"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T171043Z:1da7287b-d4a1-4d07-9867-ea4f9d837cfb"
+ "JAPANEAST:20170526T112039Z:0de704cd-58d0-4ecc-a8fc-cc92263d1bf9"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:10:42 GMT"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res2188/providers/Microsoft.CognitiveServices/accounts?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczIxODgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cz9hcGktdmVyc2lvbj0yMDE2LTAyLTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3268/providers/Microsoft.CognitiveServices/accounts?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczMyNjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cz9hcGktdmVyc2lvbj0yMDE3LTA0LTE4",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "8884aba3-6e25-4a6b-86f8-d09f14e5fdf2"
+ "d15ec519-3073-4d53-a587-ebb8692c2c39"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "{\r\n \"value\": []\r\n}",
"ResponseHeaders": {
- "Content-Length": [
- "12"
- ],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:20:38 GMT"
+ ],
"Pragma": [
"no-cache"
],
+ "Vary": [
+ "Accept-Encoding"
+ ],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14997"
+ "14793"
],
"x-ms-request-id": [
- "c082f70c-3999-49c0-a8cc-e14b505b11be"
+ "e9580f45-e1f9-4b5e-addf-d833c09eabaa"
],
"x-ms-correlation-request-id": [
- "c082f70c-3999-49c0-a8cc-e14b505b11be"
+ "e9580f45-e1f9-4b5e-addf-d833c09eabaa"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T171043Z:c082f70c-3999-49c0-a8cc-e14b505b11be"
+ "JAPANEAST:20170526T112039Z:e9580f45-e1f9-4b5e-addf-d833c09eabaa"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:10:42 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.5"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res2188/providers/Microsoft.CognitiveServices/accounts?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczIxODgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cz9hcGktdmVyc2lvbj0yMDE2LTAyLTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3268/providers/Microsoft.CognitiveServices/accounts?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczMyNjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cz9hcGktdmVyc2lvbj0yMDE3LTA0LTE4",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "1f26358a-0fbe-462d-83d4-268706aefccf"
+ "48d7dd50-7b1d-4320-9491-963db4be6ee8"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res2188/providers/Microsoft.CognitiveServices/accounts/csa3091\",\r\n \"name\": \"csa3091\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A45.3037946Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res2188/providers/Microsoft.CognitiveServices/accounts/csa6691\",\r\n \"name\": \"csa6691\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A44.1547212Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3268/providers/Microsoft.CognitiveServices/accounts/csa5910\",\r\n \"name\": \"csa5910\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A20%3A41.7585837Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"aa3c3274ca9d4c1c88e52d85f4010edb\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3268/providers/Microsoft.CognitiveServices/accounts/csa9044\",\r\n \"name\": \"csa9044\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A20%3A39.9949008Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"113bb670ee7e47b4beab6c2a05ce884e\"\r\n }\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
- "Content-Length": [
- "985"
- ],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
- "Pragma": [
+ "Cache-Control": [
"no-cache"
],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14996"
- ],
- "x-ms-request-id": [
- "f2d0b121-70e7-4cb4-9910-12503835d58f"
- ],
- "x-ms-correlation-request-id": [
- "f2d0b121-70e7-4cb4-9910-12503835d58f"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T171045Z:f2d0b121-70e7-4cb4-9910-12503835d58f"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+ "Date": [
+ "Fri, 26 May 2017 11:20:42 GMT"
],
- "Cache-Control": [
+ "Pragma": [
"no-cache"
],
- "Date": [
- "Mon, 23 May 2016 17:10:44 GMT"
+ "Transfer-Encoding": [
+ "chunked"
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14792"
+ ],
+ "x-ms-request-id": [
+ "24db5b6b-3793-454f-a414-2074e75555a9"
+ ],
+ "x-ms-correlation-request-id": [
+ "24db5b6b-3793-454f-a414-2074e75555a9"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T112042Z:24db5b6b-3793-454f-a414-2074e75555a9"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res2188/providers/Microsoft.CognitiveServices/accounts/csa6691?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczIxODgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E2NjkxP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3268/providers/Microsoft.CognitiveServices/accounts/csa9044?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczMyNjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E5MDQ0P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -199,19 +196,20 @@
"177"
],
"x-ms-client-request-id": [
- "555103e0-c886-4c24-80cf-e2a476de4e7d"
+ "5c739604-7744-4be3-8878-088f222fcd1d"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res2188/providers/Microsoft.CognitiveServices/accounts/csa6691\",\r\n \"name\": \"csa6691\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A44.1547212Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3268/providers/Microsoft.CognitiveServices/accounts/csa9044\",\r\n \"name\": \"csa9044\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A20%3A39.9949008Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"113bb670ee7e47b4beab6c2a05ce884e\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "486"
+ "555"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -219,48 +217,48 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-request-id": [
- "bc5bb7bd-25ae-481c-84fe-426826018b84"
- ],
- "x-ms-correlation-request-id": [
- "bc5bb7bd-25ae-481c-84fe-426826018b84"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T171044Z:bc5bb7bd-25ae-481c-84fe-426826018b84"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:10:43 GMT"
+ "Fri, 26 May 2017 11:20:40 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A10%3A44.1547212Z'\""
+ "W/\"datetime'2017-05-26T11%3A20%3A39.9949008Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1178"
+ ],
+ "x-ms-request-id": [
+ "dfdc57d9-7a8c-43ad-a422-444081ca3999"
+ ],
+ "x-ms-correlation-request-id": [
+ "dfdc57d9-7a8c-43ad-a422-444081ca3999"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T112040Z:dfdc57d9-7a8c-43ad-a422-444081ca3999"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res2188/providers/Microsoft.CognitiveServices/accounts/csa3091?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczIxODgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2EzMDkxP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3268/providers/Microsoft.CognitiveServices/accounts/csa5910?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczMyNjgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E1OTEwP2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -271,19 +269,20 @@
"177"
],
"x-ms-client-request-id": [
- "6d6ae8f7-0b99-4a50-89b1-3008b4c13915"
+ "bd061685-c406-4970-b9f0-2fffde2912a0"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res2188/providers/Microsoft.CognitiveServices/accounts/csa3091\",\r\n \"name\": \"csa3091\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A45.3037946Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3268/providers/Microsoft.CognitiveServices/accounts/csa5910\",\r\n \"name\": \"csa5910\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A20%3A41.7585837Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"aa3c3274ca9d4c1c88e52d85f4010edb\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "486"
+ "555"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -291,41 +290,41 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1195"
- ],
- "x-ms-request-id": [
- "8342bbbf-732a-43b0-9525-70fe567a2d22"
- ],
- "x-ms-correlation-request-id": [
- "8342bbbf-732a-43b0-9525-70fe567a2d22"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T171045Z:8342bbbf-732a-43b0-9525-70fe567a2d22"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:10:44 GMT"
+ "Fri, 26 May 2017 11:20:42 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A10%3A45.3037946Z'\""
+ "W/\"datetime'2017-05-26T11%3A20%3A41.7585837Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1177"
+ ],
+ "x-ms-request-id": [
+ "bd99b8fd-3775-43f6-a91b-52fbe0599d85"
+ ],
+ "x-ms-correlation-request-id": [
+ "bd99b8fd-3775-43f6-a91b-52fbe0599d85"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T112042Z:bd99b8fd-3775-43f6-a91b-52fbe0599d85"
]
},
"StatusCode": 201
@@ -333,14 +332,14 @@
],
"Names": {
"CreateResourceGroup": [
- "res2188"
+ "res3268"
],
"CreateCognitiveServicesAccount": [
- "csa6691",
- "csa3091"
+ "csa9044",
+ "csa5910"
]
},
"Variables": {
- "SubscriptionId": "a064e0b9-e6c9-4a0d-b993-22efebefe2af"
+ "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountListBySubscriptionTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountListBySubscriptionTest.json
index c31ae61760c3..7bba3668d094 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountListBySubscriptionTest.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountListBySubscriptionTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourcegroups/res490?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlZ3JvdXBzL3JlczQ5MD9hcGktdmVyc2lvbj0yMDE1LTExLTAx",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res8087?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczgwODc/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,19 +13,20 @@
"28"
],
"x-ms-client-request-id": [
- "6f94736a-0973-484f-a7b7-d6ea7d3a95f7"
+ "350d1f2d-f4ec-4fd5-9308-fbd2daab45e2"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res490\",\r\n \"name\": \"res490\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res8087\",\r\n \"name\": \"res8087\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "165"
+ "167"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -33,36 +34,36 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:20:09 GMT"
+ ],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
+ "1183"
],
"x-ms-request-id": [
- "52306447-5483-48e2-a87a-14433d4411db"
+ "28398b9c-edfd-48d2-bb24-96789235b38c"
],
"x-ms-correlation-request-id": [
- "52306447-5483-48e2-a87a-14433d4411db"
+ "28398b9c-edfd-48d2-bb24-96789235b38c"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T171029Z:52306447-5483-48e2-a87a-14433d4411db"
+ "JAPANEAST:20170526T112010Z:28398b9c-edfd-48d2-bb24-96789235b38c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:10:28 GMT"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res490/providers/Microsoft.CognitiveServices/accounts/csa4296?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczQ5MC9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL2NzYTQyOTY/YXBpLXZlcnNpb249MjAxNi0wMi0wMS1wcmV2aWV3",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res8087/providers/Microsoft.CognitiveServices/accounts/csa2921?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczgwODcvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2EyOTIxP2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -73,19 +74,20 @@
"177"
],
"x-ms-client-request-id": [
- "80a17bd8-0784-43a7-91c3-e19ff41aee1b"
+ "39685d2b-22f5-4b12-ba97-2c68e91eb130"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res490/providers/Microsoft.CognitiveServices/accounts/csa4296\",\r\n \"name\": \"csa4296\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A30.5930593Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res8087/providers/Microsoft.CognitiveServices/accounts/csa2921\",\r\n \"name\": \"csa2921\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A20%3A12.0282161Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"96b5ca75606a48059ddf79fd8541987f\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "485"
+ "555"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -93,48 +95,48 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1195"
- ],
- "x-ms-request-id": [
- "6f9916e3-7a92-43e0-ac52-6f6dea4f23d5"
- ],
- "x-ms-correlation-request-id": [
- "6f9916e3-7a92-43e0-ac52-6f6dea4f23d5"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T171030Z:6f9916e3-7a92-43e0-ac52-6f6dea4f23d5"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:10:29 GMT"
+ "Fri, 26 May 2017 11:20:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A10%3A30.5930593Z'\""
+ "W/\"datetime'2017-05-26T11%3A20%3A12.0282161Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1182"
+ ],
+ "x-ms-request-id": [
+ "ea803d2f-51e0-4982-b961-6fb12c8bd9a5"
+ ],
+ "x-ms-correlation-request-id": [
+ "ea803d2f-51e0-4982-b961-6fb12c8bd9a5"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T112013Z:ea803d2f-51e0-4982-b961-6fb12c8bd9a5"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourcegroups/res8572?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlZ3JvdXBzL3Jlczg1NzI/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res6873?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczY4NzM/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -145,16 +147,17 @@
"28"
],
"x-ms-client-request-id": [
- "b029a01f-3b02-4641-b2b5-5b4e7de06495"
+ "82a8b762-478d-4fc2-a65a-1ca1b6648421"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res8572\",\r\n \"name\": \"res8572\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6873\",\r\n \"name\": \"res6873\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"167"
@@ -165,36 +168,36 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:20:13 GMT"
+ ],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1194"
+ "1181"
],
"x-ms-request-id": [
- "fcf8139c-2c6b-4290-a466-1beca44ca2f8"
+ "29abf1b2-7f9c-4acf-8361-15d4b6862212"
],
"x-ms-correlation-request-id": [
- "fcf8139c-2c6b-4290-a466-1beca44ca2f8"
+ "29abf1b2-7f9c-4acf-8361-15d4b6862212"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T171030Z:fcf8139c-2c6b-4290-a466-1beca44ca2f8"
+ "JAPANEAST:20170526T112014Z:29abf1b2-7f9c-4acf-8361-15d4b6862212"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:10:29 GMT"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res8572/providers/Microsoft.CognitiveServices/accounts/csa6791?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3Jlczg1NzIvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E2NzkxP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6873/providers/Microsoft.CognitiveServices/accounts/csa7945?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczY4NzMvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E3OTQ1P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -205,19 +208,20 @@
"177"
],
"x-ms-client-request-id": [
- "e5e5881d-b485-42fc-92ae-dbb9b8822eee"
+ "e0840750-e89a-4c12-9655-4df69d629811"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res8572/providers/Microsoft.CognitiveServices/accounts/csa6791\",\r\n \"name\": \"csa6791\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A32.2536091Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6873/providers/Microsoft.CognitiveServices/accounts/csa7945\",\r\n \"name\": \"csa7945\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A20%3A15.5175451Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"b8bcb7c2152d4af7be94bf47f0201c3b\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "486"
+ "555"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -225,104 +229,103 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1193"
- ],
- "x-ms-request-id": [
- "d73414c5-191f-4a36-a74e-0183b3202f38"
- ],
- "x-ms-correlation-request-id": [
- "d73414c5-191f-4a36-a74e-0183b3202f38"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T171032Z:d73414c5-191f-4a36-a74e-0183b3202f38"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:10:31 GMT"
+ "Fri, 26 May 2017 11:20:15 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A10%3A32.2536091Z'\""
+ "W/\"datetime'2017-05-26T11%3A20%3A15.5175451Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1180"
+ ],
+ "x-ms-request-id": [
+ "3348f059-5d37-4053-ab0f-9fa98216d6c8"
+ ],
+ "x-ms-correlation-request-id": [
+ "3348f059-5d37-4053-ab0f-9fa98216d6c8"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T112016Z:3348f059-5d37-4053-ab0f-9fa98216d6c8"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/providers/Microsoft.CognitiveServices/accounts?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29nbml0aXZlU2VydmljZXMvYWNjb3VudHM/YXBpLXZlcnNpb249MjAxNi0wMi0wMS1wcmV2aWV3",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/providers/Microsoft.CognitiveServices/accounts?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29nbml0aXZlU2VydmljZXMvYWNjb3VudHM/YXBpLXZlcnNpb249MjAxNy0wNC0xOA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "bd76f30a-1402-4160-a5ba-a1d08dcda2dd"
+ "a0b3dd1d-e046-4b21-ad52-dd93d6e30d5b"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/anubhavTest/providers/Microsoft.CognitiveServices/accounts/AnubhavTest\",\r\n \"name\": \"AnubhavTest\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2016-05-19T22%3A38%3A42.1526952Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/anubhavTest/providers/Microsoft.CognitiveServices/accounts/AnubhavTextAnalytics\",\r\n \"name\": \"AnubhavTextAnalytics\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2016-04-19T20%3A07%3A46.1443699Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/anubhavTest/providers/Microsoft.CognitiveServices/accounts/AnubhavTextAnalyticsOne\",\r\n \"name\": \"AnubhavTextAnalyticsOne\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2016-04-08T19%3A06%3A46.9689856Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/briansmiARMtest/providers/Microsoft.CognitiveServices/accounts/bingTest\",\r\n \"name\": \"bingTest\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"Speech\",\r\n \"etag\": \"W/\\\"datetime'2016-05-13T18%3A11%3A29.5866408Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.projectoxford.ai/speech/v0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/briansmiARMtest/providers/Microsoft.CognitiveServices/accounts/faceTest\",\r\n \"name\": \"faceTest\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"Face\",\r\n \"etag\": \"W/\\\"datetime'2016-03-22T05%3A48%3A31.1776697Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.projectoxford.ai/face/v1.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/danvartest/providers/Microsoft.CognitiveServices/accounts/danvar_reco\",\r\n \"name\": \"danvar_reco\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2016-05-19T22%3A08%3A20.3697703Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/danvartest/providers/Microsoft.CognitiveServices/accounts/new2\",\r\n \"name\": \"new2\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S3\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2016-05-10T19%3A13%3A27.6826062Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/danvartest/providers/Microsoft.CognitiveServices/accounts/testing123\",\r\n \"name\": \"testing123\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S2\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2016-05-11T23%3A47%3A31.6719469Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/danvartest/providers/Microsoft.CognitiveServices/accounts/testsss\",\r\n \"name\": \"testsss\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"testtag\": \"testval\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-18T00%3A57%3A21.8608112Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res4718/providers/Microsoft.CognitiveServices/accounts/csa7955\",\r\n \"name\": \"csa7955\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A22.9168906Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res490/providers/Microsoft.CognitiveServices/accounts/csa4296\",\r\n \"name\": \"csa4296\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A30.5930593Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res7650/providers/Microsoft.CognitiveServices/accounts/csa6414\",\r\n \"name\": \"csa6414\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A18.2255104Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res8572/providers/Microsoft.CognitiveServices/accounts/csa6791\",\r\n \"name\": \"csa6791\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A32.2536091Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res8804/providers/Microsoft.CognitiveServices/accounts/csa942\",\r\n \"name\": \"csa942\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A10.0949192Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/Api-Default-West-US/providers/Microsoft.CognitiveServices/accounts/demos\",\r\n \"name\": \"demos\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2017-05-17T02%3A52%3A46.7549384Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"c340d2f3c4174b3083908be31de386f4\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/Api-Default-West-US/providers/Microsoft.CognitiveServices/accounts/testingconsent\",\r\n \"name\": \"testingconsent\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Bing.Search\",\r\n \"etag\": \"W/\\\"datetime'2017-05-02T23%3A49%3A25.0903335Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/bing/v5.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"11631eb216c1437f992674e2c1b62503\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/Api-Default-West-US/providers/Microsoft.CognitiveServices/accounts/testingCV\",\r\n \"name\": \"testingCV\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"ComputerVision\",\r\n \"etag\": \"W/\\\"datetime'2017-05-10T03%3A33%3A24.4956955Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/vision/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"7a4ba1d606954b0f9534431edd0c4ce7\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/Api-Default-West-US/providers/Microsoft.CognitiveServices/accounts/testpwoeof\",\r\n \"name\": \"testpwoeof\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Academic\",\r\n \"etag\": \"W/\\\"datetime'2017-04-25T08%3A04%3A59.1851133Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/academic/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"8d10e816f30c4077b4673bb15c1862d9\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/APIMTestingSimulator/providers/Microsoft.CognitiveServices/accounts/testingFaceQS\",\r\n \"name\": \"testingFaceQS\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Face\",\r\n \"etag\": \"W/\\\"datetime'2017-05-10T04%3A22%3A54.6719304Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/face/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"bca44bba1d1e4da290979f84b71712f8\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/APIMTestingSimulator/providers/Microsoft.CognitiveServices/accounts/testingQC\",\r\n \"name\": \"testingQC\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Academic\",\r\n \"etag\": \"W/\\\"datetime'2017-05-09T22%3A11%3A12.2575479Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/academic/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"3d8954a2bd2742798ffd8e2e728e61de\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/APIMTestingSimulator/providers/Microsoft.CognitiveServices/accounts/testingquick\",\r\n \"name\": \"testingquick\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"LUIS\",\r\n \"etag\": \"W/\\\"datetime'2017-05-08T22%3A04%3A07.415783Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/luis/v1\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"57aa0e03c8ad4f0abc6d8f5036804aee\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/bvttest/providers/Microsoft.CognitiveServices/accounts/CrisProd\",\r\n \"name\": \"CrisProd\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"CRIS\",\r\n \"tags\": {\r\n \"can't delete it successfully\": \"v-yunjin\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-09T03%3A39%3A45.6674204Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"cb9a1ad4861a46ef8e440268f763d09e\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/felixwa-01/providers/Microsoft.CognitiveServices/accounts/felixwatest1\",\r\n \"name\": \"felixwatest1\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"Emotion\",\r\n \"tags\": {\r\n \"Owner\": \"felixwa\",\r\n \"ExpiredDate\": \"2017/09/01\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-04-19T10%3A31%3A49.8338118Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/emotion/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"a6bb5ff85a3b4c6eb8de8798567a78c6\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/hzftestgrp01/providers/Microsoft.CognitiveServices/accounts/CRIS-test02\",\r\n \"name\": \"CRIS-test02\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"CRIS\",\r\n \"etag\": \"W/\\\"datetime'2017-05-25T09%3A42%3A17.4113744Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"f9ce0e5122094c75893ba3df5c792fc0\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/luistest1/providers/Microsoft.CognitiveServices/accounts/luistest1\",\r\n \"name\": \"luistest1\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"LUIS\",\r\n \"etag\": \"W/\\\"datetime'2017-05-10T23%3A42%3A04.0941299Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/luis/v1\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"143a377384704b4b99dbd6100cc11703\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/MUC-Tests/providers/Microsoft.CognitiveServices/accounts/MUC-Test-02\",\r\n \"name\": \"MUC-Test-02\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"CRIS\",\r\n \"etag\": \"W/\\\"datetime'2017-05-25T09%3A43%3A33.6543578Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"bc082754a9ed42da828dd6b8c967a122\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/MUC-Tests/providers/Microsoft.CognitiveServices/accounts/MUC-Tests-01\",\r\n \"name\": \"MUC-Tests-01\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"CRIS\",\r\n \"etag\": \"W/\\\"datetime'2017-05-08T11%3A50%3A36.0075019Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"cd44e6200f2e44d4bbaee33ca288d5f9\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/MUC-Tests/providers/Microsoft.CognitiveServices/accounts/MUC-Tests-03\",\r\n \"name\": \"MUC-Tests-03\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"CustomSpeech\",\r\n \"tags\": {\r\n \"ExpiredDate\": \"2018/02/01\",\r\n \"Owner\": \"onano\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-25T09%3A44%3A01.5888323Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"2f33e0266f3e4382920c0c901c901c7d\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/OCRV1-WU-DEV/providers/Microsoft.CognitiveServices/accounts/test_ocr_api\",\r\n \"name\": \"test_ocr_api\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"ComputerVision\",\r\n \"etag\": \"W/\\\"datetime'2017-05-10T06%3A58%3A59.2896584Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/vision/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"76c1ca860b804fa4ba4f96e96ac0e5b9\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4416/providers/Microsoft.CognitiveServices/accounts/csa993\",\r\n \"name\": \"csa993\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A19%3A38.0267713Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"e45a4bac265d49c59ce85b67381c866a\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6873/providers/Microsoft.CognitiveServices/accounts/csa7945\",\r\n \"name\": \"csa7945\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A20%3A15.5175451Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"b8bcb7c2152d4af7be94bf47f0201c3b\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res8087/providers/Microsoft.CognitiveServices/accounts/csa2921\",\r\n \"name\": \"csa2921\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A20%3A12.0282161Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"96b5ca75606a48059ddf79fd8541987f\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_Academic_S0_0525\",\r\n \"name\": \"ProSwitchRP_Academic_S0_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Academic\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T08%3A01%3A06.1134631Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/academic/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"b3d1b63c3c33428a8a02f4e97e322035\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_Autosuggest_S1_0525\",\r\n \"name\": \"ProSwitchRP_Autosuggest_S1_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Bing.Autosuggest\",\r\n \"etag\": \"W/\\\"datetime'2017-05-25T08%3A30%3A47.286018Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/bing/v5.0/suggestions\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"bd6e5a42c3584bcc8f1a81622ef806fa\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_BingSearch_S1_0525\",\r\n \"name\": \"ProSwitchRP_BingSearch_S1_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Bing.Search\",\r\n \"etag\": \"W/\\\"datetime'2017-05-25T10%3A22%3A44.2357064Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/bing/v5.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"c0ba089f60964951a82dcd8076da56d8\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_BingSearch_S2_0525\",\r\n \"name\": \"ProSwitchRP_BingSearch_S2_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S2\"\r\n },\r\n \"kind\": \"Bing.Search\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T04%3A37%3A47.4251962Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/bing/v5.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"49b1e189709845f995a6033f3532dcea\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_BingSpeech_F0_0525\",\r\n \"name\": \"ProSwitchRP_BingSpeech_F0_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"Bing.Speech\",\r\n \"etag\": \"W/\\\"datetime'2017-05-25T10%3A25%3A19.025047Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"8751fe656e324746b6ac72e0f3658c78\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_BingSpeech_S0_0525\",\r\n \"name\": \"ProSwitchRP_BingSpeech_S0_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Bing.Speech\",\r\n \"etag\": \"W/\\\"datetime'2017-05-25T10%3A24%3A01.9096421Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"83efb8ac05f84b1fb3e7f2f84ec89098\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_BingSpellCheck_S1_0525\",\r\n \"name\": \"ProSwitchRP_BingSpellCheck_S1_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Bing.SpellCheck\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T04%3A11%3A15.5786386Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/bing/v5.0/spellcheck\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"3be5de9094e54470a13d5cc2c4861afd\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_BingSpellCheck_S2_0525\",\r\n \"name\": \"ProSwitchRP_BingSpellCheck_S2_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S2\"\r\n },\r\n \"kind\": \"Bing.SpellCheck\",\r\n \"etag\": \"W/\\\"datetime'2017-05-25T10%3A25%3A42.4813734Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/bing/v5.0/spellcheck\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"75fb8e8a7abe4f1196099596ba130593\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_ComputerVision_S0_0525\",\r\n \"name\": \"ProSwitchRP_ComputerVision_S0_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"ComputerVision\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T08%3A09%3A16.9738404Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/vision/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"534e6ff4d98f4e78bb3d4ac970aa30b1\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_ComputerVision_S1_0525\",\r\n \"name\": \"ProSwitchRP_ComputerVision_S1_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"ComputerVision\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T08%3A12%3A16.6673066Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/vision/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"fdc8203fb09e4538b547874abc6fb4ac\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_ContentModerator_S0_0525\",\r\n \"name\": \"ProSwitchRP_ContentModerator_S0_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"ContentModerator\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T08%3A15%3A18.8861762Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/contentmoderator\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"ffd2e9db4d9e44afbacf8c60b1486089\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_CustomSpeechService_S0_0525\",\r\n \"name\": \"ProSwitchRP_CustomSpeechService_S0_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"CustomSpeech\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T08%3A19%3A34.0716729Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"50bd234310fd47009fcbc384fcb9de26\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_CustomSpeechService_S1_0525\",\r\n \"name\": \"ProSwitchRP_CustomSpeechService_S1_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"CustomSpeech\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T09%3A22%3A32.1787305Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"93e34c8d1df547c0a97abac4537ec2d4\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_Emotion_S0_0525\",\r\n \"name\": \"ProSwitchRP_Emotion_S0_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Emotion\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T07%3A59%3A56.9204395Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/emotion/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"0e3f37e98d344dbdbfaeae0d0b38a68a\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_Face_S0_0525\",\r\n \"name\": \"ProSwitchRP_Face_S0_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Face\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T08%3A01%3A08.5037443Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/face/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"fd87dc9d975a4d7ba53fc90fc8f7b714\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_LUIS_S0_0525\",\r\n \"name\": \"ProSwitchRP_LUIS_S0_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"LUIS\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T08%3A10%3A12.9422455Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/luis/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"064f6b8648124a0a9ca35e6cbd5b4ad4\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_Recommendation_F0_0525\",\r\n \"name\": \"ProSwitchRP_Recommendation_F0_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T08%3A27%3A57.7993279Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"159e378151e74311a0898f38fbf292e6\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_Recommendation_S1_0525\",\r\n \"name\": \"ProSwitchRP_Recommendation_S1_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T08%3A48%3A55.794704Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"e12dfe98e0c44c35b88c3fbc4ddd5a12\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_SpeakerRecognition_S0_0525\",\r\n \"name\": \"ProSwitchRP_SpeakerRecognition_S0_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"SpeakerRecognition\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T08%3A35%3A45.5666711Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/spid/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"6ae55993fb2643c89951a05e3f12a41f\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_SpeechTranslator_S2_0525\",\r\n \"name\": \"ProSwitchRP_SpeechTranslator_S2_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S2\"\r\n },\r\n \"kind\": \"SpeechTranslation\",\r\n \"etag\": \"W/\\\"datetime'2017-05-25T09%3A03%3A26.24569Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"62230281552648b59ea9a5f982755f8b\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_TA_S1_0525\",\r\n \"name\": \"ProSwitchRP_TA_S1_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T08%3A46%3A43.0240138Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"6b0d9c73c5084c4dab941ca8531f6e56\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_TextTrandlator_F0_0525\",\r\n \"name\": \"ProSwitchRP_TextTrandlator_F0_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"TextTranslation\",\r\n \"etag\": \"W/\\\"datetime'2017-05-25T09%3A59%3A01.4694151Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"92a361103488446393de27faf44ecdfe\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_TextTranslator_S2_0525\",\r\n \"name\": \"ProSwitchRP_TextTranslator_S2_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S2\"\r\n },\r\n \"kind\": \"TextTranslation\",\r\n \"etag\": \"W/\\\"datetime'2017-05-25T08%3A44%3A16.2792607Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/sts/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"e815eeae497b4766bc1b80ee3894dbff\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_Weblm_F0_0525\",\r\n \"name\": \"ProSwitchRP_Weblm_F0_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"WebLM\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T08%3A41%3A18.059935Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/weblm/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"fbf6610720c94af6a80ca03c149330e8\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/ProSwitchRP_Weblm_S0_0525\",\r\n \"name\": \"ProSwitchRP_Weblm_S0_0525\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"WebLM\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T08%3A44%3A04.0222953Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/weblm/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"13997b1dcce849ac8da00a583a26a32c\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/something/providers/Microsoft.CognitiveServices/accounts/testAPI\",\r\n \"name\": \"testAPI\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"global\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Bing.Autosuggest\",\r\n \"etag\": \"W/\\\"datetime'2017-03-27T23%3A02%3A13.4326763Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://api.cognitive.microsoft.com/bing/v5.0/suggestions\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"a370ec352b1c443793b7f64bcb79f488\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/TestFaceGroup/providers/Microsoft.CognitiveServices/accounts/TestFace2\",\r\n \"name\": \"TestFace2\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Face\",\r\n \"etag\": \"W/\\\"datetime'2017-05-16T08%3A57%3A17.2854108Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/face/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"78795f0cecb44ef290d7119da86317ea\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/wkwokBotGroup/providers/Microsoft.CognitiveServices/accounts/FaceTest100\",\r\n \"name\": \"FaceTest100\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"Face\",\r\n \"etag\": \"W/\\\"datetime'2017-04-10T22%3A32%3A56.2840681Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/face/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"66b94e66885e4a7fa723782bc22786d6\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/Xiaowen01/providers/Microsoft.CognitiveServices/accounts/xiaowy\",\r\n \"name\": \"xiaowy\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Emotion\",\r\n \"tags\": {\r\n \"ExpiredDate\": \"2017/08/01\",\r\n \"Owner\": \"v-xiaowy\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-03-27T11%3A33%3A11.3479661Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/emotion/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"e9324d7184a74f4b86cb7c9870f5392a\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/something/providers/Microsoft.CognitiveServices/accounts/test\",\r\n \"name\": \"test\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westeurope\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Face\",\r\n \"etag\": \"\\\"00001dc4-0000-0000-0000-58ef26d10000\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westeurope.api.cognitive.microsoft.com/face/v1.0\",\r\n \"internalId\": \"188db091bfff45fbaeb3ac0e334e0420\",\r\n \"dateCreated\": \"2017-04-13T07:20:50.2220747Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/bvttest/providers/Microsoft.CognitiveServices/accounts/rayclitest12\",\r\n \"name\": \"rayclitest12\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westeurope\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Face\",\r\n \"etag\": \"\\\"00003916-0000-0000-0000-59002bd60000\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westeurope.api.cognitive.microsoft.com/face/v1.0\",\r\n \"internalId\": \"0f15932a764746d4bf73ad8f4b6238b9\",\r\n \"dateCreated\": \"2017-04-26T05:10:49.2500177Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/clitest.rgc75dc04d46b7d8a38d2abc66275b26cdd0dc4d9112371573407f8390489ad743/providers/Microsoft.CognitiveServices/accounts/cli6de1a26e24965f739\",\r\n \"name\": \"cli6de1a26e24965f739\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westeurope\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Face\",\r\n \"etag\": \"\\\"00009ec3-0000-0000-0000-5927f6200000\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westeurope.api.cognitive.microsoft.com/face/v1.0\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"a05ca9bacad64dd692b1a20a28216c33\",\r\n \"dateCreated\": \"2017-04-26T07:14:03.3571446Z\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/clitest.rgd295b9b84c9e66b25d533095e5176f776fe02be9c79591a69847c22009c91e0a/providers/Microsoft.CognitiveServices/accounts/cog46e071e1a\",\r\n \"name\": \"cog46e071e1a\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westeurope\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Face\",\r\n \"etag\": \"\\\"0000aec3-0000-0000-0000-5927f64a0000\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westeurope.api.cognitive.microsoft.com/face/v1.0\",\r\n \"internalId\": \"934f9ac65e5f4740bc6edad9360869f3\",\r\n \"dateCreated\": \"2017-05-01T23:11:29.5352411Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/xiaominTest/providers/Microsoft.CognitiveServices/accounts/AsiaFace01\",\r\n \"name\": \"AsiaFace01\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"southeastasia\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"Face\",\r\n \"etag\": \"\\\"01003f7a-0000-0000-0000-59280ceb0000\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://southeastasia.api.cognitive.microsoft.com/face/v1.0\",\r\n \"internalId\": \"ca599889bf24400bbe2c0a9297b452b3\",\r\n \"dateCreated\": \"2017-05-26T09:36:31.4913364Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/RP_CM_F0_WCU_0526\",\r\n \"name\": \"RP_CM_F0_WCU_0526\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westcentralus\",\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"ContentModerator\",\r\n \"etag\": \"\\\"000062d9-0000-0000-0000-5927bfdc0000\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westcentralus.api.cognitive.microsoft.com/contentmoderator\",\r\n \"internalId\": \"faaf067a873d44e787d3b313a8b61828\",\r\n \"dateCreated\": \"2017-05-26T05:19:17.2499596Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/RPTest/providers/Microsoft.CognitiveServices/accounts/RP_Vision_F0_WCU_0526\",\r\n \"name\": \"RP_Vision_F0_WCU_0526\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westcentralus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"ComputerVision\",\r\n \"etag\": \"\\\"000080d9-0000-0000-0000-5927c29a0000\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westcentralus.api.cognitive.microsoft.com/vision/v1.0\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"b31715e1b06a40c4905a4c15f0da5f81\",\r\n \"dateCreated\": \"2017-05-26T05:20:44.81771Z\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/ibizae2e/providers/Microsoft.CognitiveServices/accounts/ppe-face-eu2\",\r\n \"name\": \"ppe-face-eu2\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"eastus2\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Face\",\r\n \"etag\": \"\\\"4600067c-0000-0000-0000-5927f6a70000\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://eastus2.api.cognitive.microsoft.com/face/v1.0\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"7d2778f4d1f34ff1afb5af2f4f713787\",\r\n \"dateCreated\": \"2017-04-14T09:39:09.1838934Z\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/Api-Default-West-US/providers/Microsoft.CognitiveServices/accounts/testingQS\",\r\n \"name\": \"testingQS\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"eastus2\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"ComputerVision\",\r\n \"etag\": \"\\\"00007a93-0000-0000-0000-591293a50000\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://eastus2.api.cognitive.microsoft.com/vision/v1.0\",\r\n \"internalId\": \"37774089da1b40f0958e68771662d0ed\",\r\n \"dateCreated\": \"2017-05-10T04:14:31.6623542Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}",
"ResponseHeaders": {
- "Content-Length": [
- "6543"
- ],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:20:17 GMT"
+ ],
"Pragma": [
"no-cache"
],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-original-request-ids": [
+ "",
+ "2a38f27f-24ff-416e-ab49-acf695febc5c",
+ "972ab8fa-50ec-4523-b2bc-ad973eb8fa2e",
+ "3c615b69-acf7-4246-9fd0-e63d952f911e",
+ "8492dff9-40c9-41b7-84ef-0752bfd07838"
+ ],
"x-ms-ratelimit-remaining-subscription-reads": [
- "14965"
+ "14795"
],
"x-ms-request-id": [
- "543afaa4-3b70-4bf2-95a3-0aab614bf3cd"
+ "f41abc3e-2499-4056-bd3a-7e3d40122c0c"
],
"x-ms-correlation-request-id": [
- "543afaa4-3b70-4bf2-95a3-0aab614bf3cd"
+ "f41abc3e-2499-4056-bd3a-7e3d40122c0c"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T171032Z:543afaa4-3b70-4bf2-95a3-0aab614bf3cd"
+ "JAPANEAST:20170526T112018Z:f41abc3e-2499-4056-bd3a-7e3d40122c0c"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:10:31 GMT"
- ],
- "Server": [
- "Microsoft-IIS/8.5"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
]
},
"StatusCode": 200
@@ -330,15 +333,15 @@
],
"Names": {
"CreateResourceGroup": [
- "res490",
- "res8572"
+ "res8087",
+ "res6873"
],
"CreateCognitiveServicesAccount": [
- "csa4296",
- "csa6791"
+ "csa2921",
+ "csa7945"
]
},
"Variables": {
- "SubscriptionId": "a064e0b9-e6c9-4a0d-b993-22efebefe2af"
+ "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountListKeysTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountListKeysTest.json
index d009e0282cbf..375a45e6f27e 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountListKeysTest.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountListKeysTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourcegroups/res4718?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlZ3JvdXBzL3JlczQ3MTg/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res4416?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczQ0MTY/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,16 +13,17 @@
"28"
],
"x-ms-client-request-id": [
- "43b46ee3-3c64-4c47-b026-0d027825d4a8"
+ "30f5bd89-fd08-47b1-90e5-eacd50fe27ff"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res4718\",\r\n \"name\": \"res4718\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4416\",\r\n \"name\": \"res4416\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"167"
@@ -33,6 +34,12 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:19:33 GMT"
+ ],
"Pragma": [
"no-cache"
],
@@ -40,29 +47,23 @@
"1199"
],
"x-ms-request-id": [
- "62b08745-cccd-4df5-8702-9ddbadd73450"
+ "a24a83ff-dbe8-487a-aff4-9418f92677ee"
],
"x-ms-correlation-request-id": [
- "62b08745-cccd-4df5-8702-9ddbadd73450"
+ "a24a83ff-dbe8-487a-aff4-9418f92677ee"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T171021Z:62b08745-cccd-4df5-8702-9ddbadd73450"
+ "SOUTHEASTASIA:20170526T111933Z:a24a83ff-dbe8-487a-aff4-9418f92677ee"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:10:20 GMT"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res4718/providers/Microsoft.CognitiveServices/accounts/csa7955?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczQ3MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E3OTU1P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4416/providers/Microsoft.CognitiveServices/accounts/csa993?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczQ0MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E5OTM/YXBpLXZlcnNpb249MjAxNy0wNC0xOA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -73,19 +74,20 @@
"177"
],
"x-ms-client-request-id": [
- "c4b7896a-36ae-4e9f-83b8-93db19664588"
+ "f4ea0faf-40d3-4b83-a9c0-a6a2ae2445ef"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res4718/providers/Microsoft.CognitiveServices/accounts/csa7955\",\r\n \"name\": \"csa7955\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A22.4694731Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4416/providers/Microsoft.CognitiveServices/accounts/csa993\",\r\n \"name\": \"csa993\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A19%3A36.3131366Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"e45a4bac265d49c59ce85b67381c866a\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "486"
+ "553"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -93,104 +95,108 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
- ],
- "x-ms-request-id": [
- "2411b95c-1c39-47a4-a8a6-4844a93ed402"
- ],
- "x-ms-correlation-request-id": [
- "2411b95c-1c39-47a4-a8a6-4844a93ed402"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T171022Z:2411b95c-1c39-47a4-a8a6-4844a93ed402"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:10:22 GMT"
+ "Fri, 26 May 2017 11:19:37 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A10%3A22.4694731Z'\""
+ "W/\"datetime'2017-05-26T11%3A19%3A36.3131366Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-request-id": [
+ "8a8dc695-e376-4d95-969d-a1c0cc5f9121"
+ ],
+ "x-ms-correlation-request-id": [
+ "8a8dc695-e376-4d95-969d-a1c0cc5f9121"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHEASTASIA:20170526T111937Z:8a8dc695-e376-4d95-969d-a1c0cc5f9121"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res4718/providers/Microsoft.CognitiveServices/accounts/csa7955/listKeys?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczQ3MTgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E3OTU1L2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4416/providers/Microsoft.CognitiveServices/accounts/csa993/listKeys?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczQ0MTYvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E5OTMvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNy0wNC0xOA==",
"RequestMethod": "POST",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "22db58a1-00ab-4def-a70d-8933bf1bfb6d"
+ "03209f18-d02c-44f1-a724-19a359a4c8dc"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"key1\": \"bfc05076b40646ce922cf1fdf3d3a7ee\",\r\n \"key2\": \"15c2387e933e433a9b5122bd904b327d\"\r\n}",
+ "ResponseBody": "{\r\n \"key1\": \"e93780dcb51c47dcbcee010035662b73\",\r\n \"key2\": \"8f2cb3f9e5304bccaabda7173cfacec5\"\r\n}",
"ResponseHeaders": {
- "Content-Length": [
- "85"
- ],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
- "Pragma": [
+ "Cache-Control": [
"no-cache"
],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
- ],
- "x-ms-request-id": [
- "4056e53e-68e7-4434-bcbd-6ade74bd19ad"
- ],
- "x-ms-correlation-request-id": [
- "4056e53e-68e7-4434-bcbd-6ade74bd19ad"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T171022Z:4056e53e-68e7-4434-bcbd-6ade74bd19ad"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+ "Date": [
+ "Fri, 26 May 2017 11:19:38 GMT"
],
- "Cache-Control": [
+ "Pragma": [
"no-cache"
],
- "Date": [
- "Mon, 23 May 2016 17:10:22 GMT"
+ "Transfer-Encoding": [
+ "chunked"
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-request-id": [
+ "0ac292cf-eb3f-4ac8-9d27-161ffd915486"
+ ],
+ "x-ms-correlation-request-id": [
+ "0ac292cf-eb3f-4ac8-9d27-161ffd915486"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHEASTASIA:20170526T111938Z:0ac292cf-eb3f-4ac8-9d27-161ffd915486"
]
},
"StatusCode": 200
@@ -198,13 +204,13 @@
],
"Names": {
"CreateResourceGroup": [
- "res4718"
+ "res4416"
],
"CreateCognitiveServicesAccount": [
- "csa7955"
+ "csa993"
]
},
"Variables": {
- "SubscriptionId": "a064e0b9-e6c9-4a0d-b993-22efebefe2af"
+ "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountMinMaxNameLengthTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountMinMaxNameLengthTest.json
new file mode 100644
index 000000000000..ae2c075e988b
--- /dev/null
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountMinMaxNameLengthTest.json
@@ -0,0 +1,219 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res2308?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczIzMDg/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "28"
+ ],
+ "x-ms-client-request-id": [
+ "7a53d800-7ee8-4cd0-91a5-a6b7ddc99b32"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res2308\",\r\n \"name\": \"res2308\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "167"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:18:35 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1192"
+ ],
+ "x-ms-request-id": [
+ "0b0d2a4d-09a3-43a6-8b8d-e3cfd166cf62"
+ ],
+ "x-ms-correlation-request-id": [
+ "0b0d2a4d-09a3-43a6-8b8d-e3cfd166cf62"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T111836Z:0b0d2a4d-09a3-43a6-8b8d-e3cfd166cf62"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res2308/providers/Microsoft.CognitiveServices/accounts/zz?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczIzMDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy96ej9hcGktdmVyc2lvbj0yMDE3LTA0LTE4",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Academic\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "108"
+ ],
+ "x-ms-client-request-id": [
+ "15f136ff-089b-41dd-97b2-c61d0bed4a84"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res2308/providers/Microsoft.CognitiveServices/accounts/zz\",\r\n \"name\": \"zz\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Academic\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A18%3A38.1456324Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/academic/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"be3b2cc0e7eb4658b585d4052ae1f25a\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "493"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:18:39 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ETag": [
+ "W/\"datetime'2017-05-26T11%3A18%3A38.1456324Z'\""
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1191"
+ ],
+ "x-ms-request-id": [
+ "4f4e5051-e36a-4e6f-aa94-2115c00a2fcf"
+ ],
+ "x-ms-correlation-request-id": [
+ "4f4e5051-e36a-4e6f-aa94-2115c00a2fcf"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T111839Z:4f4e5051-e36a-4e6f-aa94-2115c00a2fcf"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res2308/providers/Microsoft.CognitiveServices/accounts/AcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcad?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczIzMDgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9BY2FkQWNhZEFjYWRBY2FkQWNhZEFjYWRBY2FkQWNhZEFjYWRBY2FkQWNhZEFjYWRBY2FkQWNhZEFjYWRBY2FkP2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Academic\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "108"
+ ],
+ "x-ms-client-request-id": [
+ "541c298d-bbe8-4ce1-81d6-c53654ab11e5"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res2308/providers/Microsoft.CognitiveServices/accounts/AcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcad\",\r\n \"name\": \"AcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcad\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n },\r\n \"kind\": \"Academic\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A18%3A39.9273325Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/academic/v1.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"1649f71d3f1542db9cf24456ca82a34f\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "617"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:18:40 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "ETag": [
+ "W/\"datetime'2017-05-26T11%3A18%3A39.9273325Z'\""
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1190"
+ ],
+ "x-ms-request-id": [
+ "00d3e03e-4c4e-4920-99f4-00732e60216f"
+ ],
+ "x-ms-correlation-request-id": [
+ "00d3e03e-4c4e-4920-99f4-00732e60216f"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T111840Z:00d3e03e-4c4e-4920-99f4-00732e60216f"
+ ]
+ },
+ "StatusCode": 201
+ }
+ ],
+ "Names": {
+ "CreateResourceGroup": [
+ "res2308"
+ ]
+ },
+ "Variables": {
+ "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
+ }
+}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountRegenerateKeyTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountRegenerateKeyTest.json
index 5b1833015849..a74bbc3999dc 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountRegenerateKeyTest.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountRegenerateKeyTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourcegroups/res8804?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlZ3JvdXBzL3Jlczg4MDQ/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res7790?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3Jlczc3OTA/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,16 +13,17 @@
"28"
],
"x-ms-client-request-id": [
- "3d09eccd-170d-4def-8413-15aa057c037b"
+ "fc4004d2-1be3-40b0-a760-d08819d58318"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res8804\",\r\n \"name\": \"res8804\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res7790\",\r\n \"name\": \"res7790\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"167"
@@ -33,36 +34,36 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:18:11 GMT"
+ ],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
+ "1189"
],
"x-ms-request-id": [
- "ba575fc1-453f-42c5-96aa-427d5cb5e4b9"
+ "00dba411-a873-4d59-88eb-fcd96c161f9a"
],
"x-ms-correlation-request-id": [
- "ba575fc1-453f-42c5-96aa-427d5cb5e4b9"
+ "00dba411-a873-4d59-88eb-fcd96c161f9a"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T171007Z:ba575fc1-453f-42c5-96aa-427d5cb5e4b9"
+ "JAPANEAST:20170526T111812Z:00dba411-a873-4d59-88eb-fcd96c161f9a"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:10:07 GMT"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res8804/providers/Microsoft.CognitiveServices/accounts/csa942?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3Jlczg4MDQvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E5NDI/YXBpLXZlcnNpb249MjAxNi0wMi0wMS1wcmV2aWV3",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res7790/providers/Microsoft.CognitiveServices/accounts/csa4688?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3Jlczc3OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0Njg4P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -73,19 +74,20 @@
"177"
],
"x-ms-client-request-id": [
- "b283b0b6-27f5-4d9b-af78-540641672168"
+ "96db8d0d-2c0e-4160-85e1-0675b9870b0d"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res8804/providers/Microsoft.CognitiveServices/accounts/csa942\",\r\n \"name\": \"csa942\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A10%3A09.2441253Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res7790/providers/Microsoft.CognitiveServices/accounts/csa4688\",\r\n \"name\": \"csa4688\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A18%3A14.147734Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/text/analytics/v2.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"ce3e1336786b470b858cbcbc74413a81\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "484"
+ "554"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -93,111 +95,115 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
- ],
- "x-ms-request-id": [
- "e92f8808-cdb4-49dd-b543-20d31d83feeb"
- ],
- "x-ms-correlation-request-id": [
- "e92f8808-cdb4-49dd-b543-20d31d83feeb"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T171009Z:e92f8808-cdb4-49dd-b543-20d31d83feeb"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:10:08 GMT"
+ "Fri, 26 May 2017 11:18:15 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A10%3A09.2441253Z'\""
+ "W/\"datetime'2017-05-26T11%3A18%3A14.147734Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1188"
+ ],
+ "x-ms-request-id": [
+ "8cd36eaf-4aaf-4b74-aa4d-5806917961fd"
+ ],
+ "x-ms-correlation-request-id": [
+ "8cd36eaf-4aaf-4b74-aa4d-5806917961fd"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T111815Z:8cd36eaf-4aaf-4b74-aa4d-5806917961fd"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res8804/providers/Microsoft.CognitiveServices/accounts/csa942/listKeys?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3Jlczg4MDQvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E5NDIvbGlzdEtleXM/YXBpLXZlcnNpb249MjAxNi0wMi0wMS1wcmV2aWV3",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res7790/providers/Microsoft.CognitiveServices/accounts/csa4688/listKeys?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3Jlczc3OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0Njg4L2xpc3RLZXlzP2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "POST",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "b09390e7-7189-4684-9097-57c8d6055e75"
+ "387b4db7-ff83-4d40-b60f-ad968e0d8bd7"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"key1\": \"ee5e320d0aa64f68969bb494dd32edec\",\r\n \"key2\": \"350c0e2cd84c471d93e8ddca9e43ff2a\"\r\n}",
+ "ResponseBody": "{\r\n \"key1\": \"74bf5fa973fc4a079d004ac870bfe6df\",\r\n \"key2\": \"9f50ea53113e40f78a0c5491422cce74\"\r\n}",
"ResponseHeaders": {
- "Content-Length": [
- "85"
- ],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
- "Pragma": [
+ "Cache-Control": [
"no-cache"
],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
- ],
- "x-ms-request-id": [
- "098c8b7a-7cb9-4d29-9370-9c7dd5edf358"
- ],
- "x-ms-correlation-request-id": [
- "098c8b7a-7cb9-4d29-9370-9c7dd5edf358"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T171009Z:098c8b7a-7cb9-4d29-9370-9c7dd5edf358"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+ "Date": [
+ "Fri, 26 May 2017 11:18:15 GMT"
],
- "Cache-Control": [
+ "Pragma": [
"no-cache"
],
- "Date": [
- "Mon, 23 May 2016 17:10:09 GMT"
+ "Transfer-Encoding": [
+ "chunked"
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1187"
+ ],
+ "x-ms-request-id": [
+ "a8e97442-fc53-4f84-80fc-dc7830ecce55"
+ ],
+ "x-ms-correlation-request-id": [
+ "a8e97442-fc53-4f84-80fc-dc7830ecce55"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T111815Z:a8e97442-fc53-4f84-80fc-dc7830ecce55"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res8804/providers/Microsoft.CognitiveServices/accounts/csa942/regenerateKey?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3Jlczg4MDQvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E5NDIvcmVnZW5lcmF0ZUtleT9hcGktdmVyc2lvbj0yMDE2LTAyLTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res7790/providers/Microsoft.CognitiveServices/accounts/csa4688/regenerateKey?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3Jlczc3OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0Njg4L3JlZ2VuZXJhdGVLZXk/YXBpLXZlcnNpb249MjAxNy0wNC0xOA==",
"RequestMethod": "POST",
"RequestBody": "{\r\n \"keyName\": \"Key2\"\r\n}",
"RequestHeaders": {
@@ -208,58 +214,62 @@
"25"
],
"x-ms-client-request-id": [
- "45537292-70f2-40e2-af28-a7c0aa417c13"
+ "e036e2f2-37df-4bc9-8787-2ca7050cebdc"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"key1\": \"ee5e320d0aa64f68969bb494dd32edec\",\r\n \"key2\": \"3fc3d84d081045e98b7ff5ed906d9413\"\r\n}",
+ "ResponseBody": "{\r\n \"key1\": \"74bf5fa973fc4a079d004ac870bfe6df\",\r\n \"key2\": \"fa82b11389804bca87ec8ce0b2376a13\"\r\n}",
"ResponseHeaders": {
- "Content-Length": [
- "85"
- ],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
- "Pragma": [
+ "Cache-Control": [
"no-cache"
],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-request-id": [
- "30d72866-da99-4afa-8c39-59482367f29c"
- ],
- "x-ms-correlation-request-id": [
- "30d72866-da99-4afa-8c39-59482367f29c"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T171009Z:30d72866-da99-4afa-8c39-59482367f29c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+ "Date": [
+ "Fri, 26 May 2017 11:18:15 GMT"
],
- "Cache-Control": [
+ "Pragma": [
"no-cache"
],
- "Date": [
- "Mon, 23 May 2016 17:10:09 GMT"
+ "Transfer-Encoding": [
+ "chunked"
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1186"
+ ],
+ "x-ms-request-id": [
+ "a3880dfc-1d01-4dbc-b410-7b53d138f84b"
+ ],
+ "x-ms-correlation-request-id": [
+ "a3880dfc-1d01-4dbc-b410-7b53d138f84b"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T111816Z:a3880dfc-1d01-4dbc-b410-7b53d138f84b"
]
},
"StatusCode": 200
@@ -267,13 +277,13 @@
],
"Names": {
"CreateResourceGroup": [
- "res8804"
+ "res7790"
],
"CreateCognitiveServicesAccount": [
- "csa942"
+ "csa4688"
]
},
"Variables": {
- "SubscriptionId": "a064e0b9-e6c9-4a0d-b993-22efebefe2af"
+ "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountUpdateWithCreateTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountUpdateWithCreateTest.json
index d4dc66e169b0..efe50454543a 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountUpdateWithCreateTest.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesAccountUpdateWithCreateTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourcegroups/res9251?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlZ3JvdXBzL3JlczkyNTE/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res4089?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczQwODk/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,16 +13,17 @@
"28"
],
"x-ms-client-request-id": [
- "41ee25fe-8a10-4776-99fc-58520ba0b389"
+ "026cef0e-f64e-4b9b-9d57-e52c3f3b277e"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9251\",\r\n \"name\": \"res9251\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4089\",\r\n \"name\": \"res4089\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"167"
@@ -33,36 +34,36 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:17:40 GMT"
+ ],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
+ "1198"
],
"x-ms-request-id": [
- "b648121f-c5e6-4132-906c-27a9db38b7da"
+ "3b46e465-6673-4c91-a659-4294f65ef640"
],
"x-ms-correlation-request-id": [
- "b648121f-c5e6-4132-906c-27a9db38b7da"
+ "3b46e465-6673-4c91-a659-4294f65ef640"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20160523T172812Z:b648121f-c5e6-4132-906c-27a9db38b7da"
+ "SOUTHEASTASIA:20170526T111740Z:3b46e465-6673-4c91-a659-4294f65ef640"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:28:11 GMT"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9251/providers/Microsoft.CognitiveServices/accounts/csa436?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczkyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0MzY/YXBpLXZlcnNpb249MjAxNi0wMi0wMS1wcmV2aWV3",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4089/providers/Microsoft.CognitiveServices/accounts/csa4798?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczQwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0Nzk4P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S2\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -73,19 +74,20 @@
"115"
],
"x-ms-client-request-id": [
- "27158ed0-7635-41fc-b778-392a7a7ea5f3"
+ "cd69257b-94bc-4bfa-8482-cae81277a7cb"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9251/providers/Microsoft.CognitiveServices/accounts/csa436\",\r\n \"name\": \"csa436\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S2\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A28%3A14.3052854Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4089/providers/Microsoft.CognitiveServices/accounts/csa4798\",\r\n \"name\": \"csa4798\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S2\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A17%3A43.271272Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"0fbcbe9453ad46039c16348df2972fcf\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "446"
+ "516"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -93,48 +95,48 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
- ],
- "x-ms-request-id": [
- "78e85a84-94b7-4275-ae27-f8c2b0e862e8"
- ],
- "x-ms-correlation-request-id": [
- "78e85a84-94b7-4275-ae27-f8c2b0e862e8"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20160523T172814Z:78e85a84-94b7-4275-ae27-f8c2b0e862e8"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:28:13 GMT"
+ "Fri, 26 May 2017 11:17:44 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A28%3A14.3052854Z'\""
+ "W/\"datetime'2017-05-26T11%3A17%3A43.271272Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-request-id": [
+ "33aa3ac1-ccf1-4e4d-a94f-6a0bb7b0a612"
+ ],
+ "x-ms-correlation-request-id": [
+ "33aa3ac1-ccf1-4e4d-a94f-6a0bb7b0a612"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHEASTASIA:20170526T111744Z:33aa3ac1-ccf1-4e4d-a94f-6a0bb7b0a612"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9251/providers/Microsoft.CognitiveServices/accounts/csa436?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczkyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0MzY/YXBpLXZlcnNpb249MjAxNi0wMi0wMS1wcmV2aWV3",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4089/providers/Microsoft.CognitiveServices/accounts/csa4798?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczQwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0Nzk4P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PATCH",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n }\r\n}",
"RequestHeaders": {
@@ -145,68 +147,72 @@
"39"
],
"x-ms-client-request-id": [
- "7d8a6642-0813-4f1a-b2e8-cb8e83ac953c"
+ "fcd15691-b97c-429f-a09d-44c0fa89d25c"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9251/providers/Microsoft.CognitiveServices/accounts/csa436\",\r\n \"name\": \"csa436\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A28%3A15.2751908Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4089/providers/Microsoft.CognitiveServices/accounts/csa4798\",\r\n \"name\": \"csa4798\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A17%3A44.9728971Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"0fbcbe9453ad46039c16348df2972fcf\"\r\n }\r\n}",
"ResponseHeaders": {
- "Content-Length": [
- "446"
- ],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
- "Pragma": [
+ "Cache-Control": [
"no-cache"
],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
- ],
- "x-ms-request-id": [
- "e5210b92-ea81-4616-affe-0aa3f818fc6b"
- ],
- "x-ms-correlation-request-id": [
- "e5210b92-ea81-4616-affe-0aa3f818fc6b"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20160523T172815Z:e5210b92-ea81-4616-affe-0aa3f818fc6b"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+ "Date": [
+ "Fri, 26 May 2017 11:17:46 GMT"
],
- "Cache-Control": [
+ "Pragma": [
"no-cache"
],
- "Date": [
- "Mon, 23 May 2016 17:28:14 GMT"
+ "Transfer-Encoding": [
+ "chunked"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A28%3A15.2751908Z'\""
+ "W/\"datetime'2017-05-26T11%3A17%3A44.9728971Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-request-id": [
+ "b5b0fd3c-b6a6-4bbf-baa1-cb7e4a051208"
+ ],
+ "x-ms-correlation-request-id": [
+ "b5b0fd3c-b6a6-4bbf-baa1-cb7e4a051208"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHEASTASIA:20170526T111746Z:b5b0fd3c-b6a6-4bbf-baa1-cb7e4a051208"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9251/providers/Microsoft.CognitiveServices/accounts/csa436?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczkyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0MzY/YXBpLXZlcnNpb249MjAxNi0wMi0wMS1wcmV2aWV3",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4089/providers/Microsoft.CognitiveServices/accounts/csa4798?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczQwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0Nzk4P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PATCH",
"RequestBody": "{\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\",\r\n \"key5\": \"value5\"\r\n }\r\n}",
"RequestHeaders": {
@@ -217,193 +223,205 @@
"90"
],
"x-ms-client-request-id": [
- "f377dfe0-59d2-41d0-bcd3-9deb4eae9137"
+ "6ceaba28-b8c6-472e-9873-693d21caeb44"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9251/providers/Microsoft.CognitiveServices/accounts/csa436\",\r\n \"name\": \"csa436\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\",\r\n \"key5\": \"value5\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A28%3A16.3191662Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4089/providers/Microsoft.CognitiveServices/accounts/csa4798\",\r\n \"name\": \"csa4798\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\",\r\n \"key5\": \"value5\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A17%3A46.9267596Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"0fbcbe9453ad46039c16348df2972fcf\"\r\n }\r\n}",
"ResponseHeaders": {
- "Content-Length": [
- "503"
- ],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
- "Pragma": [
+ "Cache-Control": [
"no-cache"
],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
- ],
- "x-ms-request-id": [
- "d768a6a4-2cee-44a6-b224-84dd824580e7"
- ],
- "x-ms-correlation-request-id": [
- "d768a6a4-2cee-44a6-b224-84dd824580e7"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20160523T172816Z:d768a6a4-2cee-44a6-b224-84dd824580e7"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+ "Date": [
+ "Fri, 26 May 2017 11:17:48 GMT"
],
- "Cache-Control": [
+ "Pragma": [
"no-cache"
],
- "Date": [
- "Mon, 23 May 2016 17:28:15 GMT"
+ "Transfer-Encoding": [
+ "chunked"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A28%3A16.3191662Z'\""
+ "W/\"datetime'2017-05-26T11%3A17%3A46.9267596Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1195"
+ ],
+ "x-ms-request-id": [
+ "cded50e3-5ec9-4af7-a422-6747bc052905"
+ ],
+ "x-ms-correlation-request-id": [
+ "cded50e3-5ec9-4af7-a422-6747bc052905"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHEASTASIA:20170526T111748Z:cded50e3-5ec9-4af7-a422-6747bc052905"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9251/providers/Microsoft.CognitiveServices/accounts/csa436?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczkyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0MzY/YXBpLXZlcnNpb249MjAxNi0wMi0wMS1wcmV2aWV3",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4089/providers/Microsoft.CognitiveServices/accounts/csa4798?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczQwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0Nzk4P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "f2bd0490-398e-4b61-b6d9-074d3c5c1cc1"
+ "1163a17a-3150-406a-839a-b9d8e912f7fe"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9251/providers/Microsoft.CognitiveServices/accounts/csa436\",\r\n \"name\": \"csa436\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A28%3A15.2751908Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4089/providers/Microsoft.CognitiveServices/accounts/csa4798\",\r\n \"name\": \"csa4798\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A17%3A44.9728971Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"0fbcbe9453ad46039c16348df2972fcf\"\r\n }\r\n}",
"ResponseHeaders": {
- "Content-Length": [
- "446"
- ],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
- "Pragma": [
+ "Cache-Control": [
"no-cache"
],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14994"
- ],
- "x-ms-request-id": [
- "29e508ac-b1aa-4ec5-9bc9-42a150b39ff2"
- ],
- "x-ms-correlation-request-id": [
- "29e508ac-b1aa-4ec5-9bc9-42a150b39ff2"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20160523T172815Z:29e508ac-b1aa-4ec5-9bc9-42a150b39ff2"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+ "Date": [
+ "Fri, 26 May 2017 11:17:46 GMT"
],
- "Cache-Control": [
+ "Pragma": [
"no-cache"
],
- "Date": [
- "Mon, 23 May 2016 17:28:14 GMT"
+ "Transfer-Encoding": [
+ "chunked"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A28%3A15.2751908Z'\""
+ "W/\"datetime'2017-05-26T11%3A17%3A44.9728971Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14980"
+ ],
+ "x-ms-request-id": [
+ "8aafa0d1-38d3-4124-a972-2e9b383caed1"
+ ],
+ "x-ms-correlation-request-id": [
+ "8aafa0d1-38d3-4124-a972-2e9b383caed1"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHEASTASIA:20170526T111746Z:8aafa0d1-38d3-4124-a972-2e9b383caed1"
]
},
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9251/providers/Microsoft.CognitiveServices/accounts/csa436?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczkyNTEvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0MzY/YXBpLXZlcnNpb249MjAxNi0wMi0wMS1wcmV2aWV3",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4089/providers/Microsoft.CognitiveServices/accounts/csa4798?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczQwODkvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0Nzk4P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "bb5b0f67-3497-428f-ac24-83686aae8bbf"
+ "9710ebf7-22b6-4fa8-b4d4-4a4c63d68f05"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res9251/providers/Microsoft.CognitiveServices/accounts/csa436\",\r\n \"name\": \"csa436\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\",\r\n \"key5\": \"value5\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A28%3A16.3191662Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4089/providers/Microsoft.CognitiveServices/accounts/csa4798\",\r\n \"name\": \"csa4798\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"tags\": {\r\n \"key3\": \"value3\",\r\n \"key4\": \"value4\",\r\n \"key5\": \"value5\"\r\n },\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A17%3A46.9267596Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"0fbcbe9453ad46039c16348df2972fcf\"\r\n }\r\n}",
"ResponseHeaders": {
- "Content-Length": [
- "503"
- ],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
- "Pragma": [
+ "Cache-Control": [
"no-cache"
],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "14993"
- ],
- "x-ms-request-id": [
- "11077dc6-7e59-476f-a56f-8246c630710f"
- ],
- "x-ms-correlation-request-id": [
- "11077dc6-7e59-476f-a56f-8246c630710f"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20160523T172816Z:11077dc6-7e59-476f-a56f-8246c630710f"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
+ "Date": [
+ "Fri, 26 May 2017 11:17:48 GMT"
],
- "Cache-Control": [
+ "Pragma": [
"no-cache"
],
- "Date": [
- "Mon, 23 May 2016 17:28:15 GMT"
+ "Transfer-Encoding": [
+ "chunked"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A28%3A16.3191662Z'\""
+ "W/\"datetime'2017-05-26T11%3A17%3A46.9267596Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14979"
+ ],
+ "x-ms-request-id": [
+ "9a510f01-c5e8-48d9-abb4-b45d72a0a22a"
+ ],
+ "x-ms-correlation-request-id": [
+ "9a510f01-c5e8-48d9-abb4-b45d72a0a22a"
+ ],
+ "x-ms-routing-request-id": [
+ "SOUTHEASTASIA:20170526T111748Z:9a510f01-c5e8-48d9-abb4-b45d72a0a22a"
]
},
"StatusCode": 200
@@ -411,13 +429,13 @@
],
"Names": {
"CreateResourceGroup": [
- "res9251"
+ "res4089"
],
"CreateAndValidateAccountWithOnlyRequiredParameters": [
- "csa436"
+ "csa4798"
]
},
"Variables": {
- "SubscriptionId": "a064e0b9-e6c9-4a0d-b993-22efebefe2af"
+ "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesCheckSkuAvailabilityTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesCheckSkuAvailabilityTest.json
new file mode 100644
index 000000000000..e1025525f351
--- /dev/null
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesCheckSkuAvailabilityTest.json
@@ -0,0 +1,81 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/providers/Microsoft.CognitiveServices/locations/westus/checkSkuAvailability?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29nbml0aXZlU2VydmljZXMvbG9jYXRpb25zL3dlc3R1cy9jaGVja1NrdUF2YWlsYWJpbGl0eT9hcGktdmVyc2lvbj0yMDE3LTA0LTE4",
+ "RequestMethod": "POST",
+ "RequestBody": "{\r\n \"skus\": [\r\n \"S0\"\r\n ],\r\n \"kind\": \"Face\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "102"
+ ],
+ "x-ms-client-request-id": [
+ "ac7f273b-1df8-4c11-ab39-56f409c338c4"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.3.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"kind\": \"Face\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"skuName\": \"S0\",\r\n \"skuAvailable\": true,\r\n \"reason\": null,\r\n \"message\": null\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 May 2017 07:09:31 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Transfer-Encoding": [
+ "chunked"
+ ],
+ "Server": [
+ "Microsoft-IIS/8.5"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1190"
+ ],
+ "x-ms-request-id": [
+ "f2b7789d-64df-415a-b750-21f95c2e9a43"
+ ],
+ "x-ms-correlation-request-id": [
+ "f2b7789d-64df-415a-b750-21f95c2e9a43"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170516T070931Z:f2b7789d-64df-415a-b750-21f95c2e9a43"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
+ }
+}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesCreateAccountErrorTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesCreateAccountErrorTest.json
index 0f043ec6b2c3..512347a77c7d 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesCreateAccountErrorTest.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesCreateAccountErrorTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourcegroups/res2161?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlZ3JvdXBzL3JlczIxNjE/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res6124?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczYxMjQ/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,16 +13,17 @@
"28"
],
"x-ms-client-request-id": [
- "0d282400-bd7a-40ac-b743-ebb83d68acb5"
+ "3e0fcfd3-c053-4082-ad46-be57464a2638"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res2161\",\r\n \"name\": \"res2161\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6124\",\r\n \"name\": \"res6124\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"167"
@@ -33,6 +34,12 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:17:14 GMT"
+ ],
"Pragma": [
"no-cache"
],
@@ -40,29 +47,23 @@
"1199"
],
"x-ms-request-id": [
- "512cdff2-0ea0-4ad3-8a9e-cc6e1a523e26"
+ "de47d386-2bd5-40b9-82bc-532117989b64"
],
"x-ms-correlation-request-id": [
- "512cdff2-0ea0-4ad3-8a9e-cc6e1a523e26"
+ "de47d386-2bd5-40b9-82bc-532117989b64"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T171004Z:512cdff2-0ea0-4ad3-8a9e-cc6e1a523e26"
+ "SOUTHEASTASIA:20170526T111715Z:de47d386-2bd5-40b9-82bc-532117989b64"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:10:03 GMT"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/NotExistedRG/providers/Microsoft.CognitiveServices/accounts/csa2440?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL2NzYTI0NDA/YXBpLXZlcnNpb249MjAxNi0wMi0wMS1wcmV2aWV3",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/NotExistedRG/providers/Microsoft.CognitiveServices/accounts/csa4157?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL2NzYTQxNTc/YXBpLXZlcnNpb249MjAxNy0wNC0xOA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"ComputerVision\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -73,13 +74,14 @@
"114"
],
"x-ms-client-request-id": [
- "49b7cb6c-ee08-43f2-81d6-2db35f89990a"
+ "c650f230-5b13-4978-ba31-fc6b1784a4ab"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'NotExistedRG' could not be found.\"\r\n }\r\n}",
@@ -93,6 +95,12 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:17:14 GMT"
+ ],
"Pragma": [
"no-cache"
],
@@ -100,29 +108,23 @@
"gateway"
],
"x-ms-request-id": [
- "a6649b00-4a3d-4fab-9e0d-886830a1463d"
+ "c65acbb8-e277-4c0d-ab2f-3730477ffaf1"
],
"x-ms-correlation-request-id": [
- "a6649b00-4a3d-4fab-9e0d-886830a1463d"
+ "c65acbb8-e277-4c0d-ab2f-3730477ffaf1"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T171004Z:a6649b00-4a3d-4fab-9e0d-886830a1463d"
+ "SOUTHEASTASIA:20170526T111715Z:c65acbb8-e277-4c0d-ab2f-3730477ffaf1"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:10:04 GMT"
]
},
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res2161/providers/Microsoft.CognitiveServices/accounts/csa2440?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczIxNjEvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2EyNDQwP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6124/providers/Microsoft.CognitiveServices/accounts/csa4157?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczYxMjQvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0MTU3P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"ComputerVision\",\r\n \"location\": \"BLA\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -133,19 +135,20 @@
"111"
],
"x-ms-client-request-id": [
- "6c0b06c2-0ddb-42bc-b87d-824d1caae605"
+ "89b177fa-fda7-44b8-bbda-f6de660d5a46"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"LocationNotAvailableForResourceType\",\r\n \"message\": \"The provided location 'BLA' is not available for resource type 'Microsoft.CognitiveServices/accounts'. List of available regions for the resource type is 'westus'.\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"LocationNotAvailableForResourceType\",\r\n \"message\": \"The provided location 'BLA' is not available for resource type 'Microsoft.CognitiveServices/accounts'. List of available regions for the resource type is 'global,westus,westeurope,southeastasia,westcentralus,eastus2'.\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "232"
+ "286"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -153,6 +156,12 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:17:15 GMT"
+ ],
"Pragma": [
"no-cache"
],
@@ -160,22 +169,16 @@
"gateway"
],
"x-ms-request-id": [
- "0c24c8de-662a-4cdd-91ad-aed33a81dd65"
+ "9ca94dee-c7c3-472a-8210-38f513e691e3"
],
"x-ms-correlation-request-id": [
- "0c24c8de-662a-4cdd-91ad-aed33a81dd65"
+ "9ca94dee-c7c3-472a-8210-38f513e691e3"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T171004Z:0c24c8de-662a-4cdd-91ad-aed33a81dd65"
+ "SOUTHEASTASIA:20170526T111715Z:9ca94dee-c7c3-472a-8210-38f513e691e3"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:10:04 GMT"
]
},
"StatusCode": 400
@@ -183,13 +186,13 @@
],
"Names": {
"CreateResourceGroup": [
- "res2161"
+ "res6124"
],
"CognitiveServicesCreateAccountErrorTest": [
- "csa2440"
+ "csa4157"
]
},
"Variables": {
- "SubscriptionId": "a064e0b9-e6c9-4a0d-b993-22efebefe2af"
+ "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesCreateAccountErrorTest2.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesCreateAccountErrorTest2.json
index 85b4443c9e98..88a7ee670015 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesCreateAccountErrorTest2.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesCreateAccountErrorTest2.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res3070?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczMwNzA/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res7462?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3Jlczc0NjI/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,17 +13,17 @@
"28"
],
"x-ms-client-request-id": [
- "124717e4-3aba-4073-8825-63440f891055"
+ "d970eb97-b482-4fbb-a4ee-d88eaa999a09"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3070\",\r\n \"name\": \"res3070\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res7462\",\r\n \"name\": \"res7462\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"167"
@@ -38,22 +38,22 @@
"no-cache"
],
"Date": [
- "Fri, 16 Dec 2016 10:15:07 GMT"
+ "Fri, 26 May 2017 11:16:47 GMT"
],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1198"
+ "1195"
],
"x-ms-request-id": [
- "7781665e-7709-481f-b1ec-ef18b7cea0c3"
+ "d2663185-b0db-4313-9a06-b91b5e4322bb"
],
"x-ms-correlation-request-id": [
- "7781665e-7709-481f-b1ec-ef18b7cea0c3"
+ "d2663185-b0db-4313-9a06-b91b5e4322bb"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161216T101508Z:7781665e-7709-481f-b1ec-ef18b7cea0c3"
+ "JAPANEAST:20170526T111648Z:d2663185-b0db-4313-9a06-b91b5e4322bb"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -62,8 +62,8 @@
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3070/providers/Microsoft.CognitiveServices/accounts/csa4421?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczMwNzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0NDIxP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res7462/providers/Microsoft.CognitiveServices/accounts/csa4502?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3Jlczc0NjIvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0NTAyP2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"F0\"\r\n },\r\n \"kind\": \"NonExistAPI\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -74,20 +74,20 @@
"111"
],
"x-ms-client-request-id": [
- "a74e2344-0895-450a-8815-28292c138ded"
+ "05f7f2a0-4522-4a86-ba70-e0df9fb7f4bd"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"InvalidApiSetId\",\r\n \"message\": \"The API set 'NonExistAPI' is invalid.\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"InvalidApiSetId\",\r\n \"message\": \"The account type 'NonExistAPI' is invalid.\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "86"
+ "91"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -99,7 +99,7 @@
"no-cache"
],
"Date": [
- "Fri, 16 Dec 2016 10:15:18 GMT"
+ "Fri, 26 May 2017 11:16:51 GMT"
],
"Pragma": [
"no-cache"
@@ -117,23 +117,23 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
+ "1194"
],
"x-ms-request-id": [
- "e370d9e1-2b14-4815-944c-4dc1b927249a"
+ "f1df525a-de45-4320-bdd4-d834ce733b37"
],
"x-ms-correlation-request-id": [
- "e370d9e1-2b14-4815-944c-4dc1b927249a"
+ "f1df525a-de45-4320-bdd4-d834ce733b37"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161216T101518Z:e370d9e1-2b14-4815-944c-4dc1b927249a"
+ "JAPANEAST:20170526T111651Z:f1df525a-de45-4320-bdd4-d834ce733b37"
]
},
"StatusCode": 400
},
{
- "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3070/providers/Microsoft.CognitiveServices/accounts/csa4421?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczMwNzAvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0NDIxP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res7462/providers/Microsoft.CognitiveServices/accounts/csa4502?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3Jlczc0NjIvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E0NTAyP2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"N0\"\r\n },\r\n \"kind\": \"Academic\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -144,20 +144,20 @@
"108"
],
"x-ms-client-request-id": [
- "b5df1fe8-a73d-4b80-8ef2-549665f1feaf"
+ "abc772a9-ea53-4867-8b03-bb143059baa3"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.24410.01",
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.3-preview"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"InvalidSkuId\",\r\n \"message\": \"The SKU name 'N0' in API set 'Academic' is invalid.\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"InvalidSkuId\",\r\n \"message\": \"The SKU name 'N0' in account type 'Academic' is invalid.\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "97"
+ "102"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -169,7 +169,7 @@
"no-cache"
],
"Date": [
- "Fri, 16 Dec 2016 10:15:22 GMT"
+ "Fri, 26 May 2017 11:16:52 GMT"
],
"Pragma": [
"no-cache"
@@ -187,16 +187,16 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
+ "1193"
],
"x-ms-request-id": [
- "e5fb9183-6a03-4149-b41d-4c9d08efd024"
+ "a89c154c-626d-4e26-8dd0-2d0b19ccf36a"
],
"x-ms-correlation-request-id": [
- "e5fb9183-6a03-4149-b41d-4c9d08efd024"
+ "a89c154c-626d-4e26-8dd0-2d0b19ccf36a"
],
"x-ms-routing-request-id": [
- "JAPANEAST:20161216T101523Z:e5fb9183-6a03-4149-b41d-4c9d08efd024"
+ "JAPANEAST:20170526T111652Z:a89c154c-626d-4e26-8dd0-2d0b19ccf36a"
]
},
"StatusCode": 400
@@ -204,10 +204,10 @@
],
"Names": {
"CreateResourceGroup": [
- "res3070"
+ "res7462"
],
"CognitiveServicesCreateAccountErrorTest2": [
- "csa4421"
+ "csa4502"
]
},
"Variables": {
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesDeleteAccountErrorTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesDeleteAccountErrorTest.json
index a67c38baabac..05f6609ae359 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesDeleteAccountErrorTest.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesDeleteAccountErrorTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourcegroups/res554?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlZ3JvdXBzL3JlczU1ND9hcGktdmVyc2lvbj0yMDE1LTExLTAx",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res6401?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczY0MDE/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,19 +13,20 @@
"28"
],
"x-ms-client-request-id": [
- "cfcb021e-910b-4066-aad4-522001feb1da"
+ "7d1d0dc6-4ab1-4d97-bb8c-7eabbebbf1b3"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res554\",\r\n \"name\": \"res554\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6401\",\r\n \"name\": \"res6401\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "165"
+ "167"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -33,119 +34,48 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
- ],
- "x-ms-request-id": [
- "5a483dc3-844c-499b-8f5c-50d47bfd84a7"
- ],
- "x-ms-correlation-request-id": [
- "5a483dc3-844c-499b-8f5c-50d47bfd84a7"
- ],
- "x-ms-routing-request-id": [
- "WESTUS:20160523T180532Z:5a483dc3-844c-499b-8f5c-50d47bfd84a7"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 18:05:32 GMT"
- ]
- },
- "StatusCode": 201
- },
- {
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res554/providers/Microsoft.CognitiveServices/accounts/csa487?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczU1NC9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL2NzYTQ4Nz9hcGktdmVyc2lvbj0yMDE2LTAyLTAxLXByZXZpZXc=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S2\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
- "RequestHeaders": {
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "115"
- ],
- "x-ms-client-request-id": [
- "b61ee79a-1fbc-45ee-bb3b-5036745a4bae"
- ],
- "accept-language": [
- "en-US"
- ],
- "User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res554/providers/Microsoft.CognitiveServices/accounts/csa487\",\r\n \"name\": \"csa487\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S2\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2016-05-23T18%3A05%3A33.3079262Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
- "ResponseHeaders": {
- "Content-Length": [
- "445"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
+ "Fri, 26 May 2017 11:16:27 GMT"
],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1196"
+ "1189"
],
"x-ms-request-id": [
- "037ef106-6cc8-42a7-8794-745032ba62a3"
+ "0ad2c1bb-59ae-400e-8c2c-df2b98378089"
],
"x-ms-correlation-request-id": [
- "037ef106-6cc8-42a7-8794-745032ba62a3"
+ "0ad2c1bb-59ae-400e-8c2c-df2b98378089"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T180533Z:037ef106-6cc8-42a7-8794-745032ba62a3"
+ "JAPANEAST:20170526T111627Z:0ad2c1bb-59ae-400e-8c2c-df2b98378089"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 18:05:32 GMT"
- ],
- "ETag": [
- "W/\"datetime'2016-05-23T18%3A05%3A33.3079262Z'\""
- ],
- "Server": [
- "Microsoft-IIS/8.5"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/NotExistedRG/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL25vbkV4aXN0ZWRBY2NvdW50TmFtZT9hcGktdmVyc2lvbj0yMDE2LTAyLTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/NotExistedRG/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL25vbkV4aXN0ZWRBY2NvdW50TmFtZT9hcGktdmVyc2lvbj0yMDE3LTA0LTE4",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "be900f94-6fa0-43d0-a553-e1109dd7b220"
+ "3d6f6f92-34d2-4d37-b788-9d83ec8b42e3"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'NotExistedRG' could not be found.\"\r\n }\r\n}",
@@ -159,6 +89,12 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:16:27 GMT"
+ ],
"Pragma": [
"no-cache"
],
@@ -166,22 +102,16 @@
"gateway"
],
"x-ms-request-id": [
- "a5829970-c105-42cb-9a3f-791f4809158a"
+ "6b63dd6d-933e-41cd-b460-990ceb8d54ce"
],
"x-ms-correlation-request-id": [
- "a5829970-c105-42cb-9a3f-791f4809158a"
+ "6b63dd6d-933e-41cd-b460-990ceb8d54ce"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T180533Z:a5829970-c105-42cb-9a3f-791f4809158a"
+ "JAPANEAST:20170526T111627Z:6b63dd6d-933e-41cd-b460-990ceb8d54ce"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 18:05:32 GMT"
]
},
"StatusCode": 404
@@ -189,13 +119,10 @@
],
"Names": {
"CreateResourceGroup": [
- "res554"
- ],
- "CreateAndValidateAccountWithOnlyRequiredParameters": [
- "csa487"
+ "res6401"
]
},
"Variables": {
- "SubscriptionId": "a064e0b9-e6c9-4a0d-b993-22efebefe2af"
+ "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesEnumerateSkusErrorTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesEnumerateSkusErrorTest.json
index ff95acbaa2d9..67877c3004d5 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesEnumerateSkusErrorTest.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesEnumerateSkusErrorTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourcegroups/res1788?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlZ3JvdXBzL3JlczE3ODg/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res6824?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczY4MjQ/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,16 +13,17 @@
"28"
],
"x-ms-client-request-id": [
- "51b8e82c-373f-4448-81e0-10fe55e8dc91"
+ "6adfe1dd-b51e-4738-9edc-7f9e91723109"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res1788\",\r\n \"name\": \"res1788\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6824\",\r\n \"name\": \"res6824\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"167"
@@ -33,47 +34,48 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:13:40 GMT"
+ ],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1199"
+ "1191"
],
"x-ms-request-id": [
- "70bd3ba3-46f3-4dc0-b5a2-3bc4ca4aa65b"
+ "059856dd-0dfa-4035-9dd6-3039e1c4bb72"
],
"x-ms-correlation-request-id": [
- "70bd3ba3-46f3-4dc0-b5a2-3bc4ca4aa65b"
+ "059856dd-0dfa-4035-9dd6-3039e1c4bb72"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20160523T180835Z:70bd3ba3-46f3-4dc0-b5a2-3bc4ca4aa65b"
+ "JAPANEAST:20170526T111340Z:059856dd-0dfa-4035-9dd6-3039e1c4bb72"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 18:08:35 GMT"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/NotExistedRG/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName/skus?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL25vbkV4aXN0ZWRBY2NvdW50TmFtZS9za3VzP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/NotExistedRG/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName/skus?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL25vbkV4aXN0ZWRBY2NvdW50TmFtZS9za3VzP2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "5a5438a2-f706-4cfc-8aab-c30d460df343"
+ "c5017a71-9da6-445e-b9a7-bfa918d1c3a9"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'NotExistedRG' could not be found.\"\r\n }\r\n}",
@@ -87,6 +89,12 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:13:40 GMT"
+ ],
"Pragma": [
"no-cache"
],
@@ -94,43 +102,38 @@
"gateway"
],
"x-ms-request-id": [
- "7e3a2161-876e-40d3-86ff-aa57ba0358b7"
+ "ba106e29-967a-4b85-9319-d8e7678a0669"
],
"x-ms-correlation-request-id": [
- "7e3a2161-876e-40d3-86ff-aa57ba0358b7"
+ "ba106e29-967a-4b85-9319-d8e7678a0669"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20160523T180835Z:7e3a2161-876e-40d3-86ff-aa57ba0358b7"
+ "JAPANEAST:20170526T111340Z:ba106e29-967a-4b85-9319-d8e7678a0669"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 18:08:35 GMT"
]
},
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res1788/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName/skus?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczE3ODgvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9ub25FeGlzdGVkQWNjb3VudE5hbWUvc2t1cz9hcGktdmVyc2lvbj0yMDE2LTAyLTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res6824/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName/skus?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczY4MjQvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9ub25FeGlzdGVkQWNjb3VudE5hbWUvc2t1cz9hcGktdmVyc2lvbj0yMDE3LTA0LTE4",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "4826c8b8-6ac6-44f9-927c-1a1087dec53f"
+ "3b5df15c-4b74-4365-9457-7c0f773cb43b"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.CognitiveServices/accounts/nonExistedAccountName' under resource group 'res1788' was not found.\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.CognitiveServices/accounts/nonExistedAccountName' under resource group 'res6824' was not found.\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"169"
@@ -141,6 +144,12 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:13:40 GMT"
+ ],
"Pragma": [
"no-cache"
],
@@ -148,22 +157,16 @@
"gateway"
],
"x-ms-request-id": [
- "015e57ba-3072-41a5-bbf2-2b251ba24a8e"
+ "a08f8589-a85a-4252-82aa-77697cb583cf"
],
"x-ms-correlation-request-id": [
- "015e57ba-3072-41a5-bbf2-2b251ba24a8e"
+ "a08f8589-a85a-4252-82aa-77697cb583cf"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20160523T180835Z:015e57ba-3072-41a5-bbf2-2b251ba24a8e"
+ "JAPANEAST:20170526T111341Z:a08f8589-a85a-4252-82aa-77697cb583cf"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 18:08:35 GMT"
]
},
"StatusCode": 404
@@ -171,10 +174,10 @@
],
"Names": {
"CreateResourceGroup": [
- "res1788"
+ "res6824"
]
},
"Variables": {
- "SubscriptionId": "a064e0b9-e6c9-4a0d-b993-22efebefe2af"
+ "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesGetAccountErrorTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesGetAccountErrorTest.json
index 1cff3814d00c..c6ad85533adb 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesGetAccountErrorTest.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesGetAccountErrorTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourcegroups/res383?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlZ3JvdXBzL3JlczM4Mz9hcGktdmVyc2lvbj0yMDE1LTExLTAx",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res4444?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczQ0NDQ/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,19 +13,20 @@
"28"
],
"x-ms-client-request-id": [
- "2850257f-c61f-4f57-8441-37c142de3c07"
+ "7f6f22da-0eb0-4c0e-a52e-8c74e059c6a6"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res383\",\r\n \"name\": \"res383\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4444\",\r\n \"name\": \"res4444\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "165"
+ "167"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -33,47 +34,48 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:13:19 GMT"
+ ],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
+ "1186"
],
"x-ms-request-id": [
- "083e0d12-b3ee-40f2-90fa-7adb0dc91ac8"
+ "f87461a8-fb26-4c49-88af-16dce3ca259b"
],
"x-ms-correlation-request-id": [
- "083e0d12-b3ee-40f2-90fa-7adb0dc91ac8"
+ "f87461a8-fb26-4c49-88af-16dce3ca259b"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T174030Z:083e0d12-b3ee-40f2-90fa-7adb0dc91ac8"
+ "JAPANEAST:20170526T111319Z:f87461a8-fb26-4c49-88af-16dce3ca259b"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:40:30 GMT"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/NotExistedRG/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL25vbkV4aXN0ZWRBY2NvdW50TmFtZT9hcGktdmVyc2lvbj0yMDE2LTAyLTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/NotExistedRG/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL25vbkV4aXN0ZWRBY2NvdW50TmFtZT9hcGktdmVyc2lvbj0yMDE3LTA0LTE4",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "0557058c-3a2b-439e-88cd-ada57077c866"
+ "5f629b2b-f826-452c-bf03-05095b4520d1"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'NotExistedRG' could not be found.\"\r\n }\r\n}",
@@ -87,6 +89,12 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:13:19 GMT"
+ ],
"Pragma": [
"no-cache"
],
@@ -94,46 +102,41 @@
"gateway"
],
"x-ms-request-id": [
- "b54285e9-9a9f-425b-ad45-c5ff97a40f11"
+ "79162ec9-0c3d-47af-84c2-c5d455288403"
],
"x-ms-correlation-request-id": [
- "b54285e9-9a9f-425b-ad45-c5ff97a40f11"
+ "79162ec9-0c3d-47af-84c2-c5d455288403"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T174031Z:b54285e9-9a9f-425b-ad45-c5ff97a40f11"
+ "JAPANEAST:20170526T111319Z:79162ec9-0c3d-47af-84c2-c5d455288403"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:40:30 GMT"
]
},
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res383/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczM4My9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL25vbkV4aXN0ZWRBY2NvdW50TmFtZT9hcGktdmVyc2lvbj0yMDE2LTAyLTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res4444/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczQ0NDQvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9ub25FeGlzdGVkQWNjb3VudE5hbWU/YXBpLXZlcnNpb249MjAxNy0wNC0xOA==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "9335db68-48b3-4104-b7b1-26988aa7e4ce"
+ "f57dc5ee-893e-4187-b457-8db25ad18ab9"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.CognitiveServices/accounts/nonExistedAccountName' under resource group 'res383' was not found.\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.CognitiveServices/accounts/nonExistedAccountName' under resource group 'res4444' was not found.\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "168"
+ "169"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -141,6 +144,12 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:13:19 GMT"
+ ],
"Pragma": [
"no-cache"
],
@@ -148,40 +157,35 @@
"gateway"
],
"x-ms-request-id": [
- "cdce9d84-1395-4302-a2e0-bea363c1493d"
+ "9e0b4cd0-6d87-47ae-9b27-85d34f358424"
],
"x-ms-correlation-request-id": [
- "cdce9d84-1395-4302-a2e0-bea363c1493d"
+ "9e0b4cd0-6d87-47ae-9b27-85d34f358424"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T174031Z:cdce9d84-1395-4302-a2e0-bea363c1493d"
+ "JAPANEAST:20170526T111319Z:9e0b4cd0-6d87-47ae-9b27-85d34f358424"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:40:30 GMT"
]
},
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/NotExistedRG/providers/Microsoft.CognitiveServices/accounts?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzP2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/NotExistedRG/providers/Microsoft.CognitiveServices/accounts?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzP2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "b9399406-a189-4c65-9ddb-8402d64581ba"
+ "0f868c9a-9848-42c7-a33e-c9f9fbb4cfa5"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'NotExistedRG' could not be found.\"\r\n }\r\n}",
@@ -195,6 +199,12 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:13:19 GMT"
+ ],
"Pragma": [
"no-cache"
],
@@ -202,22 +212,16 @@
"gateway"
],
"x-ms-request-id": [
- "a1971acb-c57a-4863-bdcd-fd67d23d82ce"
+ "4a8bfc47-26b7-4cd6-94bd-02c021011efe"
],
"x-ms-correlation-request-id": [
- "a1971acb-c57a-4863-bdcd-fd67d23d82ce"
+ "4a8bfc47-26b7-4cd6-94bd-02c021011efe"
],
"x-ms-routing-request-id": [
- "WESTUS:20160523T174031Z:a1971acb-c57a-4863-bdcd-fd67d23d82ce"
+ "JAPANEAST:20170526T111320Z:4a8bfc47-26b7-4cd6-94bd-02c021011efe"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:40:30 GMT"
]
},
"StatusCode": 404
@@ -225,10 +229,10 @@
],
"Names": {
"CreateResourceGroup": [
- "res383"
+ "res4444"
]
},
"Variables": {
- "SubscriptionId": "a064e0b9-e6c9-4a0d-b993-22efebefe2af"
+ "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesUpdateAccountErrorTest.json b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesUpdateAccountErrorTest.json
index 0710b1aa8019..82294a6b9d37 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesUpdateAccountErrorTest.json
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/SessionRecords/CognitiveServices.Tests.CognitiveServicesAccountTests/CognitiveServicesUpdateAccountErrorTest.json
@@ -1,8 +1,8 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourcegroups/res2193?api-version=2015-11-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlZ3JvdXBzL3JlczIxOTM/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/res3763?api-version=2017-05-10",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3JlczM3NjM/YXBpLXZlcnNpb249MjAxNy0wNS0xMA==",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"location\": \"westus\"\r\n}",
"RequestHeaders": {
@@ -13,16 +13,17 @@
"28"
],
"x-ms-client-request-id": [
- "0f6a7e7c-3d0d-4203-88cf-ef3662be9062"
+ "9b568ae5-3a17-46b8-b9dc-1150fc9267c7"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/1.6.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res2193\",\r\n \"name\": \"res2193\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3763\",\r\n \"name\": \"res3763\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"167"
@@ -33,36 +34,36 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:12:40 GMT"
+ ],
"Pragma": [
"no-cache"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1194"
+ "1182"
],
"x-ms-request-id": [
- "138bfc09-248e-46e9-bb66-e4ecc7a4aa91"
+ "41cc9752-b543-4637-be89-dd09c0cad842"
],
"x-ms-correlation-request-id": [
- "138bfc09-248e-46e9-bb66-e4ecc7a4aa91"
+ "41cc9752-b543-4637-be89-dd09c0cad842"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20160523T174655Z:138bfc09-248e-46e9-bb66-e4ecc7a4aa91"
+ "JAPANEAST:20170526T111240Z:41cc9752-b543-4637-be89-dd09c0cad842"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:46:55 GMT"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res2193/providers/Microsoft.CognitiveServices/accounts/csa5836?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczIxOTMvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E1ODM2P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3763/providers/Microsoft.CognitiveServices/accounts/csa2144?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczM3NjMvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2EyMTQ0P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S2\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"location\": \"westus\",\r\n \"properties\": {}\r\n}",
"RequestHeaders": {
@@ -73,19 +74,20 @@
"115"
],
"x-ms-client-request-id": [
- "fd71f506-550a-4cf9-bb3b-58edef7c6cf1"
+ "1ad75df2-bbba-4a8f-b406-dc988073e601"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res2193/providers/Microsoft.CognitiveServices/accounts/csa5836\",\r\n \"name\": \"csa5836\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S2\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2016-05-23T17%3A46%3A57.0135984Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3763/providers/Microsoft.CognitiveServices/accounts/csa2144\",\r\n \"name\": \"csa2144\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"location\": \"westus\",\r\n \"sku\": {\r\n \"name\": \"S2\"\r\n },\r\n \"kind\": \"Recommendations\",\r\n \"etag\": \"W/\\\"datetime'2017-05-26T11%3A12%3A42.4945034Z'\\\"\",\r\n \"properties\": {\r\n \"endpoint\": \"https://westus.api.cognitive.microsoft.com/recommendations/v4.0\",\r\n \"skuChangeInfo\": null,\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"b543daa3a91c448fbdb9444e0b388616\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "448"
+ "517"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -93,48 +95,48 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1193"
- ],
- "x-ms-request-id": [
- "05007b08-e1bd-4ca4-b3dc-d2b769f62415"
- ],
- "x-ms-correlation-request-id": [
- "05007b08-e1bd-4ca4-b3dc-d2b769f62415"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20160523T174657Z:05007b08-e1bd-4ca4-b3dc-d2b769f62415"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:46:56 GMT"
+ "Fri, 26 May 2017 11:12:42 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"ETag": [
- "W/\"datetime'2016-05-23T17%3A46%3A57.0135984Z'\""
+ "W/\"datetime'2017-05-26T11%3A12%3A42.4945034Z'\""
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1181"
+ ],
+ "x-ms-request-id": [
+ "1da4c150-30dd-4c03-823e-c01b43bd8ad0"
+ ],
+ "x-ms-correlation-request-id": [
+ "1da4c150-30dd-4c03-823e-c01b43bd8ad0"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T111243Z:1da4c150-30dd-4c03-823e-c01b43bd8ad0"
]
},
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/NotExistedRG/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL25vbkV4aXN0ZWRBY2NvdW50TmFtZT9hcGktdmVyc2lvbj0yMDE2LTAyLTAxLXByZXZpZXc=",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/NotExistedRG/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL05vdEV4aXN0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL25vbkV4aXN0ZWRBY2NvdW50TmFtZT9hcGktdmVyc2lvbj0yMDE3LTA0LTE4",
"RequestMethod": "PATCH",
"RequestBody": "{}",
"RequestHeaders": {
@@ -145,13 +147,14 @@
"2"
],
"x-ms-client-request-id": [
- "caeb2839-4ad0-4664-b749-b9aaefcded1c"
+ "adf5ca98-e7bb-40ad-b8ff-fe58047cc4c6"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
"ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'NotExistedRG' could not be found.\"\r\n }\r\n}",
@@ -165,6 +168,12 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:12:43 GMT"
+ ],
"Pragma": [
"no-cache"
],
@@ -172,29 +181,23 @@
"gateway"
],
"x-ms-request-id": [
- "fb0c0838-48bf-46de-9df3-6c57242076f1"
+ "b43795e7-d715-44ff-8174-f2b6a6f6cb98"
],
"x-ms-correlation-request-id": [
- "fb0c0838-48bf-46de-9df3-6c57242076f1"
+ "b43795e7-d715-44ff-8174-f2b6a6f6cb98"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20160523T174657Z:fb0c0838-48bf-46de-9df3-6c57242076f1"
+ "JAPANEAST:20170526T111243Z:b43795e7-d715-44ff-8174-f2b6a6f6cb98"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:46:57 GMT"
]
},
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res2193/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczIxOTMvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9ub25FeGlzdGVkQWNjb3VudE5hbWU/YXBpLXZlcnNpb249MjAxNi0wMi0wMS1wcmV2aWV3",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3763/providers/Microsoft.CognitiveServices/accounts/nonExistedAccountName?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczM3NjMvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9ub25FeGlzdGVkQWNjb3VudE5hbWU/YXBpLXZlcnNpb249MjAxNy0wNC0xOA==",
"RequestMethod": "PATCH",
"RequestBody": "{}",
"RequestHeaders": {
@@ -205,16 +208,17 @@
"2"
],
"x-ms-client-request-id": [
- "187381da-70f3-483b-bc32-10f06b576bec"
+ "759b9f94-60cd-4be2-a405-b401931b156c"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.CognitiveServices/accounts/nonExistedAccountName' under resource group 'res2193' was not found.\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.CognitiveServices/accounts/nonExistedAccountName' under resource group 'res3763' was not found.\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"169"
@@ -225,6 +229,12 @@
"Expires": [
"-1"
],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 26 May 2017 11:12:43 GMT"
+ ],
"Pragma": [
"no-cache"
],
@@ -232,29 +242,23 @@
"gateway"
],
"x-ms-request-id": [
- "c1bf6d7c-3593-479f-96cb-7cd768113164"
+ "f1edc893-9bf2-44e6-b78d-2970b6f4c047"
],
"x-ms-correlation-request-id": [
- "c1bf6d7c-3593-479f-96cb-7cd768113164"
+ "f1edc893-9bf2-44e6-b78d-2970b6f4c047"
],
"x-ms-routing-request-id": [
- "CENTRALUS:20160523T174657Z:c1bf6d7c-3593-479f-96cb-7cd768113164"
+ "JAPANEAST:20170526T111243Z:f1edc893-9bf2-44e6-b78d-2970b6f4c047"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
- ],
- "Cache-Control": [
- "no-cache"
- ],
- "Date": [
- "Mon, 23 May 2016 17:46:57 GMT"
]
},
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a064e0b9-e6c9-4a0d-b993-22efebefe2af/resourceGroups/res2193/providers/Microsoft.CognitiveServices/accounts/csa5836?api-version=2016-02-01-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTA2NGUwYjktZTZjOS00YTBkLWI5OTMtMjJlZmViZWZlMmFmL3Jlc291cmNlR3JvdXBzL3JlczIxOTMvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2E1ODM2P2FwaS12ZXJzaW9uPTIwMTYtMDItMDEtcHJldmlldw==",
+ "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/res3763/providers/Microsoft.CognitiveServices/accounts/csa2144?api-version=2017-04-18",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3JlczM3NjMvcHJvdmlkZXJzL01pY3Jvc29mdC5Db2duaXRpdmVTZXJ2aWNlcy9hY2NvdW50cy9jc2EyMTQ0P2FwaS12ZXJzaW9uPTIwMTctMDQtMTg=",
"RequestMethod": "PATCH",
"RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"S0\"\r\n }\r\n}",
"RequestHeaders": {
@@ -265,19 +269,20 @@
"39"
],
"x-ms-client-request-id": [
- "2ef19447-83f6-48b7-b249-6097b64a00d2"
+ "5479e1ce-4328-4d9c-a6e4-a2e227ccaa91"
],
"accept-language": [
"en-US"
],
"User-Agent": [
- "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/0.1.0.0"
+ "FxVersion/4.6.25211.01",
+ "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/1.0.0.0"
]
},
- "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"InvalidSkuId\",\r\n \"message\": \"The SKU name 'S0' in API set 'Recommendations' is invalid.\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"InvalidSkuId\",\r\n \"message\": \"The SKU name 'S0' in account type 'Recommendations' is invalid.\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
- "104"
+ "109"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -285,38 +290,38 @@
"Expires": [
"-1"
],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1190"
- ],
- "x-ms-request-id": [
- "ea39540a-41e1-4dc9-b2fd-611eb7617762"
- ],
- "x-ms-correlation-request-id": [
- "ea39540a-41e1-4dc9-b2fd-611eb7617762"
- ],
- "x-ms-routing-request-id": [
- "CENTRALUS:20160523T174658Z:ea39540a-41e1-4dc9-b2fd-611eb7617762"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
"Cache-Control": [
"no-cache"
],
"Date": [
- "Mon, 23 May 2016 17:46:57 GMT"
+ "Fri, 26 May 2017 11:12:43 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
],
"Server": [
"Microsoft-IIS/8.5"
],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
"X-AspNet-Version": [
"4.0.30319"
],
"X-Powered-By": [
"ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1178"
+ ],
+ "x-ms-request-id": [
+ "53331323-8080-4c9c-8354-4679515eaf13"
+ ],
+ "x-ms-correlation-request-id": [
+ "53331323-8080-4c9c-8354-4679515eaf13"
+ ],
+ "x-ms-routing-request-id": [
+ "JAPANEAST:20170526T111244Z:53331323-8080-4c9c-8354-4679515eaf13"
]
},
"StatusCode": 400
@@ -324,13 +329,13 @@
],
"Names": {
"CreateResourceGroup": [
- "res2193"
+ "res3763"
],
"CreateAndValidateAccountWithOnlyRequiredParameters": [
- "csa5836"
+ "csa2144"
]
},
"Variables": {
- "SubscriptionId": "a064e0b9-e6c9-4a0d-b993-22efebefe2af"
+ "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3"
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/CognitiveServices.Tests/Tests/CognitiveServicesAccountTests.cs b/src/SDKs/CognitiveServices/CognitiveServices.Tests/Tests/CognitiveServicesAccountTests.cs
index 507442ce692d..8b4f82668665 100644
--- a/src/SDKs/CognitiveServices/CognitiveServices.Tests/Tests/CognitiveServicesAccountTests.cs
+++ b/src/SDKs/CognitiveServices/CognitiveServices.Tests/Tests/CognitiveServicesAccountTests.cs
@@ -1,27 +1,25 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
+using CognitiveServices.Tests.Helpers;
+using Microsoft.Azure.Management.CognitiveServices;
+using Microsoft.Azure.Management.CognitiveServices.Models;
+using Microsoft.Azure.Management.Resources;
+using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
+using ResourceGroups.Tests;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
-using Microsoft.Azure.Management.Resources;
-using Microsoft.Azure.Management.CognitiveServices;
-using Microsoft.Azure.Management.CognitiveServices.Models;
-using ResourceGroups.Tests;
-using CognitiveServices.Tests.Helpers;
using Xunit;
-using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
-using Microsoft.Rest.Azure;
namespace CognitiveServices.Tests
{
public class CognitiveServicesAccountTests
{
- private const string c_apiVersion = "2016-02-01-preview";
private const string c_resourceNamespace = "Microsoft.CognitiveServices";
+ private const string c_resourceType = "accounts";
-
[Fact]
public void CognitiveServicesAccountCreateTest()
{
@@ -56,7 +54,7 @@ public void CognitiveServicesAccountCreateTest()
}
[Fact]
- public void CognitiveServicsAccountCreateAllApisTest()
+ public void CognitiveServicesAccountCreateAllApisTest()
{
var handler = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK };
@@ -73,14 +71,13 @@ public void CognitiveServicsAccountCreateAllApisTest()
CognitiveServicesManagementTestUtilities.CreateAndValidateAccountWithOnlyRequiredParameters(cognitiveServicesMgmtClient, rgname, SkuName.S1, Kind.BingSearch, "global");
CognitiveServicesManagementTestUtilities.CreateAndValidateAccountWithOnlyRequiredParameters(cognitiveServicesMgmtClient, rgname, SkuName.S0, Kind.BingSpeech, "global");
CognitiveServicesManagementTestUtilities.CreateAndValidateAccountWithOnlyRequiredParameters(cognitiveServicesMgmtClient, rgname, SkuName.S1, Kind.BingSpellCheck, "global");
- CognitiveServicesManagementTestUtilities.CreateAndValidateAccountWithOnlyRequiredParameters(cognitiveServicesMgmtClient, rgname, SkuName.S0, Kind.ComputerVision, "westus");
+ CognitiveServicesManagementTestUtilities.CreateAndValidateAccountWithOnlyRequiredParameters(cognitiveServicesMgmtClient, rgname, SkuName.S1, Kind.ComputerVision, "westus");
CognitiveServicesManagementTestUtilities.CreateAndValidateAccountWithOnlyRequiredParameters(cognitiveServicesMgmtClient, rgname, SkuName.S0, Kind.ContentModerator, "westus");
CognitiveServicesManagementTestUtilities.CreateAndValidateAccountWithOnlyRequiredParameters(cognitiveServicesMgmtClient, rgname, SkuName.S0, Kind.Emotion, "westus");
CognitiveServicesManagementTestUtilities.CreateAndValidateAccountWithOnlyRequiredParameters(cognitiveServicesMgmtClient, rgname, SkuName.S0, Kind.Face, "westus");
CognitiveServicesManagementTestUtilities.CreateAndValidateAccountWithOnlyRequiredParameters(cognitiveServicesMgmtClient, rgname, SkuName.S0, Kind.LUIS, "westus");
- CognitiveServicesManagementTestUtilities.CreateAndValidateAccountWithOnlyRequiredParameters(cognitiveServicesMgmtClient, rgname, SkuName.S1, Kind.Recommendations, "westus");
+ CognitiveServicesManagementTestUtilities.CreateAndValidateAccountWithOnlyRequiredParameters(cognitiveServicesMgmtClient, rgname, SkuName.S1, Kind.Recommendations, "westus");
CognitiveServicesManagementTestUtilities.CreateAndValidateAccountWithOnlyRequiredParameters(cognitiveServicesMgmtClient, rgname, SkuName.S0, Kind.SpeakerRecognition, "westus");
- CognitiveServicesManagementTestUtilities.CreateAndValidateAccountWithOnlyRequiredParameters(cognitiveServicesMgmtClient, rgname, SkuName.S0, Kind.Speech, "westus");
CognitiveServicesManagementTestUtilities.CreateAndValidateAccountWithOnlyRequiredParameters(cognitiveServicesMgmtClient, rgname, SkuName.S1, Kind.SpeechTranslation, "global");
CognitiveServicesManagementTestUtilities.CreateAndValidateAccountWithOnlyRequiredParameters(cognitiveServicesMgmtClient, rgname, SkuName.S1, Kind.TextAnalytics, "westus");
CognitiveServicesManagementTestUtilities.CreateAndValidateAccountWithOnlyRequiredParameters(cognitiveServicesMgmtClient, rgname, SkuName.S1, Kind.TextTranslation, "global");
@@ -156,14 +153,14 @@ public void CognitiveServicesAccountListByResourceGroupTest()
// Create resource group
var rgname = CognitiveServicesManagementTestUtilities.CreateResourceGroup(resourcesClient);
- var accounts = cognitiveServicesMgmtClient.CognitiveServicesAccounts.ListByResourceGroup(rgname);
+ var accounts = cognitiveServicesMgmtClient.Accounts.ListByResourceGroup(rgname);
Assert.Empty(accounts);
// Create cognitive services accounts
string accountName1 = CognitiveServicesManagementTestUtilities.CreateCognitiveServicesAccount(cognitiveServicesMgmtClient, rgname);
string accountName2 = CognitiveServicesManagementTestUtilities.CreateCognitiveServicesAccount(cognitiveServicesMgmtClient, rgname);
- accounts = cognitiveServicesMgmtClient.CognitiveServicesAccounts.ListByResourceGroup(rgname);
+ accounts = cognitiveServicesMgmtClient.Accounts.ListByResourceGroup(rgname);
Assert.Equal(2, accounts.Count());
CognitiveServicesManagementTestUtilities.VerifyAccountProperties(accounts.First(), true);
@@ -190,7 +187,7 @@ public void CognitiveServicesAccountListBySubscriptionTest()
var rgname2 = CognitiveServicesManagementTestUtilities.CreateResourceGroup(resourcesClient);
string accountName2 = CognitiveServicesManagementTestUtilities.CreateCognitiveServicesAccount(cognitiveServicesMgmtClient, rgname2);
- var accounts = cognitiveServicesMgmtClient.CognitiveServicesAccounts.List();
+ var accounts = cognitiveServicesMgmtClient.Accounts.List();
Assert.True(accounts.Count() >= 2);
@@ -333,7 +330,7 @@ public void CognitiveServicesAccountEnumerateSkusTest()
Assert.Equal(1, skuList.Value.Select(x => x.ResourceType).Distinct().Count());
- Assert.Equal("Microsoft.CognitiveServices/accounts", skuList.Value.Select(x => x.ResourceType).First());
+ Assert.Equal($"{c_resourceNamespace}/{c_resourceType}", skuList.Value.Select(x => x.ResourceType).First());
Assert.Collection(skuList.Value.Select(x => x.Sku),
(sku) => { Assert.Equal(SkuName.F0, sku.Name); Assert.Equal(SkuTier.Free, sku.Tier); },
@@ -441,7 +438,7 @@ public void CognitiveServicesGetAccountErrorTest()
"ResourceNotFound");
CognitiveServicesManagementTestUtilities.ValidateExpectedException(
- () => cognitiveServicesMgmtClient.CognitiveServicesAccounts.ListByResourceGroup("NotExistedRG"),
+ () => cognitiveServicesMgmtClient.Accounts.ListByResourceGroup("NotExistedRG"),
"ResourceGroupNotFound");
}
}
@@ -544,5 +541,60 @@ public void CognitiveServicesEnumerateSkusErrorTest()
"ResourceNotFound");
}
}
+
+ [Fact]
+ public void CognitiveServicesCheckSkuAvailabilityTest()
+ {
+ var handler = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK };
+
+ using (MockContext context = MockContext.Start(this.GetType().FullName))
+ {
+ var resourcesClient = CognitiveServicesManagementTestUtilities.GetResourceManagementClient(context, handler);
+ var cognitiveServicesMgmtClient = CognitiveServicesManagementTestUtilities.GetCognitiveServicesManagementClient(context, handler);
+
+ cognitiveServicesMgmtClient.Location = "westus";
+
+ var skus = cognitiveServicesMgmtClient.CheckSkuAvailability.List(
+ skus: new List() { SkuName.S0 },
+ kind: Kind.Face,
+ type: $"{c_resourceNamespace}/{c_resourceType}");
+
+ Assert.NotNull(skus);
+ Assert.NotNull(skus.Value);
+ Assert.True(skus.Value.Count > 0);
+ }
+ }
+
+ [Fact]
+ public void CognitiveServicesAccountMinMaxNameLengthTest()
+ {
+ var handler = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK };
+
+ using (MockContext context = MockContext.Start(this.GetType().FullName))
+ {
+ var resourcesClient = CognitiveServicesManagementTestUtilities.GetResourceManagementClient(context, handler);
+ var cognitiveServicesMgmtClient = CognitiveServicesManagementTestUtilities.GetCognitiveServicesManagementClient(context, handler);
+
+ // Create resource group
+ var rgname = CognitiveServicesManagementTestUtilities.CreateResourceGroup(resourcesClient);
+
+ var parameters = new CognitiveServicesAccountCreateParameters
+ {
+ Sku = new Sku { Name = SkuName.S0 },
+ Kind = Kind.Academic,
+ Location = CognitiveServicesManagementTestUtilities.DefaultLocation,
+ Properties = new object(),
+ };
+
+ var minName = "zz";
+ var maxName = "AcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcadAcad";
+
+ var minAccount = cognitiveServicesMgmtClient.CognitiveServicesAccounts.Create(rgname, minName, parameters);
+ var maxAccount = cognitiveServicesMgmtClient.CognitiveServicesAccounts.Create(rgname, maxName, parameters);
+
+ Assert.Equal(minName, minAccount.Name);
+ Assert.Equal(maxName, maxAccount.Name);
+ }
+ }
}
}
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/AccountsOperations.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/AccountsOperations.cs
new file mode 100644
index 000000000000..a85a9e4a1e81
--- /dev/null
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/AccountsOperations.cs
@@ -0,0 +1,748 @@
+// 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 1.0.0.0
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.Azure.Management.CognitiveServices
+{
+ using Azure;
+ using Management;
+ using Rest;
+ using Rest.Azure;
+ using Models;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Net;
+ using System.Net.Http;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// AccountsOperations operations.
+ ///
+ internal partial class AccountsOperations : IServiceOperations, IAccountsOperations
+ {
+ ///
+ /// Initializes a new instance of the AccountsOperations class.
+ ///
+ ///
+ /// Reference to the service client.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ internal AccountsOperations(CognitiveServicesManagementClient client)
+ {
+ if (client == null)
+ {
+ throw new System.ArgumentNullException("client");
+ }
+ Client = client;
+ }
+
+ ///
+ /// Gets a reference to the CognitiveServicesManagementClient
+ ///
+ public CognitiveServicesManagementClient Client { get; private set; }
+
+ ///
+ /// Returns all the resources of a particular type belonging to a resource
+ /// group
+ ///
+ ///
+ /// The name of the resource group within the user's subscription.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (resourceGroupName == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
+ }
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("resourceGroupName", resourceGroupName);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroup", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts").ToString();
+ _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ List _queryParameters = new List();
+ if (Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new System.Net.Http.HttpRequestMessage();
+ System.Net.Http.HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new System.Net.Http.HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse>();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ ///
+ /// Returns all the resources of a particular type belonging to a subscription.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/accounts").ToString();
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ List _queryParameters = new List();
+ if (Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new System.Net.Http.HttpRequestMessage();
+ System.Net.Http.HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new System.Net.Http.HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse>();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ ///
+ /// Returns all the resources of a particular type belonging to a resource
+ /// group
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (nextPageLink == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("nextPageLink", nextPageLink);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroupNext", tracingParameters);
+ }
+ // Construct URL
+ string _url = "{nextLink}";
+ _url = _url.Replace("{nextLink}", nextPageLink);
+ List _queryParameters = new List();
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new System.Net.Http.HttpRequestMessage();
+ System.Net.Http.HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new System.Net.Http.HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse>();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ ///
+ /// Returns all the resources of a particular type belonging to a subscription.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (nextPageLink == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("nextPageLink", nextPageLink);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters);
+ }
+ // Construct URL
+ string _url = "{nextLink}";
+ _url = _url.Replace("{nextLink}", nextPageLink);
+ List _queryParameters = new List();
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new System.Net.Http.HttpRequestMessage();
+ System.Net.Http.HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new System.Net.Http.HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse>();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ }
+}
+
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/AccountsOperationsExtensions.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/AccountsOperationsExtensions.cs
new file mode 100644
index 000000000000..0d04253390ab
--- /dev/null
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/AccountsOperationsExtensions.cs
@@ -0,0 +1,160 @@
+// 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 1.0.0.0
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.Azure.Management.CognitiveServices
+{
+ using Azure;
+ using Management;
+ using Rest;
+ using Rest.Azure;
+ using Models;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// Extension methods for AccountsOperations.
+ ///
+ public static partial class AccountsOperationsExtensions
+ {
+ ///
+ /// Returns all the resources of a particular type belonging to a resource
+ /// group
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group within the user's subscription.
+ ///
+ public static IPage ListByResourceGroup(this IAccountsOperations operations, string resourceGroupName)
+ {
+ return operations.ListByResourceGroupAsync(resourceGroupName).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Returns all the resources of a particular type belonging to a resource
+ /// group
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The name of the resource group within the user's subscription.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task> ListByResourceGroupAsync(this IAccountsOperations operations, string resourceGroupName, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListByResourceGroupWithHttpMessagesAsync(resourceGroupName, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// Returns all the resources of a particular type belonging to a subscription.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ public static IPage List(this IAccountsOperations operations)
+ {
+ return operations.ListAsync().GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Returns all the resources of a particular type belonging to a subscription.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task> ListAsync(this IAccountsOperations operations, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// Returns all the resources of a particular type belonging to a resource
+ /// group
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ public static IPage ListByResourceGroupNext(this IAccountsOperations operations, string nextPageLink)
+ {
+ return operations.ListByResourceGroupNextAsync(nextPageLink).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Returns all the resources of a particular type belonging to a resource
+ /// group
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task> ListByResourceGroupNextAsync(this IAccountsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListByResourceGroupNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// Returns all the resources of a particular type belonging to a subscription.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ public static IPage ListNext(this IAccountsOperations operations, string nextPageLink)
+ {
+ return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Returns all the resources of a particular type belonging to a subscription.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task> ListNextAsync(this IAccountsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ }
+}
+
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CheckSkuAvailabilityOperations.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CheckSkuAvailabilityOperations.cs
new file mode 100644
index 000000000000..a99decaf5f09
--- /dev/null
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CheckSkuAvailabilityOperations.cs
@@ -0,0 +1,277 @@
+// 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 1.0.0.0
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.Azure.Management.CognitiveServices
+{
+ using Azure;
+ using Management;
+ using Rest;
+ using Rest.Azure;
+ using Models;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Net;
+ using System.Net.Http;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// CheckSkuAvailabilityOperations operations.
+ ///
+ internal partial class CheckSkuAvailabilityOperations : IServiceOperations, ICheckSkuAvailabilityOperations
+ {
+ ///
+ /// Initializes a new instance of the CheckSkuAvailabilityOperations class.
+ ///
+ ///
+ /// Reference to the service client.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ internal CheckSkuAvailabilityOperations(CognitiveServicesManagementClient client)
+ {
+ if (client == null)
+ {
+ throw new System.ArgumentNullException("client");
+ }
+ Client = client;
+ }
+
+ ///
+ /// Gets a reference to the CognitiveServicesManagementClient
+ ///
+ public CognitiveServicesManagementClient Client { get; private set; }
+
+ ///
+ /// Check available SKUs.
+ ///
+ ///
+ /// The SKU of the resource.
+ ///
+ ///
+ /// The Kind of the resource. Possible values include: 'Academic',
+ /// 'Bing.Autosuggest', 'Bing.Search', 'Bing.Speech', 'Bing.SpellCheck',
+ /// 'ComputerVision', 'ContentModerator', 'CustomSpeech', 'Emotion', 'Face',
+ /// 'LUIS', 'Recommendations', 'SpeakerRecognition', 'Speech',
+ /// 'SpeechTranslation', 'TextAnalytics', 'TextTranslation', 'WebLM'
+ ///
+ ///
+ /// The Type of the resource.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task> ListWithHttpMessagesAsync(IList skus, string kind, string type, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ if (Client.Location == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.Location");
+ }
+ if (skus == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "skus");
+ }
+ if (kind == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "kind");
+ }
+ if (type == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "type");
+ }
+ CheckSkuAvailabilityParameter parameters = new CheckSkuAvailabilityParameter();
+ if (skus != null || kind != null || type != null)
+ {
+ parameters.Skus = skus;
+ parameters.Kind = kind;
+ parameters.Type = type;
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("parameters", parameters);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/checkSkuAvailability").ToString();
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ _url = _url.Replace("{location}", System.Uri.EscapeDataString(Client.Location));
+ List _queryParameters = new List();
+ if (Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new System.Net.Http.HttpRequestMessage();
+ System.Net.Http.HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new System.Net.Http.HttpMethod("POST");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ if(parameters != null)
+ {
+ _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
+ _httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8);
+ _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
+ }
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ }
+}
+
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CheckSkuAvailabilityOperationsExtensions.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CheckSkuAvailabilityOperationsExtensions.cs
new file mode 100644
index 000000000000..8264eb90cf72
--- /dev/null
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CheckSkuAvailabilityOperationsExtensions.cs
@@ -0,0 +1,82 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.Azure.Management.CognitiveServices
+{
+ using Azure;
+ using Management;
+ using Rest;
+ using Rest.Azure;
+ using Models;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// Extension methods for CheckSkuAvailabilityOperations.
+ ///
+ public static partial class CheckSkuAvailabilityOperationsExtensions
+ {
+ ///
+ /// Check available SKUs.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The SKU of the resource.
+ ///
+ ///
+ /// The Kind of the resource. Possible values include: 'Academic',
+ /// 'Bing.Autosuggest', 'Bing.Search', 'Bing.Speech', 'Bing.SpellCheck',
+ /// 'ComputerVision', 'ContentModerator', 'CustomSpeech', 'Emotion', 'Face',
+ /// 'LUIS', 'Recommendations', 'SpeakerRecognition', 'Speech',
+ /// 'SpeechTranslation', 'TextAnalytics', 'TextTranslation', 'WebLM'
+ ///
+ ///
+ /// The Type of the resource.
+ ///
+ public static CheckSkuAvailabilityResultList List(this ICheckSkuAvailabilityOperations operations, IList skus, string kind, string type)
+ {
+ return operations.ListAsync(skus, kind, type).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Check available SKUs.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The SKU of the resource.
+ ///
+ ///
+ /// The Kind of the resource. Possible values include: 'Academic',
+ /// 'Bing.Autosuggest', 'Bing.Search', 'Bing.Speech', 'Bing.SpellCheck',
+ /// 'ComputerVision', 'ContentModerator', 'CustomSpeech', 'Emotion', 'Face',
+ /// 'LUIS', 'Recommendations', 'SpeakerRecognition', 'Speech',
+ /// 'SpeechTranslation', 'TextAnalytics', 'TextTranslation', 'WebLM'
+ ///
+ ///
+ /// The Type of the resource.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task ListAsync(this ICheckSkuAvailabilityOperations operations, IList skus, string kind, string type, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListWithHttpMessagesAsync(skus, kind, type, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ }
+}
+
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CognitiveServicesAccountsOperations.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CognitiveServicesAccountsOperations.cs
index 3948483939cc..febf46692ad5 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CognitiveServicesAccountsOperations.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CognitiveServicesAccountsOperations.cs
@@ -59,9 +59,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
/// The parameters to provide for the created account.
@@ -99,13 +97,13 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
}
if (accountName != null)
{
- if (accountName.Length > 24)
+ if (accountName.Length > 64)
{
- throw new ValidationException(ValidationRules.MaxLength, "accountName", 24);
+ throw new ValidationException(ValidationRules.MaxLength, "accountName", 64);
}
- if (accountName.Length < 3)
+ if (accountName.Length < 2)
{
- throw new ValidationException(ValidationRules.MinLength, "accountName", 3);
+ throw new ValidationException(ValidationRules.MinLength, "accountName", 2);
}
if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"))
{
@@ -174,6 +172,8 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}
+
+
if (customHeaders != null)
{
foreach(var _header in customHeaders)
@@ -226,7 +226,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
ex.Body = _errorBody;
}
}
- catch (Newtonsoft.Json.JsonException)
+ catch (JsonException)
{
// Ignore the exception
}
@@ -259,7 +259,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
}
- catch (Newtonsoft.Json.JsonException ex)
+ catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
@@ -277,7 +277,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
}
- catch (Newtonsoft.Json.JsonException ex)
+ catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
@@ -301,11 +301,10 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
+ /// Gets or sets the SKU of the resource.
///
///
/// Gets or sets a list of key value pairs that describe the resource. These
@@ -347,13 +346,13 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
}
if (accountName != null)
{
- if (accountName.Length > 24)
+ if (accountName.Length > 64)
{
- throw new ValidationException(ValidationRules.MaxLength, "accountName", 24);
+ throw new ValidationException(ValidationRules.MaxLength, "accountName", 64);
}
- if (accountName.Length < 3)
+ if (accountName.Length < 2)
{
- throw new ValidationException(ValidationRules.MinLength, "accountName", 3);
+ throw new ValidationException(ValidationRules.MinLength, "accountName", 2);
}
if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"))
{
@@ -372,11 +371,11 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
{
sku.Validate();
}
- CognitiveServicesAccountUpdateParameters body = new CognitiveServicesAccountUpdateParameters();
+ CognitiveServicesAccountUpdateParameters parameters = new CognitiveServicesAccountUpdateParameters();
if (sku != null || tags != null)
{
- body.Sku = sku;
- body.Tags = tags;
+ parameters.Sku = sku;
+ parameters.Tags = tags;
}
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
@@ -387,7 +386,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("accountName", accountName);
- tracingParameters.Add("body", body);
+ tracingParameters.Add("parameters", parameters);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters);
}
@@ -424,6 +423,8 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}
+
+
if (customHeaders != null)
{
foreach(var _header in customHeaders)
@@ -438,9 +439,9 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
// Serialize Request
string _requestContent = null;
- if(body != null)
+ if(parameters != null)
{
- _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(body, Client.SerializationSettings);
+ _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
_httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8);
_httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
}
@@ -476,7 +477,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
ex.Body = _errorBody;
}
}
- catch (Newtonsoft.Json.JsonException)
+ catch (JsonException)
{
// Ignore the exception
}
@@ -509,7 +510,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
}
- catch (Newtonsoft.Json.JsonException ex)
+ catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
@@ -533,9 +534,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
/// Headers that will be added to request.
@@ -567,13 +566,13 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
}
if (accountName != null)
{
- if (accountName.Length > 24)
+ if (accountName.Length > 64)
{
- throw new ValidationException(ValidationRules.MaxLength, "accountName", 24);
+ throw new ValidationException(ValidationRules.MaxLength, "accountName", 64);
}
- if (accountName.Length < 3)
+ if (accountName.Length < 2)
{
- throw new ValidationException(ValidationRules.MinLength, "accountName", 3);
+ throw new ValidationException(ValidationRules.MinLength, "accountName", 2);
}
if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"))
{
@@ -633,6 +632,8 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}
+
+
if (customHeaders != null)
{
foreach(var _header in customHeaders)
@@ -679,7 +680,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
ex.Body = _errorBody;
}
}
- catch (Newtonsoft.Json.JsonException)
+ catch (JsonException)
{
// Ignore the exception
}
@@ -718,9 +719,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
/// Headers that will be added to request.
@@ -755,13 +754,13 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
}
if (accountName != null)
{
- if (accountName.Length > 24)
+ if (accountName.Length > 64)
{
- throw new ValidationException(ValidationRules.MaxLength, "accountName", 24);
+ throw new ValidationException(ValidationRules.MaxLength, "accountName", 64);
}
- if (accountName.Length < 3)
+ if (accountName.Length < 2)
{
- throw new ValidationException(ValidationRules.MinLength, "accountName", 3);
+ throw new ValidationException(ValidationRules.MinLength, "accountName", 2);
}
if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"))
{
@@ -821,358 +820,8 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}
- if (customHeaders != null)
- {
- foreach(var _header in customHeaders)
- {
- if (_httpRequest.Headers.Contains(_header.Key))
- {
- _httpRequest.Headers.Remove(_header.Key);
- }
- _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
- }
- }
- // Serialize Request
- string _requestContent = null;
- // Set Credentials
- if (Client.Credentials != null)
- {
- cancellationToken.ThrowIfCancellationRequested();
- await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
- }
- // Send Request
- if (_shouldTrace)
- {
- ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
- }
- cancellationToken.ThrowIfCancellationRequested();
- _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
- if (_shouldTrace)
- {
- ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
- }
- HttpStatusCode _statusCode = _httpResponse.StatusCode;
- cancellationToken.ThrowIfCancellationRequested();
- string _responseContent = null;
- if ((int)_statusCode != 200)
- {
- var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
- try
- {
- _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
- if (_errorBody != null)
- {
- ex.Body = _errorBody;
- }
- }
- catch (Newtonsoft.Json.JsonException)
- {
- // Ignore the exception
- }
- ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
- ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
- if (_shouldTrace)
- {
- ServiceClientTracing.Error(_invocationId, ex);
- }
- _httpRequest.Dispose();
- if (_httpResponse != null)
- {
- _httpResponse.Dispose();
- }
- throw ex;
- }
- // Create Result
- var _result = new AzureOperationResponse();
- _result.Request = _httpRequest;
- _result.Response = _httpResponse;
- if (_httpResponse.Headers.Contains("x-ms-request-id"))
- {
- _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
- }
- // Deserialize Response
- if ((int)_statusCode == 200)
- {
- _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- try
- {
- _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
- }
- catch (Newtonsoft.Json.JsonException ex)
- {
- _httpRequest.Dispose();
- if (_httpResponse != null)
- {
- _httpResponse.Dispose();
- }
- throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
- }
- }
- if (_shouldTrace)
- {
- ServiceClientTracing.Exit(_invocationId, _result);
- }
- return _result;
- }
- ///
- /// Returns all the resources of a particular type belonging to a resource
- /// group
- ///
- ///
- /// The name of the resource group within the user's subscription.
- ///
- ///
- /// Headers that will be added to request.
- ///
- ///
- /// The cancellation token.
- ///
- ///
- /// Thrown when the operation returned an invalid status code
- ///
- ///
- /// Thrown when unable to deserialize the response
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- ///
- /// A response object containing the response body and response headers.
- ///
- public async Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
- {
- if (resourceGroupName == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName");
- }
- if (Client.SubscriptionId == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
- }
- if (Client.ApiVersion == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
- }
- // Tracing
- bool _shouldTrace = ServiceClientTracing.IsEnabled;
- string _invocationId = null;
- if (_shouldTrace)
- {
- _invocationId = ServiceClientTracing.NextInvocationId.ToString();
- Dictionary tracingParameters = new Dictionary();
- tracingParameters.Add("resourceGroupName", resourceGroupName);
- tracingParameters.Add("cancellationToken", cancellationToken);
- ServiceClientTracing.Enter(_invocationId, this, "ListByResourceGroup", tracingParameters);
- }
- // Construct URL
- var _baseUrl = Client.BaseUri.AbsoluteUri;
- var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts").ToString();
- _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName));
- _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
- List _queryParameters = new List();
- if (Client.ApiVersion != null)
- {
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
- }
- if (_queryParameters.Count > 0)
- {
- _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
- }
- // Create HTTP transport objects
- var _httpRequest = new System.Net.Http.HttpRequestMessage();
- System.Net.Http.HttpResponseMessage _httpResponse = null;
- _httpRequest.Method = new System.Net.Http.HttpMethod("GET");
- _httpRequest.RequestUri = new System.Uri(_url);
- // Set Headers
- if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
- {
- _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
- }
- if (Client.AcceptLanguage != null)
- {
- if (_httpRequest.Headers.Contains("accept-language"))
- {
- _httpRequest.Headers.Remove("accept-language");
- }
- _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
- }
- if (customHeaders != null)
- {
- foreach(var _header in customHeaders)
- {
- if (_httpRequest.Headers.Contains(_header.Key))
- {
- _httpRequest.Headers.Remove(_header.Key);
- }
- _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
- }
- }
-
- // Serialize Request
- string _requestContent = null;
- // Set Credentials
- if (Client.Credentials != null)
- {
- cancellationToken.ThrowIfCancellationRequested();
- await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
- }
- // Send Request
- if (_shouldTrace)
- {
- ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
- }
- cancellationToken.ThrowIfCancellationRequested();
- _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
- if (_shouldTrace)
- {
- ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
- }
- HttpStatusCode _statusCode = _httpResponse.StatusCode;
- cancellationToken.ThrowIfCancellationRequested();
- string _responseContent = null;
- if ((int)_statusCode != 200)
- {
- var ex = new ErrorException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
- try
- {
- _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- Error _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
- if (_errorBody != null)
- {
- ex.Body = _errorBody;
- }
- }
- catch (Newtonsoft.Json.JsonException)
- {
- // Ignore the exception
- }
- ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
- ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
- if (_shouldTrace)
- {
- ServiceClientTracing.Error(_invocationId, ex);
- }
- _httpRequest.Dispose();
- if (_httpResponse != null)
- {
- _httpResponse.Dispose();
- }
- throw ex;
- }
- // Create Result
- var _result = new AzureOperationResponse>();
- _result.Request = _httpRequest;
- _result.Response = _httpResponse;
- if (_httpResponse.Headers.Contains("x-ms-request-id"))
- {
- _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
- }
- // Deserialize Response
- if ((int)_statusCode == 200)
- {
- _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- try
- {
- _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
- }
- catch (Newtonsoft.Json.JsonException ex)
- {
- _httpRequest.Dispose();
- if (_httpResponse != null)
- {
- _httpResponse.Dispose();
- }
- throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
- }
- }
- if (_shouldTrace)
- {
- ServiceClientTracing.Exit(_invocationId, _result);
- }
- return _result;
- }
-
- ///
- /// Returns all the resources of a particular type belonging to a subscription.
- ///
- ///
- /// Headers that will be added to request.
- ///
- ///
- /// The cancellation token.
- ///
- ///
- /// Thrown when the operation returned an invalid status code
- ///
- ///
- /// Thrown when unable to deserialize the response
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- ///
- /// A response object containing the response body and response headers.
- ///
- public async Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
- {
- if (Client.ApiVersion == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
- }
- if (Client.SubscriptionId == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
- }
- // Tracing
- bool _shouldTrace = ServiceClientTracing.IsEnabled;
- string _invocationId = null;
- if (_shouldTrace)
- {
- _invocationId = ServiceClientTracing.NextInvocationId.ToString();
- Dictionary tracingParameters = new Dictionary();
- tracingParameters.Add("cancellationToken", cancellationToken);
- ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters);
- }
- // Construct URL
- var _baseUrl = Client.BaseUri.AbsoluteUri;
- var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/accounts").ToString();
- _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
- List _queryParameters = new List();
- if (Client.ApiVersion != null)
- {
- _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
- }
- if (_queryParameters.Count > 0)
- {
- _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
- }
- // Create HTTP transport objects
- var _httpRequest = new System.Net.Http.HttpRequestMessage();
- System.Net.Http.HttpResponseMessage _httpResponse = null;
- _httpRequest.Method = new System.Net.Http.HttpMethod("GET");
- _httpRequest.RequestUri = new System.Uri(_url);
- // Set Headers
- if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
- {
- _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
- }
- if (Client.AcceptLanguage != null)
- {
- if (_httpRequest.Headers.Contains("accept-language"))
- {
- _httpRequest.Headers.Remove("accept-language");
- }
- _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
- }
if (customHeaders != null)
{
foreach(var _header in customHeaders)
@@ -1219,7 +868,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
ex.Body = _errorBody;
}
}
- catch (Newtonsoft.Json.JsonException)
+ catch (JsonException)
{
// Ignore the exception
}
@@ -1237,7 +886,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
throw ex;
}
// Create Result
- var _result = new AzureOperationResponse>();
+ var _result = new AzureOperationResponse();
_result.Request = _httpRequest;
_result.Response = _httpResponse;
if (_httpResponse.Headers.Contains("x-ms-request-id"))
@@ -1250,9 +899,9 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
try
{
- _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
}
- catch (Newtonsoft.Json.JsonException ex)
+ catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
@@ -1276,9 +925,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Congitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
/// Headers that will be added to request.
@@ -1313,13 +960,13 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
}
if (accountName != null)
{
- if (accountName.Length > 24)
+ if (accountName.Length > 64)
{
- throw new ValidationException(ValidationRules.MaxLength, "accountName", 24);
+ throw new ValidationException(ValidationRules.MaxLength, "accountName", 64);
}
- if (accountName.Length < 3)
+ if (accountName.Length < 2)
{
- throw new ValidationException(ValidationRules.MinLength, "accountName", 3);
+ throw new ValidationException(ValidationRules.MinLength, "accountName", 2);
}
if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"))
{
@@ -1379,6 +1026,8 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}
+
+
if (customHeaders != null)
{
foreach(var _header in customHeaders)
@@ -1425,7 +1074,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
ex.Body = _errorBody;
}
}
- catch (Newtonsoft.Json.JsonException)
+ catch (JsonException)
{
// Ignore the exception
}
@@ -1458,7 +1107,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
}
- catch (Newtonsoft.Json.JsonException ex)
+ catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
@@ -1483,9 +1132,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
/// key name to generate (Key1|Key2). Possible values include: 'Key1', 'Key2'
@@ -1511,7 +1158,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
///
/// A response object containing the response body and response headers.
///
- public async Task> RegenerateKeyWithHttpMessagesAsync(string resourceGroupName, string accountName, KeyName? keyName = default(KeyName?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ public async Task> RegenerateKeyWithHttpMessagesAsync(string resourceGroupName, string accountName, KeyName keyName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
{
if (resourceGroupName == null)
{
@@ -1523,13 +1170,13 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
}
if (accountName != null)
{
- if (accountName.Length > 24)
+ if (accountName.Length > 64)
{
- throw new ValidationException(ValidationRules.MaxLength, "accountName", 24);
+ throw new ValidationException(ValidationRules.MaxLength, "accountName", 64);
}
- if (accountName.Length < 3)
+ if (accountName.Length < 2)
{
- throw new ValidationException(ValidationRules.MinLength, "accountName", 3);
+ throw new ValidationException(ValidationRules.MinLength, "accountName", 2);
}
if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"))
{
@@ -1544,11 +1191,8 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
{
throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
}
- RegenerateKeyParameters body = new RegenerateKeyParameters();
- if (keyName != null)
- {
- body.KeyName = keyName;
- }
+ RegenerateKeyParameters parameters = new RegenerateKeyParameters();
+ parameters.KeyName = keyName;
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
string _invocationId = null;
@@ -1558,7 +1202,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
Dictionary tracingParameters = new Dictionary();
tracingParameters.Add("resourceGroupName", resourceGroupName);
tracingParameters.Add("accountName", accountName);
- tracingParameters.Add("body", body);
+ tracingParameters.Add("parameters", parameters);
tracingParameters.Add("cancellationToken", cancellationToken);
ServiceClientTracing.Enter(_invocationId, this, "RegenerateKey", tracingParameters);
}
@@ -1595,6 +1239,8 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}
+
+
if (customHeaders != null)
{
foreach(var _header in customHeaders)
@@ -1609,9 +1255,9 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
// Serialize Request
string _requestContent = null;
- if(body != null)
+ if(parameters != null)
{
- _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(body, Client.SerializationSettings);
+ _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings);
_httpRequest.Content = new System.Net.Http.StringContent(_requestContent, System.Text.Encoding.UTF8);
_httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8");
}
@@ -1647,7 +1293,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
ex.Body = _errorBody;
}
}
- catch (Newtonsoft.Json.JsonException)
+ catch (JsonException)
{
// Ignore the exception
}
@@ -1680,7 +1326,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
}
- catch (Newtonsoft.Json.JsonException ex)
+ catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
@@ -1704,9 +1350,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
/// Headers that will be added to request.
@@ -1741,13 +1385,13 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
}
if (accountName != null)
{
- if (accountName.Length > 24)
+ if (accountName.Length > 64)
{
- throw new ValidationException(ValidationRules.MaxLength, "accountName", 24);
+ throw new ValidationException(ValidationRules.MaxLength, "accountName", 64);
}
- if (accountName.Length < 3)
+ if (accountName.Length < 2)
{
- throw new ValidationException(ValidationRules.MinLength, "accountName", 3);
+ throw new ValidationException(ValidationRules.MinLength, "accountName", 2);
}
if (!System.Text.RegularExpressions.Regex.IsMatch(accountName, "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$"))
{
@@ -1807,6 +1451,8 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
}
_httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
}
+
+
if (customHeaders != null)
{
foreach(var _header in customHeaders)
@@ -1853,7 +1499,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
ex.Body = _errorBody;
}
}
- catch (Newtonsoft.Json.JsonException)
+ catch (JsonException)
{
// Ignore the exception
}
@@ -1886,7 +1532,7 @@ internal CognitiveServicesAccountsOperations(CognitiveServicesManagementClient c
{
_result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
}
- catch (Newtonsoft.Json.JsonException ex)
+ catch (JsonException ex)
{
_httpRequest.Dispose();
if (_httpResponse != null)
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CognitiveServicesAccountsOperationsExtensions.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CognitiveServicesAccountsOperationsExtensions.cs
index ce6152421b8c..b8f5f38e4105 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CognitiveServicesAccountsOperationsExtensions.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CognitiveServicesAccountsOperationsExtensions.cs
@@ -35,9 +35,7 @@ public static partial class CognitiveServicesAccountsOperationsExtensions
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
/// The parameters to provide for the created account.
@@ -59,9 +57,7 @@ public static CognitiveServicesAccount Create(this ICognitiveServicesAccountsOpe
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
/// The parameters to provide for the created account.
@@ -87,11 +83,10 @@ public static CognitiveServicesAccount Create(this ICognitiveServicesAccountsOpe
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
+ /// Gets or sets the SKU of the resource.
///
///
/// Gets or sets a list of key value pairs that describe the resource. These
@@ -115,11 +110,10 @@ public static CognitiveServicesAccount Create(this ICognitiveServicesAccountsOpe
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
+ /// Gets or sets the SKU of the resource.
///
///
/// Gets or sets a list of key value pairs that describe the resource. These
@@ -149,9 +143,7 @@ public static CognitiveServicesAccount Create(this ICognitiveServicesAccountsOpe
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
public static void Delete(this ICognitiveServicesAccountsOperations operations, string resourceGroupName, string accountName)
{
@@ -168,9 +160,7 @@ public static void Delete(this ICognitiveServicesAccountsOperations operations,
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
/// The cancellation token.
@@ -190,9 +180,7 @@ public static void Delete(this ICognitiveServicesAccountsOperations operations,
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
public static CognitiveServicesAccount GetProperties(this ICognitiveServicesAccountsOperations operations, string resourceGroupName, string accountName)
{
@@ -209,9 +197,7 @@ public static CognitiveServicesAccount GetProperties(this ICognitiveServicesAcco
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
/// The cancellation token.
@@ -224,70 +210,6 @@ public static CognitiveServicesAccount GetProperties(this ICognitiveServicesAcco
}
}
- ///
- /// Returns all the resources of a particular type belonging to a resource
- /// group
- ///
- ///
- /// The operations group for this extension method.
- ///
- ///
- /// The name of the resource group within the user's subscription.
- ///
- public static IEnumerable ListByResourceGroup(this ICognitiveServicesAccountsOperations operations, string resourceGroupName)
- {
- return operations.ListByResourceGroupAsync(resourceGroupName).GetAwaiter().GetResult();
- }
-
- ///
- /// Returns all the resources of a particular type belonging to a resource
- /// group
- ///
- ///
- /// The operations group for this extension method.
- ///
- ///
- /// The name of the resource group within the user's subscription.
- ///
- ///
- /// The cancellation token.
- ///
- public static async Task> ListByResourceGroupAsync(this ICognitiveServicesAccountsOperations operations, string resourceGroupName, CancellationToken cancellationToken = default(CancellationToken))
- {
- using (var _result = await operations.ListByResourceGroupWithHttpMessagesAsync(resourceGroupName, null, cancellationToken).ConfigureAwait(false))
- {
- return _result.Body;
- }
- }
-
- ///
- /// Returns all the resources of a particular type belonging to a subscription.
- ///
- ///
- /// The operations group for this extension method.
- ///
- public static IEnumerable List(this ICognitiveServicesAccountsOperations operations)
- {
- return operations.ListAsync().GetAwaiter().GetResult();
- }
-
- ///
- /// Returns all the resources of a particular type belonging to a subscription.
- ///
- ///
- /// The operations group for this extension method.
- ///
- ///
- /// The cancellation token.
- ///
- public static async Task> ListAsync(this ICognitiveServicesAccountsOperations operations, CancellationToken cancellationToken = default(CancellationToken))
- {
- using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false))
- {
- return _result.Body;
- }
- }
-
///
/// Lists the account keys for the specified Cognitive Services account.
///
@@ -298,9 +220,7 @@ public static IEnumerable List(this ICognitiveServices
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Congitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
public static CognitiveServicesAccountKeys ListKeys(this ICognitiveServicesAccountsOperations operations, string resourceGroupName, string accountName)
{
@@ -317,9 +237,7 @@ public static CognitiveServicesAccountKeys ListKeys(this ICognitiveServicesAccou
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Congitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
/// The cancellation token.
@@ -343,14 +261,12 @@ public static CognitiveServicesAccountKeys ListKeys(this ICognitiveServicesAccou
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
/// key name to generate (Key1|Key2). Possible values include: 'Key1', 'Key2'
///
- public static CognitiveServicesAccountKeys RegenerateKey(this ICognitiveServicesAccountsOperations operations, string resourceGroupName, string accountName, KeyName? keyName = default(KeyName?))
+ public static CognitiveServicesAccountKeys RegenerateKey(this ICognitiveServicesAccountsOperations operations, string resourceGroupName, string accountName, KeyName keyName)
{
return operations.RegenerateKeyAsync(resourceGroupName, accountName, keyName).GetAwaiter().GetResult();
}
@@ -366,9 +282,7 @@ public static CognitiveServicesAccountKeys ListKeys(this ICognitiveServicesAccou
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
/// key name to generate (Key1|Key2). Possible values include: 'Key1', 'Key2'
@@ -376,7 +290,7 @@ public static CognitiveServicesAccountKeys ListKeys(this ICognitiveServicesAccou
///
/// The cancellation token.
///
- public static async Task RegenerateKeyAsync(this ICognitiveServicesAccountsOperations operations, string resourceGroupName, string accountName, KeyName? keyName = default(KeyName?), CancellationToken cancellationToken = default(CancellationToken))
+ public static async Task RegenerateKeyAsync(this ICognitiveServicesAccountsOperations operations, string resourceGroupName, string accountName, KeyName keyName, CancellationToken cancellationToken = default(CancellationToken))
{
using (var _result = await operations.RegenerateKeyWithHttpMessagesAsync(resourceGroupName, accountName, keyName, null, cancellationToken).ConfigureAwait(false))
{
@@ -394,9 +308,7 @@ public static CognitiveServicesAccountKeys ListKeys(this ICognitiveServicesAccou
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
public static CognitiveServicesAccountEnumerateSkusResult ListSkus(this ICognitiveServicesAccountsOperations operations, string resourceGroupName, string accountName)
{
@@ -413,9 +325,7 @@ public static CognitiveServicesAccountEnumerateSkusResult ListSkus(this ICogniti
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified resource
- /// group. Cognitive Services account names must be between 3 and 24 characters
- /// in length and use numbers and lower-case letters only.
+ /// The name of Cognitive Services account.
///
///
/// The cancellation token.
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CognitiveServicesManagementClient.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CognitiveServicesManagementClient.cs
index 543235b08fb8..356fd5e86bd7 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CognitiveServicesManagementClient.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/CognitiveServicesManagementClient.cs
@@ -34,12 +34,12 @@ public partial class CognitiveServicesManagementClient : ServiceClient
/// Gets or sets json serialization settings.
///
- public Newtonsoft.Json.JsonSerializerSettings SerializationSettings { get; private set; }
+ public JsonSerializerSettings SerializationSettings { get; private set; }
///
/// Gets or sets json deserialization settings.
///
- public Newtonsoft.Json.JsonSerializerSettings DeserializationSettings { get; private set; }
+ public JsonSerializerSettings DeserializationSettings { get; private set; }
///
/// Credentials needed for the client to connect to Azure.
@@ -53,10 +53,15 @@ public partial class CognitiveServicesManagementClient : ServiceClient
/// Version of the API to be used with the client request. Current version is
- /// 2016-02-01-preview
+ /// 2017-04-18
///
public string ApiVersion { get; private set; }
+ ///
+ /// Resource location.
+ ///
+ public string Location { get; set; }
+
///
/// Gets or sets the preferred language for the response.
///
@@ -79,6 +84,21 @@ public partial class CognitiveServicesManagementClient : ServiceClient
public virtual ICognitiveServicesAccountsOperations CognitiveServicesAccounts { get; private set; }
+ ///
+ /// Gets the IAccountsOperations.
+ ///
+ public virtual IAccountsOperations Accounts { get; private set; }
+
+ ///
+ /// Gets the IOperations.
+ ///
+ public virtual IOperations Operations { get; private set; }
+
+ ///
+ /// Gets the ICheckSkuAvailabilityOperations.
+ ///
+ public virtual ICheckSkuAvailabilityOperations CheckSkuAvailability { get; private set; }
+
///
/// Initializes a new instance of the CognitiveServicesManagementClient class.
///
@@ -281,33 +301,36 @@ public CognitiveServicesManagementClient(System.Uri baseUri, ServiceClientCreden
private void Initialize()
{
CognitiveServicesAccounts = new CognitiveServicesAccountsOperations(this);
+ Accounts = new AccountsOperations(this);
+ Operations = new Operations(this);
+ CheckSkuAvailability = new CheckSkuAvailabilityOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
- ApiVersion = "2016-02-01-preview";
+ ApiVersion = "2017-04-18";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
- SerializationSettings = new Newtonsoft.Json.JsonSerializerSettings
+ SerializationSettings = new JsonSerializerSettings
{
- Formatting = Newtonsoft.Json.Formatting.Indented,
- DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat,
- DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc,
- NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore,
- ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize,
+ Formatting = Formatting.Indented,
+ DateFormatHandling = DateFormatHandling.IsoDateFormat,
+ DateTimeZoneHandling = DateTimeZoneHandling.Utc,
+ NullValueHandling = NullValueHandling.Ignore,
+ ReferenceLoopHandling = ReferenceLoopHandling.Serialize,
ContractResolver = new ReadOnlyJsonContractResolver(),
- Converters = new System.Collections.Generic.List
+ Converters = new List
{
new Iso8601TimeSpanConverter()
}
};
SerializationSettings.Converters.Add(new TransformationJsonConverter());
- DeserializationSettings = new Newtonsoft.Json.JsonSerializerSettings
+ DeserializationSettings = new JsonSerializerSettings
{
- DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat,
- DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc,
- NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore,
- ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize,
+ DateFormatHandling = DateFormatHandling.IsoDateFormat,
+ DateTimeZoneHandling = DateTimeZoneHandling.Utc,
+ NullValueHandling = NullValueHandling.Ignore,
+ ReferenceLoopHandling = ReferenceLoopHandling.Serialize,
ContractResolver = new ReadOnlyJsonContractResolver(),
- Converters = new System.Collections.Generic.List
+ Converters = new List
{
new Iso8601TimeSpanConverter()
}
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/IAccountsOperations.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/IAccountsOperations.cs
new file mode 100644
index 000000000000..3f9f0850e0d3
--- /dev/null
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/IAccountsOperations.cs
@@ -0,0 +1,117 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.Azure.Management.CognitiveServices
+{
+ using Azure;
+ using Management;
+ using Rest;
+ using Rest.Azure;
+ using Models;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// AccountsOperations operations.
+ ///
+ public partial interface IAccountsOperations
+ {
+ ///
+ /// Returns all the resources of a particular type belonging to a
+ /// resource group
+ ///
+ ///
+ /// The name of the resource group within the user's subscription.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Returns all the resources of a particular type belonging to a
+ /// subscription.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Returns all the resources of a particular type belonging to a
+ /// resource group
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Returns all the resources of a particular type belonging to a
+ /// subscription.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ }
+}
+
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/ICheckSkuAvailabilityOperations.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/ICheckSkuAvailabilityOperations.cs
new file mode 100644
index 000000000000..23626aaed2c6
--- /dev/null
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/ICheckSkuAvailabilityOperations.cs
@@ -0,0 +1,61 @@
+// 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 1.0.0.0
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.Azure.Management.CognitiveServices
+{
+ using Azure;
+ using Management;
+ using Rest;
+ using Rest.Azure;
+ using Models;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// CheckSkuAvailabilityOperations operations.
+ ///
+ public partial interface ICheckSkuAvailabilityOperations
+ {
+ ///
+ /// Check available SKUs.
+ ///
+ ///
+ /// The SKU of the resource.
+ ///
+ ///
+ /// The Kind of the resource. Possible values include: 'Academic',
+ /// 'Bing.Autosuggest', 'Bing.Search', 'Bing.Speech',
+ /// 'Bing.SpellCheck', 'ComputerVision', 'ContentModerator',
+ /// 'CustomSpeech', 'Emotion', 'Face', 'LUIS', 'Recommendations',
+ /// 'SpeakerRecognition', 'Speech', 'SpeechTranslation',
+ /// 'TextAnalytics', 'TextTranslation', 'WebLM'
+ ///
+ ///
+ /// The Type of the resource.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> ListWithHttpMessagesAsync(IList skus, string kind, string type, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ }
+}
+
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/ICognitiveServicesAccountsOperations.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/ICognitiveServicesAccountsOperations.cs
index 4cca0e1bffef..db373bf87eae 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/ICognitiveServicesAccountsOperations.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/ICognitiveServicesAccountsOperations.cs
@@ -32,10 +32,7 @@ public partial interface ICognitiveServicesAccountsOperations
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified
- /// resource group. Cognitive Services account names must be between 3
- /// and 24 characters in length and use numbers and lower-case letters
- /// only.
+ /// The name of Cognitive Services account.
///
///
/// The parameters to provide for the created account.
@@ -63,12 +60,10 @@ public partial interface ICognitiveServicesAccountsOperations
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified
- /// resource group. Cognitive Services account names must be between 3
- /// and 24 characters in length and use numbers and lower-case letters
- /// only.
+ /// The name of Cognitive Services account.
///
///
+ /// Gets or sets the SKU of the resource.
///
///
/// Gets or sets a list of key value pairs that describe the resource.
@@ -100,10 +95,7 @@ public partial interface ICognitiveServicesAccountsOperations
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified
- /// resource group. Cognitive Services account names must be between 3
- /// and 24 characters in length and use numbers and lower-case letters
- /// only.
+ /// The name of Cognitive Services account.
///
///
/// The headers that will be added to request.
@@ -125,10 +117,7 @@ public partial interface ICognitiveServicesAccountsOperations
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified
- /// resource group. Cognitive Services account names must be between 3
- /// and 24 characters in length and use numbers and lower-case letters
- /// only.
+ /// The name of Cognitive Services account.
///
///
/// The headers that will be added to request.
@@ -147,49 +136,6 @@ public partial interface ICognitiveServicesAccountsOperations
///
Task> GetPropertiesWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Returns all the resources of a particular type belonging to a
- /// resource group
- ///
- ///
- /// The name of the resource group within the user's subscription.
- ///
- ///
- /// The headers that will be added to request.
- ///
- ///
- /// The cancellation token.
- ///
- ///
- /// Thrown when the operation returned an invalid status code
- ///
- ///
- /// Thrown when unable to deserialize the response
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- Task>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
- ///
- /// Returns all the resources of a particular type belonging to a
- /// subscription.
- ///
- ///
- /// The headers that will be added to request.
- ///
- ///
- /// The cancellation token.
- ///
- ///
- /// Thrown when the operation returned an invalid status code
- ///
- ///
- /// Thrown when unable to deserialize the response
- ///
- ///
- /// Thrown when a required parameter is null
- ///
- Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
- ///
/// Lists the account keys for the specified Cognitive Services
/// account.
///
@@ -197,10 +143,7 @@ public partial interface ICognitiveServicesAccountsOperations
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified
- /// resource group. Congitive Services account names must be between 3
- /// and 24 characters in length and use numbers and lower-case letters
- /// only.
+ /// The name of Cognitive Services account.
///
///
/// The headers that will be added to request.
@@ -226,10 +169,7 @@ public partial interface ICognitiveServicesAccountsOperations
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified
- /// resource group. Cognitive Services account names must be between 3
- /// and 24 characters in length and use numbers and lower-case letters
- /// only.
+ /// The name of Cognitive Services account.
///
///
/// key name to generate (Key1|Key2). Possible values include: 'Key1',
@@ -250,7 +190,7 @@ public partial interface ICognitiveServicesAccountsOperations
///
/// Thrown when a required parameter is null
///
- Task> RegenerateKeyWithHttpMessagesAsync(string resourceGroupName, string accountName, KeyName? keyName = default(KeyName?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ Task> RegenerateKeyWithHttpMessagesAsync(string resourceGroupName, string accountName, KeyName keyName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
/// List available SKUs for the requested Cognitive Services account
///
@@ -258,10 +198,7 @@ public partial interface ICognitiveServicesAccountsOperations
/// The name of the resource group within the user's subscription.
///
///
- /// The name of the cognitive services account within the specified
- /// resource group. Cognitive Services account names must be between 3
- /// and 24 characters in length and use numbers and lower-case letters
- /// only.
+ /// The name of Cognitive Services account.
///
///
/// The headers that will be added to request.
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/ICognitiveServicesManagementClient.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/ICognitiveServicesManagementClient.cs
index 4d19983f2c59..e1aca8a5a585 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/ICognitiveServicesManagementClient.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/ICognitiveServicesManagementClient.cs
@@ -28,12 +28,12 @@ public partial interface ICognitiveServicesManagementClient : System.IDisposable
///
/// Gets or sets json serialization settings.
///
- Newtonsoft.Json.JsonSerializerSettings SerializationSettings { get; }
+ JsonSerializerSettings SerializationSettings { get; }
///
/// Gets or sets json deserialization settings.
///
- Newtonsoft.Json.JsonSerializerSettings DeserializationSettings { get; }
+ JsonSerializerSettings DeserializationSettings { get; }
///
/// Credentials needed for the client to connect to Azure.
@@ -47,10 +47,15 @@ public partial interface ICognitiveServicesManagementClient : System.IDisposable
///
/// Version of the API to be used with the client request. Current
- /// version is 2016-02-01-preview
+ /// version is 2017-04-18
///
string ApiVersion { get; }
+ ///
+ /// Resource location.
+ ///
+ string Location { get; set; }
+
///
/// Gets or sets the preferred language for the response.
///
@@ -74,6 +79,21 @@ public partial interface ICognitiveServicesManagementClient : System.IDisposable
///
ICognitiveServicesAccountsOperations CognitiveServicesAccounts { get; }
+ ///
+ /// Gets the IAccountsOperations.
+ ///
+ IAccountsOperations Accounts { get; }
+
+ ///
+ /// Gets the IOperations.
+ ///
+ IOperations Operations { get; }
+
+ ///
+ /// Gets the ICheckSkuAvailabilityOperations.
+ ///
+ ICheckSkuAvailabilityOperations CheckSkuAvailability { get; }
+
}
}
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/IOperations.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/IOperations.cs
new file mode 100644
index 000000000000..270d36af4f1c
--- /dev/null
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/IOperations.cs
@@ -0,0 +1,69 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.Azure.Management.CognitiveServices
+{
+ using Azure;
+ using Management;
+ using Rest;
+ using Rest.Azure;
+ using Models;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// Operations operations.
+ ///
+ public partial interface IOperations
+ {
+ ///
+ /// Lists all the available Cognitive Services account operations.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ ///
+ /// Lists all the available Cognitive Services account operations.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ }
+}
+
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CheckSkuAvailabilityParameter.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CheckSkuAvailabilityParameter.cs
new file mode 100644
index 000000000000..ba1edc06f979
--- /dev/null
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CheckSkuAvailabilityParameter.cs
@@ -0,0 +1,97 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.Azure.Management.CognitiveServices.Models
+{
+ using Azure;
+ using Management;
+ using CognitiveServices;
+ using Rest;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Check SKU availability parameter.
+ ///
+ public partial class CheckSkuAvailabilityParameter
+ {
+ ///
+ /// Initializes a new instance of the CheckSkuAvailabilityParameter
+ /// class.
+ ///
+ public CheckSkuAvailabilityParameter() { }
+
+ ///
+ /// Initializes a new instance of the CheckSkuAvailabilityParameter
+ /// class.
+ ///
+ /// The SKU of the resource.
+ /// The Kind of the resource. Possible values
+ /// include: 'Academic', 'Bing.Autosuggest', 'Bing.Search',
+ /// 'Bing.Speech', 'Bing.SpellCheck', 'ComputerVision',
+ /// 'ContentModerator', 'CustomSpeech', 'Emotion', 'Face', 'LUIS',
+ /// 'Recommendations', 'SpeakerRecognition', 'Speech',
+ /// 'SpeechTranslation', 'TextAnalytics', 'TextTranslation',
+ /// 'WebLM'
+ /// The Type of the resource.
+ public CheckSkuAvailabilityParameter(IList skus, string kind, string type)
+ {
+ Skus = skus;
+ Kind = kind;
+ Type = type;
+ }
+
+ ///
+ /// Gets or sets the SKU of the resource.
+ ///
+ [JsonProperty(PropertyName = "skus")]
+ public IList Skus { get; set; }
+
+ ///
+ /// Gets or sets the Kind of the resource. Possible values include:
+ /// 'Academic', 'Bing.Autosuggest', 'Bing.Search', 'Bing.Speech',
+ /// 'Bing.SpellCheck', 'ComputerVision', 'ContentModerator',
+ /// 'CustomSpeech', 'Emotion', 'Face', 'LUIS', 'Recommendations',
+ /// 'SpeakerRecognition', 'Speech', 'SpeechTranslation',
+ /// 'TextAnalytics', 'TextTranslation', 'WebLM'
+ ///
+ [JsonProperty(PropertyName = "kind")]
+ public string Kind { get; set; }
+
+ ///
+ /// Gets or sets the Type of the resource.
+ ///
+ [JsonProperty(PropertyName = "type")]
+ public string Type { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (Skus == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "Skus");
+ }
+ if (Kind == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "Kind");
+ }
+ if (Type == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "Type");
+ }
+ }
+ }
+}
+
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CheckSkuAvailabilityResult.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CheckSkuAvailabilityResult.cs
new file mode 100644
index 000000000000..daf5d4b0bfc7
--- /dev/null
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CheckSkuAvailabilityResult.cs
@@ -0,0 +1,100 @@
+// 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 1.0.0.0
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.Azure.Management.CognitiveServices.Models
+{
+ using Azure;
+ using Management;
+ using CognitiveServices;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Check SKU availability result.
+ ///
+ public partial class CheckSkuAvailabilityResult
+ {
+ ///
+ /// Initializes a new instance of the CheckSkuAvailabilityResult class.
+ ///
+ public CheckSkuAvailabilityResult() { }
+
+ ///
+ /// Initializes a new instance of the CheckSkuAvailabilityResult class.
+ ///
+ /// The Kind of the resource. Possible values
+ /// include: 'Academic', 'Bing.Autosuggest', 'Bing.Search',
+ /// 'Bing.Speech', 'Bing.SpellCheck', 'ComputerVision',
+ /// 'ContentModerator', 'CustomSpeech', 'Emotion', 'Face', 'LUIS',
+ /// 'Recommendations', 'SpeakerRecognition', 'Speech',
+ /// 'SpeechTranslation', 'TextAnalytics', 'TextTranslation',
+ /// 'WebLM'
+ /// The Type of the resource.
+ /// The SKU of Cognitive Services account.
+ /// Possible values include: 'F0', 'P0', 'P1', 'P2', 'S0', 'S1', 'S2',
+ /// 'S3', 'S4', 'S5', 'S6'
+ /// Indicates the given SKU is available or
+ /// not.
+ /// Reason why the SKU is not available.
+ /// Additional error message.
+ public CheckSkuAvailabilityResult(string kind = default(string), string type = default(string), string skuName = default(string), bool? skuAvailable = default(bool?), string reason = default(string), string message = default(string))
+ {
+ Kind = kind;
+ Type = type;
+ SkuName = skuName;
+ SkuAvailable = skuAvailable;
+ Reason = reason;
+ Message = message;
+ }
+
+ ///
+ /// Gets or sets the Kind of the resource. Possible values include:
+ /// 'Academic', 'Bing.Autosuggest', 'Bing.Search', 'Bing.Speech',
+ /// 'Bing.SpellCheck', 'ComputerVision', 'ContentModerator',
+ /// 'CustomSpeech', 'Emotion', 'Face', 'LUIS', 'Recommendations',
+ /// 'SpeakerRecognition', 'Speech', 'SpeechTranslation',
+ /// 'TextAnalytics', 'TextTranslation', 'WebLM'
+ ///
+ [JsonProperty(PropertyName = "kind")]
+ public string Kind { get; set; }
+
+ ///
+ /// Gets or sets the Type of the resource.
+ ///
+ [JsonProperty(PropertyName = "type")]
+ public string Type { get; set; }
+
+ ///
+ /// Gets or sets the SKU of Cognitive Services account. Possible values
+ /// include: 'F0', 'P0', 'P1', 'P2', 'S0', 'S1', 'S2', 'S3', 'S4',
+ /// 'S5', 'S6'
+ ///
+ [JsonProperty(PropertyName = "skuName")]
+ public string SkuName { get; set; }
+
+ ///
+ /// Gets or sets indicates the given SKU is available or not.
+ ///
+ [JsonProperty(PropertyName = "skuAvailable")]
+ public bool? SkuAvailable { get; set; }
+
+ ///
+ /// Gets or sets reason why the SKU is not available.
+ ///
+ [JsonProperty(PropertyName = "reason")]
+ public string Reason { get; set; }
+
+ ///
+ /// Gets or sets additional error message.
+ ///
+ [JsonProperty(PropertyName = "message")]
+ public string Message { get; set; }
+
+ }
+}
+
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CheckSkuAvailabilityResultList.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CheckSkuAvailabilityResultList.cs
new file mode 100644
index 000000000000..89c9b5da7a4a
--- /dev/null
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CheckSkuAvailabilityResultList.cs
@@ -0,0 +1,48 @@
+// 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 1.0.0.0
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.Azure.Management.CognitiveServices.Models
+{
+ using Azure;
+ using Management;
+ using CognitiveServices;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Check SKU availability result list.
+ ///
+ public partial class CheckSkuAvailabilityResultList
+ {
+ ///
+ /// Initializes a new instance of the CheckSkuAvailabilityResultList
+ /// class.
+ ///
+ public CheckSkuAvailabilityResultList() { }
+
+ ///
+ /// Initializes a new instance of the CheckSkuAvailabilityResultList
+ /// class.
+ ///
+ /// Check SKU availability result list.
+ public CheckSkuAvailabilityResultList(IList value = default(IList))
+ {
+ Value = value;
+ }
+
+ ///
+ /// Gets or sets check SKU availability result list.
+ ///
+ [JsonProperty(PropertyName = "value")]
+ public IList Value { get; set; }
+
+ }
+}
+
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CognitiveServicesAccount.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CognitiveServicesAccount.cs
index 5e48a426afe6..99acf4d5c245 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CognitiveServicesAccount.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CognitiveServicesAccount.cs
@@ -43,7 +43,9 @@ public CognitiveServicesAccount() { }
/// services account at the time the operation was called. Possible
/// values include: 'Creating', 'ResolvingDNS', 'Succeeded',
/// 'Failed'
- /// Endpoint of the created account
+ /// Endpoint of the created account.
+ /// The internal identifier.
+ /// The SKU of Cognitive Services account.
/// Gets or sets a list of key value pairs that
/// describe the resource. These tags can be used in viewing and
/// grouping this resource (across resource groups). A maximum of 15
@@ -51,7 +53,7 @@ public CognitiveServicesAccount() { }
/// greater than 128 characters and value no greater than 256
/// characters.
/// Resource type
- public CognitiveServicesAccount(string etag = default(string), string id = default(string), string kind = default(string), string location = default(string), string name = default(string), ProvisioningState? provisioningState = default(ProvisioningState?), string endpoint = default(string), Sku sku = default(Sku), IDictionary tags = default(IDictionary), string type = default(string))
+ public CognitiveServicesAccount(string etag = default(string), string id = default(string), string kind = default(string), string location = default(string), string name = default(string), ProvisioningState? provisioningState = default(ProvisioningState?), string endpoint = default(string), string internalId = default(string), Sku sku = default(Sku), IDictionary tags = default(IDictionary), string type = default(string))
{
Etag = etag;
Id = id;
@@ -60,6 +62,7 @@ public CognitiveServicesAccount() { }
Name = name;
ProvisioningState = provisioningState;
Endpoint = endpoint;
+ InternalId = internalId;
Sku = sku;
Tags = tags;
Type = type;
@@ -104,12 +107,19 @@ public CognitiveServicesAccount() { }
public ProvisioningState? ProvisioningState { get; protected set; }
///
- /// Gets or sets endpoint of the created account
+ /// Gets or sets endpoint of the created account.
///
[JsonProperty(PropertyName = "properties.endpoint")]
public string Endpoint { get; set; }
///
+ /// Gets or sets the internal identifier.
+ ///
+ [JsonProperty(PropertyName = "properties.internalId")]
+ public string InternalId { get; set; }
+
+ ///
+ /// Gets or sets the SKU of Cognitive Services account.
///
[JsonProperty(PropertyName = "sku")]
public Sku Sku { get; set; }
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CognitiveServicesAccountCreateParameters.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CognitiveServicesAccountCreateParameters.cs
index c44c692c0e7d..f4b2cb5a2c45 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CognitiveServicesAccountCreateParameters.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CognitiveServicesAccountCreateParameters.cs
@@ -32,11 +32,13 @@ public CognitiveServicesAccountCreateParameters() { }
/// Initializes a new instance of the
/// CognitiveServicesAccountCreateParameters class.
///
- /// Required. Indicates the type of cognitive
- /// service account. Possible values include: 'Academic',
- /// 'Bing.Autosuggest', 'Bing.Search', 'Bing.Speech',
- /// 'Bing.SpellCheck', 'ComputerVision', 'ContentModerator', 'Emotion',
- /// 'Face', 'LUIS', 'Recommendations', 'SpeakerRecognition', 'Speech',
+ /// Required. Gets or sets the SKU of the
+ /// resource.
+ /// Required. Gets or sets the Kind of the resource.
+ /// Possible values include: 'Academic', 'Bing.Autosuggest',
+ /// 'Bing.Search', 'Bing.Speech', 'Bing.SpellCheck', 'ComputerVision',
+ /// 'ContentModerator', 'CustomSpeech', 'Emotion', 'Face', 'LUIS',
+ /// 'Recommendations', 'SpeakerRecognition', 'Speech',
/// 'SpeechTranslation', 'TextAnalytics', 'TextTranslation',
/// 'WebLM'
/// Required. Gets or sets the location of the
@@ -45,8 +47,8 @@ public CognitiveServicesAccountCreateParameters() { }
/// region of a resource cannot be changed once it is created, but if
/// an identical geo region is specified on update the request will
/// succeed.
- /// Must exist in the request. Must not be
- /// null.
+ /// Must exist in the request. Must be an
+ /// empty object. Must not be null.
/// Gets or sets a list of key value pairs that
/// describe the resource. These tags can be used in viewing and
/// grouping this resource (across resource groups). A maximum of 15
@@ -63,17 +65,18 @@ public CognitiveServicesAccountCreateParameters() { }
}
///
+ /// Gets or sets required. Gets or sets the SKU of the resource.
///
[JsonProperty(PropertyName = "sku")]
public Sku Sku { get; set; }
///
- /// Gets or sets required. Indicates the type of cognitive service
- /// account. Possible values include: 'Academic', 'Bing.Autosuggest',
+ /// Gets or sets required. Gets or sets the Kind of the resource.
+ /// Possible values include: 'Academic', 'Bing.Autosuggest',
/// 'Bing.Search', 'Bing.Speech', 'Bing.SpellCheck', 'ComputerVision',
- /// 'ContentModerator', 'Emotion', 'Face', 'LUIS', 'Recommendations',
- /// 'SpeakerRecognition', 'Speech', 'SpeechTranslation',
- /// 'TextAnalytics', 'TextTranslation', 'WebLM'
+ /// 'ContentModerator', 'CustomSpeech', 'Emotion', 'Face', 'LUIS',
+ /// 'Recommendations', 'SpeakerRecognition', 'Speech',
+ /// 'SpeechTranslation', 'TextAnalytics', 'TextTranslation', 'WebLM'
///
[JsonProperty(PropertyName = "kind")]
public string Kind { get; set; }
@@ -99,7 +102,8 @@ public CognitiveServicesAccountCreateParameters() { }
public IDictionary Tags { get; set; }
///
- /// Gets or sets must exist in the request. Must not be null.
+ /// Gets or sets must exist in the request. Must be an empty object.
+ /// Must not be null.
///
[JsonProperty(PropertyName = "properties")]
public object Properties { get; set; }
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CognitiveServicesAccountUpdateParameters.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CognitiveServicesAccountUpdateParameters.cs
index 58325151eb35..afd511482761 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CognitiveServicesAccountUpdateParameters.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CognitiveServicesAccountUpdateParameters.cs
@@ -31,6 +31,7 @@ public CognitiveServicesAccountUpdateParameters() { }
/// Initializes a new instance of the
/// CognitiveServicesAccountUpdateParameters class.
///
+ /// Gets or sets the SKU of the resource.
/// Gets or sets a list of key value pairs that
/// describe the resource. These tags can be used in viewing and
/// grouping this resource (across resource groups). A maximum of 15
@@ -44,6 +45,7 @@ public CognitiveServicesAccountUpdateParameters() { }
}
///
+ /// Gets or sets the SKU of the resource.
///
[JsonProperty(PropertyName = "sku")]
public Sku Sku { get; set; }
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CognitiveServicesResourceAndSku.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CognitiveServicesResourceAndSku.cs
index b8e6ebe0a3a7..67762976c1f7 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CognitiveServicesResourceAndSku.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/CognitiveServicesResourceAndSku.cs
@@ -14,6 +14,9 @@ namespace Microsoft.Azure.Management.CognitiveServices.Models
using Newtonsoft.Json;
using System.Linq;
+ ///
+ /// Cognitive Services resource type and SKU.
+ ///
public partial class CognitiveServicesResourceAndSku
{
///
@@ -27,6 +30,7 @@ public CognitiveServicesResourceAndSku() { }
/// class.
///
/// Resource Namespace and Type
+ /// The SKU of Cognitive Services account.
public CognitiveServicesResourceAndSku(string resourceType = default(string), Sku sku = default(Sku))
{
ResourceType = resourceType;
@@ -40,6 +44,7 @@ public CognitiveServicesResourceAndSku() { }
public string ResourceType { get; set; }
///
+ /// Gets or sets the SKU of Cognitive Services account.
///
[JsonProperty(PropertyName = "sku")]
public Sku Sku { get; set; }
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/Error.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/Error.cs
index 998e4248502d..98cbcc849bda 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/Error.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/Error.cs
@@ -14,6 +14,9 @@ namespace Microsoft.Azure.Management.CognitiveServices.Models
using Newtonsoft.Json;
using System.Linq;
+ ///
+ /// Cognitive Services error object.
+ ///
public partial class Error
{
///
@@ -24,12 +27,14 @@ public Error() { }
///
/// Initializes a new instance of the Error class.
///
+ /// The error body.
public Error(ErrorBody errorProperty = default(ErrorBody))
{
ErrorProperty = errorProperty;
}
///
+ /// Gets or sets the error body.
///
[JsonProperty(PropertyName = "error")]
public ErrorBody ErrorProperty { get; set; }
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/ErrorBody.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/ErrorBody.cs
index 23f286b3bef3..38d7dc794e65 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/ErrorBody.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/ErrorBody.cs
@@ -15,6 +15,9 @@ namespace Microsoft.Azure.Management.CognitiveServices.Models
using Newtonsoft.Json;
using System.Linq;
+ ///
+ /// Cognitive Services error body.
+ ///
public partial class ErrorBody
{
///
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/KeyName.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/KeyName.cs
index 0c47f98fcc26..4fc9d255cac6 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/KeyName.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/KeyName.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Management.CognitiveServices.Models
///
/// Defines values for KeyName.
///
- [JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
+ [JsonConverter(typeof(StringEnumConverter))]
public enum KeyName
{
[EnumMember(Value = "Key1")]
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/Kind.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/Kind.cs
index e5c58313bf84..6e32b78bfc8c 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/Kind.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/Kind.cs
@@ -24,6 +24,7 @@ public static class Kind
public const string BingSpellCheck = "Bing.SpellCheck";
public const string ComputerVision = "ComputerVision";
public const string ContentModerator = "ContentModerator";
+ public const string CustomSpeech = "CustomSpeech";
public const string Emotion = "Emotion";
public const string Face = "Face";
public const string LUIS = "LUIS";
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/OperationDisplayInfo.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/OperationDisplayInfo.cs
new file mode 100644
index 000000000000..2f8d2f565105
--- /dev/null
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/OperationDisplayInfo.cs
@@ -0,0 +1,72 @@
+// 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 1.0.0.0
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.Azure.Management.CognitiveServices.Models
+{
+ using Azure;
+ using Management;
+ using CognitiveServices;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// The operation supported by Cognitive Services.
+ ///
+ public partial class OperationDisplayInfo
+ {
+ ///
+ /// Initializes a new instance of the OperationDisplayInfo class.
+ ///
+ public OperationDisplayInfo() { }
+
+ ///
+ /// Initializes a new instance of the OperationDisplayInfo class.
+ ///
+ /// The description of the operation.
+ /// The action that users can perform, based on
+ /// their permission level.
+ /// Service provider: Microsoft Cognitive
+ /// Services.
+ /// Resource on which the operation is
+ /// performed.
+ public OperationDisplayInfo(string description = default(string), string operation = default(string), string provider = default(string), string resource = default(string))
+ {
+ Description = description;
+ Operation = operation;
+ Provider = provider;
+ Resource = resource;
+ }
+
+ ///
+ /// Gets or sets the description of the operation.
+ ///
+ [JsonProperty(PropertyName = "description")]
+ public string Description { get; set; }
+
+ ///
+ /// Gets or sets the action that users can perform, based on their
+ /// permission level.
+ ///
+ [JsonProperty(PropertyName = "operation")]
+ public string Operation { get; set; }
+
+ ///
+ /// Gets or sets service provider: Microsoft Cognitive Services.
+ ///
+ [JsonProperty(PropertyName = "provider")]
+ public string Provider { get; set; }
+
+ ///
+ /// Gets or sets resource on which the operation is performed.
+ ///
+ [JsonProperty(PropertyName = "resource")]
+ public string Resource { get; set; }
+
+ }
+}
+
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/OperationEntity.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/OperationEntity.cs
new file mode 100644
index 000000000000..4383e20bece4
--- /dev/null
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/OperationEntity.cs
@@ -0,0 +1,70 @@
+// 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 1.0.0.0
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.Azure.Management.CognitiveServices.Models
+{
+ using Azure;
+ using Management;
+ using CognitiveServices;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// The operation supported by Cognitive Services.
+ ///
+ public partial class OperationEntity
+ {
+ ///
+ /// Initializes a new instance of the OperationEntity class.
+ ///
+ public OperationEntity() { }
+
+ ///
+ /// Initializes a new instance of the OperationEntity class.
+ ///
+ /// Operation name:
+ /// {provider}/{resource}/{operation}.
+ /// The operation supported by Cognitive
+ /// Services.
+ /// The origin of the operation.
+ /// Additional properties.
+ public OperationEntity(string name = default(string), OperationDisplayInfo display = default(OperationDisplayInfo), string origin = default(string), object properties = default(object))
+ {
+ Name = name;
+ Display = display;
+ Origin = origin;
+ Properties = properties;
+ }
+
+ ///
+ /// Gets or sets operation name: {provider}/{resource}/{operation}.
+ ///
+ [JsonProperty(PropertyName = "name")]
+ public string Name { get; set; }
+
+ ///
+ /// Gets or sets the operation supported by Cognitive Services.
+ ///
+ [JsonProperty(PropertyName = "display")]
+ public OperationDisplayInfo Display { get; set; }
+
+ ///
+ /// Gets or sets the origin of the operation.
+ ///
+ [JsonProperty(PropertyName = "origin")]
+ public string Origin { get; set; }
+
+ ///
+ /// Gets or sets additional properties.
+ ///
+ [JsonProperty(PropertyName = "properties")]
+ public object Properties { get; set; }
+
+ }
+}
+
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/Page.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/Page.cs
index 7c423ec0cbac..8f62b014046a 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/Page.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/Page.cs
@@ -27,7 +27,7 @@ public class Page : IPage
///
/// Gets the link to the next page.
///
- [JsonProperty("")]
+ [JsonProperty("nextLink")]
public string NextPageLink { get; private set; }
[JsonProperty("value")]
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/ProvisioningState.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/ProvisioningState.cs
index e69265b0e832..8be620d98e64 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/ProvisioningState.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/ProvisioningState.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Management.CognitiveServices.Models
///
/// Defines values for ProvisioningState.
///
- [JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
+ [JsonConverter(typeof(StringEnumConverter))]
public enum ProvisioningState
{
[EnumMember(Value = "Creating")]
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/RegenerateKeyParameters.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/RegenerateKeyParameters.cs
index 8c483a6de4c0..a706183d51d0 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/RegenerateKeyParameters.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/RegenerateKeyParameters.cs
@@ -29,7 +29,7 @@ public RegenerateKeyParameters() { }
///
/// key name to generate (Key1|Key2). Possible
/// values include: 'Key1', 'Key2'
- public RegenerateKeyParameters(KeyName? keyName = default(KeyName?))
+ public RegenerateKeyParameters(KeyName keyName)
{
KeyName = keyName;
}
@@ -39,8 +39,17 @@ public RegenerateKeyParameters() { }
/// include: 'Key1', 'Key2'
///
[JsonProperty(PropertyName = "keyName")]
- public KeyName? KeyName { get; set; }
+ public KeyName KeyName { get; set; }
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ }
}
}
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/SkuTier.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/SkuTier.cs
index f541182eacef..6d78dde68db8 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/SkuTier.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Models/SkuTier.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Management.CognitiveServices.Models
///
/// Defines values for SkuTier.
///
- [JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
+ [JsonConverter(typeof(StringEnumConverter))]
public enum SkuTier
{
[EnumMember(Value = "Free")]
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Operations.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Operations.cs
new file mode 100644
index 000000000000..2233d65c2001
--- /dev/null
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/Operations.cs
@@ -0,0 +1,401 @@
+// 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 1.0.0.0
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.Azure.Management.CognitiveServices
+{
+ using Azure;
+ using Management;
+ using Rest;
+ using Rest.Azure;
+ using Models;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Net;
+ using System.Net.Http;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// Operations operations.
+ ///
+ internal partial class Operations : IServiceOperations, IOperations
+ {
+ ///
+ /// Initializes a new instance of the Operations class.
+ ///
+ ///
+ /// Reference to the service client.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ internal Operations(CognitiveServicesManagementClient client)
+ {
+ if (client == null)
+ {
+ throw new System.ArgumentNullException("client");
+ }
+ Client = client;
+ }
+
+ ///
+ /// Gets a reference to the CognitiveServicesManagementClient
+ ///
+ public CognitiveServicesManagementClient Client { get; private set; }
+
+ ///
+ /// Lists all the available Cognitive Services account operations.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "providers/Microsoft.CognitiveServices/operations").ToString();
+ List _queryParameters = new List();
+ if (Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new System.Net.Http.HttpRequestMessage();
+ System.Net.Http.HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new System.Net.Http.HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse>();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ ///
+ /// Lists all the available Cognitive Services account operations.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (nextPageLink == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("nextPageLink", nextPageLink);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters);
+ }
+ // Construct URL
+ string _url = "{nextLink}";
+ _url = _url.Replace("{nextLink}", nextPageLink);
+ List _queryParameters = new List();
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new System.Net.Http.HttpRequestMessage();
+ System.Net.Http.HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new System.Net.Http.HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse>();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ }
+}
+
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/OperationsExtensions.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/OperationsExtensions.cs
new file mode 100644
index 000000000000..ed1d6c3758f2
--- /dev/null
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Generated/OperationsExtensions.cs
@@ -0,0 +1,88 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.Azure.Management.CognitiveServices
+{
+ using Azure;
+ using Management;
+ using Rest;
+ using Rest.Azure;
+ using Models;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// Extension methods for Operations.
+ ///
+ public static partial class OperationsExtensions
+ {
+ ///
+ /// Lists all the available Cognitive Services account operations.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ public static IPage List(this IOperations operations)
+ {
+ return operations.ListAsync().GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Lists all the available Cognitive Services account operations.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task> ListAsync(this IOperations operations, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// Lists all the available Cognitive Services account operations.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ public static IPage ListNext(this IOperations operations, string nextPageLink)
+ {
+ return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Lists all the available Cognitive Services account operations.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task> ListNextAsync(this IOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ }
+}
+
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Microsoft.Azure.Management.CognitiveServices.csproj b/src/SDKs/CognitiveServices/Management.CognitiveServices/Microsoft.Azure.Management.CognitiveServices.csproj
index 077a5db44626..021a01bead54 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Microsoft.Azure.Management.CognitiveServices.csproj
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Microsoft.Azure.Management.CognitiveServices.csproj
@@ -1,132 +1,13 @@
+ Microsoft.Azure.Management.CognitiveServices
Microsoft Azure Management Cognitive Services Library
- 0.3.0-preview
- Microsoft.Azure.Management.CognitiveServices
-
- Microsoft.Azure.Management.CognitiveServices
Microsoft Azure Cognitive Services management;Cognitive Services;Cognitive Services management;REST HTTP client;windowsazureofficial;netcore451511
- http://go.microsoft.com/fwlink/?LinkID=288890
- https://github.com/Azure/azure-sdk-for-net
- https://raw.githubusercontent.com/Microsoft/dotnet/master/LICENSE
- true
-
- $(PackageTargetFallback);dnxcore50
- 1.6.1
- false
- false
- false
- false
- false
- false
- false
- false
- false
net452;netstandard1.4
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/Properties/AssemblyInfo.cs b/src/SDKs/CognitiveServices/Management.CognitiveServices/Properties/AssemblyInfo.cs
index fa61605e921e..04c50ca9365e 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/Properties/AssemblyInfo.cs
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/Properties/AssemblyInfo.cs
@@ -7,8 +7,8 @@
[assembly: AssemblyTitle("Microsoft Azure Cognitive Services Management Library")]
[assembly: AssemblyDescription("Provides Microsoft Azure Cognitive Services management functions for managing Microsoft Azure Cognitive Services accounts.")]
-[assembly: AssemblyVersion("0.3.0.0")]
-[assembly: AssemblyFileVersion("0.3.0.0")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
diff --git a/src/SDKs/CognitiveServices/Management.CognitiveServices/generate.cmd b/src/SDKs/CognitiveServices/Management.CognitiveServices/generate.cmd
index 7ed9ff2f71e0..e4b0d27cc17e 100644
--- a/src/SDKs/CognitiveServices/Management.CognitiveServices/generate.cmd
+++ b/src/SDKs/CognitiveServices/Management.CognitiveServices/generate.cmd
@@ -3,9 +3,9 @@
:: Copyright (C) Microsoft Corporation. All Rights Reserved.
::
@echo off
-set autoRestVersion=1.0.0-Nightly20170101
+set autoRestVersion=1.0.0-Nightly20170212
if "%1" == "" (
- set specFile="https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-cognitiveservices/2016-02-01-preview/swagger/cognitiveservices.json"
+ set specFile="https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-cognitiveservices/2017-04-18/swagger/cognitiveservices.json"
) else (
set specFile="%1"
)