From 0011bbcec0895c9e730d518364580562dae4fbd9 Mon Sep 17 00:00:00 2001 From: Yang Yuan Date: Wed, 27 May 2020 18:12:23 -0700 Subject: [PATCH 1/2] Support modifying PublicNetworkAccess --- .../CognitiveServicesAccountTests.cs | 7 + .../CognitiveServicesAccountTests.ps1 | 67 + .../TestPublicNetworkAccess.json | 2301 +++++++++++++++++ .../CognitiveServices/ChangeLog.md | 3 + .../NewAzureCognitiveServicesAccount.cs | 11 + .../SetAzureCognitiveServicesAccount.cs | 12 + .../help/New-AzCognitiveServicesAccount.md | 23 +- .../help/Set-AzCognitiveServicesAccount.md | 24 +- 8 files changed, 2440 insertions(+), 8 deletions(-) create mode 100644 src/CognitiveServices/CognitiveServices.Test/SessionRecords/CognitiveServices.Test.ScenarioTests.CognitiveServicesAccountTests/TestPublicNetworkAccess.json diff --git a/src/CognitiveServices/CognitiveServices.Test/ScenarioTests/CognitiveServicesAccountTests.cs b/src/CognitiveServices/CognitiveServices.Test/ScenarioTests/CognitiveServicesAccountTests.cs index 79a793a5d2c8..36230d19c906 100644 --- a/src/CognitiveServices/CognitiveServices.Test/ScenarioTests/CognitiveServicesAccountTests.cs +++ b/src/CognitiveServices/CognitiveServices.Test/ScenarioTests/CognitiveServicesAccountTests.cs @@ -204,5 +204,12 @@ public void TestPrivateEndpoint() { TestController.NewInstance.RunPsTest(traceInterceptor, "Test-PrivateEndpoint"); } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestPublicNetworkAccess() + { + TestController.NewInstance.RunPsTest(traceInterceptor, "Test-PublicNetworkAccess"); + } } } diff --git a/src/CognitiveServices/CognitiveServices.Test/ScenarioTests/CognitiveServicesAccountTests.ps1 b/src/CognitiveServices/CognitiveServices.Test/ScenarioTests/CognitiveServicesAccountTests.ps1 index 1692aa0b0581..87cf12e75140 100644 --- a/src/CognitiveServices/CognitiveServices.Test/ScenarioTests/CognitiveServicesAccountTests.ps1 +++ b/src/CognitiveServices/CognitiveServices.Test/ScenarioTests/CognitiveServicesAccountTests.ps1 @@ -1161,4 +1161,71 @@ function Test-PrivateEndpoint # Cleanup Clean-ResourceGroup $rgname } +} + +<# +.SYNOPSIS +Test PublicNetworkAccess +#> +function Test-PublicNetworkAccess +{ + # Setup + $rgname = Get-CognitiveServicesManagementTestResourceName; + # Test + $accountname = 'csa' + $rgname; + $skuname = 'S1'; + $accounttype = 'TextAnalytics'; + $loc = "Central US EUAP"; + + + try + { + New-AzResourceGroup -Name $rgname -Location $loc; + $createdAccount = New-AzCognitiveServicesAccount -ResourceGroupName $rgname -Name $accountname -Type $accounttype -SkuName $skuname -Location $loc -CustomSubdomainName $accountname -Force; + Assert-NotNull $createdAccount; + Assert-AreEqual $createdAccount.PublicNetworkAccess "Enabled" + + $updatedAccount = Set-AzCognitiveServicesAccount -ResourceGroupName $rgname -Name $accountname -PublicNetworkAccess "Disabled" + Assert-NotNull $updatedAccount; + Assert-AreEqual $updatedAccount.PublicNetworkAccess "Disabled" + + $updatedAccount = Set-AzCognitiveServicesAccount -ResourceGroupName $rgname -Name $accountname -PublicNetworkAccess "Enabled" + Assert-NotNull $updatedAccount; + Assert-AreEqual $updatedAccount.PublicNetworkAccess "Enabled" + + $updatedAccount = Set-AzCognitiveServicesAccount -ResourceGroupName $rgname -Name $accountname -PublicNetworkAccess "Enabled" + Assert-NotNull $updatedAccount; + Assert-AreEqual $updatedAccount.PublicNetworkAccess "Enabled" + } + finally + { + # Cleanup + Clean-ResourceGroup $rgname + } + + try + { + New-AzResourceGroup -Name $rgname -Location $loc; + $createdAccount = New-AzCognitiveServicesAccount -ResourceGroupName $rgname -Name $accountname -Type $accounttype -SkuName $skuname -Location $loc -CustomSubdomainName $accountname -PublicNetworkAccess "Enabled" -Force; + Assert-NotNull $createdAccount; + Assert-AreEqual $createdAccount.PublicNetworkAccess "Enabled" + } + finally + { + # Cleanup + Clean-ResourceGroup $rgname + } + + try + { + New-AzResourceGroup -Name $rgname -Location $loc; + $createdAccount = New-AzCognitiveServicesAccount -ResourceGroupName $rgname -Name $accountname -Type $accounttype -SkuName $skuname -Location $loc -CustomSubdomainName $accountname -PublicNetworkAccess "Disabled" -Force; + Assert-NotNull $createdAccount; + Assert-AreEqual $createdAccount.PublicNetworkAccess "Disabled" + } + finally + { + # Cleanup + Clean-ResourceGroup $rgname + } } \ No newline at end of file diff --git a/src/CognitiveServices/CognitiveServices.Test/SessionRecords/CognitiveServices.Test.ScenarioTests.CognitiveServicesAccountTests/TestPublicNetworkAccess.json b/src/CognitiveServices/CognitiveServices.Test/SessionRecords/CognitiveServices.Test.ScenarioTests.CognitiveServicesAccountTests/TestPublicNetworkAccess.json new file mode 100644 index 000000000000..083261b3c5dc --- /dev/null +++ b/src/CognitiveServices/CognitiveServices.Test/SessionRecords/CognitiveServices.Test.ScenarioTests.CognitiveServicesAccountTests/TestPublicNetworkAccess.json @@ -0,0 +1,2301 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/pstestrg8669?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3BzdGVzdHJnODY2OT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"Central US EUAP\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "408c93dd-afc2-45ca-8ee8-e8ec80d1bdd3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "37" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "599190f4-9906-45a6-aeef-99706c759713" + ], + "x-ms-correlation-request-id": [ + "599190f4-9906-45a6-aeef-99706c759713" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005606Z:599190f4-9906-45a6-aeef-99706c759713" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:56:06 GMT" + ], + "Content-Length": [ + "184" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669\",\r\n \"name\": \"pstestrg8669\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/pstestrg8669?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3BzdGVzdHJnODY2OT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"Central US EUAP\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "44e7915f-0afc-4c72-a6fc-67d80187c385" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "37" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "6a9ae4fc-6150-49b0-87e8-bf2eab35592e" + ], + "x-ms-correlation-request-id": [ + "6a9ae4fc-6150-49b0-87e8-bf2eab35592e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005747Z:6a9ae4fc-6150-49b0-87e8-bf2eab35592e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:57:46 GMT" + ], + "Content-Length": [ + "184" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669\",\r\n \"name\": \"pstestrg8669\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/pstestrg8669?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3BzdGVzdHJnODY2OT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"Central US EUAP\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1b52077d-38c6-4deb-94c8-4e69a6c9d235" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "37" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "9a7cb37c-0f75-44f7-ad6c-7097cecfc7aa" + ], + "x-ms-correlation-request-id": [ + "9a7cb37c-0f75-44f7-ad6c-7097cecfc7aa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005938Z:9a7cb37c-0f75-44f7-ad6c-7097cecfc7aa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:59:37 GMT" + ], + "Content-Length": [ + "184" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669\",\r\n \"name\": \"pstestrg8669\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669?api-version=2017-04-18", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnODY2OS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL2NzYXBzdGVzdHJnODY2OT9hcGktdmVyc2lvbj0yMDE3LTA0LTE4", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"kind\": \"TextAnalytics\",\r\n \"location\": \"Central US EUAP\",\r\n \"properties\": {\r\n \"customSubDomainName\": \"csapstestrg8669\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d9a55ab1-b54f-46e3-b49f-fd6a115c038a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/7.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "172" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"08000d4d-0000-3300-0000-5ecf0c2a0000\"" + ], + "x-ms-request-id": [ + "e53ca767-fbe3-40ab-8953-4704f4cc0338" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "31f535eb-209b-40e4-bd83-10bc92d2173a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005610Z:31f535eb-209b-40e4-bd83-10bc92d2173a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:56:10 GMT" + ], + "Content-Length": [ + "654" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669\",\r\n \"name\": \"csapstestrg8669\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"etag\": \"\\\"08000d4d-0000-3300-0000-5ecf0c2a0000\\\"\",\r\n \"location\": \"Central US EUAP\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"properties\": {\r\n \"endpoint\": \"https://csapstestrg8669.cognitiveservices.azure.com/\",\r\n \"internalId\": \"f28a918a7cb54b959e1273ef012f623e\",\r\n \"dateCreated\": \"2020-05-28T00:56:09.1497417Z\",\r\n \"customSubDomainName\": \"csapstestrg8669\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669?api-version=2017-04-18", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnODY2OS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL2NzYXBzdGVzdHJnODY2OT9hcGktdmVyc2lvbj0yMDE3LTA0LTE4", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"kind\": \"TextAnalytics\",\r\n \"location\": \"Central US EUAP\",\r\n \"properties\": {\r\n \"customSubDomainName\": \"csapstestrg8669\",\r\n \"publicNetworkAccess\": \"Enabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1bedf28a-a5ae-439c-b3f5-8f25b362d0e6" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/7.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "211" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"0800734d-0000-3300-0000-5ecf0c8d0000\"" + ], + "x-ms-request-id": [ + "8b9990b7-e990-4198-bd9f-981be070de1e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "a714d054-7d5e-40c1-a60f-ce5d244ca75d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005749Z:a714d054-7d5e-40c1-a60f-ce5d244ca75d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:57:49 GMT" + ], + "Content-Length": [ + "654" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669\",\r\n \"name\": \"csapstestrg8669\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"etag\": \"\\\"0800734d-0000-3300-0000-5ecf0c8d0000\\\"\",\r\n \"location\": \"Central US EUAP\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"properties\": {\r\n \"endpoint\": \"https://csapstestrg8669.cognitiveservices.azure.com/\",\r\n \"internalId\": \"8ba5f7103780481f98ad5661c9462fc9\",\r\n \"dateCreated\": \"2020-05-28T00:57:48.6634818Z\",\r\n \"customSubDomainName\": \"csapstestrg8669\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669?api-version=2017-04-18", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnODY2OS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL2NzYXBzdGVzdHJnODY2OT9hcGktdmVyc2lvbj0yMDE3LTA0LTE4", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"kind\": \"TextAnalytics\",\r\n \"location\": \"Central US EUAP\",\r\n \"properties\": {\r\n \"customSubDomainName\": \"csapstestrg8669\",\r\n \"publicNetworkAccess\": \"Disabled\"\r\n },\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1bfaf1cb-aed7-4744-b21d-6179a59a1272" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/7.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "212" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"08007b4e-0000-3300-0000-5ecf0cfd0000\"" + ], + "x-ms-request-id": [ + "a56f42ce-9064-4204-8b8a-2dff9827231a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "9d58ca6b-d46e-49eb-ab8d-5a2a0022de46" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005941Z:9d58ca6b-d46e-49eb-ab8d-5a2a0022de46" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:59:41 GMT" + ], + "Content-Length": [ + "655" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669\",\r\n \"name\": \"csapstestrg8669\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"etag\": \"\\\"08007b4e-0000-3300-0000-5ecf0cfd0000\\\"\",\r\n \"location\": \"Central US EUAP\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"properties\": {\r\n \"endpoint\": \"https://csapstestrg8669.cognitiveservices.azure.com/\",\r\n \"internalId\": \"4ec80dc6b13248c6a136ed856012e1ae\",\r\n \"dateCreated\": \"2020-05-28T00:59:40.2330207Z\",\r\n \"customSubDomainName\": \"csapstestrg8669\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Disabled\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669?api-version=2017-04-18", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnODY2OS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL2NzYXBzdGVzdHJnODY2OT9hcGktdmVyc2lvbj0yMDE3LTA0LTE4", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "dbc2a9ae-1591-43b2-a7e2-75004dac0c21" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/7.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"08000d4d-0000-3300-0000-5ecf0c2a0000\"" + ], + "x-ms-request-id": [ + "b1a608e4-3b9c-4336-a2fd-e9ec8e5d283d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "8a9f6fdb-7122-4f47-9543-75e9c6c2e22a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005610Z:8a9f6fdb-7122-4f47-9543-75e9c6c2e22a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:56:10 GMT" + ], + "Content-Length": [ + "654" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669\",\r\n \"name\": \"csapstestrg8669\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"etag\": \"\\\"08000d4d-0000-3300-0000-5ecf0c2a0000\\\"\",\r\n \"location\": \"Central US EUAP\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"properties\": {\r\n \"endpoint\": \"https://csapstestrg8669.cognitiveservices.azure.com/\",\r\n \"internalId\": \"f28a918a7cb54b959e1273ef012f623e\",\r\n \"dateCreated\": \"2020-05-28T00:56:09.1497417Z\",\r\n \"customSubDomainName\": \"csapstestrg8669\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669?api-version=2017-04-18", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnODY2OS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL2NzYXBzdGVzdHJnODY2OT9hcGktdmVyc2lvbj0yMDE3LTA0LTE4", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f304da1a-0520-4e03-80eb-0003f2dc7b87" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/7.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"0800734d-0000-3300-0000-5ecf0c8d0000\"" + ], + "x-ms-request-id": [ + "92d8f689-dea3-4e3e-8f58-4d186074157b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "9c755a6d-b7f8-435f-824b-c00531e0af93" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005750Z:9c755a6d-b7f8-435f-824b-c00531e0af93" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:57:49 GMT" + ], + "Content-Length": [ + "654" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669\",\r\n \"name\": \"csapstestrg8669\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"etag\": \"\\\"0800734d-0000-3300-0000-5ecf0c8d0000\\\"\",\r\n \"location\": \"Central US EUAP\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"properties\": {\r\n \"endpoint\": \"https://csapstestrg8669.cognitiveservices.azure.com/\",\r\n \"internalId\": \"8ba5f7103780481f98ad5661c9462fc9\",\r\n \"dateCreated\": \"2020-05-28T00:57:48.6634818Z\",\r\n \"customSubDomainName\": \"csapstestrg8669\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669?api-version=2017-04-18", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnODY2OS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL2NzYXBzdGVzdHJnODY2OT9hcGktdmVyc2lvbj0yMDE3LTA0LTE4", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "da41bb2d-2603-433f-939b-2b3ccf0cde75" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/7.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"08007b4e-0000-3300-0000-5ecf0cfd0000\"" + ], + "x-ms-request-id": [ + "2ba9d859-328e-4682-96d1-ba2ebbf9b6cc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "890b5822-965f-4cd6-964c-bcbf1279a14e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005941Z:890b5822-965f-4cd6-964c-bcbf1279a14e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:59:41 GMT" + ], + "Content-Length": [ + "655" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669\",\r\n \"name\": \"csapstestrg8669\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"etag\": \"\\\"08007b4e-0000-3300-0000-5ecf0cfd0000\\\"\",\r\n \"location\": \"Central US EUAP\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"properties\": {\r\n \"endpoint\": \"https://csapstestrg8669.cognitiveservices.azure.com/\",\r\n \"internalId\": \"4ec80dc6b13248c6a136ed856012e1ae\",\r\n \"dateCreated\": \"2020-05-28T00:59:40.2330207Z\",\r\n \"customSubDomainName\": \"csapstestrg8669\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Disabled\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669?api-version=2017-04-18", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnODY2OS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL2NzYXBzdGVzdHJnODY2OT9hcGktdmVyc2lvbj0yMDE3LTA0LTE4", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"publicNetworkAccess\": \"Disabled\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9f2cc52a-c030-4bb0-ba93-d6bee446aa59" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/7.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "67" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"08000f4d-0000-3300-0000-5ecf0c2b0000\"" + ], + "x-ms-request-id": [ + "b0233ec5-8e44-4437-a7fb-d799a2eef0d1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "98a11720-b01a-4201-8d2e-40944a91b9b1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005612Z:98a11720-b01a-4201-8d2e-40944a91b9b1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:56:11 GMT" + ], + "Content-Length": [ + "655" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669\",\r\n \"name\": \"csapstestrg8669\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"etag\": \"\\\"08000f4d-0000-3300-0000-5ecf0c2b0000\\\"\",\r\n \"location\": \"Central US EUAP\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"properties\": {\r\n \"endpoint\": \"https://csapstestrg8669.cognitiveservices.azure.com/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"f28a918a7cb54b959e1273ef012f623e\",\r\n \"dateCreated\": \"2020-05-28T00:56:09.1497417Z\",\r\n \"customSubDomainName\": \"csapstestrg8669\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Disabled\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669?api-version=2017-04-18", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnODY2OS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL2NzYXBzdGVzdHJnODY2OT9hcGktdmVyc2lvbj0yMDE3LTA0LTE4", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"publicNetworkAccess\": \"Enabled\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e5ff216d-779e-4558-8513-123ef2f9ca02" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/7.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "66" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"0800114d-0000-3300-0000-5ecf0c2c0000\"" + ], + "x-ms-request-id": [ + "212917fa-7daf-4492-8786-ea7feb8bc6a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "f0f0bbbf-bd95-4edf-936b-ee7676dbaa21" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005612Z:f0f0bbbf-bd95-4edf-936b-ee7676dbaa21" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:56:12 GMT" + ], + "Content-Length": [ + "654" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669\",\r\n \"name\": \"csapstestrg8669\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"etag\": \"\\\"0800114d-0000-3300-0000-5ecf0c2c0000\\\"\",\r\n \"location\": \"Central US EUAP\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"properties\": {\r\n \"endpoint\": \"https://csapstestrg8669.cognitiveservices.azure.com/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"f28a918a7cb54b959e1273ef012f623e\",\r\n \"dateCreated\": \"2020-05-28T00:56:09.1497417Z\",\r\n \"customSubDomainName\": \"csapstestrg8669\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669?api-version=2017-04-18", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlR3JvdXBzL3BzdGVzdHJnODY2OS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvZ25pdGl2ZVNlcnZpY2VzL2FjY291bnRzL2NzYXBzdGVzdHJnODY2OT9hcGktdmVyc2lvbj0yMDE3LTA0LTE4", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"publicNetworkAccess\": \"Enabled\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3ee3f9a4-c95b-4517-8be1-2066e328cb51" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.CognitiveServices.CognitiveServicesManagementClient/7.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "66" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"0800134d-0000-3300-0000-5ecf0c2d0000\"" + ], + "x-ms-request-id": [ + "974107c9-7ef2-420c-87b3-06b8b4f88b57" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "764bfd7c-31a3-4b60-82dd-36df1bde694c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005613Z:764bfd7c-31a3-4b60-82dd-36df1bde694c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:56:12 GMT" + ], + "Content-Length": [ + "654" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/pstestrg8669/providers/Microsoft.CognitiveServices/accounts/csapstestrg8669\",\r\n \"name\": \"csapstestrg8669\",\r\n \"type\": \"Microsoft.CognitiveServices/accounts\",\r\n \"etag\": \"\\\"0800134d-0000-3300-0000-5ecf0c2d0000\\\"\",\r\n \"location\": \"Central US EUAP\",\r\n \"sku\": {\r\n \"name\": \"S1\"\r\n },\r\n \"kind\": \"TextAnalytics\",\r\n \"properties\": {\r\n \"endpoint\": \"https://csapstestrg8669.cognitiveservices.azure.com/\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"internalId\": \"f28a918a7cb54b959e1273ef012f623e\",\r\n \"dateCreated\": \"2020-05-28T00:56:09.1497417Z\",\r\n \"customSubDomainName\": \"csapstestrg8669\",\r\n \"privateEndpointConnections\": [],\r\n \"publicNetworkAccess\": \"Enabled\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/pstestrg8669?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3BzdGVzdHJnODY2OT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "88b7949f-dab8-4ea1-92a2-38e8763929b5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "d5f6941d-80b4-4271-b39e-930c5989db41" + ], + "x-ms-correlation-request-id": [ + "d5f6941d-80b4-4271-b39e-930c5989db41" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005614Z:d5f6941d-80b4-4271-b39e-930c5989db41" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:56:14 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/pstestrg8669?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3BzdGVzdHJnODY2OT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8cb2dd66-524a-448e-9962-0550fe5b2703" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "a03d7571-d21a-4e03-b443-5875de6444e1" + ], + "x-ms-correlation-request-id": [ + "a03d7571-d21a-4e03-b443-5875de6444e1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005751Z:a03d7571-d21a-4e03-b443-5875de6444e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:57:50 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourcegroups/pstestrg8669?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL3Jlc291cmNlZ3JvdXBzL3BzdGVzdHJnODY2OT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "16f1d843-87e6-4c35-8cd6-1221ac8ba6e2" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-request-id": [ + "7c38707c-f465-460f-b79c-b7001db4ce93" + ], + "x-ms-correlation-request-id": [ + "7c38707c-f465-460f-b79c-b7001db4ce93" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005942Z:7c38707c-f465-460f-b79c-b7001db4ce93" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:59:41 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "5bc70b61-9e4a-4de2-bc16-969561dfe7a2" + ], + "x-ms-correlation-request-id": [ + "5bc70b61-9e4a-4de2-bc16-969561dfe7a2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005629Z:5bc70b61-9e4a-4de2-bc16-969561dfe7a2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:56:29 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "a2903e3a-3f42-4255-9238-ebbdf1a99e71" + ], + "x-ms-correlation-request-id": [ + "a2903e3a-3f42-4255-9238-ebbdf1a99e71" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005645Z:a2903e3a-3f42-4255-9238-ebbdf1a99e71" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:56:44 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "2ae29c78-ae3a-42ef-8bd5-e0c5765b8dca" + ], + "x-ms-correlation-request-id": [ + "2ae29c78-ae3a-42ef-8bd5-e0c5765b8dca" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005700Z:2ae29c78-ae3a-42ef-8bd5-e0c5765b8dca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:57:00 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "7cbba6d4-5407-4352-b46a-37abc3fc9612" + ], + "x-ms-correlation-request-id": [ + "7cbba6d4-5407-4352-b46a-37abc3fc9612" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005715Z:7cbba6d4-5407-4352-b46a-37abc3fc9612" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:57:15 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "0ac51d57-4d8a-445f-bf82-01902ce9bff3" + ], + "x-ms-correlation-request-id": [ + "0ac51d57-4d8a-445f-bf82-01902ce9bff3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005730Z:0ac51d57-4d8a-445f-bf82-01902ce9bff3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:57:30 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "5ed22928-322b-4d70-8150-7e784c1f949b" + ], + "x-ms-correlation-request-id": [ + "5ed22928-322b-4d70-8150-7e784c1f949b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005745Z:5ed22928-322b-4d70-8150-7e784c1f949b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:57:45 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "747227dc-77eb-4174-b381-d964462d04e1" + ], + "x-ms-correlation-request-id": [ + "747227dc-77eb-4174-b381-d964462d04e1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005745Z:747227dc-77eb-4174-b381-d964462d04e1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:57:45 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "4f789415-b8b1-4156-a04b-e2e2cd83e2a8" + ], + "x-ms-correlation-request-id": [ + "4f789415-b8b1-4156-a04b-e2e2cd83e2a8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005806Z:4f789415-b8b1-4156-a04b-e2e2cd83e2a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:58:06 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "c3f38c8f-8702-4c1e-a7d0-53afc4822951" + ], + "x-ms-correlation-request-id": [ + "c3f38c8f-8702-4c1e-a7d0-53afc4822951" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005821Z:c3f38c8f-8702-4c1e-a7d0-53afc4822951" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:58:20 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-request-id": [ + "d84cdff9-e103-4b61-b9b8-4f500de7aafc" + ], + "x-ms-correlation-request-id": [ + "d84cdff9-e103-4b61-b9b8-4f500de7aafc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005836Z:d84cdff9-e103-4b61-b9b8-4f500de7aafc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:58:35 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "112a93e1-491d-426b-8614-b9ea5265e1b9" + ], + "x-ms-correlation-request-id": [ + "112a93e1-491d-426b-8614-b9ea5265e1b9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005851Z:112a93e1-491d-426b-8614-b9ea5265e1b9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:58:51 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-request-id": [ + "8c63ceb0-b0c3-4df2-a459-716077f0f30e" + ], + "x-ms-correlation-request-id": [ + "8c63ceb0-b0c3-4df2-a459-716077f0f30e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005906Z:8c63ceb0-b0c3-4df2-a459-716077f0f30e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:59:05 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-request-id": [ + "0f11141d-f5e0-4e59-b66d-6f225638b095" + ], + "x-ms-correlation-request-id": [ + "0f11141d-f5e0-4e59-b66d-6f225638b095" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005921Z:0f11141d-f5e0-4e59-b66d-6f225638b095" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:59:21 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-request-id": [ + "cdce6b15-bfb6-4e64-9ebb-b7c42ed863b3" + ], + "x-ms-correlation-request-id": [ + "cdce6b15-bfb6-4e64-9ebb-b7c42ed863b3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005936Z:cdce6b15-bfb6-4e64-9ebb-b7c42ed863b3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:59:36 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-request-id": [ + "f44284ea-873e-40db-9f62-20e8c0e5db81" + ], + "x-ms-correlation-request-id": [ + "f44284ea-873e-40db-9f62-20e8c0e5db81" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005937Z:f44284ea-873e-40db-9f62-20e8c0e5db81" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:59:36 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-request-id": [ + "9637094d-d999-4f3c-bc35-b7e30787c95c" + ], + "x-ms-correlation-request-id": [ + "9637094d-d999-4f3c-bc35-b7e30787c95c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T005957Z:9637094d-d999-4f3c-bc35-b7e30787c95c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 00:59:57 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-request-id": [ + "ba8d3f5f-4587-4304-b444-4f7d092ad484" + ], + "x-ms-correlation-request-id": [ + "ba8d3f5f-4587-4304-b444-4f7d092ad484" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T010012Z:ba8d3f5f-4587-4304-b444-4f7d092ad484" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 01:00:11 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-request-id": [ + "0e9cbf20-5973-4e00-9ac2-554cfbba42c1" + ], + "x-ms-correlation-request-id": [ + "0e9cbf20-5973-4e00-9ac2-554cfbba42c1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T010028Z:0e9cbf20-5973-4e00-9ac2-554cfbba42c1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 01:00:27 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-request-id": [ + "d135d4ad-c899-4003-a60c-f3f1509a512b" + ], + "x-ms-correlation-request-id": [ + "d135d4ad-c899-4003-a60c-f3f1509a512b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T010043Z:d135d4ad-c899-4003-a60c-f3f1509a512b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 01:00:42 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-request-id": [ + "c6c22365-4665-4ba1-a207-ef45390540e7" + ], + "x-ms-correlation-request-id": [ + "c6c22365-4665-4ba1-a207-ef45390540e7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T010058Z:c6c22365-4665-4ba1-a207-ef45390540e7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 01:00:58 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-request-id": [ + "f553e758-1b1a-4fe7-9457-4b1da9d32f17" + ], + "x-ms-correlation-request-id": [ + "f553e758-1b1a-4fe7-9457-4b1da9d32f17" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T010113Z:f553e758-1b1a-4fe7-9457-4b1da9d32f17" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 01:01:13 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSRzg2NjktQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZjliOTZiMzYtMWY1ZS00MDIxLTg5NTktNTE1MjdlMjZlNmQzL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSemcyTmprdFEwVk9WRkpCVEZWVFJWVkJVQ0lzSW1wdllreHZZMkYwYVc5dUlqb2lZMlZ1ZEhKaGJIVnpaWFZoY0NKOT9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28207.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.14" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-request-id": [ + "333fffbd-572d-4d24-a87a-b5b4b3588a9d" + ], + "x-ms-correlation-request-id": [ + "333fffbd-572d-4d24-a87a-b5b4b3588a9d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20200528T010113Z:333fffbd-572d-4d24-a87a-b5b4b3588a9d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 May 2020 01:01:13 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-PublicNetworkAccess": [ + "pstestrg8669" + ] + }, + "Variables": { + "SubscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3" + } +} \ No newline at end of file diff --git a/src/CognitiveServices/CognitiveServices/ChangeLog.md b/src/CognitiveServices/CognitiveServices/ChangeLog.md index 777392712c1a..3f4481978f70 100644 --- a/src/CognitiveServices/CognitiveServices/ChangeLog.md +++ b/src/CognitiveServices/CognitiveServices/ChangeLog.md @@ -17,6 +17,9 @@ * Overview of change #1 - Additional information about change #1 --> +## Upcoming Release +* Support modifying PublicNetworkAccess. + ## Upcoming Release * Support PrivateEndpoint and PublicNetworkAccess control. diff --git a/src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/NewAzureCognitiveServicesAccount.cs b/src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/NewAzureCognitiveServicesAccount.cs index a27cd2122731..ec3d0f39b964 100644 --- a/src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/NewAzureCognitiveServicesAccount.cs +++ b/src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/NewAzureCognitiveServicesAccount.cs @@ -155,6 +155,12 @@ public string KeyVaultUri [AllowEmptyCollection] public PSNetworkRuleSet NetworkRuleSet { get; set; } + [Parameter( + Mandatory = false, + HelpMessage = "The network access type for Cognitive Services Account.")] + [ValidateNotNull] + public string PublicNetworkAccess { get; set; } + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] public SwitchParameter Force { get; set; } @@ -184,6 +190,11 @@ public override void ExecuteCmdlet() Properties = properties }; + if (!string.IsNullOrEmpty(PublicNetworkAccess)) + { + createParameters.Properties.PublicNetworkAccess = PublicNetworkAccess; + } + if (AssignIdentity.IsPresent) { createParameters.Identity = new Identity(IdentityType.SystemAssigned); diff --git a/src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/SetAzureCognitiveServicesAccount.cs b/src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/SetAzureCognitiveServicesAccount.cs index 1ecf572d85f6..c54fabdc8c95 100644 --- a/src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/SetAzureCognitiveServicesAccount.cs +++ b/src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/SetAzureCognitiveServicesAccount.cs @@ -139,6 +139,12 @@ public string KeyVaultUri [AllowEmptyCollection] public PSNetworkRuleSet NetworkRuleSet { get; set; } + [Parameter( + Mandatory = false, + HelpMessage = "The network access type for Cognitive Services Account.")] + [ValidateNotNull] + public string PublicNetworkAccess { get; set; } + [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] public SwitchParameter Force { get; set; } @@ -179,6 +185,12 @@ public override void ExecuteCmdlet() Properties = properties }; + if (!string.IsNullOrEmpty(PublicNetworkAccess)) + { + hasPropertiesChange = true; + updateParameters.Properties.PublicNetworkAccess = PublicNetworkAccess; + } + if (AssignIdentity.IsPresent) { hasPropertiesChange = true; diff --git a/src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccount.md b/src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccount.md index ff01dc0bf743..e38f5450ed8c 100644 --- a/src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccount.md +++ b/src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccount.md @@ -18,8 +18,8 @@ Creates a Cognitive Services account. New-AzCognitiveServicesAccount [-ResourceGroupName] [-Name] [-Type] [-SkuName] [-Location] [-Tag ] [-CustomSubdomainName ] [-AssignIdentity] [-StorageAccountId ] [-CognitiveServicesEncryption] - [-NetworkRuleSet ] [-Force] [-DefaultProfile ] [-WhatIf] [-Confirm] - [] + [-NetworkRuleSet ] [-PublicNetworkAccess ] [-Force] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### KeyVaultEncryption @@ -27,8 +27,8 @@ New-AzCognitiveServicesAccount [-ResourceGroupName] [-Name] [- New-AzCognitiveServicesAccount [-ResourceGroupName] [-Name] [-Type] [-SkuName] [-Location] [-Tag ] [-CustomSubdomainName ] [-AssignIdentity] [-StorageAccountId ] [-KeyVaultEncryption] -KeyName -KeyVersion - -KeyVaultUri [-NetworkRuleSet ] [-Force] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + -KeyVaultUri [-NetworkRuleSet ] [-PublicNetworkAccess ] [-Force] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -239,6 +239,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PublicNetworkAccess +The network access type for Cognitive Services Account. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName Specifies the name of the resource group to which to assign the account. The resource group must already exist. diff --git a/src/CognitiveServices/CognitiveServices/help/Set-AzCognitiveServicesAccount.md b/src/CognitiveServices/CognitiveServices/help/Set-AzCognitiveServicesAccount.md index d5afa5f4a0b1..53aacd673e85 100644 --- a/src/CognitiveServices/CognitiveServices/help/Set-AzCognitiveServicesAccount.md +++ b/src/CognitiveServices/CognitiveServices/help/Set-AzCognitiveServicesAccount.md @@ -17,8 +17,9 @@ Modifies an account. ``` Set-AzCognitiveServicesAccount [-ResourceGroupName] [-Name] [-SkuName ] [-Tag ] [-CustomSubdomainName ] [-AssignIdentity] [-IdentityType ] - [-StorageAccountId ] [-CognitiveServicesEncryption] [-NetworkRuleSet ] [-Force] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-StorageAccountId ] [-CognitiveServicesEncryption] [-NetworkRuleSet ] + [-PublicNetworkAccess ] [-Force] [-DefaultProfile ] [-WhatIf] [-Confirm] + [] ``` ### KeyVaultEncryption @@ -26,8 +27,8 @@ Set-AzCognitiveServicesAccount [-ResourceGroupName] [-Name] [- Set-AzCognitiveServicesAccount [-ResourceGroupName] [-Name] [-SkuName ] [-Tag ] [-CustomSubdomainName ] [-AssignIdentity] [-IdentityType ] [-StorageAccountId ] [-KeyVaultEncryption] -KeyName -KeyVersion - -KeyVaultUri [-NetworkRuleSet ] [-Force] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + -KeyVaultUri [-NetworkRuleSet ] [-PublicNetworkAccess ] [-Force] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -237,6 +238,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PublicNetworkAccess +The network access type for Cognitive Services Account. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName Specifies the name of the resource group the account is assigned to. From f012256404183056755376c2edef3e143a4bf52e Mon Sep 17 00:00:00 2001 From: Yang Yuan Date: Wed, 27 May 2020 20:09:43 -0700 Subject: [PATCH 2/2] Address comments --- .../NewAzureCognitiveServicesAccount.cs | 4 ++-- .../SetAzureCognitiveServicesAccount.cs | 4 ++-- .../CognitiveServices/help/New-AzCognitiveServicesAccount.md | 1 + .../CognitiveServices/help/Set-AzCognitiveServicesAccount.md | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/NewAzureCognitiveServicesAccount.cs b/src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/NewAzureCognitiveServicesAccount.cs index ec3d0f39b964..93d0f805d0e2 100644 --- a/src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/NewAzureCognitiveServicesAccount.cs +++ b/src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/NewAzureCognitiveServicesAccount.cs @@ -157,8 +157,8 @@ public string KeyVaultUri [Parameter( Mandatory = false, - HelpMessage = "The network access type for Cognitive Services Account.")] - [ValidateNotNull] + HelpMessage = "The network access type for Cognitive Services Account. Commonly `Enabled` or `Disabled`.")] + [ValidateSet("Enabled", "Disabled", IgnoreCase = true)] public string PublicNetworkAccess { get; set; } [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] diff --git a/src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/SetAzureCognitiveServicesAccount.cs b/src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/SetAzureCognitiveServicesAccount.cs index c54fabdc8c95..0c16456f50f1 100644 --- a/src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/SetAzureCognitiveServicesAccount.cs +++ b/src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/SetAzureCognitiveServicesAccount.cs @@ -141,8 +141,8 @@ public string KeyVaultUri [Parameter( Mandatory = false, - HelpMessage = "The network access type for Cognitive Services Account.")] - [ValidateNotNull] + HelpMessage = "The network access type for Cognitive Services Account. Commonly `Enabled` or `Disabled`.")] + [ValidateSet("Enabled", "Disabled", IgnoreCase = true)] public string PublicNetworkAccess { get; set; } [Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")] diff --git a/src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccount.md b/src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccount.md index e38f5450ed8c..1bec7de905a1 100644 --- a/src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccount.md +++ b/src/CognitiveServices/CognitiveServices/help/New-AzCognitiveServicesAccount.md @@ -246,6 +246,7 @@ The network access type for Cognitive Services Account. Type: System.String Parameter Sets: (All) Aliases: +Accepted values: Enabled, Disabled Required: False Position: Named diff --git a/src/CognitiveServices/CognitiveServices/help/Set-AzCognitiveServicesAccount.md b/src/CognitiveServices/CognitiveServices/help/Set-AzCognitiveServicesAccount.md index 53aacd673e85..daf512a2aa4f 100644 --- a/src/CognitiveServices/CognitiveServices/help/Set-AzCognitiveServicesAccount.md +++ b/src/CognitiveServices/CognitiveServices/help/Set-AzCognitiveServicesAccount.md @@ -245,6 +245,7 @@ The network access type for Cognitive Services Account. Type: System.String Parameter Sets: (All) Aliases: +Accepted values: Enabled, Disabled Required: False Position: Named