diff --git a/src/AppPlatform/test/Az.SpringCloud-TestResults.xml b/src/AppPlatform/test/Az.SpringCloud-TestResults.xml new file mode 100644 index 000000000000..5eb0648bd7fa --- /dev/null +++ b/src/AppPlatform/test/Az.SpringCloud-TestResults.xml @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/AppPlatform/test/Deploy-AzSpringCloudApp.Tests.ps1 b/src/AppPlatform/test/Deploy-AzSpringCloudApp.Tests.ps1 new file mode 100644 index 000000000000..7569ed5562cf --- /dev/null +++ b/src/AppPlatform/test/Deploy-AzSpringCloudApp.Tests.ps1 @@ -0,0 +1,22 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Deploy-AzSpringCloudApp.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Deploy-AzSpringCloudApp' { + It 'CreateExpanded' -Skip { + # Skip: Deploy need using API of data plan. Not support record model. + # Setting active development before deploy spring app. + Update-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -Name $env.appGateway -ActiveDeploymentName $env.deployTest + $deploy = Deploy-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -Name $env.appGateway -JarPath ./test/deployment-templates/source-code/gateway/target/gateway.jar + $deploy.ProvisioningState | Should -Be "Succeeded" + } +} diff --git a/src/AppPlatform/test/Get-AzSpringCloud.Recording.json b/src/AppPlatform/test/Get-AzSpringCloud.Recording.json new file mode 100644 index 000000000000..6885ebc9f1ad --- /dev/null +++ b/src/AppPlatform/test/Get-AzSpringCloud.Recording.json @@ -0,0 +1,212 @@ +{ + "Get-AzSpringCloud+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.AppPlatform/Spring?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/providers/Microsoft.AppPlatform/Spring?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "14fe0ad6-74f0-4c98-b0f0-58a6e28bed63" ], + "CommandName": [ "Az.SpringCloud.internal\\Get-AzSpringCloudService" ], + "FullCommandName": [ "Get-AzSpringCloudService_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "471a6369-abc1-4327-81df-fc1ae297f2f5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "14fe0ad6-74f0-4c98-b0f0-58a6e28bed63" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "471a6369-abc1-4327-81df-fc1ae297f2f5" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T090108Z:471a6369-abc1-4327-81df-fc1ae297f2f5" ], + "Date": [ "Mon, 10 Aug 2020 09:01:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1031" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"56c22d9c03944985959478bcae1d435d\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":null,\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo\",\"name\":\"spring-6v5cyo\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"9ef501b04ec6446884b6656df3805e95\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":null,\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-t01\",\"name\":\"spring-t01\"}]}" + } + }, + "Get-AzSpringCloud+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "76401813-a561-4a54-90a8-73b6c2be7694" ], + "CommandName": [ "Az.SpringCloud.internal\\Get-AzSpringCloudService" ], + "FullCommandName": [ "Get-AzSpringCloudService_List1" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "dfb52bd0-efb0-4c35-8fb1-74d23a48c11a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11998" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "76401813-a561-4a54-90a8-73b6c2be7694" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "dfb52bd0-efb0-4c35-8fb1-74d23a48c11a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T090109Z:dfb52bd0-efb0-4c35-8fb1-74d23a48c11a" ], + "Date": [ "Mon, 10 Aug 2020 09:01:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1031" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"56c22d9c03944985959478bcae1d435d\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":null,\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo\",\"name\":\"spring-6v5cyo\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"9ef501b04ec6446884b6656df3805e95\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":null,\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-t01\",\"name\":\"spring-t01\"}]}" + } + }, + "Get-AzSpringCloud+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "a23fc4a2-6568-4b44-ab26-145cb0ef0f4b" ], + "CommandName": [ "Az.SpringCloud.internal\\Get-AzSpringCloudService" ], + "FullCommandName": [ "Get-AzSpringCloudService_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "13467f58-23af-4586-8c81-780be0b6397f" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11997" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "a23fc4a2-6568-4b44-ab26-145cb0ef0f4b" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "13467f58-23af-4586-8c81-780be0b6397f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T090109Z:13467f58-23af-4586-8c81-780be0b6397f" ], + "Date": [ "Mon, 10 Aug 2020 09:01:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "512" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"56c22d9c03944985959478bcae1d435d\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":null,\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo\",\"name\":\"spring-6v5cyo\"}" + } + }, + "Get-AzSpringCloud+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "f9de1ead-ddb5-4f78-a4d2-817a33009dc1" ], + "CommandName": [ "Az.SpringCloud.internal\\Get-AzSpringCloudService" ], + "FullCommandName": [ "Get-AzSpringCloudService_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "f582a1cd-61ea-4a02-a6b6-292b16671f53" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11996" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "f9de1ead-ddb5-4f78-a4d2-817a33009dc1" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "f582a1cd-61ea-4a02-a6b6-292b16671f53" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T090110Z:f582a1cd-61ea-4a02-a6b6-292b16671f53" ], + "Date": [ "Mon, 10 Aug 2020 09:01:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "512" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"56c22d9c03944985959478bcae1d435d\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":null,\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo\",\"name\":\"spring-6v5cyo\"}" + } + }, + "Get-AzSpringCloud+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "249e66d6-6639-4963-af45-c96cb56eb19e" ], + "CommandName": [ "Az.SpringCloud.internal\\Get-AzSpringCloudService" ], + "FullCommandName": [ "Get-AzSpringCloudService_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "7e5e85b2-8c24-4c31-b440-595900883704" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11995" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "249e66d6-6639-4963-af45-c96cb56eb19e" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "7e5e85b2-8c24-4c31-b440-595900883704" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T090110Z:7e5e85b2-8c24-4c31-b440-595900883704" ], + "Date": [ "Mon, 10 Aug 2020 09:01:10 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "512" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"56c22d9c03944985959478bcae1d435d\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":null,\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo\",\"name\":\"spring-6v5cyo\"}" + } + } +} \ No newline at end of file diff --git a/src/AppPlatform/test/Get-AzSpringCloud.Tests.ps1 b/src/AppPlatform/test/Get-AzSpringCloud.Tests.ps1 new file mode 100644 index 000000000000..04b2bce6822f --- /dev/null +++ b/src/AppPlatform/test/Get-AzSpringCloud.Tests.ps1 @@ -0,0 +1,35 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzSpringCloud.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Get-AzSpringCloud' { + It 'List' { + $springList = Get-AzSpringCloud + $springList.Count | Should -BeGreaterOrEqual 1 + } + + It 'List1' { + $springList = Get-AzSpringCloud -ResourceGroupName $env.resourceGroup + $springList.Count | Should -BeGreaterOrEqual 1 + } + + It 'Get' { + $spring = Get-AzSpringCloud -ResourceGroupName $env.resourceGroup -Name $env.springName00 + $spring.Name | Should -Be $env.springName00 + } + + It 'GetViaIdentity' { + $spring = Get-AzSpringCloud -ResourceGroupName $env.resourceGroup -Name $env.springName00 + $springNew = Get-AzSpringCloud -InputObject $spring + $springNew.Name | Should -Be $env.springName00 + } +} diff --git a/src/AppPlatform/test/Get-AzSpringCloudApp.Recording.json b/src/AppPlatform/test/Get-AzSpringCloudApp.Recording.json new file mode 100644 index 000000000000..739e3fee0a20 --- /dev/null +++ b/src/AppPlatform/test/Get-AzSpringCloudApp.Recording.json @@ -0,0 +1,170 @@ +{ + "Get-AzSpringCloudApp+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "0abab600-01b1-4463-97b3-6a762ca0ac81" ], + "CommandName": [ "Get-AzSpringCloudApp" ], + "FullCommandName": [ "Get-AzSpringCloudApp_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "050ed288-b87b-42d8-9984-08e183000856" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "0abab600-01b1-4463-97b3-6a762ca0ac81" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "050ed288-b87b-42d8-9984-08e183000856" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T090423Z:050ed288-b87b-42d8-9984-08e183000856" ], + "Date": [ "Mon, 10 Aug 2020 09:04:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1624" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"fqdn\":\"spring-6v5cyo.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-10T08:31:59.637Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account\",\"name\":\"account\"},{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"fqdn\":\"spring-6v5cyo.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-10T08:34:43.626Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/auth\",\"name\":\"auth\"},{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"activeDeploymentName\":\"test\",\"fqdn\":\"spring-6v5cyo.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-10T08:28:42.95Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway\",\"name\":\"gateway\"}]}" + } + }, + "Get-AzSpringCloudApp+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "a09e72ad-3938-4094-9dc7-421386c1cf98" ], + "CommandName": [ "Get-AzSpringCloudApp" ], + "FullCommandName": [ "Get-AzSpringCloudApp_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "9df05e0e-fd15-45b3-9d37-763a350301ea" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11998" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "a09e72ad-3938-4094-9dc7-421386c1cf98" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "9df05e0e-fd15-45b3-9d37-763a350301ea" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T090424Z:9df05e0e-fd15-45b3-9d37-763a350301ea" ], + "Date": [ "Mon, 10 Aug 2020 09:04:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "558" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"activeDeploymentName\":\"test\",\"fqdn\":\"spring-6v5cyo.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-10T08:28:42.95Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway\",\"name\":\"gateway\"}" + } + }, + "Get-AzSpringCloudApp+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "07d6b5f5-db1c-4f61-83fe-a0fc8d46e62f" ], + "CommandName": [ "Get-AzSpringCloudApp" ], + "FullCommandName": [ "Get-AzSpringCloudApp_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "70c8fd5e-b4f8-4139-85f8-bf5fe53c88ed" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11997" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "07d6b5f5-db1c-4f61-83fe-a0fc8d46e62f" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "70c8fd5e-b4f8-4139-85f8-bf5fe53c88ed" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T090424Z:70c8fd5e-b4f8-4139-85f8-bf5fe53c88ed" ], + "Date": [ "Mon, 10 Aug 2020 09:04:24 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "558" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"activeDeploymentName\":\"test\",\"fqdn\":\"spring-6v5cyo.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-10T08:28:42.95Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway\",\"name\":\"gateway\"}" + } + }, + "Get-AzSpringCloudApp+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "9aacdbac-a779-46b0-90e2-0b18f6373f32" ], + "CommandName": [ "Get-AzSpringCloudApp" ], + "FullCommandName": [ "Get-AzSpringCloudApp_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "fff3e81a-1b40-485a-b793-5c5a6a33421e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11996" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "9aacdbac-a779-46b0-90e2-0b18f6373f32" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "fff3e81a-1b40-485a-b793-5c5a6a33421e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T090424Z:fff3e81a-1b40-485a-b793-5c5a6a33421e" ], + "Date": [ "Mon, 10 Aug 2020 09:04:24 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "558" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"activeDeploymentName\":\"test\",\"fqdn\":\"spring-6v5cyo.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-10T08:28:42.95Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway\",\"name\":\"gateway\"}" + } + } +} \ No newline at end of file diff --git a/src/AppPlatform/test/Get-AzSpringCloudApp.Tests.ps1 b/src/AppPlatform/test/Get-AzSpringCloudApp.Tests.ps1 new file mode 100644 index 000000000000..2e6372526f33 --- /dev/null +++ b/src/AppPlatform/test/Get-AzSpringCloudApp.Tests.ps1 @@ -0,0 +1,30 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzSpringCloudApp.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Get-AzSpringCloudApp' { + It 'List' { + $appList = Get-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 + $appList.Count | Should -Be 3 + } + + It 'Get' { + $app = Get-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -Name $env.appGateway + $app.Name | Should -Be $env.appGateway + } + + It 'GetViaIdentity' { + $app = Get-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -Name $env.appGateway + $appNew = Get-AzSpringCloudApp -InputObject $app + $appNew.Name | Should -Be $env.appGateway + } +} diff --git a/src/AppPlatform/test/Get-AzSpringCloudAppDeployment.Recording.json b/src/AppPlatform/test/Get-AzSpringCloudAppDeployment.Recording.json new file mode 100644 index 000000000000..ca11b5ca5dd5 --- /dev/null +++ b/src/AppPlatform/test/Get-AzSpringCloudAppDeployment.Recording.json @@ -0,0 +1,170 @@ +{ + "Get-AzSpringCloudAppDeployment+[NoContext]+List+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "9f8040e7-7fc2-4ab1-b9cf-dfed1c1f8c3c" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "507a8f2f-293c-4d63-bd12-c971af4c8323" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "9f8040e7-7fc2-4ab1-b9cf-dfed1c1f8c3c" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "507a8f2f-293c-4d63-bd12-c971af4c8323" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T090849Z:507a8f2f-293c-4d63-bd12-c971af4c8323" ], + "Date": [ "Mon, 10 Aug 2020 09:08:48 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1557" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"prod\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":false,\"instances\":[{\"name\":\"gateway-prod-7-5fd849b6f8-czfxg\",\"status\":\"Running\",\"discoveryStatus\":\"OUT_OF_SERVICE\",\"startTime\":\"2020-08-10T08:30:25Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/prod\",\"name\":\"prod\"},{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"resources/4ea5ee68fea05586106890ded5733820bb77d919cda27bc4b8139b7cd33b8889-2020081008-ae3396e9-98c3-46af-baff-3702e9511e0e\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":true,\"instances\":[{\"name\":\"gateway-test-7-5c75488598-5rnfl\",\"status\":\"Running\",\"discoveryStatus\":\"UP\",\"startTime\":\"2020-08-10T08:53:05Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test\",\"name\":\"test\"}]}" + } + }, + "Get-AzSpringCloudAppDeployment+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "476c3c3f-20f7-47bd-acef-1728d0a8eed2" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "7ee04363-5ef2-45a5-b67c-37d30370c430" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11998" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "476c3c3f-20f7-47bd-acef-1728d0a8eed2" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "7ee04363-5ef2-45a5-b67c-37d30370c430" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T090849Z:7ee04363-5ef2-45a5-b67c-37d30370c430" ], + "Date": [ "Mon, 10 Aug 2020 09:08:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "822" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"resources/4ea5ee68fea05586106890ded5733820bb77d919cda27bc4b8139b7cd33b8889-2020081008-ae3396e9-98c3-46af-baff-3702e9511e0e\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":true,\"instances\":[{\"name\":\"gateway-test-7-5c75488598-5rnfl\",\"status\":\"Running\",\"discoveryStatus\":\"UP\",\"startTime\":\"2020-08-10T08:53:05Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test\",\"name\":\"test\"}" + } + }, + "Get-AzSpringCloudAppDeployment+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "093a1561-2ce5-4683-a3d8-15d604a35947" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "8716162f-6785-438a-8ba1-b9fbeb761a4a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11997" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "093a1561-2ce5-4683-a3d8-15d604a35947" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "8716162f-6785-438a-8ba1-b9fbeb761a4a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T090850Z:8716162f-6785-438a-8ba1-b9fbeb761a4a" ], + "Date": [ "Mon, 10 Aug 2020 09:08:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "822" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"resources/4ea5ee68fea05586106890ded5733820bb77d919cda27bc4b8139b7cd33b8889-2020081008-ae3396e9-98c3-46af-baff-3702e9511e0e\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":true,\"instances\":[{\"name\":\"gateway-test-7-5c75488598-5rnfl\",\"status\":\"Running\",\"discoveryStatus\":\"UP\",\"startTime\":\"2020-08-10T08:53:05Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test\",\"name\":\"test\"}" + } + }, + "Get-AzSpringCloudAppDeployment+[NoContext]+GetViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "69604510-9f2b-4d1b-b5d3-79eb849f1855" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_GetViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "2852e007-ae09-4609-b12c-276c4393d81d" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11996" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "69604510-9f2b-4d1b-b5d3-79eb849f1855" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "2852e007-ae09-4609-b12c-276c4393d81d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T090850Z:2852e007-ae09-4609-b12c-276c4393d81d" ], + "Date": [ "Mon, 10 Aug 2020 09:08:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "822" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"resources/4ea5ee68fea05586106890ded5733820bb77d919cda27bc4b8139b7cd33b8889-2020081008-ae3396e9-98c3-46af-baff-3702e9511e0e\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":true,\"instances\":[{\"name\":\"gateway-test-7-5c75488598-5rnfl\",\"status\":\"Running\",\"discoveryStatus\":\"UP\",\"startTime\":\"2020-08-10T08:53:05Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test\",\"name\":\"test\"}" + } + } +} \ No newline at end of file diff --git a/src/AppPlatform/test/Get-AzSpringCloudAppDeployment.Tests.ps1 b/src/AppPlatform/test/Get-AzSpringCloudAppDeployment.Tests.ps1 new file mode 100644 index 000000000000..618966315304 --- /dev/null +++ b/src/AppPlatform/test/Get-AzSpringCloudAppDeployment.Tests.ps1 @@ -0,0 +1,30 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzSpringCloudAppDeployment.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Get-AzSpringCloudAppDeployment' { + It 'List' { + $deployList = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appGateway + $deployList.Count | Should -Be 2 + } + + It 'Get' { + $deploy = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appGateway -Name $env.deployTest + $deploy.Name | Should -Be $env.deployTest + } + + It 'GetViaIdentity' { + $deploy = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appGateway -Name $env.deployTest + $deployNew = Get-AzSpringCloudAppDeployment -InputObject $deploy + $deployNew.Name | Should -Be $env.deployTest + } +} diff --git a/src/AppPlatform/test/New-AzSpringCloud.Recording.json b/src/AppPlatform/test/New-AzSpringCloud.Recording.json new file mode 100644 index 000000000000..387a754081c8 --- /dev/null +++ b/src/AppPlatform/test/New-AzSpringCloud.Recording.json @@ -0,0 +1,376 @@ +{ + "New-AzSpringCloud+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b?api-version=2019-05-01-preview", + "Content": "{\n \"location\": \"eastus\"\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "26" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationResults/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c/Spring/spring-9ys40b?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1199" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "54b9043b-a1c2-4218-9dc4-ec14e5511864" ], + "x-ms-correlation-request-id": [ "54b9043b-a1c2-4218-9dc4-ec14e5511864" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T091053Z:54b9043b-a1c2-4218-9dc4-ec14e5511864" ], + "Date": [ "Mon, 10 Aug 2020 09:10:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "511" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"provisioningState\":\"Creating\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"6c156e95d4ce4914b6872edc68828604\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":null,\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b\",\"name\":\"spring-9ys40b\"}" + } + }, + "New-AzSpringCloud+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "4a4164ae-caaa-4ad5-8158-db79020aa47c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11940" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "4a4164ae-caaa-4ad5-8158-db79020aa47c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T091124Z:4a4164ae-caaa-4ad5-8158-db79020aa47c" ], + "Date": [ "Mon, 10 Aug 2020 09:11:23 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c\",\"name\":\"22971628-4b4c-41f6-9b6c-cfc1c5b7a01c\",\"status\":\"Running\",\"startTime\":\"2020-08-10T09:10:46.2032721Z\"}" + } + }, + "New-AzSpringCloud+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "187642bc-f741-4c2c-8f25-1048ac994342" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11939" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "187642bc-f741-4c2c-8f25-1048ac994342" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T091154Z:187642bc-f741-4c2c-8f25-1048ac994342" ], + "Date": [ "Mon, 10 Aug 2020 09:11:53 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c\",\"name\":\"22971628-4b4c-41f6-9b6c-cfc1c5b7a01c\",\"status\":\"Running\",\"startTime\":\"2020-08-10T09:10:46.2032721Z\"}" + } + }, + "New-AzSpringCloud+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c?api-version=2019-05-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "ac400b0d-4af1-44a3-99d3-68b6f9836ff3" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11938" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "ac400b0d-4af1-44a3-99d3-68b6f9836ff3" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T091225Z:ac400b0d-4af1-44a3-99d3-68b6f9836ff3" ], + "Date": [ "Mon, 10 Aug 2020 09:12:24 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c\",\"name\":\"22971628-4b4c-41f6-9b6c-cfc1c5b7a01c\",\"status\":\"Running\",\"startTime\":\"2020-08-10T09:10:46.2032721Z\"}" + } + }, + "New-AzSpringCloud+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c?api-version=2019-05-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4", "5" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "10bc84d6-5478-472a-a0f6-0627669c116d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11937" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "10bc84d6-5478-472a-a0f6-0627669c116d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T091255Z:10bc84d6-5478-472a-a0f6-0627669c116d" ], + "Date": [ "Mon, 10 Aug 2020 09:12:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c\",\"name\":\"22971628-4b4c-41f6-9b6c-cfc1c5b7a01c\",\"status\":\"Running\",\"startTime\":\"2020-08-10T09:10:46.2032721Z\"}" + } + }, + "New-AzSpringCloud+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c?api-version=2019-05-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4", "5", "6" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "23b193f2-f59c-4559-b00f-71486ac8eea6" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11936" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "23b193f2-f59c-4559-b00f-71486ac8eea6" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T091325Z:23b193f2-f59c-4559-b00f-71486ac8eea6" ], + "Date": [ "Mon, 10 Aug 2020 09:13:25 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c\",\"name\":\"22971628-4b4c-41f6-9b6c-cfc1c5b7a01c\",\"status\":\"Running\",\"startTime\":\"2020-08-10T09:10:46.2032721Z\"}" + } + }, + "New-AzSpringCloud+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c?api-version=2019-05-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4", "5", "6", "7" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "24120565-b69f-4f28-8945-1b03d77b6c6a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11935" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "24120565-b69f-4f28-8945-1b03d77b6c6a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T091356Z:24120565-b69f-4f28-8945-1b03d77b6c6a" ], + "Date": [ "Mon, 10 Aug 2020 09:13:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c\",\"name\":\"22971628-4b4c-41f6-9b6c-cfc1c5b7a01c\",\"status\":\"Running\",\"startTime\":\"2020-08-10T09:10:46.2032721Z\"}" + } + }, + "New-AzSpringCloud+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c?api-version=2019-05-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4", "5", "6", "7", "8" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "85b6cf1a-5620-4bd0-acf6-956cd830544c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11934" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "85b6cf1a-5620-4bd0-acf6-956cd830544c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T091426Z:85b6cf1a-5620-4bd0-acf6-956cd830544c" ], + "Date": [ "Mon, 10 Aug 2020 09:14:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "372" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-9ys40b/operationId/22971628-4b4c-41f6-9b6c-cfc1c5b7a01c\",\"name\":\"22971628-4b4c-41f6-9b6c-cfc1c5b7a01c\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-10T09:10:46.2032721Z\",\"endTime\":\"2020-08-10T09:13:57.4861794Z\"}" + } + }, + "New-AzSpringCloud+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b?api-version=2019-05-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4", "5", "6", "7", "8", "9" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7", "3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "21926762-e7d1-4c4c-9c49-8f76b9f8ecbd" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7, 3549d8e9-c717-43aa-88d1-2bf5b34a65f7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "21926762-e7d1-4c4c-9c49-8f76b9f8ecbd" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T091426Z:21926762-e7d1-4c4c-9c49-8f76b9f8ecbd" ], + "Date": [ "Mon, 10 Aug 2020 09:14:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "512" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"6c156e95d4ce4914b6872edc68828604\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":null,\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b\",\"name\":\"spring-9ys40b\"}" + } + } +} \ No newline at end of file diff --git a/src/AppPlatform/test/New-AzSpringCloud.Tests.ps1 b/src/AppPlatform/test/New-AzSpringCloud.Tests.ps1 new file mode 100644 index 000000000000..8d6f7bf33ee7 --- /dev/null +++ b/src/AppPlatform/test/New-AzSpringCloud.Tests.ps1 @@ -0,0 +1,19 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzSpringCloud.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'New-AzSpringCloud' { + It 'CreateExpanded' { + $spring = New-AzSpringCloud -ResourceGroupName $env.resourceGroup -Name $env.springName01 -Location $env.location + $spring.ProvisioningState | Should -Be "Succeeded" + } +} diff --git a/src/AppPlatform/test/New-AzSpringCloudApp.Recording.json b/src/AppPlatform/test/New-AzSpringCloudApp.Recording.json new file mode 100644 index 000000000000..e318cef2b10a --- /dev/null +++ b/src/AppPlatform/test/New-AzSpringCloudApp.Recording.json @@ -0,0 +1,113 @@ +{ + "New-AzSpringCloudApp+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway?api-version=2019-05-01-preview", + "Content": "{\n \"properties\": {\n \"persistentDisk\": {\n \"mountPath\": \"/mypersistentdisk\",\n \"sizeInGB\": 2\n },\n \"temporaryDisk\": {\n \"mountPath\": \"/mytemporarydisk\",\n \"sizeInGB\": 2\n }\n },\n \"location\": \"eastus\"\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "228" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "58243186-97bb-4f4e-8e46-0d7e98b7e4d1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1199" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "c3a9de23-1162-4439-b38e-50208ce0091f" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "58243186-97bb-4f4e-8e46-0d7e98b7e4d1" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T092013Z:58243186-97bb-4f4e-8e46-0d7e98b7e4d1" ], + "Date": [ "Mon, 10 Aug 2020 09:20:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "529" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"fqdn\":\"spring-9ys40b.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-10T09:20:12.797Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway\",\"name\":\"gateway\"}" + } + }, + "New-AzSpringCloudApp+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/account?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/account?api-version=2019-05-01-preview", + "Content": "{\n \"properties\": {\n \"persistentDisk\": {\n \"mountPath\": \"/mypersistentdisk\",\n \"sizeInGB\": 2\n },\n \"temporaryDisk\": {\n \"mountPath\": \"/mytemporarydisk\",\n \"sizeInGB\": 2\n }\n },\n \"location\": \"eastus\"\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "228" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "99bb0871-7919-4e38-a9b6-a62dff3313f0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1198" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "152628c4-30f4-494c-8003-86b715e18f2e" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "99bb0871-7919-4e38-a9b6-a62dff3313f0" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T092014Z:99bb0871-7919-4e38-a9b6-a62dff3313f0" ], + "Date": [ "Mon, 10 Aug 2020 09:20:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "529" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"fqdn\":\"spring-9ys40b.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-10T09:20:14.527Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/account\",\"name\":\"account\"}" + } + }, + "New-AzSpringCloudApp+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth?api-version=2019-05-01-preview", + "Content": "{\n \"properties\": {\n \"persistentDisk\": {\n \"mountPath\": \"/mypersistentdisk\",\n \"sizeInGB\": 2\n },\n \"temporaryDisk\": {\n \"mountPath\": \"/mytemporarydisk\",\n \"sizeInGB\": 2\n }\n },\n \"location\": \"eastus\"\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "228" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "8aa8690f-91b4-4aa6-9a76-e60c5830cead" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1197" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "f567c116-7e13-42df-b9dd-7765a2f52bab" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "8aa8690f-91b4-4aa6-9a76-e60c5830cead" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T092015Z:8aa8690f-91b4-4aa6-9a76-e60c5830cead" ], + "Date": [ "Mon, 10 Aug 2020 09:20:15 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "521" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"fqdn\":\"spring-9ys40b.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-10T09:20:15.2Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth\",\"name\":\"auth\"}" + } + } +} \ No newline at end of file diff --git a/src/AppPlatform/test/New-AzSpringCloudApp.Tests.ps1 b/src/AppPlatform/test/New-AzSpringCloudApp.Tests.ps1 new file mode 100644 index 000000000000..bcba057a8ff9 --- /dev/null +++ b/src/AppPlatform/test/New-AzSpringCloudApp.Tests.ps1 @@ -0,0 +1,28 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzSpringCloudApp.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'New-AzSpringCloudApp' { + It 'CreateExpanded' { + $app = New-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName01 -Name $env.appGateway -Location $env.location ` + -TemporaryDiskMountPath "/mytemporarydisk" -TemporaryDiskSizeInGb 2 -PersistentDiskSizeInGb 2 -PersistentDiskMountPath "/mypersistentdisk" + $app.ProvisioningState | Should -Be "Succeeded" + + $app = New-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName01 -Name $env.appAccount -Location $env.location ` + -TemporaryDiskMountPath "/mytemporarydisk" -TemporaryDiskSizeInGb 2 -PersistentDiskSizeInGb 2 -PersistentDiskMountPath "/mypersistentdisk" + $app.ProvisioningState | Should -Be "Succeeded" + + $app = New-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName01 -Name $env.appAuth -Location $env.location ` + -TemporaryDiskMountPath "/mytemporarydisk" -TemporaryDiskSizeInGb 2 -PersistentDiskSizeInGb 2 -PersistentDiskMountPath "/mypersistentdisk" + $app.ProvisioningState | Should -Be "Succeeded" + } +} diff --git a/src/AppPlatform/test/New-AzSpringCloudAppDeployment.Recording.json b/src/AppPlatform/test/New-AzSpringCloudAppDeployment.Recording.json new file mode 100644 index 000000000000..52b6e3c08e49 --- /dev/null +++ b/src/AppPlatform/test/New-AzSpringCloudAppDeployment.Recording.json @@ -0,0 +1,372 @@ +{ + "New-AzSpringCloudAppDeployment+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway/deployments/test?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway/deployments/test?api-version=2019-05-01-preview", + "Content": "{\n \"properties\": {\n \"deploymentSettings\": {\n \"cpu\": 1,\n \"environmentVariables\": {\n \"env\": \"test\"\n },\n \"instanceCount\": 1,\n \"memoryInGB\": 3,\n \"runtimeVersion\": \"Java_8\"\n },\n \"source\": {\n \"type\": \"Jar\",\n \"relativePath\": \"\\u003cdefault\\u003e\"\n }\n }\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "308" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationResults/0698d2d4-a0f6-48c2-8aee-584830c7c707/Spring/test?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1199" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "047f44b7-961d-42e2-87a8-7f3577014372" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/0698d2d4-a0f6-48c2-8aee-584830c7c707?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "8fd501f5-2ca3-4f63-a23b-6f79496f19f9" ], + "x-ms-correlation-request-id": [ "8fd501f5-2ca3-4f63-a23b-6f79496f19f9" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T092215Z:8fd501f5-2ca3-4f63-a23b-6f79496f19f9" ], + "Date": [ "Mon, 10 Aug 2020 09:22:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "592" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Creating\",\"status\":\"Running\",\"active\":false,\"instances\":null},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway/deployments/test\",\"name\":\"test\"}" + } + }, + "New-AzSpringCloudAppDeployment+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/0698d2d4-a0f6-48c2-8aee-584830c7c707?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/0698d2d4-a0f6-48c2-8aee-584830c7c707?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "047f44b7-961d-42e2-87a8-7f3577014372", "047f44b7-961d-42e2-87a8-7f3577014372" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "New-AzSpringCloudAppDeployment_CreateExpanded", "New-AzSpringCloudAppDeployment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "1344120c-b574-4f7c-9663-9ef183acfa0d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "047f44b7-961d-42e2-87a8-7f3577014372, 047f44b7-961d-42e2-87a8-7f3577014372" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "1344120c-b574-4f7c-9663-9ef183acfa0d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T092245Z:1344120c-b574-4f7c-9663-9ef183acfa0d" ], + "Date": [ "Mon, 10 Aug 2020 09:22:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "320" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/0698d2d4-a0f6-48c2-8aee-584830c7c707\",\"name\":\"0698d2d4-a0f6-48c2-8aee-584830c7c707\",\"status\":\"Running\",\"startTime\":\"2020-08-10T09:22:15.1786627Z\"}" + } + }, + "New-AzSpringCloudAppDeployment+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/0698d2d4-a0f6-48c2-8aee-584830c7c707?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/0698d2d4-a0f6-48c2-8aee-584830c7c707?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "047f44b7-961d-42e2-87a8-7f3577014372", "047f44b7-961d-42e2-87a8-7f3577014372", "047f44b7-961d-42e2-87a8-7f3577014372" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "New-AzSpringCloudAppDeployment_CreateExpanded", "New-AzSpringCloudAppDeployment_CreateExpanded", "New-AzSpringCloudAppDeployment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "f136b0b4-32a4-4ece-b076-b9589fc73a04" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "047f44b7-961d-42e2-87a8-7f3577014372, 047f44b7-961d-42e2-87a8-7f3577014372, 047f44b7-961d-42e2-87a8-7f3577014372" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "f136b0b4-32a4-4ece-b076-b9589fc73a04" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T092316Z:f136b0b4-32a4-4ece-b076-b9589fc73a04" ], + "Date": [ "Mon, 10 Aug 2020 09:23:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "320" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/0698d2d4-a0f6-48c2-8aee-584830c7c707\",\"name\":\"0698d2d4-a0f6-48c2-8aee-584830c7c707\",\"status\":\"Running\",\"startTime\":\"2020-08-10T09:22:15.1786627Z\"}" + } + }, + "New-AzSpringCloudAppDeployment+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/0698d2d4-a0f6-48c2-8aee-584830c7c707?api-version=2019-05-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/0698d2d4-a0f6-48c2-8aee-584830c7c707?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4" ], + "x-ms-client-request-id": [ "047f44b7-961d-42e2-87a8-7f3577014372", "047f44b7-961d-42e2-87a8-7f3577014372", "047f44b7-961d-42e2-87a8-7f3577014372", "047f44b7-961d-42e2-87a8-7f3577014372" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "New-AzSpringCloudAppDeployment_CreateExpanded", "New-AzSpringCloudAppDeployment_CreateExpanded", "New-AzSpringCloudAppDeployment_CreateExpanded", "New-AzSpringCloudAppDeployment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "afc80e9e-c5a1-4c90-88bb-2dd1aa98ea6c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "047f44b7-961d-42e2-87a8-7f3577014372, 047f44b7-961d-42e2-87a8-7f3577014372, 047f44b7-961d-42e2-87a8-7f3577014372, 047f44b7-961d-42e2-87a8-7f3577014372" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "afc80e9e-c5a1-4c90-88bb-2dd1aa98ea6c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T092346Z:afc80e9e-c5a1-4c90-88bb-2dd1aa98ea6c" ], + "Date": [ "Mon, 10 Aug 2020 09:23:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "363" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/0698d2d4-a0f6-48c2-8aee-584830c7c707\",\"name\":\"0698d2d4-a0f6-48c2-8aee-584830c7c707\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-10T09:22:15.1786627Z\",\"endTime\":\"2020-08-10T09:23:22.1522155Z\"}" + } + }, + "New-AzSpringCloudAppDeployment+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway/deployments/test?api-version=2019-05-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway/deployments/test?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4", "5" ], + "x-ms-client-request-id": [ "047f44b7-961d-42e2-87a8-7f3577014372", "047f44b7-961d-42e2-87a8-7f3577014372", "047f44b7-961d-42e2-87a8-7f3577014372", "047f44b7-961d-42e2-87a8-7f3577014372", "047f44b7-961d-42e2-87a8-7f3577014372" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "New-AzSpringCloudAppDeployment_CreateExpanded", "New-AzSpringCloudAppDeployment_CreateExpanded", "New-AzSpringCloudAppDeployment_CreateExpanded", "New-AzSpringCloudAppDeployment_CreateExpanded", "New-AzSpringCloudAppDeployment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "94d4cce4-8e7a-4edb-90d3-bcd0866fe5e6" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "047f44b7-961d-42e2-87a8-7f3577014372, 047f44b7-961d-42e2-87a8-7f3577014372, 047f44b7-961d-42e2-87a8-7f3577014372, 047f44b7-961d-42e2-87a8-7f3577014372, 047f44b7-961d-42e2-87a8-7f3577014372" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "94d4cce4-8e7a-4edb-90d3-bcd0866fe5e6" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T092347Z:94d4cce4-8e7a-4edb-90d3-bcd0866fe5e6" ], + "Date": [ "Mon, 10 Aug 2020 09:23:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "722" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":false,\"instances\":[{\"name\":\"gateway-test-7-6567dbc8c5-lc2pt\",\"status\":\"Running\",\"discoveryStatus\":\"OUT_OF_SERVICE\",\"startTime\":\"2020-08-10T09:22:13Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway/deployments/test\",\"name\":\"test\"}" + } + }, + "New-AzSpringCloudAppDeployment+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway/deployments/prod?api-version=2019-05-01-preview+6": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway/deployments/prod?api-version=2019-05-01-preview", + "Content": "{\n \"properties\": {\n \"deploymentSettings\": {\n \"cpu\": 1,\n \"environmentVariables\": {\n \"env\": \"test\"\n },\n \"instanceCount\": 1,\n \"jvmOptions\": \"-Xms1G -Xmx1G\",\n \"memoryInGB\": 3,\n \"runtimeVersion\": \"Java_8\"\n },\n \"source\": {\n \"type\": \"Jar\",\n \"relativePath\": \"\\u003cdefault\\u003e\"\n }\n }\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "345" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationResults/2b416676-d6f2-400e-95fe-7121a95dd579/Spring/prod?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1198" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "88f0760f-e28b-48bb-abd8-6b63c8c50e48" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/2b416676-d6f2-400e-95fe-7121a95dd579?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "f3868412-b932-459a-a1e6-7387491a5217" ], + "x-ms-correlation-request-id": [ "f3868412-b932-459a-a1e6-7387491a5217" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T092349Z:f3868412-b932-459a-a1e6-7387491a5217" ], + "Date": [ "Mon, 10 Aug 2020 09:23:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "621" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"jvmOptions\":\"-Xms1G -Xmx1G\",\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Creating\",\"status\":\"Running\",\"active\":false,\"instances\":null},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway/deployments/prod\",\"name\":\"prod\"}" + } + }, + "New-AzSpringCloudAppDeployment+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/2b416676-d6f2-400e-95fe-7121a95dd579?api-version=2019-05-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/2b416676-d6f2-400e-95fe-7121a95dd579?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "6", "7" ], + "x-ms-client-request-id": [ "88f0760f-e28b-48bb-abd8-6b63c8c50e48", "88f0760f-e28b-48bb-abd8-6b63c8c50e48" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "New-AzSpringCloudAppDeployment_CreateExpanded", "New-AzSpringCloudAppDeployment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "911eaa79-39da-4890-9a09-c6f5535e5b19" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "88f0760f-e28b-48bb-abd8-6b63c8c50e48, 88f0760f-e28b-48bb-abd8-6b63c8c50e48" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "911eaa79-39da-4890-9a09-c6f5535e5b19" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T092419Z:911eaa79-39da-4890-9a09-c6f5535e5b19" ], + "Date": [ "Mon, 10 Aug 2020 09:24:19 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "320" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/2b416676-d6f2-400e-95fe-7121a95dd579\",\"name\":\"2b416676-d6f2-400e-95fe-7121a95dd579\",\"status\":\"Running\",\"startTime\":\"2020-08-10T09:23:49.2330206Z\"}" + } + }, + "New-AzSpringCloudAppDeployment+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/2b416676-d6f2-400e-95fe-7121a95dd579?api-version=2019-05-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/2b416676-d6f2-400e-95fe-7121a95dd579?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "6", "7", "8" ], + "x-ms-client-request-id": [ "88f0760f-e28b-48bb-abd8-6b63c8c50e48", "88f0760f-e28b-48bb-abd8-6b63c8c50e48", "88f0760f-e28b-48bb-abd8-6b63c8c50e48" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "New-AzSpringCloudAppDeployment_CreateExpanded", "New-AzSpringCloudAppDeployment_CreateExpanded", "New-AzSpringCloudAppDeployment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "e66f9300-5e85-4a82-94bc-780722db46f9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "88f0760f-e28b-48bb-abd8-6b63c8c50e48, 88f0760f-e28b-48bb-abd8-6b63c8c50e48, 88f0760f-e28b-48bb-abd8-6b63c8c50e48" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "e66f9300-5e85-4a82-94bc-780722db46f9" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T092450Z:e66f9300-5e85-4a82-94bc-780722db46f9" ], + "Date": [ "Mon, 10 Aug 2020 09:24:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "363" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/2b416676-d6f2-400e-95fe-7121a95dd579\",\"name\":\"2b416676-d6f2-400e-95fe-7121a95dd579\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-10T09:23:49.2330206Z\",\"endTime\":\"2020-08-10T09:24:48.1231656Z\"}" + } + }, + "New-AzSpringCloudAppDeployment+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway/deployments/prod?api-version=2019-05-01-preview+9": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway/deployments/prod?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "6", "7", "8", "9" ], + "x-ms-client-request-id": [ "88f0760f-e28b-48bb-abd8-6b63c8c50e48", "88f0760f-e28b-48bb-abd8-6b63c8c50e48", "88f0760f-e28b-48bb-abd8-6b63c8c50e48", "88f0760f-e28b-48bb-abd8-6b63c8c50e48" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\New-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "New-AzSpringCloudAppDeployment_CreateExpanded", "New-AzSpringCloudAppDeployment_CreateExpanded", "New-AzSpringCloudAppDeployment_CreateExpanded", "New-AzSpringCloudAppDeployment_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "1ee2a5fa-5e52-47f2-9aff-ecb47298118e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11998" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "88f0760f-e28b-48bb-abd8-6b63c8c50e48, 88f0760f-e28b-48bb-abd8-6b63c8c50e48, 88f0760f-e28b-48bb-abd8-6b63c8c50e48, 88f0760f-e28b-48bb-abd8-6b63c8c50e48" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "1ee2a5fa-5e52-47f2-9aff-ecb47298118e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200810T092450Z:1ee2a5fa-5e52-47f2-9aff-ecb47298118e" ], + "Date": [ "Mon, 10 Aug 2020 09:24:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "740" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"jvmOptions\":\"-Xms1G -Xmx1G\",\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":false,\"instances\":[{\"name\":\"gateway-prod-7-f6bd89fdc-ql7gm\",\"status\":\"Running\",\"discoveryStatus\":\"DOWN\",\"startTime\":\"2020-08-10T09:23:49Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway/deployments/prod\",\"name\":\"prod\"}" + } + } +} \ No newline at end of file diff --git a/src/AppPlatform/test/New-AzSpringCloudAppDeployment.Tests.ps1 b/src/AppPlatform/test/New-AzSpringCloudAppDeployment.Tests.ps1 new file mode 100644 index 000000000000..d9abb559dc00 --- /dev/null +++ b/src/AppPlatform/test/New-AzSpringCloudAppDeployment.Tests.ps1 @@ -0,0 +1,24 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'New-AzSpringCloudAppDeployment.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'New-AzSpringCloudAppDeployment' { + It 'CreateExpanded' { + $deploy = New-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName01 -AppName $env.appGateway -Name $env.deployTest ` + -Cpu 1 -MemoryInGb 3 -InstanceCount 1 -RuntimeVersion "Java_8" -EnvironmentVariable @{"env" = "test"} + $deploy.ProvisioningState | Should -Be "Succeeded" + + $deploy = New-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName01 -AppName $env.appGateway -Name $env.deployProd ` + -Cpu 1 -MemoryInGb 3 -InstanceCount 1 -RuntimeVersion "Java_8" -EnvironmentVariable @{"env" = "prod"} -JvmOption "-Xms1G -Xmx1G" + $deploy.ProvisioningState | Should -Be "Succeeded" + } +} diff --git a/src/AppPlatform/test/Remove-AzSpringCloud.Recording.json b/src/AppPlatform/test/Remove-AzSpringCloud.Recording.json new file mode 100644 index 000000000000..ae72e9f29e9e --- /dev/null +++ b/src/AppPlatform/test/Remove-AzSpringCloud.Recording.json @@ -0,0 +1,2676 @@ +{ + "Remove-AzSpringCloud+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9asdvb?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9asdvb?api-version=2019-05-01-preview", + "Content": "{\n \"location\": \"eastus2\"\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "27" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationResults/8726fdec-3a0d-427d-90a1-e13d1b864a36/Spring/spring-9asdvb?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1199" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "6cfa05fb-762d-418e-ac83-b69c002858bd" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "bcce8952-8d3a-436e-ae51-2d0c8a8f980e" ], + "x-ms-correlation-request-id": [ "bcce8952-8d3a-436e-ae51-2d0c8a8f980e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T094726Z:bcce8952-8d3a-436e-ae51-2d0c8a8f980e" ], + "Date": [ "Wed, 12 Aug 2020 09:47:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "512" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"provisioningState\":\"Creating\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"6290e50daf4f4682ab98ad4e15e0c0c1\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9asdvb\",\"name\":\"spring-9asdvb\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "93cd2f57-213b-4e6c-b461-7f44b59b6e9c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "93cd2f57-213b-4e6c-b461-7f44b59b6e9c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T094757Z:93cd2f57-213b-4e6c-b461-7f44b59b6e9c" ], + "Date": [ "Wed, 12 Aug 2020 09:47:56 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36\",\"name\":\"8726fdec-3a0d-427d-90a1-e13d1b864a36\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:47:23.3277227Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "3385ce5e-c71f-4f00-81fb-dbfa80dd76bd" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "3385ce5e-c71f-4f00-81fb-dbfa80dd76bd" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T094827Z:3385ce5e-c71f-4f00-81fb-dbfa80dd76bd" ], + "Date": [ "Wed, 12 Aug 2020 09:48:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36\",\"name\":\"8726fdec-3a0d-427d-90a1-e13d1b864a36\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:47:23.3277227Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36?api-version=2019-05-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4" ], + "x-ms-client-request-id": [ "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "abc25bfa-3d4a-4cff-8ad2-6515fe555358" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "abc25bfa-3d4a-4cff-8ad2-6515fe555358" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T094858Z:abc25bfa-3d4a-4cff-8ad2-6515fe555358" ], + "Date": [ "Wed, 12 Aug 2020 09:48:57 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36\",\"name\":\"8726fdec-3a0d-427d-90a1-e13d1b864a36\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:47:23.3277227Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36?api-version=2019-05-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4", "5" ], + "x-ms-client-request-id": [ "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "8ef39ed6-5ef1-43be-a0c7-505dd0912290" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "8ef39ed6-5ef1-43be-a0c7-505dd0912290" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T094928Z:8ef39ed6-5ef1-43be-a0c7-505dd0912290" ], + "Date": [ "Wed, 12 Aug 2020 09:49:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36\",\"name\":\"8726fdec-3a0d-427d-90a1-e13d1b864a36\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:47:23.3277227Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36?api-version=2019-05-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4", "5", "6" ], + "x-ms-client-request-id": [ "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "c94d64d1-76e7-4a4a-9179-818489603a84" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "c94d64d1-76e7-4a4a-9179-818489603a84" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T094958Z:c94d64d1-76e7-4a4a-9179-818489603a84" ], + "Date": [ "Wed, 12 Aug 2020 09:49:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36\",\"name\":\"8726fdec-3a0d-427d-90a1-e13d1b864a36\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:47:23.3277227Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36?api-version=2019-05-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4", "5", "6", "7" ], + "x-ms-client-request-id": [ "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "90d58d02-4f37-4399-a1c9-f82c7ba13c81" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "90d58d02-4f37-4399-a1c9-f82c7ba13c81" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095029Z:90d58d02-4f37-4399-a1c9-f82c7ba13c81" ], + "Date": [ "Wed, 12 Aug 2020 09:50:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "373" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/8726fdec-3a0d-427d-90a1-e13d1b864a36\",\"name\":\"8726fdec-3a0d-427d-90a1-e13d1b864a36\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-12T09:47:23.3277227Z\",\"endTime\":\"2020-08-12T09:50:17.9124129Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9asdvb?api-version=2019-05-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9asdvb?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4", "5", "6", "7", "8" ], + "x-ms-client-request-id": [ "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd", "6cfa05fb-762d-418e-ac83-b69c002858bd" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "616b32fd-e72f-4096-bf30-79adf4f2ddee" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd, 6cfa05fb-762d-418e-ac83-b69c002858bd" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "616b32fd-e72f-4096-bf30-79adf4f2ddee" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095029Z:616b32fd-e72f-4096-bf30-79adf4f2ddee" ], + "Date": [ "Wed, 12 Aug 2020 09:50:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "513" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"6290e50daf4f4682ab98ad4e15e0c0c1\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9asdvb\",\"name\":\"spring-9asdvb\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9asdvb?api-version=2019-05-01-preview+9": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9asdvb?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationResults/f10e4d85-9fa9-4896-aba2-686b9dd0c411/Spring/spring-9asdvb?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "46d68226-d665-4e7b-849e-138da2ffff20" ], + "x-ms-correlation-request-id": [ "46d68226-d665-4e7b-849e-138da2ffff20" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095030Z:46d68226-d665-4e7b-849e-138da2ffff20" ], + "Date": [ "Wed, 12 Aug 2020 09:50:29 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "bb5e418c-630b-4f00-86e5-833b5c148696" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "bb5e418c-630b-4f00-86e5-833b5c148696" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095100Z:bb5e418c-630b-4f00-86e5-833b5c148696" ], + "Date": [ "Wed, 12 Aug 2020 09:51:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "9983e0e9-1069-4f64-977f-384f58390a9e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "9983e0e9-1069-4f64-977f-384f58390a9e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095131Z:9983e0e9-1069-4f64-977f-384f58390a9e" ], + "Date": [ "Wed, 12 Aug 2020 09:51:30 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "8810a483-eb52-41aa-b7a9-99f85de640ce" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "8810a483-eb52-41aa-b7a9-99f85de640ce" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095201Z:8810a483-eb52-41aa-b7a9-99f85de640ce" ], + "Date": [ "Wed, 12 Aug 2020 09:52:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "f66ce266-48b6-42ae-8fc2-44947de1618e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "f66ce266-48b6-42ae-8fc2-44947de1618e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095231Z:f66ce266-48b6-42ae-8fc2-44947de1618e" ], + "Date": [ "Wed, 12 Aug 2020 09:52:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13", "14" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "6b01e18c-1357-45f7-800d-e46db4780d97" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "6b01e18c-1357-45f7-800d-e46db4780d97" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095302Z:6b01e18c-1357-45f7-800d-e46db4780d97" ], + "Date": [ "Wed, 12 Aug 2020 09:53:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13", "14", "15" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "c18020ee-31cd-477f-8126-d3edd91b0377" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "c18020ee-31cd-477f-8126-d3edd91b0377" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095333Z:c18020ee-31cd-477f-8126-d3edd91b0377" ], + "Date": [ "Wed, 12 Aug 2020 09:53:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13", "14", "15", "16" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "a93a6bd6-b812-4189-a5c2-6f1c6846b2b7" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "a93a6bd6-b812-4189-a5c2-6f1c6846b2b7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095403Z:a93a6bd6-b812-4189-a5c2-6f1c6846b2b7" ], + "Date": [ "Wed, 12 Aug 2020 09:54:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13", "14", "15", "16", "17" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "fab10b03-d761-4b86-96fc-414905cb3b57" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "fab10b03-d761-4b86-96fc-414905cb3b57" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095433Z:fab10b03-d761-4b86-96fc-414905cb3b57" ], + "Date": [ "Wed, 12 Aug 2020 09:54:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13", "14", "15", "16", "17", "18" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "6101e098-4d48-41b9-9833-337f566f8581" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "6101e098-4d48-41b9-9833-337f566f8581" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095504Z:6101e098-4d48-41b9-9833-337f566f8581" ], + "Date": [ "Wed, 12 Aug 2020 09:55:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+19": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "8aa0a90f-8e11-45eb-9179-3c782c22c67e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "8aa0a90f-8e11-45eb-9179-3c782c22c67e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095534Z:8aa0a90f-8e11-45eb-9179-3c782c22c67e" ], + "Date": [ "Wed, 12 Aug 2020 09:55:34 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+20": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "422dd435-a4cf-4b7f-83f7-881c00db56c8" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "422dd435-a4cf-4b7f-83f7-881c00db56c8" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095605Z:422dd435-a4cf-4b7f-83f7-881c00db56c8" ], + "Date": [ "Wed, 12 Aug 2020 09:56:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+21": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "a2d290b2-12d1-4767-8d24-92d444650029" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "a2d290b2-12d1-4767-8d24-92d444650029" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095635Z:a2d290b2-12d1-4767-8d24-92d444650029" ], + "Date": [ "Wed, 12 Aug 2020 09:56:34 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+22": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "ce301f7e-f191-4c72-a90d-f19dfb08e786" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "ce301f7e-f191-4c72-a90d-f19dfb08e786" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095705Z:ce301f7e-f191-4c72-a90d-f19dfb08e786" ], + "Date": [ "Wed, 12 Aug 2020 09:57:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+23": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "bd161555-f492-45a0-98c3-87bde4dc7d85" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "bd161555-f492-45a0-98c3-87bde4dc7d85" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095736Z:bd161555-f492-45a0-98c3-87bde4dc7d85" ], + "Date": [ "Wed, 12 Aug 2020 09:57:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+24": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "cbb0bd46-5fd5-48de-bb8d-a36af1b423bd" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "cbb0bd46-5fd5-48de-bb8d-a36af1b423bd" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095806Z:cbb0bd46-5fd5-48de-bb8d-a36af1b423bd" ], + "Date": [ "Wed, 12 Aug 2020 09:58:06 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+25": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "3caa400e-4e4f-40ef-9cd0-a202eb1d093e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "3caa400e-4e4f-40ef-9cd0-a202eb1d093e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095837Z:3caa400e-4e4f-40ef-9cd0-a202eb1d093e" ], + "Date": [ "Wed, 12 Aug 2020 09:58:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+26": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "f2d2e2bc-e86a-462c-8971-2f45452cba55" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "f2d2e2bc-e86a-462c-8971-2f45452cba55" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095907Z:f2d2e2bc-e86a-462c-8971-2f45452cba55" ], + "Date": [ "Wed, 12 Aug 2020 09:59:06 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+27": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "21fccbcb-2a6f-4f78-abfd-9be3917eada7" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "21fccbcb-2a6f-4f78-abfd-9be3917eada7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T095938Z:21fccbcb-2a6f-4f78-abfd-9be3917eada7" ], + "Date": [ "Wed, 12 Aug 2020 09:59:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Running\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+28": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "b5fbe40c-61bb-4a48-b5be-a570cd38fe9a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "b5fbe40c-61bb-4a48-b5be-a570cd38fe9a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100008Z:b5fbe40c-61bb-4a48-b5be-a570cd38fe9a" ], + "Date": [ "Wed, 12 Aug 2020 10:00:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "373" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\",\"endTime\":\"2020-08-12T10:00:06.4175103Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview+29": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7", "5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete", "Remove-AzSpringCloudService_Delete" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "e9e20fd8-1c8f-4c89-91a2-495509f2417c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7, 5f7a09c8-05b8-4f55-a495-dbde1afd42b7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "e9e20fd8-1c8f-4c89-91a2-495509f2417c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100008Z:e9e20fd8-1c8f-4c89-91a2-495509f2417c" ], + "Date": [ "Wed, 12 Aug 2020 10:00:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "373" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-9asdvb/operationId/f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"name\":\"f10e4d85-9fa9-4896-aba2-686b9dd0c411\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-12T09:50:30.3539386Z\",\"endTime\":\"2020-08-12T10:00:06.4175103Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring?api-version=2019-05-01-preview+30": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "30" ], + "x-ms-client-request-id": [ "fccba8d0-7532-4717-9df5-0d3a06483789" ], + "CommandName": [ "Az.SpringCloud.internal\\Get-AzSpringCloudService" ], + "FullCommandName": [ "Get-AzSpringCloudService_List1" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-original-request-ids": [ "", "" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11998" ], + "x-ms-request-id": [ "0a9cda13-6f71-4aec-9519-bfaf5aec4c13" ], + "x-ms-correlation-request-id": [ "0a9cda13-6f71-4aec-9519-bfaf5aec4c13" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100010Z:0a9cda13-6f71-4aec-9519-bfaf5aec4c13" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Wed, 12 Aug 2020 10:00:09 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ], + "Content-Length": [ "1088" ] + }, + "Content": "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"56c22d9c03944985959478bcae1d435d\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":{\"key03\":\"value03\",\"key02\":\"value02\",\"key01\":\"value01\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo\",\"name\":\"spring-6v5cyo\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"6c156e95d4ce4914b6872edc68828604\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":null,\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b\",\"name\":\"spring-9ys40b\"}]}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$PUT+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-asd58b?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-asd58b?api-version=2019-05-01-preview", + "Content": "{\n \"location\": \"eastus2\"\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "27" ] + } + }, + "Response": { + "StatusCode": 201, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationResults/25e7cb75-4755-435a-b6e0-dee67751b1f1/Spring/spring-asd58b?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1198" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "8e4ee416-4f26-4d70-bb80-2479b6cf1836" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "41e7e6a7-7390-462d-ad2d-38600eafe38d" ], + "x-ms-correlation-request-id": [ "41e7e6a7-7390-462d-ad2d-38600eafe38d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100020Z:41e7e6a7-7390-462d-ad2d-38600eafe38d" ], + "Date": [ "Wed, 12 Aug 2020 10:00:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "512" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"provisioningState\":\"Creating\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"ea4aad30a1aa4ff594c8d60bc374352c\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-asd58b\",\"name\":\"spring-asd58b\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "31", "32" ], + "x-ms-client-request-id": [ "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "07e442f3-f5c1-417f-8102-e6eb35d10ac9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "07e442f3-f5c1-417f-8102-e6eb35d10ac9" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100050Z:07e442f3-f5c1-417f-8102-e6eb35d10ac9" ], + "Date": [ "Wed, 12 Aug 2020 10:00:50 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1\",\"name\":\"25e7cb75-4755-435a-b6e0-dee67751b1f1\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:00:17.5225295Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "31", "32", "33" ], + "x-ms-client-request-id": [ "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "2506fd86-efde-4361-85a1-1d79306e9450" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "2506fd86-efde-4361-85a1-1d79306e9450" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100121Z:2506fd86-efde-4361-85a1-1d79306e9450" ], + "Date": [ "Wed, 12 Aug 2020 10:01:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1\",\"name\":\"25e7cb75-4755-435a-b6e0-dee67751b1f1\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:00:17.5225295Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1?api-version=2019-05-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "31", "32", "33", "34" ], + "x-ms-client-request-id": [ "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "d078c003-caa8-4102-aab6-5313e2377446" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "d078c003-caa8-4102-aab6-5313e2377446" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100151Z:d078c003-caa8-4102-aab6-5313e2377446" ], + "Date": [ "Wed, 12 Aug 2020 10:01:51 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1\",\"name\":\"25e7cb75-4755-435a-b6e0-dee67751b1f1\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:00:17.5225295Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1?api-version=2019-05-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "31", "32", "33", "34", "35" ], + "x-ms-client-request-id": [ "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "34b1f411-c073-4f2f-baea-a3b5524fec01" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "34b1f411-c073-4f2f-baea-a3b5524fec01" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100222Z:34b1f411-c073-4f2f-baea-a3b5524fec01" ], + "Date": [ "Wed, 12 Aug 2020 10:02:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1\",\"name\":\"25e7cb75-4755-435a-b6e0-dee67751b1f1\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:00:17.5225295Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1?api-version=2019-05-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "31", "32", "33", "34", "35", "36" ], + "x-ms-client-request-id": [ "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "ad43b07a-e0ae-4ece-ac37-1e402cdea96c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "ad43b07a-e0ae-4ece-ac37-1e402cdea96c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100252Z:ad43b07a-e0ae-4ece-ac37-1e402cdea96c" ], + "Date": [ "Wed, 12 Aug 2020 10:02:51 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "330" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1\",\"name\":\"25e7cb75-4755-435a-b6e0-dee67751b1f1\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:00:17.5225295Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1?api-version=2019-05-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "31", "32", "33", "34", "35", "36", "37" ], + "x-ms-client-request-id": [ "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "1c63d578-7098-4dac-82e6-ca59d2929f95" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "1c63d578-7098-4dac-82e6-ca59d2929f95" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100322Z:1c63d578-7098-4dac-82e6-ca59d2929f95" ], + "Date": [ "Wed, 12 Aug 2020 10:03:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "373" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/25e7cb75-4755-435a-b6e0-dee67751b1f1\",\"name\":\"25e7cb75-4755-435a-b6e0-dee67751b1f1\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-12T10:00:17.5225295Z\",\"endTime\":\"2020-08-12T10:03:04.0454889Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-asd58b?api-version=2019-05-01-preview+8": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-asd58b?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "31", "32", "33", "34", "35", "36", "37", "38" ], + "x-ms-client-request-id": [ "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836", "8e4ee416-4f26-4d70-bb80-2479b6cf1836" ], + "CommandName": [ "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService", "Az.SpringCloud.internal\\New-AzSpringCloudService" ], + "FullCommandName": [ "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded", "New-AzSpringCloudService_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "89b13fc5-058b-4315-9af4-9844fc84c5b5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11997" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836, 8e4ee416-4f26-4d70-bb80-2479b6cf1836" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "89b13fc5-058b-4315-9af4-9844fc84c5b5" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100323Z:89b13fc5-058b-4315-9af4-9844fc84c5b5" ], + "Date": [ "Wed, 12 Aug 2020 10:03:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "513" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"ea4aad30a1aa4ff594c8d60bc374352c\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus2\",\"tags\":null,\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-asd58b\",\"name\":\"spring-asd58b\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-asd58b?api-version=2019-05-01-preview+9": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-asd58b?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationResults/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d/Spring/spring-asd58b?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "bc369f29-794a-4dca-8053-b55c43ce8d35" ], + "x-ms-correlation-request-id": [ "bc369f29-794a-4dca-8053-b55c43ce8d35" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100324Z:bc369f29-794a-4dca-8053-b55c43ce8d35" ], + "Date": [ "Wed, 12 Aug 2020 10:03:23 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+10": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "172f4f22-9fc6-477e-b184-f0fd87ac15fa" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "172f4f22-9fc6-477e-b184-f0fd87ac15fa" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100354Z:172f4f22-9fc6-477e-b184-f0fd87ac15fa" ], + "Date": [ "Wed, 12 Aug 2020 10:03:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+11": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "bf648921-aba5-4f0b-9487-046de7031efb" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "bf648921-aba5-4f0b-9487-046de7031efb" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100425Z:bf648921-aba5-4f0b-9487-046de7031efb" ], + "Date": [ "Wed, 12 Aug 2020 10:04:24 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+12": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "24e4e258-d893-4c96-9e53-ef888a7f5cad" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "24e4e258-d893-4c96-9e53-ef888a7f5cad" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100455Z:24e4e258-d893-4c96-9e53-ef888a7f5cad" ], + "Date": [ "Wed, 12 Aug 2020 10:04:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+13": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "48c927b4-fc66-4ed7-bd6c-ea53a0b03182" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "48c927b4-fc66-4ed7-bd6c-ea53a0b03182" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100526Z:48c927b4-fc66-4ed7-bd6c-ea53a0b03182" ], + "Date": [ "Wed, 12 Aug 2020 10:05:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+14": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "91eb37a0-ad27-4aad-a081-472034142be5" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11963" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "91eb37a0-ad27-4aad-a081-472034142be5" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100556Z:91eb37a0-ad27-4aad-a081-472034142be5" ], + "Date": [ "Wed, 12 Aug 2020 10:05:56 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+15": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "c66a5f2f-93fd-46df-b3a0-4ed630dc93db" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11962" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "c66a5f2f-93fd-46df-b3a0-4ed630dc93db" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100626Z:c66a5f2f-93fd-46df-b3a0-4ed630dc93db" ], + "Date": [ "Wed, 12 Aug 2020 10:06:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+16": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "501d9ef9-1f41-42b7-9db3-b5df113da195" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11961" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "501d9ef9-1f41-42b7-9db3-b5df113da195" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100657Z:501d9ef9-1f41-42b7-9db3-b5df113da195" ], + "Date": [ "Wed, 12 Aug 2020 10:06:56 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+17": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "2d1d60f4-dd33-4528-a72e-162912415c82" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11960" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "2d1d60f4-dd33-4528-a72e-162912415c82" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100727Z:2d1d60f4-dd33-4528-a72e-162912415c82" ], + "Date": [ "Wed, 12 Aug 2020 10:07:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+18": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47", "48" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "5bc30b08-8587-4043-a337-3b1c517dc3b7" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11959" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "5bc30b08-8587-4043-a337-3b1c517dc3b7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100758Z:5bc30b08-8587-4043-a337-3b1c517dc3b7" ], + "Date": [ "Wed, 12 Aug 2020 10:07:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+19": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "87b5450e-faad-4f93-9692-667c8f223dbf" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11958" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "87b5450e-faad-4f93-9692-667c8f223dbf" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100829Z:87b5450e-faad-4f93-9692-667c8f223dbf" ], + "Date": [ "Wed, 12 Aug 2020 10:08:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+20": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "d8e4aeb7-b32d-4d18-8891-a03715308519" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11957" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "d8e4aeb7-b32d-4d18-8891-a03715308519" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100859Z:d8e4aeb7-b32d-4d18-8891-a03715308519" ], + "Date": [ "Wed, 12 Aug 2020 10:08:59 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+21": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "d0e24351-4568-47f1-b0d7-1da8ebd3bf70" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11956" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "d0e24351-4568-47f1-b0d7-1da8ebd3bf70" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T100930Z:d0e24351-4568-47f1-b0d7-1da8ebd3bf70" ], + "Date": [ "Wed, 12 Aug 2020 10:09:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+22": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "074c47f3-df01-4f46-868a-7be594e27430" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11955" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "074c47f3-df01-4f46-868a-7be594e27430" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T101001Z:074c47f3-df01-4f46-868a-7be594e27430" ], + "Date": [ "Wed, 12 Aug 2020 10:10:00 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+23": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "172d3bee-ed19-40f9-a2d9-5345cdb67ce9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11954" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "172d3bee-ed19-40f9-a2d9-5345cdb67ce9" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T101031Z:172d3bee-ed19-40f9-a2d9-5345cdb67ce9" ], + "Date": [ "Wed, 12 Aug 2020 10:10:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+24": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "d6bcdfc2-e6b7-456a-9a46-c4a2c35d28fe" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11953" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "d6bcdfc2-e6b7-456a-9a46-c4a2c35d28fe" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T101101Z:d6bcdfc2-e6b7-456a-9a46-c4a2c35d28fe" ], + "Date": [ "Wed, 12 Aug 2020 10:11:01 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+25": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "97eb913d-e5eb-4279-b0fb-2c1db0f4e055" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11952" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "97eb913d-e5eb-4279-b0fb-2c1db0f4e055" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T101132Z:97eb913d-e5eb-4279-b0fb-2c1db0f4e055" ], + "Date": [ "Wed, 12 Aug 2020 10:11:31 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+26": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "431b4200-f200-47f3-b72a-071bb8a0d1a2" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11951" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "431b4200-f200-47f3-b72a-071bb8a0d1a2" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T101202Z:431b4200-f200-47f3-b72a-071bb8a0d1a2" ], + "Date": [ "Wed, 12 Aug 2020 10:12:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+27": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "7747fac2-aad3-4916-be01-a39fb4c14795" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11950" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "7747fac2-aad3-4916-be01-a39fb4c14795" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T101233Z:7747fac2-aad3-4916-be01-a39fb4c14795" ], + "Date": [ "Wed, 12 Aug 2020 10:12:32 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+28": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "3065e5d8-3456-4aa4-9b30-61438d10184d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11949" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "3065e5d8-3456-4aa4-9b30-61438d10184d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T101303Z:3065e5d8-3456-4aa4-9b30-61438d10184d" ], + "Date": [ "Wed, 12 Aug 2020 10:13:02 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+29": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "14b3f9de-8caf-4755-bebd-81db0c89e2d1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11948" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "14b3f9de-8caf-4755-bebd-81db0c89e2d1" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T101333Z:14b3f9de-8caf-4755-bebd-81db0c89e2d1" ], + "Date": [ "Wed, 12 Aug 2020 10:13:33 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+30": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "90e7b067-a99f-43aa-a973-822cd200ef90" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11947" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "90e7b067-a99f-43aa-a973-822cd200ef90" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T101404Z:90e7b067-a99f-43aa-a973-822cd200ef90" ], + "Date": [ "Wed, 12 Aug 2020 10:14:03 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+31": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "e4dc4fe2-7583-4463-a97c-2a277d1a4b2e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11946" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "e4dc4fe2-7583-4463-a97c-2a277d1a4b2e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T101434Z:e4dc4fe2-7583-4463-a97c-2a277d1a4b2e" ], + "Date": [ "Wed, 12 Aug 2020 10:14:34 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "329" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Running\",\"startTime\":\"2020-08-12T10:03:23.912364Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+32": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "a847de54-46a4-4e0e-af69-c116f360278b" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11945" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "a847de54-46a4-4e0e-af69-c116f360278b" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T101505Z:a847de54-46a4-4e0e-af69-c116f360278b" ], + "Date": [ "Wed, 12 Aug 2020 10:15:04 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "372" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-12T10:03:23.912364Z\",\"endTime\":\"2020-08-12T10:14:59.9013806Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview+33": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a", "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "CommandName": [ "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService", "Az.SpringCloud.internal\\Remove-AzSpringCloudService" ], + "FullCommandName": [ "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity", "Remove-AzSpringCloudService_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "4a18c09e-b0f9-4ba0-abb0-9a1c623accd1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11944" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a, ab02b4b0-5d4a-4fbe-b307-3ad87ce5303a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "4a18c09e-b0f9-4ba0-abb0-9a1c623accd1" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T101506Z:4a18c09e-b0f9-4ba0-abb0-9a1c623accd1" ], + "Date": [ "Wed, 12 Aug 2020 10:15:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "372" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus2/operationStatus/spring-asd58b/operationId/b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"name\":\"b6e492bf-07dd-4e6f-a2e4-77abd2f7e46d\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-12T10:03:23.912364Z\",\"endTime\":\"2020-08-12T10:14:59.9013806Z\"}" + } + }, + "Remove-AzSpringCloud+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring?api-version=2019-05-01-preview+34": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "64" ], + "x-ms-client-request-id": [ "2a64cca2-3c24-43a7-b7b3-6a65af4d5f78" ], + "CommandName": [ "Az.SpringCloud.internal\\Get-AzSpringCloudService" ], + "FullCommandName": [ "Get-AzSpringCloudService_List1" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-original-request-ids": [ "", "" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11996" ], + "x-ms-request-id": [ "54765489-0433-40ac-b1b6-e5cf866d17bf" ], + "x-ms-correlation-request-id": [ "54765489-0433-40ac-b1b6-e5cf866d17bf" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200812T101507Z:54765489-0433-40ac-b1b6-e5cf866d17bf" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "Date": [ "Wed, 12 Aug 2020 10:15:07 GMT" ] + }, + "ContentHeaders": { + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ], + "Content-Length": [ "1088" ] + }, + "Content": "{\"value\":[{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"56c22d9c03944985959478bcae1d435d\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":{\"key03\":\"value03\",\"key02\":\"value02\",\"key01\":\"value01\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo\",\"name\":\"spring-6v5cyo\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"6c156e95d4ce4914b6872edc68828604\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":null,\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b\",\"name\":\"spring-9ys40b\"}]}" + } + } +} \ No newline at end of file diff --git a/src/AppPlatform/test/Remove-AzSpringCloud.Tests.ps1 b/src/AppPlatform/test/Remove-AzSpringCloud.Tests.ps1 new file mode 100644 index 000000000000..c9b8ad6edb5f --- /dev/null +++ b/src/AppPlatform/test/Remove-AzSpringCloud.Tests.ps1 @@ -0,0 +1,28 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzSpringCloud.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Remove-AzSpringCloud' { + It 'Delete' { + New-AzSpringCloud -ResourceGroupName $env.resourceGroup -Name $env.springName02 -Location $env.location2 + Remove-AzSpringCloud -ResourceGroupName $env.resourceGroup -Name $env.springName02 + $springList = Get-AzSpringCloud -ResourceGroupName $env.resourceGroup + $springList.Name| Should -Not -Contain $env.springName02 + } + + It 'DeleteViaIdentity' { + $spring = New-AzSpringCloud -ResourceGroupName $env.resourceGroup -Name $env.springName03 -Location $env.location2 + Remove-AzSpringCloud -InputObject $spring + $springList = Get-AzSpringCloud -ResourceGroupName $env.resourceGroup + $springList.Name| Should -Not -Contain $env.springName03 + } +} diff --git a/src/AppPlatform/test/Remove-AzSpringCloudApp.Recording.json b/src/AppPlatform/test/Remove-AzSpringCloudApp.Recording.json new file mode 100644 index 000000000000..a0fc67cc7b22 --- /dev/null +++ b/src/AppPlatform/test/Remove-AzSpringCloudApp.Recording.json @@ -0,0 +1,208 @@ +{ + "Remove-AzSpringCloudApp+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/gateway?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "c48493b0-1428-4f99-927f-e766235f6c7a" ], + "CommandName": [ "Remove-AzSpringCloudApp" ], + "FullCommandName": [ "Remove-AzSpringCloudApp_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "c48493b0-1428-4f99-927f-e766235f6c7a" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "59b1e2dc-58fc-4d5d-8f93-ff4338f53d59" ], + "x-ms-correlation-request-id": [ "59b1e2dc-58fc-4d5d-8f93-ff4338f53d59" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T064145Z:59b1e2dc-58fc-4d5d-8f93-ff4338f53d59" ], + "Date": [ "Tue, 11 Aug 2020 06:41:44 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Remove-AzSpringCloudApp+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "098e21bb-7fa7-4e64-9b7f-fe1591a13037" ], + "CommandName": [ "Get-AzSpringCloudApp" ], + "FullCommandName": [ "Get-AzSpringCloudApp_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "2a98c95e-b906-4c91-8936-724d09416ce0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11997" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "098e21bb-7fa7-4e64-9b7f-fe1591a13037" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "2a98c95e-b906-4c91-8936-724d09416ce0" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T064145Z:2a98c95e-b906-4c91-8936-724d09416ce0" ], + "Date": [ "Tue, 11 Aug 2020 06:41:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1063" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"fqdn\":\"spring-9ys40b.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-10T09:20:14.527Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/account\",\"name\":\"account\"},{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"fqdn\":\"spring-9ys40b.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-10T09:20:15.2Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth\",\"name\":\"auth\"}]}" + } + }, + "Remove-AzSpringCloudApp+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/account?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/account?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "eeaa590a-574d-4d2f-a082-62dbdbd27f83" ], + "CommandName": [ "Get-AzSpringCloudApp" ], + "FullCommandName": [ "Get-AzSpringCloudApp_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "a25f0150-d4d8-4c13-aaa6-499f506360d1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11996" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "eeaa590a-574d-4d2f-a082-62dbdbd27f83" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "a25f0150-d4d8-4c13-aaa6-499f506360d1" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T064146Z:a25f0150-d4d8-4c13-aaa6-499f506360d1" ], + "Date": [ "Tue, 11 Aug 2020 06:41:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "529" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"fqdn\":\"spring-9ys40b.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-10T09:20:14.527Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/account\",\"name\":\"account\"}" + } + }, + "Remove-AzSpringCloudApp+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/account?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/account?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "21268747-96d0-4474-8a65-cb6338027208" ], + "CommandName": [ "Remove-AzSpringCloudApp" ], + "FullCommandName": [ "Remove-AzSpringCloudApp_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "21268747-96d0-4474-8a65-cb6338027208" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "d950e8f2-225b-42e5-9fac-cec589af020c" ], + "x-ms-correlation-request-id": [ "d950e8f2-225b-42e5-9fac-cec589af020c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T064147Z:d950e8f2-225b-42e5-9fac-cec589af020c" ], + "Date": [ "Tue, 11 Aug 2020 06:41:47 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Remove-AzSpringCloudApp+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "5c964293-af7e-4b1f-85b8-35093f1f7321" ], + "CommandName": [ "Get-AzSpringCloudApp" ], + "FullCommandName": [ "Get-AzSpringCloudApp_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "c4e74360-d835-440a-b4e8-40226cc7115d" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11995" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "5c964293-af7e-4b1f-85b8-35093f1f7321" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "c4e74360-d835-440a-b4e8-40226cc7115d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T064148Z:c4e74360-d835-440a-b4e8-40226cc7115d" ], + "Date": [ "Tue, 11 Aug 2020 06:41:47 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "533" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"fqdn\":\"spring-9ys40b.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-10T09:20:15.2Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth\",\"name\":\"auth\"}]}" + } + } +} \ No newline at end of file diff --git a/src/AppPlatform/test/Remove-AzSpringCloudApp.Tests.ps1 b/src/AppPlatform/test/Remove-AzSpringCloudApp.Tests.ps1 new file mode 100644 index 000000000000..3e07978ca403 --- /dev/null +++ b/src/AppPlatform/test/Remove-AzSpringCloudApp.Tests.ps1 @@ -0,0 +1,27 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzSpringCloudApp.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Remove-AzSpringCloudApp' { + It 'Delete' { + Remove-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName01 -Name $env.appGateway + $appList = Get-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName01 + $appList.Name| Should -Not -Contain $env.appGateway + } + + It 'DeleteViaIdentity' { + $app = Get-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName01 -Name $env.appAccount + Remove-AzSpringCloudApp -InputObject $app + $appList = Get-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName01 + $appList.Name| Should -Not -Contain $env.appAccount + } +} diff --git a/src/AppPlatform/test/Remove-AzSpringCloudAppDeployment.Recording.json b/src/AppPlatform/test/Remove-AzSpringCloudAppDeployment.Recording.json new file mode 100644 index 000000000000..14b775038c4e --- /dev/null +++ b/src/AppPlatform/test/Remove-AzSpringCloudAppDeployment.Recording.json @@ -0,0 +1,207 @@ +{ + "Remove-AzSpringCloudAppDeployment+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth/deployments/test?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth/deployments/test?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "9a7e44ca-8164-48b7-9b49-77aba0afcf6b" ], + "CommandName": [ "Remove-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Remove-AzSpringCloudAppDeployment_Delete" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "9a7e44ca-8164-48b7-9b49-77aba0afcf6b" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "06e7e313-089d-4584-bc0b-6fe5da4add92" ], + "x-ms-correlation-request-id": [ "06e7e313-089d-4584-bc0b-6fe5da4add92" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T065238Z:06e7e313-089d-4584-bc0b-6fe5da4add92" ], + "Date": [ "Tue, 11 Aug 2020 06:52:37 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Remove-AzSpringCloudAppDeployment+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth/deployments?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth/deployments?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "8a48c4c1-9ee8-42ec-9f2b-46698a86a6f5" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "d8a19eb1-79e8-4ba3-89ae-bcf5a5d85139" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11997" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "8a48c4c1-9ee8-42ec-9f2b-46698a86a6f5" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "d8a19eb1-79e8-4ba3-89ae-bcf5a5d85139" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T065239Z:d8a19eb1-79e8-4ba3-89ae-bcf5a5d85139" ], + "Date": [ "Tue, 11 Aug 2020 06:52:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "754" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\"},\"appName\":\"auth\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"jvmOptions\":\"-Xms1G -Xmx1G\",\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":false,\"instances\":[{\"name\":\"auth-prod-4-5c8c9d8888-gfnqn\",\"status\":\"Running\",\"discoveryStatus\":\"OUT_OF_SERVICE\",\"startTime\":\"2020-08-11T06:49:42Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth/deployments/prod\",\"name\":\"prod\"}]}" + } + }, + "Remove-AzSpringCloudAppDeployment+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth/deployments/prod?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth/deployments/prod?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "e7f8ec37-9c02-4986-936d-fd17747ef0a2" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "2dc0e232-caf3-436f-b195-a9e6e431dabb" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11996" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "e7f8ec37-9c02-4986-936d-fd17747ef0a2" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "2dc0e232-caf3-436f-b195-a9e6e431dabb" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T065240Z:2dc0e232-caf3-436f-b195-a9e6e431dabb" ], + "Date": [ "Tue, 11 Aug 2020 06:52:39 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "742" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\"},\"appName\":\"auth\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"jvmOptions\":\"-Xms1G -Xmx1G\",\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":false,\"instances\":[{\"name\":\"auth-prod-4-5c8c9d8888-gfnqn\",\"status\":\"Running\",\"discoveryStatus\":\"OUT_OF_SERVICE\",\"startTime\":\"2020-08-11T06:49:42Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth/deployments/prod\",\"name\":\"prod\"}" + } + }, + "Remove-AzSpringCloudAppDeployment+[NoContext]+DeleteViaIdentity+$DELETE+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth/deployments/prod?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth/deployments/prod?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "b27450c5-03df-4724-b1f0-e42d91cc51fb" ], + "CommandName": [ "Remove-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Remove-AzSpringCloudAppDeployment_DeleteViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "b27450c5-03df-4724-b1f0-e42d91cc51fb" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "8e66dc2a-9119-43c9-b795-78bcd80cbe36" ], + "x-ms-correlation-request-id": [ "8e66dc2a-9119-43c9-b795-78bcd80cbe36" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T065241Z:8e66dc2a-9119-43c9-b795-78bcd80cbe36" ], + "Date": [ "Tue, 11 Aug 2020 06:52:40 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Remove-AzSpringCloudAppDeployment+[NoContext]+DeleteViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth/deployments?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-9ys40b/apps/auth/deployments?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "8b5f720c-acc5-4f38-9988-c414875dac90" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11995" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "8b5f720c-acc5-4f38-9988-c414875dac90" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "af0526a5-2d28-40fa-9871-4bfa444b0d37" ], + "x-ms-correlation-request-id": [ "af0526a5-2d28-40fa-9871-4bfa444b0d37" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T065241Z:af0526a5-2d28-40fa-9871-4bfa444b0d37" ], + "Date": [ "Tue, 11 Aug 2020 06:52:41 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "12" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[]}" + } + } +} \ No newline at end of file diff --git a/src/AppPlatform/test/Remove-AzSpringCloudAppDeployment.Tests.ps1 b/src/AppPlatform/test/Remove-AzSpringCloudAppDeployment.Tests.ps1 new file mode 100644 index 000000000000..7fa1ee7f99bd --- /dev/null +++ b/src/AppPlatform/test/Remove-AzSpringCloudAppDeployment.Tests.ps1 @@ -0,0 +1,27 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzSpringCloudAppDeployment.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Remove-AzSpringCloudAppDeployment' { + It 'Delete' { + Remove-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName01 -AppName $env.appAuth -Name $env.deployTest + $deployList = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName01 -AppName $env.appAuth + $deployList.Name| Should -Not -Contain $env.deployTest + } + + It 'DeleteViaIdentity' { + $deploy = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName01 -AppName $env.appAuth -Name $env.deployProd + Remove-AzSpringCloudAppDeployment -InputObject $deploy + $deployList = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName01 -AppName $env.appAuth + $deployList.Name| Should -Not -Contain $env.deployProd + } +} diff --git a/src/AppPlatform/test/Restart-AzSpringCloudAppDeployment.Recording.json b/src/AppPlatform/test/Restart-AzSpringCloudAppDeployment.Recording.json new file mode 100644 index 000000000000..2e69c538357a --- /dev/null +++ b/src/AppPlatform/test/Restart-AzSpringCloudAppDeployment.Recording.json @@ -0,0 +1,548 @@ +{ + "Restart-AzSpringCloudAppDeployment+[NoContext]+Restart+$POST+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test/restart?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test/restart?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5" ], + "CommandName": [ "Restart-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Restart-AzSpringCloudAppDeployment_Restart" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationResults/1795298f-5847-437d-b7b5-c7b859dfca3d/Spring/test?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/1795298f-5847-437d-b7b5-c7b859dfca3d?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "e0d23310-6d16-4081-87d6-3296e3d1b2fa" ], + "x-ms-correlation-request-id": [ "e0d23310-6d16-4081-87d6-3296e3d1b2fa" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T070454Z:e0d23310-6d16-4081-87d6-3296e3d1b2fa" ], + "Date": [ "Tue, 11 Aug 2020 07:04:53 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Restart-AzSpringCloudAppDeployment+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/1795298f-5847-437d-b7b5-c7b859dfca3d?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/1795298f-5847-437d-b7b5-c7b859dfca3d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5", "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5" ], + "CommandName": [ "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Restart-AzSpringCloudAppDeployment_Restart", "Restart-AzSpringCloudAppDeployment_Restart" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "f625d55c-d67f-4ab3-afb8-f3006994428f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5, 8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "f625d55c-d67f-4ab3-afb8-f3006994428f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T070524Z:f625d55c-d67f-4ab3-afb8-f3006994428f" ], + "Date": [ "Tue, 11 Aug 2020 07:05:24 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "319" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/1795298f-5847-437d-b7b5-c7b859dfca3d\",\"name\":\"1795298f-5847-437d-b7b5-c7b859dfca3d\",\"status\":\"Running\",\"startTime\":\"2020-08-11T07:04:54.109444Z\"}" + } + }, + "Restart-AzSpringCloudAppDeployment+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/1795298f-5847-437d-b7b5-c7b859dfca3d?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/1795298f-5847-437d-b7b5-c7b859dfca3d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5", "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5", "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5" ], + "CommandName": [ "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Restart-AzSpringCloudAppDeployment_Restart", "Restart-AzSpringCloudAppDeployment_Restart", "Restart-AzSpringCloudAppDeployment_Restart" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "21085e7f-9c9f-4888-947c-745e1ca0d8a5" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5, 8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5, 8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "21085e7f-9c9f-4888-947c-745e1ca0d8a5" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T070555Z:21085e7f-9c9f-4888-947c-745e1ca0d8a5" ], + "Date": [ "Tue, 11 Aug 2020 07:05:54 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "319" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/1795298f-5847-437d-b7b5-c7b859dfca3d\",\"name\":\"1795298f-5847-437d-b7b5-c7b859dfca3d\",\"status\":\"Running\",\"startTime\":\"2020-08-11T07:04:54.109444Z\"}" + } + }, + "Restart-AzSpringCloudAppDeployment+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/1795298f-5847-437d-b7b5-c7b859dfca3d?api-version=2019-05-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/1795298f-5847-437d-b7b5-c7b859dfca3d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4" ], + "x-ms-client-request-id": [ "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5", "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5", "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5", "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5" ], + "CommandName": [ "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Restart-AzSpringCloudAppDeployment_Restart", "Restart-AzSpringCloudAppDeployment_Restart", "Restart-AzSpringCloudAppDeployment_Restart", "Restart-AzSpringCloudAppDeployment_Restart" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "c4ed68fb-06ab-482c-8896-6f6419f15502" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5, 8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5, 8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5, 8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "c4ed68fb-06ab-482c-8896-6f6419f15502" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T070625Z:c4ed68fb-06ab-482c-8896-6f6419f15502" ], + "Date": [ "Tue, 11 Aug 2020 07:06:24 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "362" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/1795298f-5847-437d-b7b5-c7b859dfca3d\",\"name\":\"1795298f-5847-437d-b7b5-c7b859dfca3d\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T07:04:54.109444Z\",\"endTime\":\"2020-08-11T07:06:01.3113343Z\"}" + } + }, + "Restart-AzSpringCloudAppDeployment+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/1795298f-5847-437d-b7b5-c7b859dfca3d?api-version=2019-05-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/1795298f-5847-437d-b7b5-c7b859dfca3d?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4", "5" ], + "x-ms-client-request-id": [ "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5", "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5", "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5", "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5", "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5" ], + "CommandName": [ "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Restart-AzSpringCloudAppDeployment_Restart", "Restart-AzSpringCloudAppDeployment_Restart", "Restart-AzSpringCloudAppDeployment_Restart", "Restart-AzSpringCloudAppDeployment_Restart", "Restart-AzSpringCloudAppDeployment_Restart" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "e3bc122e-d67b-4714-9d62-311f9ef8a2ec" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5, 8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5, 8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5, 8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5, 8dffc6d5-c9a0-4e6e-974d-9622ce26f3d5" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "e3bc122e-d67b-4714-9d62-311f9ef8a2ec" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T070625Z:e3bc122e-d67b-4714-9d62-311f9ef8a2ec" ], + "Date": [ "Tue, 11 Aug 2020 07:06:25 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "362" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/1795298f-5847-437d-b7b5-c7b859dfca3d\",\"name\":\"1795298f-5847-437d-b7b5-c7b859dfca3d\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T07:04:54.109444Z\",\"endTime\":\"2020-08-11T07:06:01.3113343Z\"}" + } + }, + "Restart-AzSpringCloudAppDeployment+[NoContext]+Restart+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test?api-version=2019-05-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "afef2f79-ef80-49db-b3b3-d2412ba171c3" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "620929ea-6f5f-4e5d-b4e9-4a0198d70294" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11998" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "afef2f79-ef80-49db-b3b3-d2412ba171c3" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "620929ea-6f5f-4e5d-b4e9-4a0198d70294" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T070626Z:620929ea-6f5f-4e5d-b4e9-4a0198d70294" ], + "Date": [ "Tue, 11 Aug 2020 07:06:25 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "822" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"resources/4ea5ee68fea05586106890ded5733820bb77d919cda27bc4b8139b7cd33b8889-2020081008-ae3396e9-98c3-46af-baff-3702e9511e0e\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":true,\"instances\":[{\"name\":\"gateway-test-7-5794b49fd7-74bph\",\"status\":\"Running\",\"discoveryStatus\":\"UP\",\"startTime\":\"2020-08-11T07:05:00Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test\",\"name\":\"test\"}" + } + }, + "Restart-AzSpringCloudAppDeployment+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/prod?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/prod?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "047cfa14-0064-4f5d-a2b8-1b341b1563b4" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "c621f394-7764-4610-a1ab-a3d542eb3515" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11997" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "047cfa14-0064-4f5d-a2b8-1b341b1563b4" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "c621f394-7764-4610-a1ab-a3d542eb3515" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T070626Z:c621f394-7764-4610-a1ab-a3d542eb3515" ], + "Date": [ "Tue, 11 Aug 2020 07:06:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "722" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"prod\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":false,\"instances\":[{\"name\":\"gateway-prod-7-59649b58d9-jdttw\",\"status\":\"Running\",\"discoveryStatus\":\"OUT_OF_SERVICE\",\"startTime\":\"2020-08-11T06:57:47Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/prod\",\"name\":\"prod\"}" + } + }, + "Restart-AzSpringCloudAppDeployment+[NoContext]+RestartViaIdentity+$POST+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/prod/restart?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/prod/restart?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5" ], + "CommandName": [ "Restart-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Restart-AzSpringCloudAppDeployment_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationResults/a522f21a-49b2-449f-8af4-2057b69d685b/Spring/prod?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/a522f21a-49b2-449f-8af4-2057b69d685b?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "dc8d1ca5-6c03-401a-aa24-a0e416809891" ], + "x-ms-correlation-request-id": [ "dc8d1ca5-6c03-401a-aa24-a0e416809891" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T070627Z:dc8d1ca5-6c03-401a-aa24-a0e416809891" ], + "Date": [ "Tue, 11 Aug 2020 07:06:26 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Restart-AzSpringCloudAppDeployment+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/a522f21a-49b2-449f-8af4-2057b69d685b?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/a522f21a-49b2-449f-8af4-2057b69d685b?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "8", "9" ], + "x-ms-client-request-id": [ "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5", "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5" ], + "CommandName": [ "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Restart-AzSpringCloudAppDeployment_RestartViaIdentity", "Restart-AzSpringCloudAppDeployment_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "35171e6d-6efd-4687-8d63-f25052702676" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5, 3b6a0bd9-1ee9-4bd0-a969-a92426b225f5" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "35171e6d-6efd-4687-8d63-f25052702676" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T070657Z:35171e6d-6efd-4687-8d63-f25052702676" ], + "Date": [ "Tue, 11 Aug 2020 07:06:56 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "320" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/a522f21a-49b2-449f-8af4-2057b69d685b\",\"name\":\"a522f21a-49b2-449f-8af4-2057b69d685b\",\"status\":\"Running\",\"startTime\":\"2020-08-11T07:06:27.3569043Z\"}" + } + }, + "Restart-AzSpringCloudAppDeployment+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/a522f21a-49b2-449f-8af4-2057b69d685b?api-version=2019-05-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/a522f21a-49b2-449f-8af4-2057b69d685b?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "8", "9", "10" ], + "x-ms-client-request-id": [ "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5", "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5", "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5" ], + "CommandName": [ "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Restart-AzSpringCloudAppDeployment_RestartViaIdentity", "Restart-AzSpringCloudAppDeployment_RestartViaIdentity", "Restart-AzSpringCloudAppDeployment_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "cadc1c2d-9701-41b5-bacd-2d053bb8dceb" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5, 3b6a0bd9-1ee9-4bd0-a969-a92426b225f5, 3b6a0bd9-1ee9-4bd0-a969-a92426b225f5" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "cadc1c2d-9701-41b5-bacd-2d053bb8dceb" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T070728Z:cadc1c2d-9701-41b5-bacd-2d053bb8dceb" ], + "Date": [ "Tue, 11 Aug 2020 07:07:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "320" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/a522f21a-49b2-449f-8af4-2057b69d685b\",\"name\":\"a522f21a-49b2-449f-8af4-2057b69d685b\",\"status\":\"Running\",\"startTime\":\"2020-08-11T07:06:27.3569043Z\"}" + } + }, + "Restart-AzSpringCloudAppDeployment+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/a522f21a-49b2-449f-8af4-2057b69d685b?api-version=2019-05-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/a522f21a-49b2-449f-8af4-2057b69d685b?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "8", "9", "10", "11" ], + "x-ms-client-request-id": [ "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5", "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5", "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5", "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5" ], + "CommandName": [ "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Restart-AzSpringCloudAppDeployment_RestartViaIdentity", "Restart-AzSpringCloudAppDeployment_RestartViaIdentity", "Restart-AzSpringCloudAppDeployment_RestartViaIdentity", "Restart-AzSpringCloudAppDeployment_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "fc52a959-3482-41a0-82f5-b2a205ab00ed" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5, 3b6a0bd9-1ee9-4bd0-a969-a92426b225f5, 3b6a0bd9-1ee9-4bd0-a969-a92426b225f5, 3b6a0bd9-1ee9-4bd0-a969-a92426b225f5" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "fc52a959-3482-41a0-82f5-b2a205ab00ed" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T070758Z:fc52a959-3482-41a0-82f5-b2a205ab00ed" ], + "Date": [ "Tue, 11 Aug 2020 07:07:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "363" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/a522f21a-49b2-449f-8af4-2057b69d685b\",\"name\":\"a522f21a-49b2-449f-8af4-2057b69d685b\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T07:06:27.3569043Z\",\"endTime\":\"2020-08-11T07:07:39.4763962Z\"}" + } + }, + "Restart-AzSpringCloudAppDeployment+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/a522f21a-49b2-449f-8af4-2057b69d685b?api-version=2019-05-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/a522f21a-49b2-449f-8af4-2057b69d685b?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "8", "9", "10", "11", "12" ], + "x-ms-client-request-id": [ "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5", "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5", "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5", "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5", "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5" ], + "CommandName": [ "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment", "Restart-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Restart-AzSpringCloudAppDeployment_RestartViaIdentity", "Restart-AzSpringCloudAppDeployment_RestartViaIdentity", "Restart-AzSpringCloudAppDeployment_RestartViaIdentity", "Restart-AzSpringCloudAppDeployment_RestartViaIdentity", "Restart-AzSpringCloudAppDeployment_RestartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "66eb1c47-8ed7-43cb-9bea-4941b5fea2bd" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "3b6a0bd9-1ee9-4bd0-a969-a92426b225f5, 3b6a0bd9-1ee9-4bd0-a969-a92426b225f5, 3b6a0bd9-1ee9-4bd0-a969-a92426b225f5, 3b6a0bd9-1ee9-4bd0-a969-a92426b225f5, 3b6a0bd9-1ee9-4bd0-a969-a92426b225f5" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "66eb1c47-8ed7-43cb-9bea-4941b5fea2bd" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T070758Z:66eb1c47-8ed7-43cb-9bea-4941b5fea2bd" ], + "Date": [ "Tue, 11 Aug 2020 07:07:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "363" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/a522f21a-49b2-449f-8af4-2057b69d685b\",\"name\":\"a522f21a-49b2-449f-8af4-2057b69d685b\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T07:06:27.3569043Z\",\"endTime\":\"2020-08-11T07:07:39.4763962Z\"}" + } + }, + "Restart-AzSpringCloudAppDeployment+[NoContext]+RestartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test?api-version=2019-05-01-preview+7": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "6af75142-41f5-445e-a49a-c338609f019c" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "89dd0d3b-5aa4-4e47-9eb9-a84f4ae123c5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11996" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "6af75142-41f5-445e-a49a-c338609f019c" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "89dd0d3b-5aa4-4e47-9eb9-a84f4ae123c5" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T070759Z:89dd0d3b-5aa4-4e47-9eb9-a84f4ae123c5" ], + "Date": [ "Tue, 11 Aug 2020 07:07:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "822" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"resources/4ea5ee68fea05586106890ded5733820bb77d919cda27bc4b8139b7cd33b8889-2020081008-ae3396e9-98c3-46af-baff-3702e9511e0e\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":true,\"instances\":[{\"name\":\"gateway-test-7-5794b49fd7-74bph\",\"status\":\"Running\",\"discoveryStatus\":\"UP\",\"startTime\":\"2020-08-11T07:05:00Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test\",\"name\":\"test\"}" + } + } +} \ No newline at end of file diff --git a/src/AppPlatform/test/Restart-AzSpringCloudAppDeployment.Tests.ps1 b/src/AppPlatform/test/Restart-AzSpringCloudAppDeployment.Tests.ps1 new file mode 100644 index 000000000000..d427d774d693 --- /dev/null +++ b/src/AppPlatform/test/Restart-AzSpringCloudAppDeployment.Tests.ps1 @@ -0,0 +1,27 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Restart-AzSpringCloudAppDeployment.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Restart-AzSpringCloudAppDeployment' { + It 'Restart' { + $deploy = Restart-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appGateway -Name $env.deployTest + $deploy = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appGateway -Name $env.deployTest + $deploy.ProvisioningState | Should -Be "Succeeded" + } + + It 'RestartViaIdentity' { + $deploy = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appGateway -Name $env.deployProd + $deploy = Restart-AzSpringCloudAppDeployment -InputObject $deploy + $deploy = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appGateway -Name $env.deployTest + $deploy.ProvisioningState | Should -Be "Succeeded" + } +} diff --git a/src/AppPlatform/test/Start-AzSpringCloudAppDeployment.Recording.json b/src/AppPlatform/test/Start-AzSpringCloudAppDeployment.Recording.json new file mode 100644 index 000000000000..93dbdb46ff64 --- /dev/null +++ b/src/AppPlatform/test/Start-AzSpringCloudAppDeployment.Recording.json @@ -0,0 +1,464 @@ +{ + "Start-AzSpringCloudAppDeployment+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/test/start?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/test/start?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "86ce2645-e0bf-40a4-998a-c7a42b89e672" ], + "CommandName": [ "Start-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Start-AzSpringCloudAppDeployment_Start" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationResults/ad6808f5-4ed4-4d48-a067-149c25d7d2e8/Spring/test?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "86ce2645-e0bf-40a4-998a-c7a42b89e672" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ad6808f5-4ed4-4d48-a067-149c25d7d2e8?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "528feb92-5a81-4f87-978f-5282f82aa6c8" ], + "x-ms-correlation-request-id": [ "528feb92-5a81-4f87-978f-5282f82aa6c8" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072025Z:528feb92-5a81-4f87-978f-5282f82aa6c8" ], + "Date": [ "Tue, 11 Aug 2020 07:20:25 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Start-AzSpringCloudAppDeployment+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ad6808f5-4ed4-4d48-a067-149c25d7d2e8?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ad6808f5-4ed4-4d48-a067-149c25d7d2e8?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "86ce2645-e0bf-40a4-998a-c7a42b89e672", "86ce2645-e0bf-40a4-998a-c7a42b89e672" ], + "CommandName": [ "Start-AzSpringCloudAppDeployment", "Start-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Start-AzSpringCloudAppDeployment_Start", "Start-AzSpringCloudAppDeployment_Start" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "e4e44894-de1f-48e1-b4bb-9d68f0b0176d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11938" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "86ce2645-e0bf-40a4-998a-c7a42b89e672, 86ce2645-e0bf-40a4-998a-c7a42b89e672" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "e4e44894-de1f-48e1-b4bb-9d68f0b0176d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072056Z:e4e44894-de1f-48e1-b4bb-9d68f0b0176d" ], + "Date": [ "Tue, 11 Aug 2020 07:20:55 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "320" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ad6808f5-4ed4-4d48-a067-149c25d7d2e8\",\"name\":\"ad6808f5-4ed4-4d48-a067-149c25d7d2e8\",\"status\":\"Running\",\"startTime\":\"2020-08-11T07:20:25.5213852Z\"}" + } + }, + "Start-AzSpringCloudAppDeployment+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ad6808f5-4ed4-4d48-a067-149c25d7d2e8?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ad6808f5-4ed4-4d48-a067-149c25d7d2e8?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "86ce2645-e0bf-40a4-998a-c7a42b89e672", "86ce2645-e0bf-40a4-998a-c7a42b89e672", "86ce2645-e0bf-40a4-998a-c7a42b89e672" ], + "CommandName": [ "Start-AzSpringCloudAppDeployment", "Start-AzSpringCloudAppDeployment", "Start-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Start-AzSpringCloudAppDeployment_Start", "Start-AzSpringCloudAppDeployment_Start", "Start-AzSpringCloudAppDeployment_Start" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "64859458-a92f-43c0-9e06-43ff8d36818a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11937" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "86ce2645-e0bf-40a4-998a-c7a42b89e672, 86ce2645-e0bf-40a4-998a-c7a42b89e672, 86ce2645-e0bf-40a4-998a-c7a42b89e672" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "64859458-a92f-43c0-9e06-43ff8d36818a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072126Z:64859458-a92f-43c0-9e06-43ff8d36818a" ], + "Date": [ "Tue, 11 Aug 2020 07:21:25 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "363" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ad6808f5-4ed4-4d48-a067-149c25d7d2e8\",\"name\":\"ad6808f5-4ed4-4d48-a067-149c25d7d2e8\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T07:20:25.5213852Z\",\"endTime\":\"2020-08-11T07:21:21.2404886Z\"}" + } + }, + "Start-AzSpringCloudAppDeployment+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ad6808f5-4ed4-4d48-a067-149c25d7d2e8?api-version=2019-05-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ad6808f5-4ed4-4d48-a067-149c25d7d2e8?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4" ], + "x-ms-client-request-id": [ "86ce2645-e0bf-40a4-998a-c7a42b89e672", "86ce2645-e0bf-40a4-998a-c7a42b89e672", "86ce2645-e0bf-40a4-998a-c7a42b89e672", "86ce2645-e0bf-40a4-998a-c7a42b89e672" ], + "CommandName": [ "Start-AzSpringCloudAppDeployment", "Start-AzSpringCloudAppDeployment", "Start-AzSpringCloudAppDeployment", "Start-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Start-AzSpringCloudAppDeployment_Start", "Start-AzSpringCloudAppDeployment_Start", "Start-AzSpringCloudAppDeployment_Start", "Start-AzSpringCloudAppDeployment_Start" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "986fb42d-9cb9-4a39-8eac-3ab1927c6fbe" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11936" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "86ce2645-e0bf-40a4-998a-c7a42b89e672, 86ce2645-e0bf-40a4-998a-c7a42b89e672, 86ce2645-e0bf-40a4-998a-c7a42b89e672, 86ce2645-e0bf-40a4-998a-c7a42b89e672" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "986fb42d-9cb9-4a39-8eac-3ab1927c6fbe" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072126Z:986fb42d-9cb9-4a39-8eac-3ab1927c6fbe" ], + "Date": [ "Tue, 11 Aug 2020 07:21:25 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "363" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ad6808f5-4ed4-4d48-a067-149c25d7d2e8\",\"name\":\"ad6808f5-4ed4-4d48-a067-149c25d7d2e8\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T07:20:25.5213852Z\",\"endTime\":\"2020-08-11T07:21:21.2404886Z\"}" + } + }, + "Start-AzSpringCloudAppDeployment+[NoContext]+Start+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/test?api-version=2019-05-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/test?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "cd3e8099-2f9c-47cc-b7d1-7f8b29737217" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "0fd12b54-6b35-4592-9289-05f50e278edb" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11995" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "cd3e8099-2f9c-47cc-b7d1-7f8b29737217" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "0fd12b54-6b35-4592-9289-05f50e278edb" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072127Z:0fd12b54-6b35-4592-9289-05f50e278edb" ], + "Date": [ "Tue, 11 Aug 2020 07:21:26 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "712" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\"},\"appName\":\"account\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":false,\"instances\":[{\"name\":\"account-test-7-7fbc6bcb76-9fcrh\",\"status\":\"Running\",\"discoveryStatus\":\"DOWN\",\"startTime\":\"2020-08-11T07:20:32Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/test\",\"name\":\"test\"}" + } + }, + "Start-AzSpringCloudAppDeployment+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/prod?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/prod?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "63ee0c1a-5ee3-4aca-821c-27e0d078c923" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "7766afaf-4568-4ff0-97ad-f405c65f780f" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11994" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "63ee0c1a-5ee3-4aca-821c-27e0d078c923" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "7766afaf-4568-4ff0-97ad-f405c65f780f" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072128Z:7766afaf-4568-4ff0-97ad-f405c65f780f" ], + "Date": [ "Tue, 11 Aug 2020 07:21:27 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "591" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\"},\"appName\":\"account\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"prod\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Stopped\",\"active\":false,\"instances\":[]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/prod\",\"name\":\"prod\"}" + } + }, + "Start-AzSpringCloudAppDeployment+[NoContext]+StartViaIdentity+$POST+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/prod/start?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/prod/start?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "09ef23a2-12ac-4b04-a129-5ea689fc698c" ], + "CommandName": [ "Start-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Start-AzSpringCloudAppDeployment_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationResults/b78c10f1-8b99-479a-bc62-f4bd6f316959/Spring/prod?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "09ef23a2-12ac-4b04-a129-5ea689fc698c" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b78c10f1-8b99-479a-bc62-f4bd6f316959?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "7a2d8e86-2b81-47eb-bab1-f7a226878978" ], + "x-ms-correlation-request-id": [ "7a2d8e86-2b81-47eb-bab1-f7a226878978" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072128Z:7a2d8e86-2b81-47eb-bab1-f7a226878978" ], + "Date": [ "Tue, 11 Aug 2020 07:21:27 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Start-AzSpringCloudAppDeployment+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b78c10f1-8b99-479a-bc62-f4bd6f316959?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b78c10f1-8b99-479a-bc62-f4bd6f316959?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7", "8" ], + "x-ms-client-request-id": [ "09ef23a2-12ac-4b04-a129-5ea689fc698c", "09ef23a2-12ac-4b04-a129-5ea689fc698c" ], + "CommandName": [ "Start-AzSpringCloudAppDeployment", "Start-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Start-AzSpringCloudAppDeployment_StartViaIdentity", "Start-AzSpringCloudAppDeployment_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "63f13acb-f9c0-43dc-8130-32ae2880a7b4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11935" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "09ef23a2-12ac-4b04-a129-5ea689fc698c, 09ef23a2-12ac-4b04-a129-5ea689fc698c" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "63f13acb-f9c0-43dc-8130-32ae2880a7b4" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072158Z:63f13acb-f9c0-43dc-8130-32ae2880a7b4" ], + "Date": [ "Tue, 11 Aug 2020 07:21:58 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "320" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b78c10f1-8b99-479a-bc62-f4bd6f316959\",\"name\":\"b78c10f1-8b99-479a-bc62-f4bd6f316959\",\"status\":\"Running\",\"startTime\":\"2020-08-11T07:21:28.4025543Z\"}" + } + }, + "Start-AzSpringCloudAppDeployment+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b78c10f1-8b99-479a-bc62-f4bd6f316959?api-version=2019-05-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b78c10f1-8b99-479a-bc62-f4bd6f316959?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7", "8", "9" ], + "x-ms-client-request-id": [ "09ef23a2-12ac-4b04-a129-5ea689fc698c", "09ef23a2-12ac-4b04-a129-5ea689fc698c", "09ef23a2-12ac-4b04-a129-5ea689fc698c" ], + "CommandName": [ "Start-AzSpringCloudAppDeployment", "Start-AzSpringCloudAppDeployment", "Start-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Start-AzSpringCloudAppDeployment_StartViaIdentity", "Start-AzSpringCloudAppDeployment_StartViaIdentity", "Start-AzSpringCloudAppDeployment_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "bd17a41f-68c4-4f74-b114-9ddf84b2e9a0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11934" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "09ef23a2-12ac-4b04-a129-5ea689fc698c, 09ef23a2-12ac-4b04-a129-5ea689fc698c, 09ef23a2-12ac-4b04-a129-5ea689fc698c" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "bd17a41f-68c4-4f74-b114-9ddf84b2e9a0" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072229Z:bd17a41f-68c4-4f74-b114-9ddf84b2e9a0" ], + "Date": [ "Tue, 11 Aug 2020 07:22:28 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "363" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b78c10f1-8b99-479a-bc62-f4bd6f316959\",\"name\":\"b78c10f1-8b99-479a-bc62-f4bd6f316959\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T07:21:28.4025543Z\",\"endTime\":\"2020-08-11T07:22:21.8155547Z\"}" + } + }, + "Start-AzSpringCloudAppDeployment+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b78c10f1-8b99-479a-bc62-f4bd6f316959?api-version=2019-05-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b78c10f1-8b99-479a-bc62-f4bd6f316959?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "7", "8", "9", "10" ], + "x-ms-client-request-id": [ "09ef23a2-12ac-4b04-a129-5ea689fc698c", "09ef23a2-12ac-4b04-a129-5ea689fc698c", "09ef23a2-12ac-4b04-a129-5ea689fc698c", "09ef23a2-12ac-4b04-a129-5ea689fc698c" ], + "CommandName": [ "Start-AzSpringCloudAppDeployment", "Start-AzSpringCloudAppDeployment", "Start-AzSpringCloudAppDeployment", "Start-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Start-AzSpringCloudAppDeployment_StartViaIdentity", "Start-AzSpringCloudAppDeployment_StartViaIdentity", "Start-AzSpringCloudAppDeployment_StartViaIdentity", "Start-AzSpringCloudAppDeployment_StartViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "b35805c2-86a7-4cb0-a012-c0bf04d87eb0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11933" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "09ef23a2-12ac-4b04-a129-5ea689fc698c, 09ef23a2-12ac-4b04-a129-5ea689fc698c, 09ef23a2-12ac-4b04-a129-5ea689fc698c, 09ef23a2-12ac-4b04-a129-5ea689fc698c" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "b35805c2-86a7-4cb0-a012-c0bf04d87eb0" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072229Z:b35805c2-86a7-4cb0-a012-c0bf04d87eb0" ], + "Date": [ "Tue, 11 Aug 2020 07:22:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "363" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b78c10f1-8b99-479a-bc62-f4bd6f316959\",\"name\":\"b78c10f1-8b99-479a-bc62-f4bd6f316959\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T07:21:28.4025543Z\",\"endTime\":\"2020-08-11T07:22:21.8155547Z\"}" + } + }, + "Start-AzSpringCloudAppDeployment+[NoContext]+StartViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/prod?api-version=2019-05-01-preview+6": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/prod?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "74f03f7e-9ee6-4249-af80-7a46db64ea2b" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "9622e474-5bf0-4402-8499-22b7888cbe09" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11993" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "74f03f7e-9ee6-4249-af80-7a46db64ea2b" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "9622e474-5bf0-4402-8499-22b7888cbe09" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072230Z:9622e474-5bf0-4402-8499-22b7888cbe09" ], + "Date": [ "Tue, 11 Aug 2020 07:22:29 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "711" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\"},\"appName\":\"account\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"prod\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":false,\"instances\":[{\"name\":\"account-prod-7-7c5bc468d-wwccp\",\"status\":\"Running\",\"discoveryStatus\":\"DOWN\",\"startTime\":\"2020-08-11T07:21:35Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/prod\",\"name\":\"prod\"}" + } + } +} \ No newline at end of file diff --git a/src/AppPlatform/test/Start-AzSpringCloudAppDeployment.Tests.ps1 b/src/AppPlatform/test/Start-AzSpringCloudAppDeployment.Tests.ps1 new file mode 100644 index 000000000000..20edf10ec6b9 --- /dev/null +++ b/src/AppPlatform/test/Start-AzSpringCloudAppDeployment.Tests.ps1 @@ -0,0 +1,27 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Start-AzSpringCloudAppDeployment.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Start-AzSpringCloudAppDeployment' { + It 'Start' { + $deploy = Start-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appAccount -Name $env.deployTest + $deploy = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appAccount -Name $env.deployTest + $deploy.ProvisioningState | Should -Be "Succeeded" + } + + It 'StartViaIdentity' { + $deploy = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appAccount -Name $env.deployProd + $deploy = Start-AzSpringCloudAppDeployment -InputObject $deploy + $deploy = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appAccount -Name $env.deployProd + $deploy.ProvisioningState | Should -Be "Succeeded" + } +} diff --git a/src/AppPlatform/test/Stop-AzSpringCloudAppDeployment.Recording.json b/src/AppPlatform/test/Stop-AzSpringCloudAppDeployment.Recording.json new file mode 100644 index 000000000000..d149be9e4541 --- /dev/null +++ b/src/AppPlatform/test/Stop-AzSpringCloudAppDeployment.Recording.json @@ -0,0 +1,380 @@ +{ + "Stop-AzSpringCloudAppDeployment+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/test/stop?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/test/stop?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "c3691ca2-c6af-4c17-8e0d-53368210c558" ], + "CommandName": [ "Stop-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Stop-AzSpringCloudAppDeployment_Stop" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationResults/ebc03eee-aa89-4c20-966e-e34404d7cb56/Spring/test?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "c3691ca2-c6af-4c17-8e0d-53368210c558" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ebc03eee-aa89-4c20-966e-e34404d7cb56?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "02d04163-e4b8-4d2c-a626-7db27ce2fe77" ], + "x-ms-correlation-request-id": [ "02d04163-e4b8-4d2c-a626-7db27ce2fe77" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072442Z:02d04163-e4b8-4d2c-a626-7db27ce2fe77" ], + "Date": [ "Tue, 11 Aug 2020 07:24:41 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Stop-AzSpringCloudAppDeployment+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ebc03eee-aa89-4c20-966e-e34404d7cb56?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ebc03eee-aa89-4c20-966e-e34404d7cb56?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "c3691ca2-c6af-4c17-8e0d-53368210c558", "c3691ca2-c6af-4c17-8e0d-53368210c558" ], + "CommandName": [ "Stop-AzSpringCloudAppDeployment", "Stop-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Stop-AzSpringCloudAppDeployment_Stop", "Stop-AzSpringCloudAppDeployment_Stop" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "d9c7f759-1617-4c77-9b59-8b4ad718aac4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "c3691ca2-c6af-4c17-8e0d-53368210c558, c3691ca2-c6af-4c17-8e0d-53368210c558" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "d9c7f759-1617-4c77-9b59-8b4ad718aac4" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072512Z:d9c7f759-1617-4c77-9b59-8b4ad718aac4" ], + "Date": [ "Tue, 11 Aug 2020 07:25:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "363" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ebc03eee-aa89-4c20-966e-e34404d7cb56\",\"name\":\"ebc03eee-aa89-4c20-966e-e34404d7cb56\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T07:24:41.9323844Z\",\"endTime\":\"2020-08-11T07:25:05.8095604Z\"}" + } + }, + "Stop-AzSpringCloudAppDeployment+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ebc03eee-aa89-4c20-966e-e34404d7cb56?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ebc03eee-aa89-4c20-966e-e34404d7cb56?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "c3691ca2-c6af-4c17-8e0d-53368210c558", "c3691ca2-c6af-4c17-8e0d-53368210c558", "c3691ca2-c6af-4c17-8e0d-53368210c558" ], + "CommandName": [ "Stop-AzSpringCloudAppDeployment", "Stop-AzSpringCloudAppDeployment", "Stop-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Stop-AzSpringCloudAppDeployment_Stop", "Stop-AzSpringCloudAppDeployment_Stop", "Stop-AzSpringCloudAppDeployment_Stop" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "23b856da-df59-4003-8d50-e2ffa7d4acf7" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "c3691ca2-c6af-4c17-8e0d-53368210c558, c3691ca2-c6af-4c17-8e0d-53368210c558, c3691ca2-c6af-4c17-8e0d-53368210c558" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "23b856da-df59-4003-8d50-e2ffa7d4acf7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072512Z:23b856da-df59-4003-8d50-e2ffa7d4acf7" ], + "Date": [ "Tue, 11 Aug 2020 07:25:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "363" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/ebc03eee-aa89-4c20-966e-e34404d7cb56\",\"name\":\"ebc03eee-aa89-4c20-966e-e34404d7cb56\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T07:24:41.9323844Z\",\"endTime\":\"2020-08-11T07:25:05.8095604Z\"}" + } + }, + "Stop-AzSpringCloudAppDeployment+[NoContext]+Stop+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/test?api-version=2019-05-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/test?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "2fdfdbdd-af91-4426-80c1-a5d485f99b7b" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "3c3d3043-1cbd-407e-be31-c6d975048898" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "2fdfdbdd-af91-4426-80c1-a5d485f99b7b" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "3c3d3043-1cbd-407e-be31-c6d975048898" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072513Z:3c3d3043-1cbd-407e-be31-c6d975048898" ], + "Date": [ "Tue, 11 Aug 2020 07:25:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "591" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\"},\"appName\":\"account\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Stopped\",\"active\":false,\"instances\":[]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/test\",\"name\":\"test\"}" + } + }, + "Stop-AzSpringCloudAppDeployment+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/prod?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/prod?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "e7dec6d6-a11a-42a7-b098-bb2605379764" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "dad0ae35-331f-4469-a909-49cac3dc9c0c" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11998" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "e7dec6d6-a11a-42a7-b098-bb2605379764" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "dad0ae35-331f-4469-a909-49cac3dc9c0c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072513Z:dad0ae35-331f-4469-a909-49cac3dc9c0c" ], + "Date": [ "Tue, 11 Aug 2020 07:25:13 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "721" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\"},\"appName\":\"account\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"prod\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":false,\"instances\":[{\"name\":\"account-prod-7-7c5bc468d-wwccp\",\"status\":\"Running\",\"discoveryStatus\":\"OUT_OF_SERVICE\",\"startTime\":\"2020-08-11T07:21:35Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/prod\",\"name\":\"prod\"}" + } + }, + "Stop-AzSpringCloudAppDeployment+[NoContext]+StopViaIdentity+$POST+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/prod/stop?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/prod/stop?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "f70ba208-b4a5-40a2-a5e0-73778342eca1" ], + "CommandName": [ "Stop-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Stop-AzSpringCloudAppDeployment_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationResults/b9725296-1bfa-4591-bbeb-c5311c0ed15b/Spring/prod?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "f70ba208-b4a5-40a2-a5e0-73778342eca1" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b9725296-1bfa-4591-bbeb-c5311c0ed15b?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "ea000d3c-4198-4c4d-a1eb-813a7f6295d4" ], + "x-ms-correlation-request-id": [ "ea000d3c-4198-4c4d-a1eb-813a7f6295d4" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072514Z:ea000d3c-4198-4c4d-a1eb-813a7f6295d4" ], + "Date": [ "Tue, 11 Aug 2020 07:25:14 GMT" ] + }, + "ContentHeaders": { + "Expires": [ "-1" ], + "Content-Length": [ "0" ] + }, + "Content": null + } + }, + "Stop-AzSpringCloudAppDeployment+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b9725296-1bfa-4591-bbeb-c5311c0ed15b?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b9725296-1bfa-4591-bbeb-c5311c0ed15b?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "6", "7" ], + "x-ms-client-request-id": [ "f70ba208-b4a5-40a2-a5e0-73778342eca1", "f70ba208-b4a5-40a2-a5e0-73778342eca1" ], + "CommandName": [ "Stop-AzSpringCloudAppDeployment", "Stop-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Stop-AzSpringCloudAppDeployment_StopViaIdentity", "Stop-AzSpringCloudAppDeployment_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "44201b0f-61ca-4137-b358-9c93e452ba84" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "f70ba208-b4a5-40a2-a5e0-73778342eca1, f70ba208-b4a5-40a2-a5e0-73778342eca1" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "44201b0f-61ca-4137-b358-9c93e452ba84" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072544Z:44201b0f-61ca-4137-b358-9c93e452ba84" ], + "Date": [ "Tue, 11 Aug 2020 07:25:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "363" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b9725296-1bfa-4591-bbeb-c5311c0ed15b\",\"name\":\"b9725296-1bfa-4591-bbeb-c5311c0ed15b\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T07:25:14.2580121Z\",\"endTime\":\"2020-08-11T07:25:27.6187864Z\"}" + } + }, + "Stop-AzSpringCloudAppDeployment+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b9725296-1bfa-4591-bbeb-c5311c0ed15b?api-version=2019-05-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b9725296-1bfa-4591-bbeb-c5311c0ed15b?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "6", "7", "8" ], + "x-ms-client-request-id": [ "f70ba208-b4a5-40a2-a5e0-73778342eca1", "f70ba208-b4a5-40a2-a5e0-73778342eca1", "f70ba208-b4a5-40a2-a5e0-73778342eca1" ], + "CommandName": [ "Stop-AzSpringCloudAppDeployment", "Stop-AzSpringCloudAppDeployment", "Stop-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Stop-AzSpringCloudAppDeployment_StopViaIdentity", "Stop-AzSpringCloudAppDeployment_StopViaIdentity", "Stop-AzSpringCloudAppDeployment_StopViaIdentity" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "448417be-ee12-4f16-a651-6254a45781b6" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "f70ba208-b4a5-40a2-a5e0-73778342eca1, f70ba208-b4a5-40a2-a5e0-73778342eca1, f70ba208-b4a5-40a2-a5e0-73778342eca1" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "448417be-ee12-4f16-a651-6254a45781b6" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072545Z:448417be-ee12-4f16-a651-6254a45781b6" ], + "Date": [ "Tue, 11 Aug 2020 07:25:44 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "363" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/b9725296-1bfa-4591-bbeb-c5311c0ed15b\",\"name\":\"b9725296-1bfa-4591-bbeb-c5311c0ed15b\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T07:25:14.2580121Z\",\"endTime\":\"2020-08-11T07:25:27.6187864Z\"}" + } + }, + "Stop-AzSpringCloudAppDeployment+[NoContext]+StopViaIdentity+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/prod?api-version=2019-05-01-preview+5": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/prod?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "9" ], + "x-ms-client-request-id": [ "fa4b251d-e1ab-4f39-9666-436fc3864676" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "f2be38dd-31ea-41f3-9ae8-a366b9c58d27" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11997" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "fa4b251d-e1ab-4f39-9666-436fc3864676" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "f2be38dd-31ea-41f3-9ae8-a366b9c58d27" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T072547Z:f2be38dd-31ea-41f3-9ae8-a366b9c58d27" ], + "Date": [ "Tue, 11 Aug 2020 07:25:47 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "591" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\"},\"appName\":\"account\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"prod\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Stopped\",\"active\":false,\"instances\":[]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/prod\",\"name\":\"prod\"}" + } + } +} \ No newline at end of file diff --git a/src/AppPlatform/test/Stop-AzSpringCloudAppDeployment.Tests.ps1 b/src/AppPlatform/test/Stop-AzSpringCloudAppDeployment.Tests.ps1 new file mode 100644 index 000000000000..8de5dd0038f1 --- /dev/null +++ b/src/AppPlatform/test/Stop-AzSpringCloudAppDeployment.Tests.ps1 @@ -0,0 +1,27 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Stop-AzSpringCloudAppDeployment.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Stop-AzSpringCloudAppDeployment' { + It 'Stop' { + $deploy = Stop-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appAccount -Name $env.deployTest + $deploy = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appAccount -Name $env.deployTest + $deploy.Status | Should -Be "Stopped" + } + + It 'StopViaIdentity' { + $deploy = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appAccount -Name $env.deployProd + $deploy = Stop-AzSpringCloudAppDeployment -InputObject $deploy + $deploy = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appAccount -Name $env.deployProd + $deploy.Status | Should -Be "Stopped" + } +} diff --git a/src/AppPlatform/test/Update-AzSpringCloud.Recording.json b/src/AppPlatform/test/Update-AzSpringCloud.Recording.json new file mode 100644 index 000000000000..e38b2038ccae --- /dev/null +++ b/src/AppPlatform/test/Update-AzSpringCloud.Recording.json @@ -0,0 +1,288 @@ +{ + "Update-AzSpringCloud+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo?api-version=2019-05-01-preview", + "Content": "{\n \"tags\": {\n \"key02\": \"value02\",\n \"key01\": \"value01\"\n }\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "66" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationResults/3cafe890-1b8e-4ddc-b61a-452ee9f27111/Spring/spring-6v5cyo?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1199" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "f98feeef-80f1-42c7-82dd-af7064de9348" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-6v5cyo/operationId/3cafe890-1b8e-4ddc-b61a-452ee9f27111?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "9e1dad4d-cd0c-49d2-aff2-0eda12b2617c" ], + "x-ms-correlation-request-id": [ "9e1dad4d-cd0c-49d2-aff2-0eda12b2617c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T073349Z:9e1dad4d-cd0c-49d2-aff2-0eda12b2617c" ], + "Date": [ "Tue, 11 Aug 2020 07:33:49 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "544" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"provisioningState\":\"Updating\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"56c22d9c03944985959478bcae1d435d\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":{\"key01\":\"value01\",\"key02\":\"value02\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo\",\"name\":\"spring-6v5cyo\"}" + } + }, + "Update-AzSpringCloud+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-6v5cyo/operationId/3cafe890-1b8e-4ddc-b61a-452ee9f27111?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-6v5cyo/operationId/3cafe890-1b8e-4ddc-b61a-452ee9f27111?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "f98feeef-80f1-42c7-82dd-af7064de9348", "f98feeef-80f1-42c7-82dd-af7064de9348" ], + "CommandName": [ "Az.SpringCloud.internal\\Update-AzSpringCloudService", "Az.SpringCloud.internal\\Update-AzSpringCloudService" ], + "FullCommandName": [ "Update-AzSpringCloudService_UpdateExpanded", "Update-AzSpringCloudService_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "89c25456-2035-4628-9267-586d3f8d2edb" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "f98feeef-80f1-42c7-82dd-af7064de9348, f98feeef-80f1-42c7-82dd-af7064de9348" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "89c25456-2035-4628-9267-586d3f8d2edb" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T073420Z:89c25456-2035-4628-9267-586d3f8d2edb" ], + "Date": [ "Tue, 11 Aug 2020 07:34:19 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "371" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-6v5cyo/operationId/3cafe890-1b8e-4ddc-b61a-452ee9f27111\",\"name\":\"3cafe890-1b8e-4ddc-b61a-452ee9f27111\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T07:33:49.6760608Z\",\"endTime\":\"2020-08-11T07:33:58.410047Z\"}" + } + }, + "Update-AzSpringCloud+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "f98feeef-80f1-42c7-82dd-af7064de9348", "f98feeef-80f1-42c7-82dd-af7064de9348", "f98feeef-80f1-42c7-82dd-af7064de9348" ], + "CommandName": [ "Az.SpringCloud.internal\\Update-AzSpringCloudService", "Az.SpringCloud.internal\\Update-AzSpringCloudService", "Az.SpringCloud.internal\\Update-AzSpringCloudService" ], + "FullCommandName": [ "Update-AzSpringCloudService_UpdateExpanded", "Update-AzSpringCloudService_UpdateExpanded", "Update-AzSpringCloudService_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "7effebbb-af43-42fb-a759-294779309cc5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11997" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "f98feeef-80f1-42c7-82dd-af7064de9348, f98feeef-80f1-42c7-82dd-af7064de9348, f98feeef-80f1-42c7-82dd-af7064de9348" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "7effebbb-af43-42fb-a759-294779309cc5" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T073420Z:7effebbb-af43-42fb-a759-294779309cc5" ], + "Date": [ "Tue, 11 Aug 2020 07:34:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "545" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"56c22d9c03944985959478bcae1d435d\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":{\"key01\":\"value01\",\"key02\":\"value02\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo\",\"name\":\"spring-6v5cyo\"}" + } + }, + "Update-AzSpringCloud+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "9f9b4e4b-940e-46aa-9baa-9aa3a915c9ab" ], + "CommandName": [ "Az.SpringCloud.internal\\Get-AzSpringCloudService" ], + "FullCommandName": [ "Get-AzSpringCloudService_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "4df56d95-7c70-443a-a528-28b21d41135e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11996" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "9f9b4e4b-940e-46aa-9baa-9aa3a915c9ab" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "4df56d95-7c70-443a-a528-28b21d41135e" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T073421Z:4df56d95-7c70-443a-a528-28b21d41135e" ], + "Date": [ "Tue, 11 Aug 2020 07:34:21 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "545" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"56c22d9c03944985959478bcae1d435d\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":{\"key01\":\"value01\",\"key02\":\"value02\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo\",\"name\":\"spring-6v5cyo\"}" + } + }, + "Update-AzSpringCloud+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo?api-version=2019-05-01-preview", + "Content": "{\n \"tags\": {\n \"key03\": \"value03\",\n \"key02\": \"value02\",\n \"key01\": \"value01\"\n }\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "90" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationResults/8661f167-5d17-45c9-a9e2-f1f0b451bc18/Spring/spring-6v5cyo?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1198" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "1000015f-5873-471a-88a5-adab6e8f6c14" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-6v5cyo/operationId/8661f167-5d17-45c9-a9e2-f1f0b451bc18?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "804d9d88-745c-4813-aafe-60c48b6592ff" ], + "x-ms-correlation-request-id": [ "804d9d88-745c-4813-aafe-60c48b6592ff" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T073422Z:804d9d88-745c-4813-aafe-60c48b6592ff" ], + "Date": [ "Tue, 11 Aug 2020 07:34:22 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "562" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"provisioningState\":\"Updating\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"56c22d9c03944985959478bcae1d435d\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":{\"key03\":\"value03\",\"key02\":\"value02\",\"key01\":\"value01\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo\",\"name\":\"spring-6v5cyo\"}" + } + }, + "Update-AzSpringCloud+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-6v5cyo/operationId/8661f167-5d17-45c9-a9e2-f1f0b451bc18?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-6v5cyo/operationId/8661f167-5d17-45c9-a9e2-f1f0b451bc18?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5", "6" ], + "x-ms-client-request-id": [ "1000015f-5873-471a-88a5-adab6e8f6c14", "1000015f-5873-471a-88a5-adab6e8f6c14" ], + "CommandName": [ "Az.SpringCloud.internal\\Update-AzSpringCloudService", "Az.SpringCloud.internal\\Update-AzSpringCloudService" ], + "FullCommandName": [ "Update-AzSpringCloudService_UpdateViaIdentityExpanded", "Update-AzSpringCloudService_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "11a51fd1-35bb-4d94-bdab-ab8268759fc5" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "1000015f-5873-471a-88a5-adab6e8f6c14, 1000015f-5873-471a-88a5-adab6e8f6c14" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "11a51fd1-35bb-4d94-bdab-ab8268759fc5" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T073453Z:11a51fd1-35bb-4d94-bdab-ab8268759fc5" ], + "Date": [ "Tue, 11 Aug 2020 07:34:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "371" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/spring-6v5cyo/operationId/8661f167-5d17-45c9-a9e2-f1f0b451bc18\",\"name\":\"8661f167-5d17-45c9-a9e2-f1f0b451bc18\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T07:34:22.723088Z\",\"endTime\":\"2020-08-11T07:34:31.3132539Z\"}" + } + }, + "Update-AzSpringCloud+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo?api-version=2019-05-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5", "6", "7" ], + "x-ms-client-request-id": [ "1000015f-5873-471a-88a5-adab6e8f6c14", "1000015f-5873-471a-88a5-adab6e8f6c14", "1000015f-5873-471a-88a5-adab6e8f6c14" ], + "CommandName": [ "Az.SpringCloud.internal\\Update-AzSpringCloudService", "Az.SpringCloud.internal\\Update-AzSpringCloudService", "Az.SpringCloud.internal\\Update-AzSpringCloudService" ], + "FullCommandName": [ "Update-AzSpringCloudService_UpdateViaIdentityExpanded", "Update-AzSpringCloudService_UpdateViaIdentityExpanded", "Update-AzSpringCloudService_UpdateViaIdentityExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "61bfd0a7-147e-4c69-9dcf-0cdc495eeae1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11995" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "1000015f-5873-471a-88a5-adab6e8f6c14, 1000015f-5873-471a-88a5-adab6e8f6c14, 1000015f-5873-471a-88a5-adab6e8f6c14" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "61bfd0a7-147e-4c69-9dcf-0cdc495eeae1" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T073453Z:61bfd0a7-147e-4c69-9dcf-0cdc495eeae1" ], + "Date": [ "Tue, 11 Aug 2020 07:34:52 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "563" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"provisioningState\":\"Succeeded\",\"configServerProperties\":{\"state\":\"Succeeded\"},\"trace\":{\"state\":\"Succeeded\",\"enabled\":false,\"appInsightInstrumentationKey\":null},\"version\":2,\"serviceId\":\"56c22d9c03944985959478bcae1d435d\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":{\"key03\":\"value03\",\"key02\":\"value02\",\"key01\":\"value01\"},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo\",\"name\":\"spring-6v5cyo\"}" + } + } +} \ No newline at end of file diff --git a/src/AppPlatform/test/Update-AzSpringCloud.Tests.ps1 b/src/AppPlatform/test/Update-AzSpringCloud.Tests.ps1 new file mode 100644 index 000000000000..06ead3b329e3 --- /dev/null +++ b/src/AppPlatform/test/Update-AzSpringCloud.Tests.ps1 @@ -0,0 +1,25 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzSpringCloud.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Update-AzSpringCloud' { + It 'UpdateExpanded' { + $spring = Update-AzSpringCloud -ResourceGroupName $env.resourceGroup -Name $env.springName00 -Tag @{"key01" = "value01"; "key02" = "value02"} + $spring.Tag.Count | Should -Be 2 + } + + It 'UpdateViaIdentityExpanded' { + $spring = Get-AzSpringCloud -ResourceGroupName $env.resourceGroup -Name $env.springName00 + $spring = Update-AzSpringCloud -InputObject $spring -Tag @{"key01" = "value01"; "key02" = "value02"; "key03" = "value03"} + $spring.Tag.Count | Should -Be 3 + } +} diff --git a/src/AppPlatform/test/Update-AzSpringCloudApp.Recording.json b/src/AppPlatform/test/Update-AzSpringCloudApp.Recording.json new file mode 100644 index 000000000000..9d50bfaf807d --- /dev/null +++ b/src/AppPlatform/test/Update-AzSpringCloudApp.Recording.json @@ -0,0 +1,202 @@ +{ + "Update-AzSpringCloudApp+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/auth?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/auth?api-version=2019-05-01-preview", + "Content": "{\n \"properties\": {\n \"activeDeploymentName\": \"prod\"\n }\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "60" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "58169d97-b1f1-4de7-b61c-481096bd0636" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1199" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "1d796a2d-3f9e-4ba1-b84f-f666b6d8ac86" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "58169d97-b1f1-4de7-b61c-481096bd0636" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T074509Z:58169d97-b1f1-4de7-b61c-481096bd0636" ], + "Date": [ "Tue, 11 Aug 2020 07:45:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "553" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"activeDeploymentName\":\"prod\",\"fqdn\":\"spring-6v5cyo.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-10T08:34:43.626Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/auth\",\"name\":\"auth\"}" + } + }, + "Update-AzSpringCloudApp+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/auth/deployments/prod?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/auth/deployments/prod?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "2" ], + "x-ms-client-request-id": [ "551e865f-85ac-42db-bc85-6d830643ec69" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "ccddb520-64a5-482e-a8ce-1ac04700c89a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11998" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "551e865f-85ac-42db-bc85-6d830643ec69" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "ccddb520-64a5-482e-a8ce-1ac04700c89a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T074510Z:ccddb520-64a5-482e-a8ce-1ac04700c89a" ], + "Date": [ "Tue, 11 Aug 2020 07:45:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "718" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\",\"version\":\"0.0.1\"},\"appName\":\"auth\",\"deploymentSettings\":{\"cpu\":2,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"prod\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":true,\"instances\":[{\"name\":\"auth-prod-4-78b9896c9c-85scb\",\"status\":\"Running\",\"discoveryStatus\":\"UP\",\"startTime\":\"2020-08-11T06:30:56Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/auth/deployments/prod\",\"name\":\"prod\"}" + } + }, + "Update-AzSpringCloudApp+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "8fc1ea03-2861-42f7-88a6-501dd4837b72" ], + "CommandName": [ "Get-AzSpringCloudApp" ], + "FullCommandName": [ "Get-AzSpringCloudApp_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "8e66d873-86e1-441e-b55f-9406ec4a91d3" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11997" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "8fc1ea03-2861-42f7-88a6-501dd4837b72" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "8e66d873-86e1-441e-b55f-9406ec4a91d3" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T074510Z:8e66d873-86e1-441e-b55f-9406ec4a91d3" ], + "Date": [ "Tue, 11 Aug 2020 07:45:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "559" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"activeDeploymentName\":\"prod\",\"fqdn\":\"spring-6v5cyo.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-10T08:31:59.637Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account\",\"name\":\"account\"}" + } + }, + "Update-AzSpringCloudApp+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account?api-version=2019-05-01-preview", + "Content": "{\n \"properties\": {\n \"activeDeploymentName\": \"test\"\n }\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "60" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "74efc388-fb00-48ca-b70b-bd1574a70459" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1198" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "c2e4cc27-2a9f-4534-b3e0-4a5df675ba99" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "74efc388-fb00-48ca-b70b-bd1574a70459" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T074515Z:74efc388-fb00-48ca-b70b-bd1574a70459" ], + "Date": [ "Tue, 11 Aug 2020 07:45:14 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "559" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"activeDeploymentName\":\"test\",\"fqdn\":\"spring-6v5cyo.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-10T08:31:59.637Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account\",\"name\":\"account\"}" + } + }, + "Update-AzSpringCloudApp+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/test?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/test?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "3dbc844b-0b05-40dd-ad2d-6c7ac3320a41" ], + "CommandName": [ "Get-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Get-AzSpringCloudAppDeployment_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "5434164f-3b64-46c4-ae34-68a5a35920ec" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11997" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "3dbc844b-0b05-40dd-ad2d-6c7ac3320a41" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "5434164f-3b64-46c4-ae34-68a5a35920ec" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20200811T074517Z:5434164f-3b64-46c4-ae34-68a5a35920ec" ], + "Date": [ "Tue, 11 Aug 2020 07:45:17 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "590" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\"},\"appName\":\"account\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Stopped\",\"active\":true,\"instances\":[]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/account/deployments/test\",\"name\":\"test\"}" + } + } +} \ No newline at end of file diff --git a/src/AppPlatform/test/Update-AzSpringCloudApp.Tests.ps1 b/src/AppPlatform/test/Update-AzSpringCloudApp.Tests.ps1 new file mode 100644 index 000000000000..54b544672cf1 --- /dev/null +++ b/src/AppPlatform/test/Update-AzSpringCloudApp.Tests.ps1 @@ -0,0 +1,27 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzSpringCloudApp.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Update-AzSpringCloudApp' { + It 'UpdateExpanded' { + Update-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -Name $env.appAuth -ActiveDeploymentName $env.deployProd + $deploy = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appAuth -Name $env.deployProd + $deploy.Active | Should -Be $true + } + + It 'UpdateViaIdentityExpanded' { + $app = Get-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -Name $env.appAccount + Update-AzSpringCloudApp -InputObject $app -ActiveDeploymentName $env.deployTest + $deploy = Get-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appAccount -Name $env.deployTest + $deploy.Active | Should -Be $true + } +} diff --git a/src/AppPlatform/test/Update-AzSpringCloudAppDeployment.Recording.json b/src/AppPlatform/test/Update-AzSpringCloudAppDeployment.Recording.json new file mode 100644 index 000000000000..d7925fd0c71d --- /dev/null +++ b/src/AppPlatform/test/Update-AzSpringCloudAppDeployment.Recording.json @@ -0,0 +1,325 @@ +{ + "Update-AzSpringCloudAppDeployment+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test?api-version=2019-05-01-preview", + "Content": "{\n \"properties\": {\n \"deploymentSettings\": {\n \"cpu\": 2\n }\n }\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "74" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationResults/eecc79b8-4223-4997-84d0-e86852eef8d2/Spring/test?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1199" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "80a26734-a917-40a1-b40d-adc8fb96c87d" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/eecc79b8-4223-4997-84d0-e86852eef8d2?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "6e78eeb7-9b4e-412f-a84a-74eebaeee944" ], + "x-ms-correlation-request-id": [ "6e78eeb7-9b4e-412f-a84a-74eebaeee944" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T074642Z:6e78eeb7-9b4e-412f-a84a-74eebaeee944" ], + "Date": [ "Tue, 11 Aug 2020 07:46:42 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "821" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"resources/4ea5ee68fea05586106890ded5733820bb77d919cda27bc4b8139b7cd33b8889-2020081008-ae3396e9-98c3-46af-baff-3702e9511e0e\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":2,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Updating\",\"status\":\"Running\",\"active\":true,\"instances\":[{\"name\":\"gateway-test-7-5794b49fd7-74bph\",\"status\":\"Running\",\"discoveryStatus\":\"UP\",\"startTime\":\"2020-08-11T07:05:00Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test\",\"name\":\"test\"}" + } + }, + "Update-AzSpringCloudAppDeployment+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/eecc79b8-4223-4997-84d0-e86852eef8d2?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/eecc79b8-4223-4997-84d0-e86852eef8d2?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2" ], + "x-ms-client-request-id": [ "80a26734-a917-40a1-b40d-adc8fb96c87d", "80a26734-a917-40a1-b40d-adc8fb96c87d" ], + "CommandName": [ "Az.SpringCloud.internal\\Update-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\Update-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Update-AzSpringCloudAppDeployment_UpdateExpanded", "Update-AzSpringCloudAppDeployment_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "5eee7597-3757-447a-86f8-c92f3a12cf68" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "80a26734-a917-40a1-b40d-adc8fb96c87d, 80a26734-a917-40a1-b40d-adc8fb96c87d" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "5eee7597-3757-447a-86f8-c92f3a12cf68" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T074712Z:5eee7597-3757-447a-86f8-c92f3a12cf68" ], + "Date": [ "Tue, 11 Aug 2020 07:47:12 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "320" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/eecc79b8-4223-4997-84d0-e86852eef8d2\",\"name\":\"eecc79b8-4223-4997-84d0-e86852eef8d2\",\"status\":\"Running\",\"startTime\":\"2020-08-11T07:46:41.9717916Z\"}" + } + }, + "Update-AzSpringCloudAppDeployment+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/eecc79b8-4223-4997-84d0-e86852eef8d2?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/eecc79b8-4223-4997-84d0-e86852eef8d2?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3" ], + "x-ms-client-request-id": [ "80a26734-a917-40a1-b40d-adc8fb96c87d", "80a26734-a917-40a1-b40d-adc8fb96c87d", "80a26734-a917-40a1-b40d-adc8fb96c87d" ], + "CommandName": [ "Az.SpringCloud.internal\\Update-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\Update-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\Update-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Update-AzSpringCloudAppDeployment_UpdateExpanded", "Update-AzSpringCloudAppDeployment_UpdateExpanded", "Update-AzSpringCloudAppDeployment_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "3ee600a0-2e37-4f47-b05b-dc831265a31b" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "80a26734-a917-40a1-b40d-adc8fb96c87d, 80a26734-a917-40a1-b40d-adc8fb96c87d, 80a26734-a917-40a1-b40d-adc8fb96c87d" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "3ee600a0-2e37-4f47-b05b-dc831265a31b" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T074743Z:3ee600a0-2e37-4f47-b05b-dc831265a31b" ], + "Date": [ "Tue, 11 Aug 2020 07:47:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "363" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/test/operationId/eecc79b8-4223-4997-84d0-e86852eef8d2\",\"name\":\"eecc79b8-4223-4997-84d0-e86852eef8d2\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T07:46:41.9717916Z\",\"endTime\":\"2020-08-11T07:47:18.1669619Z\"}" + } + }, + "Update-AzSpringCloudAppDeployment+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test?api-version=2019-05-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "1", "2", "3", "4" ], + "x-ms-client-request-id": [ "80a26734-a917-40a1-b40d-adc8fb96c87d", "80a26734-a917-40a1-b40d-adc8fb96c87d", "80a26734-a917-40a1-b40d-adc8fb96c87d", "80a26734-a917-40a1-b40d-adc8fb96c87d" ], + "CommandName": [ "Az.SpringCloud.internal\\Update-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\Update-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\Update-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\Update-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Update-AzSpringCloudAppDeployment_UpdateExpanded", "Update-AzSpringCloudAppDeployment_UpdateExpanded", "Update-AzSpringCloudAppDeployment_UpdateExpanded", "Update-AzSpringCloudAppDeployment_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "48161f6f-2bb3-4a3b-bc50-bc725a8bfe46" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11999" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "80a26734-a917-40a1-b40d-adc8fb96c87d, 80a26734-a917-40a1-b40d-adc8fb96c87d, 80a26734-a917-40a1-b40d-adc8fb96c87d, 80a26734-a917-40a1-b40d-adc8fb96c87d" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "48161f6f-2bb3-4a3b-bc50-bc725a8bfe46" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T074743Z:48161f6f-2bb3-4a3b-bc50-bc725a8bfe46" ], + "Date": [ "Tue, 11 Aug 2020 07:47:43 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "822" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"resources/4ea5ee68fea05586106890ded5733820bb77d919cda27bc4b8139b7cd33b8889-2020081008-ae3396e9-98c3-46af-baff-3702e9511e0e\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":2,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"test\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":true,\"instances\":[{\"name\":\"gateway-test-7-5744dcb9f9-zcvgt\",\"status\":\"Running\",\"discoveryStatus\":\"UP\",\"startTime\":\"2020-08-11T07:46:49Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/test\",\"name\":\"test\"}" + } + }, + "Update-AzSpringCloudAppDeployment+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/prod?api-version=2019-05-01-preview+1": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/prod?api-version=2019-05-01-preview", + "Content": "{\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "3" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "ce55a687-2340-4f32-85a1-e96fb190d116" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1198" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "53d03441-a6ef-4834-9489-59247d59e222" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "ce55a687-2340-4f32-85a1-e96fb190d116" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T074745Z:ce55a687-2340-4f32-85a1-e96fb190d116" ], + "Date": [ "Tue, 11 Aug 2020 07:47:45 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "722" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"prod\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":false,\"instances\":[{\"name\":\"gateway-prod-7-5c6f89c668-hzmbq\",\"status\":\"Running\",\"discoveryStatus\":\"OUT_OF_SERVICE\",\"startTime\":\"2020-08-11T07:06:33Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/prod\",\"name\":\"prod\"}" + } + }, + "Update-AzSpringCloudAppDeployment+[NoContext]+UpdateViaIdentityExpanded+$PATCH+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/prod?api-version=2019-05-01-preview+2": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/prod?api-version=2019-05-01-preview", + "Content": "{\n \"properties\": {\n \"source\": {\n \"version\": \"0.0.1\"\n }\n }\n}", + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "72" ] + } + }, + "Response": { + "StatusCode": 202, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationResults/be201795-6deb-4f07-a8ad-9153b987d306/Spring/prod?api-version=2019-05-01-preview" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1197" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "df743b3f-74e0-49f2-843b-417dd72d2af7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/be201795-6deb-4f07-a8ad-9153b987d306?api-version=2019-05-01-preview" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-request-id": [ "6aa5e0cd-26b3-4fe5-a968-3b6ff5e70b9c" ], + "x-ms-correlation-request-id": [ "6aa5e0cd-26b3-4fe5-a968-3b6ff5e70b9c" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T074746Z:6aa5e0cd-26b3-4fe5-a968-3b6ff5e70b9c" ], + "Date": [ "Tue, 11 Aug 2020 07:47:46 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "739" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\",\"version\":\"0.0.1\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"prod\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Updating\",\"status\":\"Running\",\"active\":false,\"instances\":[{\"name\":\"gateway-prod-7-5c6f89c668-hzmbq\",\"status\":\"Running\",\"discoveryStatus\":\"OUT_OF_SERVICE\",\"startTime\":\"2020-08-11T07:06:33Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/prod\",\"name\":\"prod\"}" + } + }, + "Update-AzSpringCloudAppDeployment+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/be201795-6deb-4f07-a8ad-9153b987d306?api-version=2019-05-01-preview+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/be201795-6deb-4f07-a8ad-9153b987d306?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "6", "7" ], + "x-ms-client-request-id": [ "df743b3f-74e0-49f2-843b-417dd72d2af7", "df743b3f-74e0-49f2-843b-417dd72d2af7" ], + "CommandName": [ "Az.SpringCloud.internal\\Update-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\Update-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Update-AzSpringCloudAppDeployment_UpdateExpanded", "Update-AzSpringCloudAppDeployment_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "d2b133ff-7f45-485b-8089-890b29f9b028" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "df743b3f-74e0-49f2-843b-417dd72d2af7, df743b3f-74e0-49f2-843b-417dd72d2af7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "d2b133ff-7f45-485b-8089-890b29f9b028" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T074816Z:d2b133ff-7f45-485b-8089-890b29f9b028" ], + "Date": [ "Tue, 11 Aug 2020 07:48:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "362" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/prod/operationId/be201795-6deb-4f07-a8ad-9153b987d306\",\"name\":\"be201795-6deb-4f07-a8ad-9153b987d306\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-11T07:47:45.9764687Z\",\"endTime\":\"2020-08-11T07:47:53.423948Z\"}" + } + }, + "Update-AzSpringCloudAppDeployment+[NoContext]+UpdateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/prod?api-version=2019-05-01-preview+4": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/prod?api-version=2019-05-01-preview", + "Content": null, + "Headers": { + "x-ms-unique-id": [ "6", "7", "8" ], + "x-ms-client-request-id": [ "df743b3f-74e0-49f2-843b-417dd72d2af7", "df743b3f-74e0-49f2-843b-417dd72d2af7", "df743b3f-74e0-49f2-843b-417dd72d2af7" ], + "CommandName": [ "Az.SpringCloud.internal\\Update-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\Update-AzSpringCloudAppDeployment", "Az.SpringCloud.internal\\Update-AzSpringCloudAppDeployment" ], + "FullCommandName": [ "Update-AzSpringCloudAppDeployment_UpdateExpanded", "Update-AzSpringCloudAppDeployment_UpdateExpanded", "Update-AzSpringCloudAppDeployment_UpdateExpanded" ], + "ParameterSetName": [ "__AllParameterSets", "__AllParameterSets", "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview", "AzurePowershell/Az4.0.0-preview" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Vary": [ "Accept-Encoding" ], + "x-ms-request-id": [ "e4a0d15a-3e14-49db-b436-dbaaf51707a1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "11998" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-client-request-id": [ "df743b3f-74e0-49f2-843b-417dd72d2af7, df743b3f-74e0-49f2-843b-417dd72d2af7, df743b3f-74e0-49f2-843b-417dd72d2af7" ], + "x-rp-server-mvid": [ "cbbb5e32-ca1b-4329-803f-b812c8974fd4" ], + "Server": [ "nginx/1.17.7" ], + "x-ms-correlation-request-id": [ "e4a0d15a-3e14-49db-b436-dbaaf51707a1" ], + "x-ms-routing-request-id": [ "KOREASOUTH:20200811T074817Z:e4a0d15a-3e14-49db-b436-dbaaf51707a1" ], + "Date": [ "Tue, 11 Aug 2020 07:48:16 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "740" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\u003cdefault\u003e\",\"version\":\"0.0.1\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":3,\"instanceCount\":1,\"environmentVariables\":{\"env\":\"prod\"},\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":false,\"instances\":[{\"name\":\"gateway-prod-7-5c6f89c668-hzmbq\",\"status\":\"Running\",\"discoveryStatus\":\"OUT_OF_SERVICE\",\"startTime\":\"2020-08-11T07:06:33Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/lucas-manual-test/providers/Microsoft.AppPlatform/Spring/spring-6v5cyo/apps/gateway/deployments/prod\",\"name\":\"prod\"}" + } + } +} \ No newline at end of file diff --git a/src/AppPlatform/test/Update-AzSpringCloudAppDeployment.Tests.ps1 b/src/AppPlatform/test/Update-AzSpringCloudAppDeployment.Tests.ps1 new file mode 100644 index 000000000000..60f2f404c293 --- /dev/null +++ b/src/AppPlatform/test/Update-AzSpringCloudAppDeployment.Tests.ps1 @@ -0,0 +1,25 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzSpringCloudAppDeployment.Recording.json' +$currentPath = $PSScriptRoot +while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent +} +. ($mockingPath | Select-Object -First 1).FullName + +Describe 'Update-AzSpringCloudAppDeployment' { + It 'UpdateExpanded' { + $deploy = Update-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appGateway -Name $env.deployTest -Cpu 2 + $deploy.DeploymentSettingCpu | Should -Be 2 + } + + It 'UpdateViaIdentityExpanded' { + $deploy = Update-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appGateway -Name $env.deployProd + $deploy = Update-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appGateway -Name $env.deployProd -SourceVersion '0.0.1' + $deploy.SourceVersion | Should -Be '0.0.1' + } +} diff --git a/src/AppPlatform/test/env.json b/src/AppPlatform/test/env.json new file mode 100644 index 000000000000..c22d601c81d8 --- /dev/null +++ b/src/AppPlatform/test/env.json @@ -0,0 +1,30 @@ +{ + "vaultUri": "https://app-keyvault-vqu4i1.vault.azure.net/", + "location": "eastus", + "location2": "eastus2", + "appAuth": "auth", + "cosmosDbName41Key": "0hPYaRJ3aZkfxdpzebzzUSjTZwXvRzM8uA6eEtDk0fiW7sqV0AeaU3iNKZfDABBbamKk4B9SaM4jjfrgPrhMnw==", + "certSubjectName32": "CN=spring-9ys40b.com", + "certSubjectName31": "CN=spring-6v5cyo.com", + "appGateway": "gateway", + "certSubjectName33": "CN=spring-9ys40b.com", + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "certificateName21": "cert-jxmdw2", + "certificateName22": "cert-pmovez", + "springName00": "spring-6v5cyo", + "name": "app-keyvault-vqu4i1", + "deployTest": "test", + "appAccount": "account", + "certificateName23": "cert-1e253r", + "certificateName20": "cert-7o4ilk", + "deployProd": "prod", + "cosmosDbName41": "cosmosdb-6hj4rf", + "cosmosDbName40": "cosmosdb-y2lxvb", + "certSubjectName30": "CN=spring-6v5cyo.com", + "cosmosDbName40Key": "5p4UynVZXRXcNwTQjFAQgs3K1aTi9kfb5lEvcf3TKsRTuAcNQaZeZrjxQBrbEGhccg8PUJ40Q4QuZ26iJaQqZg==", + "SubscriptionId": "9e223dbe-3399-4e19-88eb-0975f02ac87f", + "springName01": "spring-9ys40b", + "springName02": "spring-9asdvb", + "springName03": "spring-asd58b", + "resourceGroup": "lucas-manual-test" +} diff --git a/src/AppPlatform/test/helper.ps1 b/src/AppPlatform/test/helper.ps1 new file mode 100644 index 000000000000..032a6ba994d9 --- /dev/null +++ b/src/AppPlatform/test/helper.ps1 @@ -0,0 +1,23 @@ +function getUseModules() { + $usedModule = & 'gmo' + foreach($module in $usedModule) + { + $name = $module.Name + $version = $module.Version + Write-Host -ForegroundColor Green "Using module name: $name $version" + } +} + +function RandomNumber([int32]$len) { + return -join (0,1,2,3,4,5,6,7,8,9 | Get-Random -Count $len | % {[int32]$_}) +} +function RandomLetters([int32]$len) { + return -join ((65..90) + (97..122) | Get-Random -Count $len | % {[char]$_}) +} + +function CreateKeyVaultCertificate($vaultName, $certName, $subjectName) { + Write-Host -ForegroundColor Yellow "Create key vault certificate policy for test..." + $policy = New-AzKeyVaultCertificatePolicy -SecretContentType "application/x-pkcs12" -SubjectName $subjectName -IssuerName "Self" -ValidityInMonths 6 -ReuseKeyOnRenewal + Add-AzKeyVaultCertificate -VaultName $vaultName -Name $certName -CertificatePolicy $policy + Write-Host -ForegroundColor Yellow "Created successfully." +} \ No newline at end of file diff --git a/src/AppPlatform/test/loadEnv.ps1 b/src/AppPlatform/test/loadEnv.ps1 new file mode 100644 index 000000000000..c4ebf2e8310c --- /dev/null +++ b/src/AppPlatform/test/loadEnv.ps1 @@ -0,0 +1,28 @@ +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- +$envFile = 'env.json' +if ($TestMode -eq 'live') { + $envFile = 'localEnv.json' +} + +if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) { + $envFilePath = Join-Path $PSScriptRoot $envFile +} else { + $envFilePath = Join-Path $PSScriptRoot '..\$envFile' +} +$env = @{} +if (Test-Path -Path $envFilePath) { + $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json + $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant} +} \ No newline at end of file diff --git a/src/AppPlatform/test/readme.md b/src/AppPlatform/test/readme.md new file mode 100644 index 000000000000..1969200c6a09 --- /dev/null +++ b/src/AppPlatform/test/readme.md @@ -0,0 +1,17 @@ +# Test +This directory contains the [Pester](https://www.powershellgallery.com/packages/Pester) tests to run for the module. We use Pester as it is the unofficial standard for PowerShell unit testing. Test stubs for custom cmdlets (created in `../custom`) will be generated into this folder when `build-module.ps1` is ran. These test stubs will fail automatically, to indicate that tests should be written for custom cmdlets. + +## Info +- Modifiable: yes +- Generated: partial +- Committed: yes +- Packaged: no + +## Details +We allow three testing modes: *live*, *record*, and *playback*. These can be selected using the `-Live`, `-Record`, and `-Playback` switches respectively on the `test-module.ps1` script. This script will run through any `.Tests.ps1` scripts in the `test` folder. If you choose the *record* mode, it will create a `.Recording.json` file of the REST calls between the client and server. Then, when you choose *playback* mode, it will use the `.Recording.json` file to mock the communication between server and client. The *live* mode runs the same as the *record* mode; however, it doesn't create the `.Recording.json` file. + +## Purpose +Custom cmdlets generally encompass additional functionality not described in the REST specification, or combines functionality generated from the REST spec. To validate this functionality continues to operate as intended, creating tests that can be ran and re-ran against custom cmdlets is part of the framework. + +## Usage +To execute tests, run the `test-module.ps1`. To write tests, [this example](https://github.com/pester/Pester/blob/8b9cf4248315e44f1ac6673be149f7e0d7f10466/Examples/Planets/Get-Planet.Tests.ps1#L1) from the Pester repository is very useful for getting started. \ No newline at end of file diff --git a/src/AppPlatform/test/utils.ps1 b/src/AppPlatform/test/utils.ps1 new file mode 100644 index 000000000000..1fbc2202573b --- /dev/null +++ b/src/AppPlatform/test/utils.ps1 @@ -0,0 +1,169 @@ +. ("$PSScriptRoot\helper.ps1") +function RandomString([bool]$allChars, [int32]$len) { + if ($allChars) { + return -join ((33..126) | Get-Random -Count $len | % {[char]$_}) + } else { + return -join ((48..57) + (97..122) | Get-Random -Count $len | % {[char]$_}) + } +} +$env = @{} +function setupEnv() { + Write-Warning "Need to use Az.Resources module, Please check if installed Az.Resources(1.8.0 or Greater)." + # Az.KeyVault,, Az.CosmosDB Az.KeyVault(2.0.0 or Greater), and Az.CosmosDB(0.1.4 or Greater) + # Import az moduel + Import-Module -Name Az.Resources + # Import-Module -Name Az.KeyVault + #Import-Module -Name Az.CosmosDB + + # Preload subscriptionId and tenant from context, which will be used in test + # as default. You could change them if needed. + $env.SubscriptionId = (Get-AzContext).Subscription.Id + $env.Tenant = (Get-AzContext).Tenant.Id + $env.location = 'eastus' + $env.location2 = 'eastus2' + + # Resource Group + $env.resourceGroup = 'appplatform-rg-' + (RandomString -allChars $false -len 6) + # App Platform + $springName00 = 'spring-' + (RandomString -allChars $false -len 6) + $springName01 = 'spring-' + (RandomString -allChars $false -len 6) + $springName02 = 'spring-' + (RandomString -allChars $false -len 6) + $springName03 = 'spring-' + (RandomString -allChars $false -len 6) + $env.add('springName00', $springName00) + $env.add('springName01', $springName01) + $env.add('springName02', $springName02) + $env.add('springName03', $springName03) + + $appGateway = 'gateway' + $appAccount = 'account' + $appAuth = 'auth' + $env.add('appGateway', $appGateway) + $env.add('appAccount', $appAccount) + $env.add('appAuth', $appAuth) + + $deployTest = 'test' + $deployProd = 'prod' + $env.add('deployTest', $deployTest) + $env.add('deployProd', $deployProd) + + # Key Vault + $keyVaultName = 'app-keyvault-' + (RandomString -allChars $false -len 6) + $env.add('name', $keyVaultName); + $certificateName20 = 'cert-' + (RandomString -allChars $false -len 6) + $certificateName21 = 'cert-' + (RandomString -allChars $false -len 6) + $certificateName22 = 'cert-' + (RandomString -allChars $false -len 6) + $certificateName23 = 'cert-' + (RandomString -allChars $false -len 6) + $env.add('certificateName20', $certificateName20); + $env.add('certificateName21', $certificateName21); + $env.add('certificateName22', $certificateName22); + $env.add('certificateName23', $certificateName23); + + $certSubjectName30 = 'CN=' + $env.springName00 + '.com' + $certSubjectName31 = 'CN=' + $env.springName00 + '.com' + $certSubjectName32 = 'CN=' + $env.springName01 + '.com' + $certSubjectName33 = 'CN=' + $env.springName01 + '.com' + $env.add('certSubjectName30', $certSubjectName30); + $env.add('certSubjectName31', $certSubjectName31); + $env.add('certSubjectName32', $certSubjectName32); + $env.add('certSubjectName33', $certSubjectName33); + + # Cosmos DB + $cosmosDbName40 = 'cosmosdb-' + (RandomString -allChars $false -len 6) + $cosmosDbName41 = 'cosmosdb-' + (RandomString -allChars $false -len 6) + $env.add('cosmosDbName40', $cosmosDbName40); + $env.add('cosmosDbName41', $cosmosDbName41); + + # Create resource group for test + Write-Host -ForegroundColor Green "Start to creating resource group for test..." + New-AzResourceGroup -Name $env.resourceGroup -Location $env.location + Write-Host -ForegroundColor Green "Resource group created successfully." + + # Create spring server for test. + Write-Host -ForegroundColor Green "Start create app platform for test..." + + New-AzSpringCloud -ResourceGroupName $env.resourceGroup -Name $env.springName00 -Location $env.location + + New-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -Name $env.appGateway -Location $env.location ` + -TemporaryDiskMountPath "/mytemporarydisk" -TemporaryDiskSizeInGb 2 -PersistentDiskSizeInGb 2 -PersistentDiskMountPath "/mypersistentdisk" + + New-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appGateway -Name $env.deployTest ` + -Cpu 1 -MemoryInGb 3 -InstanceCount 1 -RuntimeVersion "Java_8" -EnvironmentVariable @{"env" = "test"} + New-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appGateway -Name $env.deployProd ` + -Cpu 1 -MemoryInGb 3 -InstanceCount 1 -RuntimeVersion "Java_8" -EnvironmentVariable @{"env" = "prod"} + + New-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -Name $env.appAccount -Location $env.location ` + -TemporaryDiskMountPath "/mytemporarydisk" -TemporaryDiskSizeInGb 2 -PersistentDiskSizeInGb 2 -PersistentDiskMountPath "/mypersistentdisk" + + New-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appAccount -Name $env.deployTest ` + -Cpu 1 -MemoryInGb 3 -InstanceCount 1 -RuntimeVersion "Java_8" -EnvironmentVariable @{"env" = "test"} + New-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appAccount -Name $env.deployProd ` + -Cpu 1 -MemoryInGb 3 -InstanceCount 1 -RuntimeVersion "Java_8" -EnvironmentVariable @{"env" = "prod"} + + New-AzSpringCloudApp -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -Name $env.appAuth -Location $env.location ` + -TemporaryDiskMountPath "/mytemporarydisk" -TemporaryDiskSizeInGb 2 -PersistentDiskSizeInGb 2 -PersistentDiskMountPath "/mypersistentdisk" + + New-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appAuth -Name $env.deployTest ` + -Cpu 1 -MemoryInGb 3 -InstanceCount 1 -RuntimeVersion "Java_8" -EnvironmentVariable @{"env" = "test"} + New-AzSpringCloudAppDeployment -ResourceGroupName $env.resourceGroup -ServiceName $env.springName00 -AppName $env.appAuth -Name $env.deployProd ` + -Cpu 1 -MemoryInGb 3 -InstanceCount 1 -RuntimeVersion "Java_8" -EnvironmentVariable @{"env" = "prod"} + + Write-Host -ForegroundColor Green "App platform created successfully." + + <# + # cmdlet disable service binding and identity. + # deploy key vault + Write-Host -ForegroundColor Green "Start deploying key vault for test..." + $keyVaultPara = Get-Content (Join-Path $PSScriptRoot '.\deployment-templates\key-vault\parameters.json') | ConvertFrom-Json + $keyVaultPara.parameters.key_valut_name.value = $env.name + set-content -Path (Join-Path $PSScriptRoot '.\deployment-templates\key-vault\parameters.json') -Value (ConvertTo-Json $keyVaultPara) + New-AzDeployment -Mode Incremental -TemplateFile (Join-Path $PSScriptRoot '.\deployment-templates\key-vault\template.json') -TemplateParameterFile (Join-Path $PSScriptRoot '.\deployment-templates\key-vault\parameters.json') -ResourceGroupName $env.resourceGroup + + Start-Sleep -Seconds 60 # The keyVault not ready to create certificate + $keyVault = Get-AzKeyVault -ResourceGroupName $env.resourceGroup -VaultName $env.name + $env.add('vaultUri', $keyVault.VaultUri); + + CreateKeyVaultCertificate -vaultName $env.name -certName $env.certificateName20 -subjectName $env.certSubjectName30 + CreateKeyVaultCertificate -vaultName $env.name -certName $env.certificateName21 -subjectName $env.certSubjectName31 + CreateKeyVaultCertificate -vaultName $env.name -certName $env.certificateName22 -subjectName $env.certSubjectName32 + CreateKeyVaultCertificate -vaultName $env.name -certName $env.certificateName23 -subjectName $env.certSubjectName33 + Write-Host -ForegroundColor Green "Key vault created successfully." + + #deploy cosmos db + Write-Host -ForegroundColor Green "Start deploying cosmos db for test..." + $cosmosdbPara = Get-Content (Join-Path $PSScriptRoot '.\deployment-templates\cosmos-db\parameters-01.json') | ConvertFrom-Json + $cosmosdbPara.parameters.cosmosdb_name.value = $env.cosmosDbName40 + set-content -Path (Join-Path $PSScriptRoot '.\deployment-templates\cosmos-db\parameters-01.json') -Value (ConvertTo-Json $cosmosdbPara) + New-AzDeployment -Mode Incremental -TemplateFile (Join-Path $PSScriptRoot '.\deployment-templates\cosmos-db\template-01.json') -TemplateParameterFile (Join-Path $PSScriptRoot '.\deployment-templates\cosmos-db\parameters-01.json') -ResourceGroupName $env.resourceGroup + + $cosmosdbPara = Get-Content (Join-Path $PSScriptRoot '.\deployment-templates\cosmos-db\parameters-02.json') | ConvertFrom-Json + $cosmosdbPara.parameters.cosmosdb_name.value = $env.cosmosDbName41 + set-content -Path (Join-Path $PSScriptRoot '.\deployment-templates\cosmos-db\parameters-02.json') -Value (ConvertTo-Json $cosmosdbPara) + New-AzDeployment -Mode Incremental -TemplateFile (Join-Path $PSScriptRoot '.\deployment-templates\cosmos-db\template-02.json') -TemplateParameterFile (Join-Path $PSScriptRoot '.\deployment-templates\cosmos-db\parameters-02.json') -ResourceGroupName $env.resourceGroup + Start-Sleep -Seconds 60 + $cosmosdb01 = Get-AzCosmosDBAccount -ResourceGroupName $env.resourceGroup -Name $env.cosmosDbName40 + $cosmosdb02 = Get-AzCosmosDBAccount -ResourceGroupName $env.resourceGroup -Name $env.cosmosDbName41 + Write-Host -ForegroundColor Green "Wait for cosmosdb creating..." + while(($cosmosdb01.ProvisioningState -ne 'Succeeded') -or ($cosmosdb02.ProvisioningState -ne 'Succeeded')) + { + $cosmosdb01 = Get-AzCosmosDBAccount -ResourceGroupName $env.resourceGroup -Name $env.cosmosDbName40 + $cosmosdb02 = Get-AzCosmosDBAccount -ResourceGroupName $env.resourceGroup -Name $env.cosmosDbName41 + } + $cosmosdbKey01 = Get-AzCosmosDBAccountKey -ResourceGroupName $env.resourceGroup -Name $env.cosmosDbName40 + $cosmosdbKey02 = Get-AzCosmosDBAccountKey -ResourceGroupName $env.resourceGroup -Name $env.cosmosDbName41 + $env.add("cosmosDbName40Key", $cosmosdbKey01.Item("PrimaryMasterKey")) + $env.add("cosmosDbName41Key", $cosmosdbKey02.Item("PrimaryMasterKey")) + Write-Host -ForegroundColor Green "Cosmos db created successfully." + #> + + # For any resources you created for test, you should add it to $env here. + $envFile = 'env.json' + if ($TestMode -eq 'live') { + $envFile = 'localEnv.json' + } + set-content -Path (Join-Path $PSScriptRoot $envFile) -Value (ConvertTo-Json $env) +} +function cleanupEnv() { + # Clean resources you create for testing + Remove-AzResourceGroup -Name $env.resourceGroup +} +