From 8b3e19256597676d142120d4e29c35883c4b2904 Mon Sep 17 00:00:00 2001 From: 00Kai0 Date: Mon, 8 Jun 2020 18:41:18 +0800 Subject: [PATCH] fix test --- ..._mgmt_containerservice.test_container.yaml | 2596 +++++++++-------- .../tests/test_mgmt_containerservice.py | 45 +- 2 files changed, 1413 insertions(+), 1228 deletions(-) diff --git a/sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_containerservice.test_container.yaml b/sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_containerservice.test_container.yaml index e3aa758144f9..5b79a3675ed8 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_containerservice.test_container.yaml +++ b/sdk/containerservice/azure-mgmt-containerservice/tests/recordings/test_mgmt_containerservice.test_container.yaml @@ -1,1399 +1,1545 @@ interactions: - request: - body: '{"location": "westus2", "properties": {"orchestratorProfile": {"orchestratorType": - "DCOS"}, "masterProfile": {"count": 1, "dnsPrefix": "MasterPrefixTest", "vmSize": - "Standard_D2_v2"}, "agentPoolProfiles": [{"name": "agentpool0", "count": 3, - "vmSize": "Standard_A2_v2"}], "linuxProfile": {"adminUsername": "acslinuxadmin", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAlj9UC6+57XWVu0fd6zqXa256EU9EZdoLGE3TqdZqu9fvUvLQOX2G0d5DmFhDCyTmWLQUx3/ONQ9RotYmHGymBIPQcpx43nnxsuihAILcpGZ5NjCj4IOYnmhdULxN4ti7k00S+udqokrRYpmwt0N4NA4VT9cN+7uJDL8Opqa1FYu0CT/RqSW+3aoQ0nfGj11axoxM37FuOMZ/c7mBSxvuI9NsDmcDQOUmPXjlgNlxrLzf6VcjxnJh4AO83zbyLok37mW/C7CuNK4WowjPO1Ix2kqRHRxBrzxYZ9xqZPc8GpFTw/dxJEYdJ3xlitbOoBoDgrL5gSITv6ESlNqjPk6kHQ== - azureuser@linuxvm"}]}}}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['763'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] + body: '{"location": "westus", "properties": {"addressSpace": {"addressPrefixes": + ["10.0.0.0/8"]}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '91' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python + accept-language: + - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8?api-version=2017-07-01 - response: - body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"pycontainer665810f8\",\n \"\ - type\": \"Microsoft.ContainerService/ContainerServices\",\n \"properties\"\ - : {\n \"provisioningState\": \"Updating\",\n \"orchestratorProfile\":\ - \ {\n \"orchestratorType\": \"DCOS\",\n \"orchestratorVersion\": \"\ - 1.9.0\"\n },\n \"masterProfile\": {\n \"count\": 1,\n \"dnsPrefix\"\ - : \"MasterPrefixTest\",\n \"vmSize\": \"Standard_D2_v2\",\n \"firstConsecutiveStaticIP\"\ - : \"172.16.0.5\",\n \"storageProfile\": \"ManagedDisks\",\n \"fqdn\"\ - : \"masterprefixtest.westus2.cloudapp.azure.com\"\n },\n \"agentPoolProfiles\"\ - : [\n {\n \"name\": \"agentpool0\",\n \"count\": 3,\n \"vmSize\"\ - : \"Standard_A2_v2\",\n \"dnsPrefix\": \"\",\n \"fqdn\": \"\",\n \ - \ \"storageProfile\": \"ManagedDisks\",\n \"osType\": \"Linux\"\n \ - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"acslinuxadmin\"\ - ,\n \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"\ - ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAlj9UC6+57XWVu0fd6zqXa256EU9EZdoLGE3TqdZqu9fvUvLQOX2G0d5DmFhDCyTmWLQUx3/ONQ9RotYmHGymBIPQcpx43nnxsuihAILcpGZ5NjCj4IOYnmhdULxN4ti7k00S+udqokrRYpmwt0N4NA4VT9cN+7uJDL8Opqa1FYu0CT/RqSW+3aoQ0nfGj11axoxM37FuOMZ/c7mBSxvuI9NsDmcDQOUmPXjlgNlxrLzf6VcjxnJh4AO83zbyLok37mW/C7CuNK4WowjPO1Ix2kqRHRxBrzxYZ9xqZPc8GpFTw/dxJEYdJ3xlitbOoBoDgrL5gSITv6ESlNqjPk6kHQ==\ - \ azureuser@linuxvm\"\n }\n ]\n }\n }\n }\n }"} - headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30'] - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 18:53:46 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['1505'] - x-ms-correlation-request-id: [2f0fd7f4-a0c0-439f-811b-e18287cc66bf] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-id: [0062da6b-ac14-4048-a662-e9604a748e51] - x-ms-routing-request-id: ['WESTUS:20171017T185347Z:2f0fd7f4-a0c0-439f-811b-e18287cc66bf'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet?api-version=2019-09-01 response: - body: {string: "{\n \"name\": \"6bda6200-14ac-4840-a662-e9604a748e51\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T18:53:46.3596786Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 18:54:18 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [86250e3c-2656-4558-b903-e73bbc7709ee] - x-ms-ratelimit-remaining-subscription-reads: ['14991'] - x-ms-request-id: [c28a6b62-2d1d-43ab-84c5-f78cc43b4114] - x-ms-routing-request-id: ['WESTUS:20171017T185418Z:86250e3c-2656-4558-b903-e73bbc7709ee'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"vnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet\"\ + ,\r\n \"etag\": \"W/\\\"33078c2b-91df-4e07-9f4b-42de331836e7\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ + \ \"resourceGuid\": \"416244c9-4b3f-4141-8859-52e1fd84ad27\",\r\n \"\ + addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/8\"\ + \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/be75c9ca-6dbb-4a1f-bd1a-95776ed4e8a0?api-version=2019-09-01 + cache-control: + - no-cache + content-length: + - '668' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 08 Jun 2020 10:23:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 370bc0e8-2efe-4396-babf-932a03b60429 + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 201 + message: Created - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/be75c9ca-6dbb-4a1f-bd1a-95776ed4e8a0?api-version=2019-09-01 response: - body: {string: "{\n \"name\": \"6bda6200-14ac-4840-a662-e9604a748e51\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T18:53:46.3596786Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 18:54:49 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [c33a6cc4-4ab7-4858-be4f-dd845a5fb331] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [6df01aeb-65ab-42ce-a649-f457ad582ea2] - x-ms-routing-request-id: ['WESTUS2:20171017T185449Z:c33a6cc4-4ab7-4858-be4f-dd845a5fb331'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 08 Jun 2020 10:24:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - b5ad655c-414a-4432-bac7-7e061e7d90eb + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/be75c9ca-6dbb-4a1f-bd1a-95776ed4e8a0?api-version=2019-09-01 response: - body: {string: "{\n \"name\": \"6bda6200-14ac-4840-a662-e9604a748e51\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T18:53:46.3596786Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 18:55:20 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [50934c9f-2e27-4e94-b32d-61ac6193d4e0] - x-ms-ratelimit-remaining-subscription-reads: ['14977'] - x-ms-request-id: [9cb5e5b3-54b2-48f1-a281-de0c79dd53e8] - x-ms-routing-request-id: ['WESTUS2:20171017T185520Z:50934c9f-2e27-4e94-b32d-61ac6193d4e0'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 08 Jun 2020 10:24:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 66f28e9d-cc8c-4a6d-80ec-f9c1774253cc + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/be75c9ca-6dbb-4a1f-bd1a-95776ed4e8a0?api-version=2019-09-01 response: - body: {string: "{\n \"name\": \"6bda6200-14ac-4840-a662-e9604a748e51\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T18:53:46.3596786Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 18:55:51 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [bfe6b7c8-3aa0-4184-8dc9-e461bd38e73d] - x-ms-ratelimit-remaining-subscription-reads: ['14991'] - x-ms-request-id: [29d5de11-430e-4f38-81dd-8f32bd3d5433] - x-ms-routing-request-id: ['WESTUS2:20171017T185551Z:bfe6b7c8-3aa0-4184-8dc9-e461bd38e73d'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '29' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 08 Jun 2020 10:24:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 205d357b-6f45-490a-8d58-2d4de425427b + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet?api-version=2019-09-01 response: - body: {string: "{\n \"name\": \"6bda6200-14ac-4840-a662-e9604a748e51\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T18:53:46.3596786Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 18:56:21 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [ec2ae310-7212-45c0-8805-af1043315df3] - x-ms-ratelimit-remaining-subscription-reads: ['14984'] - x-ms-request-id: [4e7c041e-eff8-4e83-a1cd-bd1184cb3b9c] - x-ms-routing-request-id: ['WESTUS2:20171017T185622Z:ec2ae310-7212-45c0-8805-af1043315df3'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"vnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet\"\ + ,\r\n \"etag\": \"W/\\\"deebfee4-a264-4fbb-bfa5-d774dae2854a\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ + \ \"resourceGuid\": \"416244c9-4b3f-4141-8859-52e1fd84ad27\",\r\n \"\ + addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/8\"\ + \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '669' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 08 Jun 2020 10:24:20 GMT + etag: + - W/"deebfee4-a264-4fbb-bfa5-d774dae2854a" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 4fab2371-0152-420a-99b8-e88c4364c1a1 + status: + code: 200 + message: OK - request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30 + body: '{"properties": {"addressPrefix": "10.0.0.0/8"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '47' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet?api-version=2019-09-01 response: - body: {string: "{\n \"name\": \"6bda6200-14ac-4840-a662-e9604a748e51\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T18:53:46.3596786Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 18:56:52 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [f0ae742d-0698-4d00-b861-cfb80122fdec] - x-ms-ratelimit-remaining-subscription-reads: ['14988'] - x-ms-request-id: [56cf0b50-e579-4077-8b7e-1e57a19ed883] - x-ms-routing-request-id: ['WESTUS2:20171017T185653Z:f0ae742d-0698-4d00-b861-cfb80122fdec'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"v-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet\"\ + ,\r\n \"etag\": \"W/\\\"10dc0165-17ef-4726-b7f5-8bac30a4acd4\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ + addressPrefix\": \"10.0.0.0/8\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ + : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ + \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b5c0e4c8-6453-4ba1-986c-2d7be954a1c6?api-version=2019-09-01 + cache-control: + - no-cache + content-length: + - '559' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 08 Jun 2020 10:24:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - e4055f8e-5874-4724-b0db-927ad528bcf5 + x-ms-ratelimit-remaining-subscription-writes: + - '1196' + status: + code: 201 + message: Created - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b5c0e4c8-6453-4ba1-986c-2d7be954a1c6?api-version=2019-09-01 response: - body: {string: "{\n \"name\": \"6bda6200-14ac-4840-a662-e9604a748e51\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T18:53:46.3596786Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 18:57:23 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [bc4095b3-c8d8-4a0f-a867-0308961f5cfc] - x-ms-ratelimit-remaining-subscription-reads: ['14982'] - x-ms-request-id: [606bab65-b5d7-4d5a-b550-a70b39daf00d] - x-ms-routing-request-id: ['WESTUS2:20171017T185724Z:bc4095b3-c8d8-4a0f-a867-0308961f5cfc'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '29' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 08 Jun 2020 10:24:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 1c3dc1d9-f98b-4531-ad95-f4cd2ce2295d + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet?api-version=2019-09-01 response: - body: {string: "{\n \"name\": \"6bda6200-14ac-4840-a662-e9604a748e51\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T18:53:46.3596786Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 18:57:55 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [6997c6e1-ae20-4bc8-9286-a8864ed09a86] - x-ms-ratelimit-remaining-subscription-reads: ['14977'] - x-ms-request-id: [e120ac60-b2fc-4332-a5b3-28cf3eb34504] - x-ms-routing-request-id: ['WESTUS2:20171017T185755Z:6997c6e1-ae20-4bc8-9286-a8864ed09a86'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"v-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet\"\ + ,\r\n \"etag\": \"W/\\\"a0020c02-9ffc-4930-983e-0fdca4ce889c\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ + addressPrefix\": \"10.0.0.0/8\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ + : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ + \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '560' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 08 Jun 2020 10:24:26 GMT + etag: + - W/"a0020c02-9ffc-4930-983e-0fdca4ce889c" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - b6dfdf03-eab1-44be-936f-164bd1712714 + status: + code: 200 + message: OK - request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30 + body: 'b''{"location": "westus", "properties": {"orchestratorProfile": {"orchestratorType": + "Swarm"}, "masterProfile": {"count": 1, "dnsPrefix": "MasterPrefixTest", "vmSize": + "Standard_D2_v2", "vnetSubnetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet"}, + "agentPoolProfiles": [{"name": "agentpool0", "count": 3, "vmSize": "Standard_A2_v2", + "vnetSubnetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet"}], + "linuxProfile": {"adminUsername": "acslinuxadmin", "ssh": {"publicKeys": [{"keyData": + "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAlj9UC6+57XWVu0fd6zqXa256EU9EZdoLGE3TqdZqu9fvUvLQOX2G0d5DmFhDCyTmWLQUx3/ONQ9RotYmHGymBIPQcpx43nnxsuihAILcpGZ5NjCj4IOYnmhdULxN4ti7k00S+udqokrRYpmwt0N4NA4VT9cN+7uJDL8Opqa1FYu0CT/RqSW+3aoQ0nfGj11axoxM37FuOMZ/c7mBSxvuI9NsDmcDQOUmPXjlgNlxrLzf6VcjxnJh4AO83zbyLok37mW/C7CuNK4WowjPO1Ix2kqRHRxBrzxYZ9xqZPc8GpFTw/dxJEYdJ3xlitbOoBoDgrL5gSITv6ESlNqjPk6kHQ== + azureuser@linuxvm"}]}}}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '1167' + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8?api-version=2017-07-01 response: - body: {string: "{\n \"name\": \"6bda6200-14ac-4840-a662-e9604a748e51\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T18:53:46.3596786Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 18:58:25 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [c89a5cf1-66de-455d-9ef7-d599044dd79e] - x-ms-ratelimit-remaining-subscription-reads: ['14945'] - x-ms-request-id: [bface3a8-42da-4f60-b88b-7052be37ec2f] - x-ms-routing-request-id: ['WESTUS2:20171017T185825Z:c89a5cf1-66de-455d-9ef7-d599044dd79e'] - status: {code: 200, message: OK} + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8\"\ + ,\n \"location\": \"westus\",\n \"name\": \"pycontainer665810f8\",\n \"\ + type\": \"Microsoft.ContainerService/ContainerServices\",\n \"properties\"\ + : {\n \"provisioningState\": \"Creating\",\n \"orchestratorProfile\":\ + \ {\n \"orchestratorType\": \"Swarm\"\n },\n \"masterProfile\": {\n\ + \ \"count\": 1,\n \"dnsPrefix\": \"MasterPrefixTest\",\n \"vmSize\"\ + : \"Standard_D2_v2\",\n \"vnetSubnetID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet\"\ + ,\n \"firstConsecutiveStaticIP\": \"10.240.255.5\",\n \"storageProfile\"\ + : \"ManagedDisks\"\n },\n \"agentPoolProfiles\": [\n {\n \"name\"\ + : \"agentpool0\",\n \"count\": 3,\n \"vmSize\": \"Standard_A2_v2\"\ + ,\n \"dnsPrefix\": \"\",\n \"fqdn\": \"\",\n \"storageProfile\"\ + : \"ManagedDisks\",\n \"vnetSubnetID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet\"\ + ,\n \"osType\": \"Linux\"\n }\n ],\n \"linuxProfile\": {\n \"\ + adminUsername\": \"acslinuxadmin\",\n \"ssh\": {\n \"publicKeys\":\ + \ [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAlj9UC6+57XWVu0fd6zqXa256EU9EZdoLGE3TqdZqu9fvUvLQOX2G0d5DmFhDCyTmWLQUx3/ONQ9RotYmHGymBIPQcpx43nnxsuihAILcpGZ5NjCj4IOYnmhdULxN4ti7k00S+udqokrRYpmwt0N4NA4VT9cN+7uJDL8Opqa1FYu0CT/RqSW+3aoQ0nfGj11axoxM37FuOMZ/c7mBSxvuI9NsDmcDQOUmPXjlgNlxrLzf6VcjxnJh4AO83zbyLok37mW/C7CuNK4WowjPO1Ix2kqRHRxBrzxYZ9xqZPc8GpFTw/dxJEYdJ3xlitbOoBoDgrL5gSITv6ESlNqjPk6kHQ==\ + \ azureuser@linuxvm\"\n }\n ]\n }\n }\n }\n }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/51394c43-537a-494d-aece-a12ddc121b1c?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '1825' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:24:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/51394c43-537a-494d-aece-a12ddc121b1c?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"6bda6200-14ac-4840-a662-e9604a748e51\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T18:53:46.3596786Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 18:58:56 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [742c1f27-2543-4e81-a564-429ddb1213e1] - x-ms-ratelimit-remaining-subscription-reads: ['14988'] - x-ms-request-id: [14acec88-ba40-44d5-9c85-b5fe3fb8aac9] - x-ms-routing-request-id: ['WESTUS2:20171017T185856Z:742c1f27-2543-4e81-a564-429ddb1213e1'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"434c3951-7a53-4d49-aece-a12ddc121b1c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-06-08T10:24:39.8294393Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:25:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/51394c43-537a-494d-aece-a12ddc121b1c?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"6bda6200-14ac-4840-a662-e9604a748e51\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T18:53:46.3596786Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 18:59:26 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [d0068d95-4ffe-4040-8498-d92d728ce8e0] - x-ms-ratelimit-remaining-subscription-reads: ['14999'] - x-ms-request-id: [22bee806-c737-4763-8914-ccb2f9491647] - x-ms-routing-request-id: ['WESTUS2:20171017T185927Z:d0068d95-4ffe-4040-8498-d92d728ce8e0'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"434c3951-7a53-4d49-aece-a12ddc121b1c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-06-08T10:24:39.8294393Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:25:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/51394c43-537a-494d-aece-a12ddc121b1c?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"6bda6200-14ac-4840-a662-e9604a748e51\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T18:53:46.3596786Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 18:59:58 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [6c0d977d-2e87-475a-8a4c-848789989955] - x-ms-ratelimit-remaining-subscription-reads: ['14986'] - x-ms-request-id: [2c4afe64-c6b7-49a3-b179-eae717eef9f5] - x-ms-routing-request-id: ['WESTUS2:20171017T185958Z:6c0d977d-2e87-475a-8a4c-848789989955'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"434c3951-7a53-4d49-aece-a12ddc121b1c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-06-08T10:24:39.8294393Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:26:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/51394c43-537a-494d-aece-a12ddc121b1c?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"6bda6200-14ac-4840-a662-e9604a748e51\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T18:53:46.3596786Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:00:28 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [19d23878-b675-40b3-8b12-69917bbef9fb] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [cb2d39b6-175c-429a-b51c-5c95cbf7fb4d] - x-ms-routing-request-id: ['WESTUS2:20171017T190029Z:19d23878-b675-40b3-8b12-69917bbef9fb'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"434c3951-7a53-4d49-aece-a12ddc121b1c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-06-08T10:24:39.8294393Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:26:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/51394c43-537a-494d-aece-a12ddc121b1c?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"6bda6200-14ac-4840-a662-e9604a748e51\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T18:53:46.3596786Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:01:00 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [8acf084e-4f93-400b-b7aa-09fb1a302929] - x-ms-ratelimit-remaining-subscription-reads: ['14989'] - x-ms-request-id: [21780136-ebfd-4378-b3eb-74aa540306f8] - x-ms-routing-request-id: ['WESTUS:20171017T190101Z:8acf084e-4f93-400b-b7aa-09fb1a302929'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"434c3951-7a53-4d49-aece-a12ddc121b1c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-06-08T10:24:39.8294393Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:27:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/51394c43-537a-494d-aece-a12ddc121b1c?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"6bda6200-14ac-4840-a662-e9604a748e51\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T18:53:46.3596786Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:01:32 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [6422858b-21f1-4fce-bfb0-b9eab85ef614] - x-ms-ratelimit-remaining-subscription-reads: ['14984'] - x-ms-request-id: [ae51ba70-1785-4b12-84cc-ac91febc23ed] - x-ms-routing-request-id: ['WESTUS:20171017T190133Z:6422858b-21f1-4fce-bfb0-b9eab85ef614'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"434c3951-7a53-4d49-aece-a12ddc121b1c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-06-08T10:24:39.8294393Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:27:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0062da6b-ac14-4048-a662-e9604a748e51?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/51394c43-537a-494d-aece-a12ddc121b1c?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"6bda6200-14ac-4840-a662-e9604a748e51\",\n \"\ - status\": \"Succeeded\",\n \"startTime\": \"2017-10-17T18:53:46.3596786Z\"\ - ,\n \"endTime\": \"2017-10-17T19:01:32.8680673Z\"\n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:02:03 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['170'] - x-ms-correlation-request-id: [13b3143f-d3d9-4578-8508-82d8fbbdcbce] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [b1476334-7f4c-4bb5-b81b-efc910a9198c] - x-ms-routing-request-id: ['WESTUS2:20171017T190204Z:13b3143f-d3d9-4578-8508-82d8fbbdcbce'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"434c3951-7a53-4d49-aece-a12ddc121b1c\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2020-06-08T10:24:39.8294393Z\",\n \"\ + endTime\": \"2020-06-08T10:27:55.4224252Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:28:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [7ab2f98c-b36c-11e7-8f56-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8?api-version=2017-07-01 response: - body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"pycontainer665810f8\",\n \"\ + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8\"\ + ,\n \"location\": \"westus\",\n \"name\": \"pycontainer665810f8\",\n \"\ type\": \"Microsoft.ContainerService/ContainerServices\",\n \"properties\"\ : {\n \"provisioningState\": \"Succeeded\",\n \"orchestratorProfile\"\ - : {\n \"orchestratorType\": \"DCOS\",\n \"orchestratorVersion\": \"\ - 1.9.0\"\n },\n \"masterProfile\": {\n \"count\": 1,\n \"dnsPrefix\"\ - : \"MasterPrefixTest\",\n \"vmSize\": \"Standard_D2_v2\",\n \"firstConsecutiveStaticIP\"\ - : \"172.16.0.5\",\n \"storageProfile\": \"ManagedDisks\",\n \"fqdn\"\ - : \"masterprefixtest.westus2.cloudapp.azure.com\"\n },\n \"agentPoolProfiles\"\ - : [\n {\n \"name\": \"agentpool0\",\n \"count\": 3,\n \"vmSize\"\ - : \"Standard_A2_v2\",\n \"dnsPrefix\": \"\",\n \"fqdn\": \"\",\n \ - \ \"storageProfile\": \"ManagedDisks\",\n \"osType\": \"Linux\"\n \ - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"acslinuxadmin\"\ - ,\n \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"\ - ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAlj9UC6+57XWVu0fd6zqXa256EU9EZdoLGE3TqdZqu9fvUvLQOX2G0d5DmFhDCyTmWLQUx3/ONQ9RotYmHGymBIPQcpx43nnxsuihAILcpGZ5NjCj4IOYnmhdULxN4ti7k00S+udqokrRYpmwt0N4NA4VT9cN+7uJDL8Opqa1FYu0CT/RqSW+3aoQ0nfGj11axoxM37FuOMZ/c7mBSxvuI9NsDmcDQOUmPXjlgNlxrLzf6VcjxnJh4AO83zbyLok37mW/C7CuNK4WowjPO1Ix2kqRHRxBrzxYZ9xqZPc8GpFTw/dxJEYdJ3xlitbOoBoDgrL5gSITv6ESlNqjPk6kHQ==\ - \ azureuser@linuxvm\"\n }\n ]\n }\n }\n }\n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:02:04 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['1506'] - x-ms-correlation-request-id: [a8c38a1a-1ff9-437f-a893-92f0ee68b89f] - x-ms-ratelimit-remaining-subscription-reads: ['14985'] - x-ms-request-id: [4a0f5178-2f25-4472-b4d1-08b0b23230e4] - x-ms-routing-request-id: ['WESTUS2:20171017T190205Z:a8c38a1a-1ff9-437f-a893-92f0ee68b89f'] - status: {code: 200, message: OK} + : {\n \"orchestratorType\": \"Swarm\"\n },\n \"masterProfile\": {\n\ + \ \"count\": 1,\n \"dnsPrefix\": \"MasterPrefixTest\",\n \"vmSize\"\ + : \"Standard_D2_v2\",\n \"vnetSubnetID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet\"\ + ,\n \"firstConsecutiveStaticIP\": \"10.240.255.5\",\n \"storageProfile\"\ + : \"ManagedDisks\",\n \"fqdn\": \"masterprefixtest.westus.cloudapp.azure.com\"\ + \n },\n \"agentPoolProfiles\": [\n {\n \"name\": \"agentpool0\"\ + ,\n \"count\": 3,\n \"vmSize\": \"Standard_A2_v2\",\n \"dnsPrefix\"\ + : \"\",\n \"fqdn\": \"\",\n \"storageProfile\": \"ManagedDisks\",\n\ + \ \"vnetSubnetID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet\"\ + ,\n \"osType\": \"Linux\"\n }\n ],\n \"linuxProfile\": {\n \"\ + adminUsername\": \"acslinuxadmin\",\n \"ssh\": {\n \"publicKeys\":\ + \ [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAlj9UC6+57XWVu0fd6zqXa256EU9EZdoLGE3TqdZqu9fvUvLQOX2G0d5DmFhDCyTmWLQUx3/ONQ9RotYmHGymBIPQcpx43nnxsuihAILcpGZ5NjCj4IOYnmhdULxN4ti7k00S+udqokrRYpmwt0N4NA4VT9cN+7uJDL8Opqa1FYu0CT/RqSW+3aoQ0nfGj11axoxM37FuOMZ/c7mBSxvuI9NsDmcDQOUmPXjlgNlxrLzf6VcjxnJh4AO83zbyLok37mW/C7CuNK4WowjPO1Ix2kqRHRxBrzxYZ9xqZPc8GpFTw/dxJEYdJ3xlitbOoBoDgrL5gSITv6ESlNqjPk6kHQ==\ + \ azureuser@linuxvm\"\n }\n ]\n }\n }\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '1884' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:28:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [a9a0c7a8-b36d-11e7-8380-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python + accept-language: + - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8?api-version=2017-07-01 response: - body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"pycontainer665810f8\",\n \"\ + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8\"\ + ,\n \"location\": \"westus\",\n \"name\": \"pycontainer665810f8\",\n \"\ type\": \"Microsoft.ContainerService/ContainerServices\",\n \"properties\"\ : {\n \"provisioningState\": \"Succeeded\",\n \"orchestratorProfile\"\ - : {\n \"orchestratorType\": \"DCOS\",\n \"orchestratorVersion\": \"\ - 1.9.0\"\n },\n \"masterProfile\": {\n \"count\": 1,\n \"dnsPrefix\"\ - : \"MasterPrefixTest\",\n \"vmSize\": \"Standard_D2_v2\",\n \"firstConsecutiveStaticIP\"\ - : \"172.16.0.5\",\n \"storageProfile\": \"ManagedDisks\",\n \"fqdn\"\ - : \"masterprefixtest.westus2.cloudapp.azure.com\"\n },\n \"agentPoolProfiles\"\ - : [\n {\n \"name\": \"agentpool0\",\n \"count\": 3,\n \"vmSize\"\ - : \"Standard_A2_v2\",\n \"dnsPrefix\": \"\",\n \"fqdn\": \"\",\n \ - \ \"storageProfile\": \"ManagedDisks\",\n \"osType\": \"Linux\"\n \ - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"acslinuxadmin\"\ - ,\n \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"\ - ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAlj9UC6+57XWVu0fd6zqXa256EU9EZdoLGE3TqdZqu9fvUvLQOX2G0d5DmFhDCyTmWLQUx3/ONQ9RotYmHGymBIPQcpx43nnxsuihAILcpGZ5NjCj4IOYnmhdULxN4ti7k00S+udqokrRYpmwt0N4NA4VT9cN+7uJDL8Opqa1FYu0CT/RqSW+3aoQ0nfGj11axoxM37FuOMZ/c7mBSxvuI9NsDmcDQOUmPXjlgNlxrLzf6VcjxnJh4AO83zbyLok37mW/C7CuNK4WowjPO1Ix2kqRHRxBrzxYZ9xqZPc8GpFTw/dxJEYdJ3xlitbOoBoDgrL5gSITv6ESlNqjPk6kHQ==\ - \ azureuser@linuxvm\"\n }\n ]\n }\n }\n }\n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:02:05 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['1506'] - x-ms-correlation-request-id: [90b3a123-6362-4c21-8c6f-c5e5c0f3008b] - x-ms-ratelimit-remaining-subscription-reads: ['14984'] - x-ms-request-id: [d1788e28-2d41-4251-a73e-f9b4740668a8] - x-ms-routing-request-id: ['WESTUS2:20171017T190205Z:90b3a123-6362-4c21-8c6f-c5e5c0f3008b'] - status: {code: 200, message: OK} + : {\n \"orchestratorType\": \"Swarm\"\n },\n \"masterProfile\": {\n\ + \ \"count\": 1,\n \"dnsPrefix\": \"MasterPrefixTest\",\n \"vmSize\"\ + : \"Standard_D2_v2\",\n \"vnetSubnetID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet\"\ + ,\n \"firstConsecutiveStaticIP\": \"10.240.255.5\",\n \"storageProfile\"\ + : \"ManagedDisks\",\n \"fqdn\": \"masterprefixtest.westus.cloudapp.azure.com\"\ + \n },\n \"agentPoolProfiles\": [\n {\n \"name\": \"agentpool0\"\ + ,\n \"count\": 3,\n \"vmSize\": \"Standard_A2_v2\",\n \"dnsPrefix\"\ + : \"\",\n \"fqdn\": \"\",\n \"storageProfile\": \"ManagedDisks\",\n\ + \ \"vnetSubnetID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet\"\ + ,\n \"osType\": \"Linux\"\n }\n ],\n \"linuxProfile\": {\n \"\ + adminUsername\": \"acslinuxadmin\",\n \"ssh\": {\n \"publicKeys\":\ + \ [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAlj9UC6+57XWVu0fd6zqXa256EU9EZdoLGE3TqdZqu9fvUvLQOX2G0d5DmFhDCyTmWLQUx3/ONQ9RotYmHGymBIPQcpx43nnxsuihAILcpGZ5NjCj4IOYnmhdULxN4ti7k00S+udqokrRYpmwt0N4NA4VT9cN+7uJDL8Opqa1FYu0CT/RqSW+3aoQ0nfGj11axoxM37FuOMZ/c7mBSxvuI9NsDmcDQOUmPXjlgNlxrLzf6VcjxnJh4AO83zbyLok37mW/C7CuNK4WowjPO1Ix2kqRHRxBrzxYZ9xqZPc8GpFTw/dxJEYdJ3xlitbOoBoDgrL5gSITv6ESlNqjPk6kHQ==\ + \ azureuser@linuxvm\"\n }\n ]\n }\n }\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '1884' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:28:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [aa1ef838-b36d-11e7-9a70-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python + accept-language: + - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices?api-version=2017-07-01 response: - body: {string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"pycontainer665810f8\",\n\ + body: + string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8\"\ + ,\n \"location\": \"westus\",\n \"name\": \"pycontainer665810f8\",\n\ \ \"type\": \"Microsoft.ContainerService/ContainerServices\",\n \"properties\"\ : {\n \"provisioningState\": \"Succeeded\",\n \"orchestratorProfile\"\ - : {\n \"orchestratorType\": \"DCOS\",\n \"orchestratorVersion\"\ - : \"1.9.0\"\n },\n \"masterProfile\": {\n \"count\": 1,\n \ - \ \"dnsPrefix\": \"MasterPrefixTest\",\n \"vmSize\": \"Standard_D2_v2\"\ - ,\n \"firstConsecutiveStaticIP\": \"172.16.0.5\",\n \"storageProfile\"\ - : \"ManagedDisks\",\n \"fqdn\": \"masterprefixtest.westus2.cloudapp.azure.com\"\ + : {\n \"orchestratorType\": \"Swarm\"\n },\n \"masterProfile\"\ + : {\n \"count\": 1,\n \"dnsPrefix\": \"MasterPrefixTest\",\n \ + \ \"vmSize\": \"Standard_D2_v2\",\n \"vnetSubnetID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet\"\ + ,\n \"firstConsecutiveStaticIP\": \"10.240.255.5\",\n \"storageProfile\"\ + : \"ManagedDisks\",\n \"fqdn\": \"masterprefixtest.westus.cloudapp.azure.com\"\ \n },\n \"agentPoolProfiles\": [\n {\n \"name\": \"agentpool0\"\ ,\n \"count\": 3,\n \"vmSize\": \"Standard_A2_v2\",\n \"\ dnsPrefix\": \"\",\n \"fqdn\": \"\",\n \"storageProfile\": \"\ - ManagedDisks\",\n \"osType\": \"Linux\"\n }\n ],\n \"linuxProfile\"\ - : {\n \"adminUsername\": \"acslinuxadmin\",\n \"ssh\": {\n \ + ManagedDisks\",\n \"vnetSubnetID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet\"\ + ,\n \"osType\": \"Linux\"\n }\n ],\n \"linuxProfile\":\ + \ {\n \"adminUsername\": \"acslinuxadmin\",\n \"ssh\": {\n \ \ \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAlj9UC6+57XWVu0fd6zqXa256EU9EZdoLGE3TqdZqu9fvUvLQOX2G0d5DmFhDCyTmWLQUx3/ONQ9RotYmHGymBIPQcpx43nnxsuihAILcpGZ5NjCj4IOYnmhdULxN4ti7k00S+udqokrRYpmwt0N4NA4VT9cN+7uJDL8Opqa1FYu0CT/RqSW+3aoQ0nfGj11axoxM37FuOMZ/c7mBSxvuI9NsDmcDQOUmPXjlgNlxrLzf6VcjxnJh4AO83zbyLok37mW/C7CuNK4WowjPO1Ix2kqRHRxBrzxYZ9xqZPc8GpFTw/dxJEYdJ3xlitbOoBoDgrL5gSITv6ESlNqjPk6kHQ==\ \ azureuser@linuxvm\"\n }\n ]\n }\n }\n }\n }\n\ - \ ]\n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:02:06 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['1613'] - x-ms-correlation-request-id: [d721aa01-d46d-437f-80ad-6a2ab4f790e7] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [2cf81fc4-f438-499d-9a03-dc945a037817] - x-ms-routing-request-id: ['WESTUS2:20171017T190206Z:d721aa01-d46d-437f-80ad-6a2ab4f790e7'] - status: {code: 200, message: OK} + \ ]\n }" + headers: + cache-control: + - no-cache + content-length: + - '1993' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:28:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [aaa7512e-b36d-11e7-ac81-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python + accept-language: + - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/containerServices?api-version=2017-07-01 response: - body: {string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/lmazuel-ci-msi/providers/Microsoft.ContainerService/containerServices/lmazuel-ci-msi\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"lmazuel-ci-msi\",\n \ - \ \"type\": \"Microsoft.ContainerService/ContainerServices\",\n \"properties\"\ - : {\n \"provisioningState\": \"Succeeded\",\n \"orchestratorProfile\"\ - : {\n \"orchestratorType\": \"DCOS\",\n \"orchestratorVersion\"\ - : \"1.9.0\"\n },\n \"masterProfile\": {\n \"count\": 1,\n \ - \ \"dnsPrefix\": \"lmazuel-ci-msimgmt\",\n \"vmSize\": \"Standard_D2_v2\"\ - ,\n \"firstConsecutiveStaticIP\": \"172.16.0.5\",\n \"storageProfile\"\ - : \"StorageAccount\",\n \"fqdn\": \"lmazuel-ci-msimgmt.westus2.cloudapp.azure.com\"\ - \n },\n \"agentPoolProfiles\": [\n {\n \"name\": \"agentpool\"\ - ,\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"\ - dnsPrefix\": \"\",\n \"fqdn\": \"\",\n \"storageProfile\": \"\ - StorageAccount\",\n \"osType\": \"Linux\"\n },\n {\n \ - \ \"name\": \"agentpool-public\",\n \"count\": 1,\n \"vmSize\"\ - : \"Standard_DS2_v2\",\n \"dnsPrefix\": \"lmazuel-ci-msiagents\",\n\ - \ \"fqdn\": \"lmazuel-ci-msiagents.westus2.cloudapp.azure.com\",\n \ - \ \"ports\": [\n 80,\n 443,\n 8080\n ],\n\ - \ \"storageProfile\": \"StorageAccount\",\n \"osType\": \"Linux\"\ - \n }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"\ - lmazuel\",\n \"ssh\": {\n \"publicKeys\": [\n {\n \ - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAkqQRrXqHNTHfuJa5QoDuNPiQHCDLKGeINwK8NOVR7LCgqYVM4g7W3bMC72FrUigTOf6XD0bpX1NBuXhkaCa2Dt8IvLY4U5bmESrDbs5ue73NaV+69qAdws5MvgZ0NklNlcnZ3zxCyuCS7isVXPWZphTS1+/xq8x+h9vxq8Nbh4/8krVPsXSMNA8oY4/1KE+CF1RLdeQ7vFOSIUKobMRE1AKhum8+z2Tt/XAaGqc703ueRxkDqKhe9Ux/f3228ppU9npKNu89nwm2R+IjMpxfOmx7JSnNrr7E2StDqPMQty071c1uP7Zw/cR6eVUQHJUg0Qde9X4FwnDItGxinTLjGw==\"\ - \n }\n ]\n }\n }\n }\n },\n {\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"pycontainer665810f8\",\n\ + body: + string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8\"\ + ,\n \"location\": \"westus\",\n \"name\": \"pycontainer665810f8\",\n\ \ \"type\": \"Microsoft.ContainerService/ContainerServices\",\n \"properties\"\ : {\n \"provisioningState\": \"Succeeded\",\n \"orchestratorProfile\"\ - : {\n \"orchestratorType\": \"DCOS\",\n \"orchestratorVersion\"\ - : \"1.9.0\"\n },\n \"masterProfile\": {\n \"count\": 1,\n \ - \ \"dnsPrefix\": \"MasterPrefixTest\",\n \"vmSize\": \"Standard_D2_v2\"\ - ,\n \"firstConsecutiveStaticIP\": \"172.16.0.5\",\n \"storageProfile\"\ - : \"ManagedDisks\",\n \"fqdn\": \"masterprefixtest.westus2.cloudapp.azure.com\"\ + : {\n \"orchestratorType\": \"Swarm\"\n },\n \"masterProfile\"\ + : {\n \"count\": 1,\n \"dnsPrefix\": \"MasterPrefixTest\",\n \ + \ \"vmSize\": \"Standard_D2_v2\",\n \"vnetSubnetID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet\"\ + ,\n \"firstConsecutiveStaticIP\": \"10.240.255.5\",\n \"storageProfile\"\ + : \"ManagedDisks\",\n \"fqdn\": \"masterprefixtest.westus.cloudapp.azure.com\"\ \n },\n \"agentPoolProfiles\": [\n {\n \"name\": \"agentpool0\"\ ,\n \"count\": 3,\n \"vmSize\": \"Standard_A2_v2\",\n \"\ dnsPrefix\": \"\",\n \"fqdn\": \"\",\n \"storageProfile\": \"\ - ManagedDisks\",\n \"osType\": \"Linux\"\n }\n ],\n \"linuxProfile\"\ - : {\n \"adminUsername\": \"acslinuxadmin\",\n \"ssh\": {\n \ + ManagedDisks\",\n \"vnetSubnetID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet\"\ + ,\n \"osType\": \"Linux\"\n }\n ],\n \"linuxProfile\":\ + \ {\n \"adminUsername\": \"acslinuxadmin\",\n \"ssh\": {\n \ \ \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAlj9UC6+57XWVu0fd6zqXa256EU9EZdoLGE3TqdZqu9fvUvLQOX2G0d5DmFhDCyTmWLQUx3/ONQ9RotYmHGymBIPQcpx43nnxsuihAILcpGZ5NjCj4IOYnmhdULxN4ti7k00S+udqokrRYpmwt0N4NA4VT9cN+7uJDL8Opqa1FYu0CT/RqSW+3aoQ0nfGj11axoxM37FuOMZ/c7mBSxvuI9NsDmcDQOUmPXjlgNlxrLzf6VcjxnJh4AO83zbyLok37mW/C7CuNK4WowjPO1Ix2kqRHRxBrzxYZ9xqZPc8GpFTw/dxJEYdJ3xlitbOoBoDgrL5gSITv6ESlNqjPk6kHQ==\ \ azureuser@linuxvm\"\n }\n ]\n }\n }\n }\n }\n\ - \ ]\n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:02:06 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['3496'] - x-ms-correlation-request-id: [617af578-9981-4a2b-a563-861841b04372] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [e041c573-b940-4a4c-bafd-956526fa6cac] - x-ms-routing-request-id: ['WESTUS2:20171017T190207Z:617af578-9981-4a2b-a563-861841b04372'] - status: {code: 200, message: OK} + \ ]\n }" + headers: + cache-control: + - no-cache + content-length: + - '1993' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:28:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python + accept-language: + - en-US method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8?api-version=2017-07-01 response: - body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8\"\ - ,\n \"location\": \"westus2\",\n \"name\": \"pycontainer665810f8\",\n \"\ + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.ContainerService/containerServices/pycontainer665810f8\"\ + ,\n \"location\": \"westus\",\n \"name\": \"pycontainer665810f8\",\n \"\ type\": \"Microsoft.ContainerService/ContainerServices\",\n \"properties\"\ : {\n \"provisioningState\": \"Deleting\",\n \"orchestratorProfile\":\ - \ {\n \"orchestratorType\": \"DCOS\",\n \"orchestratorVersion\": \"\ - 1.9.0\"\n },\n \"masterProfile\": {\n \"count\": 1,\n \"dnsPrefix\"\ - : \"MasterPrefixTest\",\n \"vmSize\": \"Standard_D2_v2\",\n \"firstConsecutiveStaticIP\"\ - : \"172.16.0.5\",\n \"storageProfile\": \"ManagedDisks\",\n \"fqdn\"\ - : \"masterprefixtest.westus2.cloudapp.azure.com\"\n },\n \"agentPoolProfiles\"\ - : [\n {\n \"name\": \"agentpool0\",\n \"count\": 3,\n \"vmSize\"\ - : \"Standard_A2_v2\",\n \"dnsPrefix\": \"\",\n \"fqdn\": \"\",\n \ - \ \"storageProfile\": \"ManagedDisks\",\n \"osType\": \"Linux\"\n \ - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"acslinuxadmin\"\ - ,\n \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"\ - ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAlj9UC6+57XWVu0fd6zqXa256EU9EZdoLGE3TqdZqu9fvUvLQOX2G0d5DmFhDCyTmWLQUx3/ONQ9RotYmHGymBIPQcpx43nnxsuihAILcpGZ5NjCj4IOYnmhdULxN4ti7k00S+udqokrRYpmwt0N4NA4VT9cN+7uJDL8Opqa1FYu0CT/RqSW+3aoQ0nfGj11axoxM37FuOMZ/c7mBSxvuI9NsDmcDQOUmPXjlgNlxrLzf6VcjxnJh4AO83zbyLok37mW/C7CuNK4WowjPO1Ix2kqRHRxBrzxYZ9xqZPc8GpFTw/dxJEYdJ3xlitbOoBoDgrL5gSITv6ESlNqjPk6kHQ==\ - \ azureuser@linuxvm\"\n }\n ]\n }\n }\n }\n }"} - headers: - Azure-AsyncOperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30'] - Cache-Control: [no-cache] - Content-Length: ['1505'] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:02:10 GMT'] - Expires: ['-1'] - Location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - x-ms-correlation-request-id: [61f0168c-bf55-4dbb-8d5e-50f23793e8d8] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - x-ms-request-id: [b2cafb91-51a1-4026-81e9-fd0a968dda56] - x-ms-routing-request-id: ['WESTUS2:20171017T190210Z:61f0168c-bf55-4dbb-8d5e-50f23793e8d8'] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 - response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:02:40 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [790d4db8-26b7-45b9-8505-89077d7951df] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [e6e07863-87b5-4ab8-8cfc-a2f09c00626a] - x-ms-routing-request-id: ['WESTUS2:20171017T190241Z:790d4db8-26b7-45b9-8505-89077d7951df'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 - response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:03:11 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [cd99f82d-56e7-40f5-b98c-6de0266ab757] - x-ms-ratelimit-remaining-subscription-reads: ['14985'] - x-ms-request-id: [78c4f55e-0896-49dc-87bf-bcf3f26e79a1] - x-ms-routing-request-id: ['WESTUS2:20171017T190312Z:cd99f82d-56e7-40f5-b98c-6de0266ab757'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 - response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:03:43 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [2049194b-b3ac-4786-9988-edc58330c897] - x-ms-ratelimit-remaining-subscription-reads: ['14998'] - x-ms-request-id: [b0e208fb-808d-43c6-9c1c-43ea42498728] - x-ms-routing-request-id: ['WESTUS2:20171017T190343Z:2049194b-b3ac-4786-9988-edc58330c897'] - status: {code: 200, message: OK} + \ {\n \"orchestratorType\": \"Swarm\"\n },\n \"masterProfile\": {\n\ + \ \"count\": 1,\n \"dnsPrefix\": \"MasterPrefixTest\",\n \"vmSize\"\ + : \"Standard_D2_v2\",\n \"vnetSubnetID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet\"\ + ,\n \"firstConsecutiveStaticIP\": \"10.240.255.5\",\n \"storageProfile\"\ + : \"ManagedDisks\",\n \"fqdn\": \"masterprefixtest.westus.cloudapp.azure.com\"\ + \n },\n \"agentPoolProfiles\": [\n {\n \"name\": \"agentpool0\"\ + ,\n \"count\": 3,\n \"vmSize\": \"Standard_A2_v2\",\n \"dnsPrefix\"\ + : \"\",\n \"fqdn\": \"\",\n \"storageProfile\": \"ManagedDisks\",\n\ + \ \"vnetSubnetID\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerservice_test_container665810f8/providers/Microsoft.Network/virtualNetworks/vnet/subnets/v-subnet\"\ + ,\n \"osType\": \"Linux\"\n }\n ],\n \"linuxProfile\": {\n \"\ + adminUsername\": \"acslinuxadmin\",\n \"ssh\": {\n \"publicKeys\":\ + \ [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAlj9UC6+57XWVu0fd6zqXa256EU9EZdoLGE3TqdZqu9fvUvLQOX2G0d5DmFhDCyTmWLQUx3/ONQ9RotYmHGymBIPQcpx43nnxsuihAILcpGZ5NjCj4IOYnmhdULxN4ti7k00S+udqokrRYpmwt0N4NA4VT9cN+7uJDL8Opqa1FYu0CT/RqSW+3aoQ0nfGj11axoxM37FuOMZ/c7mBSxvuI9NsDmcDQOUmPXjlgNlxrLzf6VcjxnJh4AO83zbyLok37mW/C7CuNK4WowjPO1Ix2kqRHRxBrzxYZ9xqZPc8GpFTw/dxJEYdJ3xlitbOoBoDgrL5gSITv6ESlNqjPk6kHQ==\ + \ azureuser@linuxvm\"\n }\n ]\n }\n }\n }\n }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/14db5455-f3cc-4fc6-bddf-bee6e7de4c16?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '1883' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:28:23 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operationresults/14db5455-f3cc-4fc6-bddf-bee6e7de4c16?api-version=2016-03-30 + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/14db5455-f3cc-4fc6-bddf-bee6e7de4c16?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:04:14 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [2bdf9cfe-0627-4899-add9-f08545c49367] - x-ms-ratelimit-remaining-subscription-reads: ['14962'] - x-ms-request-id: [562aefc3-4b8f-420a-b1f9-07cbbb816936] - x-ms-routing-request-id: ['WESTUS2:20171017T190414Z:2bdf9cfe-0627-4899-add9-f08545c49367'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"5554db14-ccf3-c64f-bddf-bee6e7de4c16\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-06-08T10:28:22.9618948Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:28:54 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/14db5455-f3cc-4fc6-bddf-bee6e7de4c16?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:04:45 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [9654cc1f-71e9-453d-96fa-c637a9a8cb85] - x-ms-ratelimit-remaining-subscription-reads: ['14975'] - x-ms-request-id: [47b2babb-6de4-490a-9701-4ee715e54839] - x-ms-routing-request-id: ['WESTUS2:20171017T190445Z:9654cc1f-71e9-453d-96fa-c637a9a8cb85'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"5554db14-ccf3-c64f-bddf-bee6e7de4c16\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-06-08T10:28:22.9618948Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:29:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/14db5455-f3cc-4fc6-bddf-bee6e7de4c16?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:05:16 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [6f14307f-5447-4ee4-ac29-d4927d58a4fa] - x-ms-ratelimit-remaining-subscription-reads: ['14989'] - x-ms-request-id: [ea6058c8-1c14-464d-9fd4-00ed1631a9f5] - x-ms-routing-request-id: ['WESTUS:20171017T190516Z:6f14307f-5447-4ee4-ac29-d4927d58a4fa'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"5554db14-ccf3-c64f-bddf-bee6e7de4c16\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-06-08T10:28:22.9618948Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:29:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/14db5455-f3cc-4fc6-bddf-bee6e7de4c16?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:05:47 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [b0245ace-914c-4db8-bc7e-8149b1f47070] - x-ms-ratelimit-remaining-subscription-reads: ['14994'] - x-ms-request-id: [ebd0935e-6970-485a-8068-c4f700a2a051] - x-ms-routing-request-id: ['WESTUS:20171017T190547Z:b0245ace-914c-4db8-bc7e-8149b1f47070'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"5554db14-ccf3-c64f-bddf-bee6e7de4c16\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-06-08T10:28:22.9618948Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:30:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/14db5455-f3cc-4fc6-bddf-bee6e7de4c16?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:06:17 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [315515f8-bfd8-4bd2-9f21-63a503be0e83] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [f6cac62f-a4d9-45be-adfd-1a1086816412] - x-ms-routing-request-id: ['WESTUS2:20171017T190618Z:315515f8-bfd8-4bd2-9f21-63a503be0e83'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"5554db14-ccf3-c64f-bddf-bee6e7de4c16\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-06-08T10:28:22.9618948Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:30:56 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/14db5455-f3cc-4fc6-bddf-bee6e7de4c16?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:06:49 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [f04dd1f7-81b2-4b3a-bb15-8568bd856eff] - x-ms-ratelimit-remaining-subscription-reads: ['14969'] - x-ms-request-id: [640163b7-0781-4d2b-81d7-4ab4243b327e] - x-ms-routing-request-id: ['WESTUS2:20171017T190649Z:f04dd1f7-81b2-4b3a-bb15-8568bd856eff'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"5554db14-ccf3-c64f-bddf-bee6e7de4c16\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-06-08T10:28:22.9618948Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:31:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/14db5455-f3cc-4fc6-bddf-bee6e7de4c16?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:07:19 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [b7b5c6df-3759-4f77-9f5f-6a466c0c1372] - x-ms-ratelimit-remaining-subscription-reads: ['14993'] - x-ms-request-id: [06992e04-02e0-40b0-8fee-d1678095b165] - x-ms-routing-request-id: ['WESTUS2:20171017T190720Z:b7b5c6df-3759-4f77-9f5f-6a466c0c1372'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"5554db14-ccf3-c64f-bddf-bee6e7de4c16\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-06-08T10:28:22.9618948Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:31:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/14db5455-f3cc-4fc6-bddf-bee6e7de4c16?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:07:51 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [4fb588b8-4641-4fc1-b73f-bcf85119d76c] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [c48b2cf7-63cb-4627-9645-e5ee38ada48a] - x-ms-routing-request-id: ['WESTUS:20171017T190751Z:4fb588b8-4641-4fc1-b73f-bcf85119d76c'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"5554db14-ccf3-c64f-bddf-bee6e7de4c16\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-06-08T10:28:22.9618948Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:32:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/14db5455-f3cc-4fc6-bddf-bee6e7de4c16?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:08:22 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [ff3dcd96-bafe-4dbc-88e8-ec57a157d336] - x-ms-ratelimit-remaining-subscription-reads: ['14981'] - x-ms-request-id: [3bf4b860-58fc-421d-8f2e-613e19d93b09] - x-ms-routing-request-id: ['WESTUS:20171017T190823Z:ff3dcd96-bafe-4dbc-88e8-ec57a157d336'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"5554db14-ccf3-c64f-bddf-bee6e7de4c16\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2020-06-08T10:28:22.9618948Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:32:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerservice/9.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus/operations/14db5455-f3cc-4fc6-bddf-bee6e7de4c16?api-version=2016-03-30 response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:08:53 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [6261f2c9-2fce-4b4a-8687-5a7cd253fad9] - x-ms-ratelimit-remaining-subscription-reads: ['14995'] - x-ms-request-id: [d8073fd5-0da4-4787-ade2-3fe1d1d4ca41] - x-ms-routing-request-id: ['WESTUS:20171017T190854Z:6261f2c9-2fce-4b4a-8687-5a7cd253fad9'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 - response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:09:24 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [bcb71078-7690-4341-81dc-dcdf90183706] - x-ms-ratelimit-remaining-subscription-reads: ['14992'] - x-ms-request-id: [d47b421d-5fa3-4b70-b45d-1e021b1d5b76] - x-ms-routing-request-id: ['WESTUS:20171017T190925Z:bcb71078-7690-4341-81dc-dcdf90183706'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 - response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:09:56 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [76f72c58-1adf-4d22-91a5-158f31161417] - x-ms-ratelimit-remaining-subscription-reads: ['14988'] - x-ms-request-id: [f52379fe-4139-4b33-be1f-a27946d6cc20] - x-ms-routing-request-id: ['WESTUS:20171017T190956Z:76f72c58-1adf-4d22-91a5-158f31161417'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 - response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"InProgress\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - \n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:10:28 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['126'] - x-ms-correlation-request-id: [67ab80e9-3fca-4820-a08f-f4edd319d112] - x-ms-ratelimit-remaining-subscription-reads: ['14996'] - x-ms-request-id: [ba8a8596-f110-459b-b7bb-447e6c8c765a] - x-ms-routing-request-id: ['WESTUS:20171017T191028Z:67ab80e9-3fca-4820-a08f-f4edd319d112'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.3 (Windows-10-10.0.15063-SP0) requests/2.18.4 msrest/0.4.16 - msrest_azure/0.4.14 azure-mgmt-containerservice/2.0.0 Azure-SDK-For-Python] - accept-language: [en-US] - x-ms-client-request-id: [ab3ce130-b36d-11e7-98f5-20cf30e81033] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b2cafb91-51a1-4026-81e9-fd0a968dda56?api-version=2016-03-30 - response: - body: {string: "{\n \"name\": \"91fbcab2-a151-2640-81e9-fd0a968dda56\",\n \"\ - status\": \"Succeeded\",\n \"startTime\": \"2017-10-17T19:02:09.8024491Z\"\ - ,\n \"endTime\": \"2017-10-17T19:10:54.24677Z\"\n }"} - headers: - Cache-Control: [no-cache] - Content-Type: [application/json] - Date: ['Tue, 17 Oct 2017 19:10:59 GMT'] - Expires: ['-1'] - Pragma: [no-cache] - Server: [nginx] - Strict-Transport-Security: [max-age=31536000; includeSubDomains] - Transfer-Encoding: [chunked] - Vary: [Accept-Encoding] - content-length: ['168'] - x-ms-correlation-request-id: [ebb45d51-3499-4792-abfa-78437f0dbf06] - x-ms-ratelimit-remaining-subscription-reads: ['14988'] - x-ms-request-id: [a4a385fe-a825-4ce5-90f5-97f790e171e8] - x-ms-routing-request-id: ['WESTUS2:20171017T191059Z:ebb45d51-3499-4792-abfa-78437f0dbf06'] - status: {code: 200, message: OK} + body: + string: "{\n \"name\": \"5554db14-ccf3-c64f-bddf-bee6e7de4c16\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2020-06-08T10:28:22.9618948Z\",\n \"\ + endTime\": \"2020-06-08T10:33:15.4424523Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Mon, 08 Jun 2020 10:33:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK version: 1 diff --git a/sdk/containerservice/azure-mgmt-containerservice/tests/test_mgmt_containerservice.py b/sdk/containerservice/azure-mgmt-containerservice/tests/test_mgmt_containerservice.py index f670450f41bc..235046f9cbbd 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/tests/test_mgmt_containerservice.py +++ b/sdk/containerservice/azure-mgmt-containerservice/tests/test_mgmt_containerservice.py @@ -19,10 +19,47 @@ def setUp(self): self.cs_client = self.create_mgmt_client( azure.mgmt.containerservice.ContainerServiceClient ) + if self.is_live: + from azure.mgmt.network import NetworkManagementClient + self.network_client = self.create_mgmt_client( + NetworkManagementClient + ) + + def create_subet(self, group_name, location): + # Create virtual network + self.network_client.virtual_networks.create_or_update( + group_name, + "vnet", + { + "address_space": { + "address_prefixes": [ + "10.0.0.0/8" + ] + }, + "location": location + } + ).result() + + # Create subnet + subnet = self.network_client.subnets.create_or_update( + group_name, + "vnet", + "v-subnet", + { + "address_prefix": "10.0.0.0/8" + } + ).result() + + return subnet.id - @ResourceGroupPreparer(location='westus2') + @ResourceGroupPreparer(location='westus') def test_container(self, resource_group, location): container_name = self.get_resource_name('pycontainer') + + if self.is_live: + subnet_id = self.create_subet(resource_group.name, location) + else: + subnet_id = "" async_create = self.cs_client.container_services.create_or_update( resource_group.name, @@ -30,18 +67,20 @@ def test_container(self, resource_group, location): { 'location': location, "orchestrator_profile": { - "orchestrator_type": "DCOS" + "orchestrator_type": "Swarm" }, "master_profile": { "count": 1, "dns_prefix": "MasterPrefixTest", - "vm_size": ContainerServiceVMSizeTypes.standard_d2_v2 + "vm_size": ContainerServiceVMSizeTypes.standard_d2_v2, + "vnet_subnet_id": subnet_id }, "agent_pool_profiles": [{ "name": "agentpool0", "count": 3, "vm_size": "Standard_A2_v2", # "dns_prefix": "AgentPrefixTest" - Optional in latest version + "vnet_subnet_id": subnet_id }], "linux_profile": { "admin_username": "acslinuxadmin",