From a980ca1b76b10417453ac291c400b5a60374870d Mon Sep 17 00:00:00 2001 From: Chou Hu Date: Mon, 19 Apr 2021 21:31:28 +0800 Subject: [PATCH] [AKS] Support updating Windows password (#3263) --- src/aks-preview/azext_aks_preview/_help.py | 18 +- src/aks-preview/azext_aks_preview/_params.py | 1 + src/aks-preview/azext_aks_preview/custom.py | 12 +- ...test_aks_update_with_windows_password.yaml | 3274 +++++++++++++++++ .../tests/latest/test_aks_commands.py | 45 + src/service_name.json | 5 + 6 files changed, 3351 insertions(+), 4 deletions(-) create mode 100644 src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_windows_password.yaml diff --git a/src/aks-preview/azext_aks_preview/_help.py b/src/aks-preview/azext_aks_preview/_help.py index 3a363d0893a..47bfa890692 100644 --- a/src/aks-preview/azext_aks_preview/_help.py +++ b/src/aks-preview/azext_aks_preview/_help.py @@ -81,7 +81,7 @@ short-summary: User account password to use on windows node VMs. long-summary: |- Rules for windows-admin-password: - - Minimum-length: 8 characters + - Minimum-length: 14 characters - Max-length: 123 characters - Complexity requirements: 3 out of 4 conditions below need to be fulfilled * Has lower characters @@ -505,6 +505,20 @@ - name: --tags type: string short-summary: The tags of the managed cluster. The managed cluster instance and all resources managed by the cloud provider will be tagged. + - name: --windows-admin-password + type: string + short-summary: User account password to use on windows node VMs. + long-summary: |- + Rules for windows-admin-password: + - Minimum-length: 14 characters + - Max-length: 123 characters + - Complexity requirements: 3 out of 4 conditions below need to be fulfilled + * Has lower characters + * Has upper characters + * Has a digit + * Has a special character (Regex match [\\W_]) + - Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" + Reference: https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.management.compute.models.virtualmachinescalesetosprofile.adminpassword?view=azure-dotnet examples: - name: Enable cluster-autoscaler within node count range [1,5] text: az aks update --enable-cluster-autoscaler --min-count 1 --max-count 5 -g MyResourceGroup -n MyManagedCluster @@ -548,6 +562,8 @@ text: az aks update -g MyResourceGroup -n MyManagedCluster --disable-pod-identity - name: Update the tags of a kubernetes cluster text: az aks update -g MyResourceGroup -n MyManagedCLuster --tags "foo=bar" "baz=qux" + - name: Update Windows password of a kubernetes cluster + text: az aks update -g MyResourceGroup -n MyManagedCLuster --windows-admin-password "Repl@cePassw0rd12345678" """ helps['aks kollect'] = """ diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index cb1ad23172e..a8e19b9304e 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -157,6 +157,7 @@ def load_arguments(self, _): c.argument('disable_pod_identity', action='store_true') c.argument('enable_secret_rotation', action='store_true') c.argument('disable_secret_rotation', action='store_true') + c.argument('windows_admin_password', options_list=['--windows-admin-password']) c.argument('yes', options_list=['--yes', '-y'], help='Do not prompt for confirmation.', action='store_true') with self.argument_context('aks scale') as c: diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index 6e9c55c691e..9dfa8d24383 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -1495,7 +1495,8 @@ def aks_update(cmd, # pylint: disable=too-many-statements,too-many-branches, enable_secret_rotation=False, disable_secret_rotation=False, yes=False, - tags=None): + tags=None, + windows_admin_password=None): update_autoscaler = enable_cluster_autoscaler or disable_cluster_autoscaler or update_cluster_autoscaler update_acr = attach_acr is not None or detach_acr is not None update_pod_security = enable_pod_security_policy or disable_pod_security_policy @@ -1527,7 +1528,8 @@ def aks_update(cmd, # pylint: disable=too-many-statements,too-many-branches, not disable_pod_identity and \ not enable_secret_rotation and \ not disable_secret_rotation and \ - not tags: + not tags and \ + not windows_admin_password: raise CLIError('Please specify "--enable-cluster-autoscaler" or ' '"--disable-cluster-autoscaler" or ' '"--update-cluster-autoscaler" or ' @@ -1553,7 +1555,8 @@ def aks_update(cmd, # pylint: disable=too-many-statements,too-many-branches, '"--auto-upgrade-channel" or ' '"--enable-secret-rotation" or ' '"--disable-secret-rotation" or ' - '"--tags"') + '"--tags" or ' + '"--windows-admin-password"') instance = client.get(resource_group_name, name) @@ -1791,6 +1794,9 @@ def aks_update(cmd, # pylint: disable=too-many-statements,too-many-branches, if tags: instance.tags = tags + if windows_admin_password: + instance.windows_profile.admin_password = windows_admin_password + headers = get_aks_custom_headers(aks_custom_headers) return _put_managed_cluster_ensuring_permission(cmd, diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_windows_password.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_windows_password.yaml new file mode 100644 index 00000000000..4d794c700e8 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_windows_password.yaml @@ -0,0 +1,3274 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-resource/12.1.0 Azure-SDK-For-Python AZURECLI/2.22.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2021-04-14T04:01:54Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '313' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Apr 2021 04:01:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus2", "properties": {"kubernetesVersion": "", "dnsPrefix": + "cliaksdns000002", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", + "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": + false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "enableEncryptionAtHost": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJ1ooX5DI9wfvhvdateAnpnHqVnHy/fO9VbAtjoOb1kVExAsMSv+BUuvVXpHmsqEWn+To5p9awEhKYNL+oznH2BZMi/JHQ0l1oVips0RZkpMk7PJnZKgnQ23yExAxkCTYgXE03WTOuxb+u84Um0actdFqoxoYbnXeyOZYVA2v89T9ON7Y7d1s7VWlxu/XumGuTwimWC4zRoPv559HK918SIS8uDEinHtq+TLyslLzFmAR7LCyQP8pXhCl/jBSKx0RlfuYhu9pUG1A5gbrmY0GBc6dhPjV04aQNY8Ob+QLQSLJJ5uLUOWnCjYHX2C0rVG9tFd+6HySEF6IkbJIpgPKz\n"}]}}, + "windowsProfile": {"adminUsername": "azureuser1", "adminPassword": "replace-Password1234$"}, + "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": + {"networkPlugin": "azure", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}}, "identity": {"type": "SystemAssigned"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + Content-Length: + - '1174' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-03-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.18.14\",\n \"dnsPrefix\"\ + : \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-8b465133.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-8b465133.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.18.14\",\n\ + \ \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\"\ + : \"System\",\n \"enableEncryptionAtHost\": false,\n \"osType\": \"\ + Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\",\n\ + \ \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"\ + adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n\ + \ {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJ1ooX5DI9wfvhvdateAnpnHqVnHy/fO9VbAtjoOb1kVExAsMSv+BUuvVXpHmsqEWn+To5p9awEhKYNL+oznH2BZMi/JHQ0l1oVips0RZkpMk7PJnZKgnQ23yExAxkCTYgXE03WTOuxb+u84Um0actdFqoxoYbnXeyOZYVA2v89T9ON7Y7d1s7VWlxu/XumGuTwimWC4zRoPv559HK918SIS8uDEinHtq+TLyslLzFmAR7LCyQP8pXhCl/jBSKx0RlfuYhu9pUG1A5gbrmY0GBc6dhPjV04aQNY8Ob+QLQSLJJ5uLUOWnCjYHX2C0rVG9tFd+6HySEF6IkbJIpgPKz\\\ + n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\"\ + : \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"addonProfiles\": {\n \"KubeDashboard\": {\n \"enabled\": false,\n\ + \ \"config\": null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\"\ + ,\n \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"\ + networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\"\ + : \"standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\"\ + : {\n \"count\": 1\n }\n },\n \"serviceCidr\": \"10.0.0.0/16\"\ + ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ + ,\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 10\n\ + \ },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\"\ + :\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\ + \n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n\ + \ }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/38ee6305-aba3-4a6f-b6ad-3f3cc956bc04?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '2697' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:02:07 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 + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/38ee6305-aba3-4a6f-b6ad-3f3cc956bc04?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"0563ee38-a3ab-6f4a-b6ad-3f3cc956bc04\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:02:07.5466666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:02:38 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 + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/38ee6305-aba3-4a6f-b6ad-3f3cc956bc04?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"0563ee38-a3ab-6f4a-b6ad-3f3cc956bc04\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:02:07.5466666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:03:08 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 + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/38ee6305-aba3-4a6f-b6ad-3f3cc956bc04?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"0563ee38-a3ab-6f4a-b6ad-3f3cc956bc04\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:02:07.5466666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:03:39 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 + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/38ee6305-aba3-4a6f-b6ad-3f3cc956bc04?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"0563ee38-a3ab-6f4a-b6ad-3f3cc956bc04\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:02:07.5466666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:04:09 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 + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/38ee6305-aba3-4a6f-b6ad-3f3cc956bc04?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"0563ee38-a3ab-6f4a-b6ad-3f3cc956bc04\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:02:07.5466666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:04:40 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 + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/38ee6305-aba3-4a6f-b6ad-3f3cc956bc04?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"0563ee38-a3ab-6f4a-b6ad-3f3cc956bc04\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:02:07.5466666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:05:11 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 + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/38ee6305-aba3-4a6f-b6ad-3f3cc956bc04?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"0563ee38-a3ab-6f4a-b6ad-3f3cc956bc04\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2021-04-14T04:02:07.5466666Z\",\n \"\ + endTime\": \"2021-04-14T04:05:21.8711032Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:05:41 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 + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --dns-name-prefix --node-count --generate-ssh-keys + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-03-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.18.14\",\n \"dnsPrefix\"\ + : \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-8b465133.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-8b465133.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.18.14\",\n\ + \ \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\"\ + : \"System\",\n \"enableEncryptionAtHost\": false,\n \"osType\": \"\ + Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\",\n\ + \ \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"\ + adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n\ + \ {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJ1ooX5DI9wfvhvdateAnpnHqVnHy/fO9VbAtjoOb1kVExAsMSv+BUuvVXpHmsqEWn+To5p9awEhKYNL+oznH2BZMi/JHQ0l1oVips0RZkpMk7PJnZKgnQ23yExAxkCTYgXE03WTOuxb+u84Um0actdFqoxoYbnXeyOZYVA2v89T9ON7Y7d1s7VWlxu/XumGuTwimWC4zRoPv559HK918SIS8uDEinHtq+TLyslLzFmAR7LCyQP8pXhCl/jBSKx0RlfuYhu9pUG1A5gbrmY0GBc6dhPjV04aQNY8Ob+QLQSLJJ5uLUOWnCjYHX2C0rVG9tFd+6HySEF6IkbJIpgPKz\\\ + n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\"\ + : \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"addonProfiles\": {\n \"KubeDashboard\": {\n \"enabled\": false,\n\ + \ \"config\": null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\"\ + ,\n \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"\ + networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\"\ + : \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\"\ + : {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n \ + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/9a8746c5-ba68-4c6e-bca4-387bb82514fa\"\ + \n }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\"\ + : \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\"\ + : \"loadBalancer\"\n },\n \"maxAgentPools\": 10,\n \"identityProfile\"\ + : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '3360' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:05:42 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 + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-03-01 + response: + body: + string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/nodepool1\"\ + ,\n \"name\": \"nodepool1\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\"\ + ,\n \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\"\ + ,\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"\ + kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\"\ + ,\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.18.14\"\ + ,\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"\ + mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"osType\"\ + : \"Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\"\ + ,\n \"enableFIPS\": false\n }\n }\n ]\n }" + headers: + cache-control: + - no-cache + content-length: + - '893' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:05:43 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: '{"properties": {"count": 1, "vmSize": "Standard_D2s_v3", "osType": "Windows", + "type": "VirtualMachineScaleSets", "mode": "User", "upgradeSettings": {}, "enableNodePublicIP": + false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "nodeTaints": + [], "enableEncryptionAtHost": false}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks nodepool add + Connection: + - keep-alive + Content-Length: + - '299' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-03-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\"\ + ,\n \"name\": \"npwin\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\"\ + ,\n \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\"\ + ,\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\"\ + : \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n\ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"orchestratorVersion\": \"1.18.14\",\n \"enableNodePublicIP\"\ + : false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n\ + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.1817.210310\"\ + ,\n \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/16459ecb-c19c-4fa8-b266-e82319dfb745?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '818' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:05:47 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 + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/16459ecb-c19c-4fa8-b266-e82319dfb745?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"cb9e4516-9cc1-a84f-b266-e82319dfb745\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:05:47.5833333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:06: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 + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/16459ecb-c19c-4fa8-b266-e82319dfb745?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"cb9e4516-9cc1-a84f-b266-e82319dfb745\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:05:47.5833333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:06:48 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 + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/16459ecb-c19c-4fa8-b266-e82319dfb745?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"cb9e4516-9cc1-a84f-b266-e82319dfb745\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:05:47.5833333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:07:18 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 + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/16459ecb-c19c-4fa8-b266-e82319dfb745?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"cb9e4516-9cc1-a84f-b266-e82319dfb745\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:05:47.5833333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:07:50 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 + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/16459ecb-c19c-4fa8-b266-e82319dfb745?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"cb9e4516-9cc1-a84f-b266-e82319dfb745\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:05:47.5833333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:08: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 + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/16459ecb-c19c-4fa8-b266-e82319dfb745?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"cb9e4516-9cc1-a84f-b266-e82319dfb745\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:05:47.5833333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:08:50 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 + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/16459ecb-c19c-4fa8-b266-e82319dfb745?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"cb9e4516-9cc1-a84f-b266-e82319dfb745\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:05:47.5833333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:09:21 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 + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/16459ecb-c19c-4fa8-b266-e82319dfb745?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"cb9e4516-9cc1-a84f-b266-e82319dfb745\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:05:47.5833333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:09:51 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 + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/16459ecb-c19c-4fa8-b266-e82319dfb745?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"cb9e4516-9cc1-a84f-b266-e82319dfb745\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:05:47.5833333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:10:22 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 + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/16459ecb-c19c-4fa8-b266-e82319dfb745?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"cb9e4516-9cc1-a84f-b266-e82319dfb745\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:05:47.5833333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:10:52 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 + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/16459ecb-c19c-4fa8-b266-e82319dfb745?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"cb9e4516-9cc1-a84f-b266-e82319dfb745\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:05:47.5833333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:11: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 + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/16459ecb-c19c-4fa8-b266-e82319dfb745?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"cb9e4516-9cc1-a84f-b266-e82319dfb745\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2021-04-14T04:05:47.5833333Z\",\n \"\ + endTime\": \"2021-04-14T04:11:40.3538895Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:11: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 + CommandName: + - aks nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-03-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\"\ + ,\n \"name\": \"npwin\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\"\ + ,\n \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\"\ + ,\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\"\ + : \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n\ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"orchestratorVersion\": \"1.18.14\",\n \"enableNodePublicIP\"\ + : false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n\ + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.1817.210310\"\ + ,\n \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '819' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:11: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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-03-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.18.14\",\n \"dnsPrefix\"\ + : \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-8b465133.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-8b465133.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.18.14\",\n\ + \ \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\"\ + : \"System\",\n \"enableEncryptionAtHost\": false,\n \"osType\": \"\ + Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\",\n\ + \ \"enableFIPS\": false\n },\n {\n \"name\": \"npwin\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.18.14\",\n\ + \ \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\"\ + : false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.1817.210310\"\ + ,\n \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n\ + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\"\ + : {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJ1ooX5DI9wfvhvdateAnpnHqVnHy/fO9VbAtjoOb1kVExAsMSv+BUuvVXpHmsqEWn+To5p9awEhKYNL+oznH2BZMi/JHQ0l1oVips0RZkpMk7PJnZKgnQ23yExAxkCTYgXE03WTOuxb+u84Um0actdFqoxoYbnXeyOZYVA2v89T9ON7Y7d1s7VWlxu/XumGuTwimWC4zRoPv559HK918SIS8uDEinHtq+TLyslLzFmAR7LCyQP8pXhCl/jBSKx0RlfuYhu9pUG1A5gbrmY0GBc6dhPjV04aQNY8Ob+QLQSLJJ5uLUOWnCjYHX2C0rVG9tFd+6HySEF6IkbJIpgPKz\\\ + n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\"\ + : \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"addonProfiles\": {\n \"KubeDashboard\": {\n \"enabled\": false,\n\ + \ \"config\": null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\"\ + ,\n \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"\ + networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\"\ + : \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\"\ + : {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n \ + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/9a8746c5-ba68-4c6e-bca4-387bb82514fa\"\ + \n }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\"\ + : \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\"\ + : \"loadBalancer\"\n },\n \"maxAgentPools\": 10,\n \"identityProfile\"\ + : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '3957' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:11: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: '{"location": "westus2", "properties": {"kubernetesVersion": "1.18.14", + "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": [{"count": 1, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "maxPods": 30, "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": + "System", "orchestratorVersion": "1.18.14", "enableNodePublicIP": false, "nodeLabels": + {}, "enableEncryptionAtHost": false, "enableFIPS": false, "name": "nodepool1"}, + {"count": 1, "vmSize": "Standard_D2s_v3", "osDiskSizeGB": 128, "osDiskType": + "Managed", "kubeletDiskType": "OS", "maxPods": 30, "osType": "Windows", "type": + "VirtualMachineScaleSets", "mode": "User", "orchestratorVersion": "1.18.14", + "upgradeSettings": {}, "enableNodePublicIP": false, "enableEncryptionAtHost": + false, "enableFIPS": false, "name": "npwin"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJ1ooX5DI9wfvhvdateAnpnHqVnHy/fO9VbAtjoOb1kVExAsMSv+BUuvVXpHmsqEWn+To5p9awEhKYNL+oznH2BZMi/JHQ0l1oVips0RZkpMk7PJnZKgnQ23yExAxkCTYgXE03WTOuxb+u84Um0actdFqoxoYbnXeyOZYVA2v89T9ON7Y7d1s7VWlxu/XumGuTwimWC4zRoPv559HK918SIS8uDEinHtq+TLyslLzFmAR7LCyQP8pXhCl/jBSKx0RlfuYhu9pUG1A5gbrmY0GBc6dhPjV04aQNY8Ob+QLQSLJJ5uLUOWnCjYHX2C0rVG9tFd+6HySEF6IkbJIpgPKz\n"}]}}, + "windowsProfile": {"adminUsername": "azureuser1", "adminPassword": "N43K03f8-=143fnilfs1$s", + "enableCSIProxy": true}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + "addonProfiles": {"KubeDashboard": {"enabled": false}}, "nodeResourceGroup": + "MC_clitest000001_cliakstest000001_westus2", "enableRBAC": true, "enablePodSecurityPolicy": + false, "networkProfile": {"networkPlugin": "azure", "serviceCidr": "10.0.0.0/16", + "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": + "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/9a8746c5-ba68-4c6e-bca4-387bb82514fa"}]}}, + "autoUpgradeProfile": {}, "identityProfile": {"kubeletidentity": {"resourceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", + "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}}, + "identity": {"type": "SystemAssigned"}, "sku": {"name": "Basic", "tier": "Free"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + Content-Length: + - '2626' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-03-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.18.14\",\n \"dnsPrefix\"\ + : \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-8b465133.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-8b465133.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.18.14\",\n\ + \ \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\"\ + : \"System\",\n \"enableEncryptionAtHost\": false,\n \"osType\": \"\ + Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\",\n\ + \ \"enableFIPS\": false\n },\n {\n \"name\": \"npwin\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.18.14\",\n\ + \ \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\"\ + : false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.1817.210310\"\ + ,\n \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n\ + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\"\ + : {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJ1ooX5DI9wfvhvdateAnpnHqVnHy/fO9VbAtjoOb1kVExAsMSv+BUuvVXpHmsqEWn+To5p9awEhKYNL+oznH2BZMi/JHQ0l1oVips0RZkpMk7PJnZKgnQ23yExAxkCTYgXE03WTOuxb+u84Um0actdFqoxoYbnXeyOZYVA2v89T9ON7Y7d1s7VWlxu/XumGuTwimWC4zRoPv559HK918SIS8uDEinHtq+TLyslLzFmAR7LCyQP8pXhCl/jBSKx0RlfuYhu9pUG1A5gbrmY0GBc6dhPjV04aQNY8Ob+QLQSLJJ5uLUOWnCjYHX2C0rVG9tFd+6HySEF6IkbJIpgPKz\\\ + n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\"\ + : \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"addonProfiles\": {\n \"KubeDashboard\": {\n \"enabled\": false,\n\ + \ \"config\": null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\"\ + ,\n \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"\ + networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\"\ + : \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\"\ + : {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n \ + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/9a8746c5-ba68-4c6e-bca4-387bb82514fa\"\ + \n }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\"\ + : \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\"\ + : \"loadBalancer\"\n },\n \"maxAgentPools\": 10,\n \"identityProfile\"\ + : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '3954' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:12:02 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 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:12:33 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:13:03 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:13:34 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:14:04 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:14:35 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:15:06 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:15:36 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:16:06 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:16:37 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:17:08 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:17:38 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:18:09 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:18:40 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:19:10 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:19:41 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:20:12 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:20:42 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:21: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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:21:43 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:22: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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:22: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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:23:15 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:23: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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:24:15 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:24: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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:25: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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:25:47 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:26:18 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e9a1219f-aa74-4158-85e6-025ad0b9756c?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"9f21a1e9-74aa-5841-85e6-025ad0b9756c\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2021-04-14T04:12:01.63Z\",\n \"endTime\"\ + : \"2021-04-14T04:26:29.4312826Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '165' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:26:49 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 + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-03-01 + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.18.14\",\n \"dnsPrefix\"\ + : \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-8b465133.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-8b465133.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.18.14\",\n\ + \ \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"mode\"\ + : \"System\",\n \"enableEncryptionAtHost\": false,\n \"osType\": \"\ + Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\",\n\ + \ \"enableFIPS\": false\n },\n {\n \"name\": \"npwin\",\n \ + \ \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.18.14\",\n\ + \ \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\"\ + : false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.1817.210310\"\ + ,\n \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n\ + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\"\ + : {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJ1ooX5DI9wfvhvdateAnpnHqVnHy/fO9VbAtjoOb1kVExAsMSv+BUuvVXpHmsqEWn+To5p9awEhKYNL+oznH2BZMi/JHQ0l1oVips0RZkpMk7PJnZKgnQ23yExAxkCTYgXE03WTOuxb+u84Um0actdFqoxoYbnXeyOZYVA2v89T9ON7Y7d1s7VWlxu/XumGuTwimWC4zRoPv559HK918SIS8uDEinHtq+TLyslLzFmAR7LCyQP8pXhCl/jBSKx0RlfuYhu9pUG1A5gbrmY0GBc6dhPjV04aQNY8Ob+QLQSLJJ5uLUOWnCjYHX2C0rVG9tFd+6HySEF6IkbJIpgPKz\\\ + n\"\n }\n ]\n }\n },\n \"windowsProfile\": {\n \"adminUsername\"\ + : \"azureuser1\",\n \"enableCSIProxy\": true\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"addonProfiles\": {\n \"KubeDashboard\": {\n \"enabled\": false,\n\ + \ \"config\": null\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\"\ + ,\n \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"\ + networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\"\ + : \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\"\ + : {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n \ + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/9a8746c5-ba68-4c6e-bca4-387bb82514fa\"\ + \n }\n ]\n },\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\"\ + : \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\"\ + : \"loadBalancer\"\n },\n \"maxAgentPools\": 10,\n \"identityProfile\"\ + : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '3957' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:26:49 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 + CommandName: + - aks nodepool delete + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --no-wait + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-03-01 + response: + body: + string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/nodepool1\"\ + ,\n \"name\": \"nodepool1\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\"\ + ,\n \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\"\ + ,\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"\ + kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\"\ + ,\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.18.14\"\ + ,\n \"enableNodePublicIP\": false,\n \"nodeLabels\": {},\n \"\ + mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \"osType\"\ + : \"Linux\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2-2021.03.29\"\ + ,\n \"enableFIPS\": false\n }\n },\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\"\ + ,\n \"name\": \"npwin\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\"\ + ,\n \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\"\ + ,\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"\ + kubeletDiskType\": \"OS\",\n \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\"\ + ,\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.18.14\"\ + ,\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"\ + enableEncryptionAtHost\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\"\ + : \"AKSWindows-2019-17763.1817.210310\",\n \"upgradeSettings\": {},\n\ + \ \"enableFIPS\": false\n }\n }\n ]\n }" + headers: + cache-control: + - no-cache + content-length: + - '1767' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 04:26:50 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 + CommandName: + - aks nodepool delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-group --cluster-name --name --no-wait + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.0.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin?api-version=2021-03-01 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ffca0056-256b-44db-9f6b-bbe6df80c96a?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Apr 2021 04:26:52 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/ffca0056-256b-44db-9f6b-bbe6df80c96a?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 + CommandName: + - aks delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n --yes --no-wait + User-Agent: + - python/3.6.9 (Linux-5.3.0-1028-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.4 azure-mgmt-containerservice/11.1.0 Azure-SDK-For-Python + AZURECLI/2.22.0 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-02-01 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/1ef85b28-135c-426a-9469-6aa3f9270c8c?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Apr 2021 04:26:54 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/1ef85b28-135c-426a-9469-6aa3f9270c8c?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 +version: 1 diff --git a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py index b45d6ba52f5..5df690021be 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py +++ b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py @@ -1437,6 +1437,51 @@ def test_aks_pod_identity_usage(self, resource_group, resource_group_location): self.is_empty(), ]) + @AllowLargeResponse() + @ResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') + def test_aks_update_with_windows_password(self, resource_group, resource_group_location): + # reset the count so in replay mode the random names will start with 0 + self.test_resources_count = 0 + # kwargs for string formatting + aks_name = self.create_random_name('cliakstest', 16) + self.kwargs.update({ + 'resource_group': resource_group, + 'name': aks_name, + 'dns_name_prefix': self.create_random_name('cliaksdns', 16), + 'location': resource_group_location, + 'resource_type': 'Microsoft.ContainerService/ManagedClusters', + 'windows_admin_username': 'azureuser1', + 'windows_admin_password': self.create_random_name('p@0A', 16), + 'nodepool2_name': 'npwin', + 'new_windows_admin_password': self.create_random_name('n!C3', 16), + }) + + # create + create_cmd = 'aks create --resource-group={resource_group} --name={name} --location={location} ' \ + '--dns-name-prefix={dns_name_prefix} --node-count=1 --generate-ssh-keys ' \ + '--windows-admin-username={windows_admin_username} --windows-admin-password={windows_admin_password} ' \ + '--load-balancer-sku=standard --vm-set-type=virtualmachinescalesets --network-plugin=azure' + self.cmd(create_cmd, checks=[ + self.exists('fqdn'), + self.exists('nodeResourceGroup'), + self.check('provisioningState', 'Succeeded'), + self.check('windowsProfile.adminUsername', 'azureuser1') + ]) + + # nodepool add + self.cmd('aks nodepool add --resource-group={resource_group} --cluster-name={name} --name={nodepool2_name} --os-type Windows --node-count=1', checks=[ + self.check('provisioningState', 'Succeeded') + ]) + + # update Windows password + self.cmd('aks update --resource-group={resource_group} --name={name} --windows-admin-password {new_windows_admin_password}', checks=[ + self.check('provisioningState', 'Succeeded'), + ]) + + # #nodepool delete + self.cmd( + 'aks nodepool delete --resource-group={resource_group} --cluster-name={name} --name={nodepool2_name} --no-wait', checks=[self.is_empty()]) + @live_only() @AllowLargeResponse() @ResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') diff --git a/src/service_name.json b/src/service_name.json index 4dbff4e5f53..ecbbf730103 100644 --- a/src/service_name.json +++ b/src/service_name.json @@ -9,6 +9,11 @@ "AzureServiceName": "Microsoft AI", "URL": "https://docs.microsoft.com/archive/msdn-magazine/2017/connect/artificial-intelligence-getting-started-with-microsoft-ai" }, + { + "Command": "az aks", + "AzureServiceName": "Azure Kubernetes Service", + "URL": "https://docs.microsoft.com/azure/aks/" + }, { "Command": "az alias", "AzureServiceName": "Azure CLI",