diff --git a/src/azure-cli/azure/cli/command_modules/acs/_help.py b/src/azure-cli/azure/cli/command_modules/acs/_help.py index 98fa64145e9..b33886d64bb 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/_help.py +++ b/src/azure-cli/azure/cli/command_modules/acs/_help.py @@ -233,10 +233,28 @@ short-summary: User account to create on node VMs for SSH access. - name: --windows-admin-username type: string - short-summary: Username to create on Windows node VMs. + short-summary: User account to create on windows node VMs. + long-summary: |- + Rules for windows-admin-username: + - restriction: Cannot end in "." + - Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". + - Minimum-length: 1 character + - Max-length: 20 characters + Reference: https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.management.compute.models.virtualmachinescalesetosprofile.adminusername?view=azure-dotnet - name: --windows-admin-password type: string - short-summary: Password to create on Windows node VMs. + 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 - name: --enable-ahub type: bool short-summary: Enable Azure Hybrid User Benefits (AHUB) for Windows VMs. @@ -527,6 +545,20 @@ - name: --disable-ahub type: bool short-summary: Disable Azure Hybrid User Benefits (AHUB) feature for cluster. + - 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: Update a kubernetes cluster with standard SKU load balancer to use two AKS created IPs for the load balancer outbound connection usage. text: az aks update -g MyResourceGroup -n MyManagedCluster --load-balancer-managed-outbound-ip-count 2 @@ -552,6 +584,8 @@ text: az aks update -g MyResourceGroup -n MyManagedCluster --enable-ahub - name: Disable Azure Hybrid User Benefits featture for a kubernetes cluster. text: az aks update -g MyResourceGroup -n MyManagedCluster --disable-ahub + - name: Update Windows password of a kubernetes cluster + text: az aks update -g MyResourceGroup -n MyManagedCLuster --windows-admin-password "Repl@cePassw0rd12345678" """ helps['aks delete'] = """ diff --git a/src/azure-cli/azure/cli/command_modules/acs/_params.py b/src/azure-cli/azure/cli/command_modules/acs/_params.py index f6194469d48..a427252eab2 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/_params.py +++ b/src/azure-cli/azure/cli/command_modules/acs/_params.py @@ -249,6 +249,7 @@ def load_arguments(self, _): c.argument('api_server_authorized_ip_ranges', type=str, validator=validate_ip_ranges) c.argument('enable_ahub', options_list=['--enable-ahub']) c.argument('disable_ahub', options_list=['--disable-ahub']) + c.argument('windows_admin_password', options_list=['--windows-admin-password']) with self.argument_context('aks disable-addons') as c: c.argument('addons', options_list=['--addons', '-a']) diff --git a/src/azure-cli/azure/cli/command_modules/acs/custom.py b/src/azure-cli/azure/cli/command_modules/acs/custom.py index 79589abee39..abd93a69755 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/custom.py +++ b/src/azure-cli/azure/cli/command_modules/acs/custom.py @@ -2485,6 +2485,7 @@ def aks_update(cmd, client, resource_group_name, name, aad_admin_group_object_ids=None, enable_ahub=False, disable_ahub=False, + windows_admin_password=None, no_wait=False): update_autoscaler = enable_cluster_autoscaler + disable_cluster_autoscaler + update_cluster_autoscaler update_lb_profile = is_load_balancer_profile_provided(load_balancer_managed_outbound_ip_count, @@ -2504,7 +2505,8 @@ def aks_update(cmd, client, resource_group_name, name, not enable_aad and not update_aad_profile and not enable_ahub and - not disable_ahub): + not disable_ahub and + not windows_admin_password): raise CLIError('Please specify one or more of "--enable-cluster-autoscaler" or ' '"--disable-cluster-autoscaler" or ' '"--update-cluster-autoscaler" or ' @@ -2522,7 +2524,8 @@ def aks_update(cmd, client, resource_group_name, name, '"--aad-tenant-id" or ' '"--aad-admin-group-object-ids" or ' '"--enable-ahub" or ' - '"--disable-ahub"') + '"--disable-ahub" or ' + '"--windows-admin-password"') instance = client.get(resource_group_name, name) # For multi-agent pool, use the az aks nodepool command @@ -2649,6 +2652,9 @@ def aks_update(cmd, client, resource_group_name, name, if disable_ahub: instance.windows_profile.license_type = 'None' + if windows_admin_password: + instance.windows_profile.admin_password = windows_admin_password + return sdk_no_wait(no_wait, client.create_or_update, resource_group_name, name, instance) diff --git a/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_update_with_windows_password.yaml b/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_update_with_windows_password.yaml new file mode 100644 index 00000000000..5927a9b671c --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_update_with_windows_password.yaml @@ -0,0 +1,3419 @@ +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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 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-14T08:19:16Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '313' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Apr 2021 08:19:18 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", "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, "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: + - '1107' + 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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-02-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-3225e35e.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-3225e35e.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 \"osType\": \"Linux\",\n \"nodeImageVersion\": \"\ + AKSUbuntu-1804gen2-2021.03.29\"\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\": \"msi\"\n },\n \"addonProfiles\": {\n \"KubeDashboard\"\ + : {\n \"enabled\": false,\n \"config\": null\n }\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"\ + enableRBAC\": true,\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\": \"8420f2c8-28ad-4a8a-ad3e-aed800e5c95d\"\ + ,\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/a4213c7e-6bfd-4334-9263-57f59f25be71?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '2596' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:19:29 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/a4213c7e-6bfd-4334-9263-57f59f25be71?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"7e3c21a4-fd6b-3443-9263-57f59f25be71\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:19:29.12Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:19:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/a4213c7e-6bfd-4334-9263-57f59f25be71?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"7e3c21a4-fd6b-3443-9263-57f59f25be71\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:19:29.12Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:20:29 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/a4213c7e-6bfd-4334-9263-57f59f25be71?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"7e3c21a4-fd6b-3443-9263-57f59f25be71\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:19:29.12Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:21:00 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/a4213c7e-6bfd-4334-9263-57f59f25be71?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"7e3c21a4-fd6b-3443-9263-57f59f25be71\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:19:29.12Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:21:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/a4213c7e-6bfd-4334-9263-57f59f25be71?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"7e3c21a4-fd6b-3443-9263-57f59f25be71\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:19:29.12Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:22:00 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/a4213c7e-6bfd-4334-9263-57f59f25be71?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"7e3c21a4-fd6b-3443-9263-57f59f25be71\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:19:29.12Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:22:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/a4213c7e-6bfd-4334-9263-57f59f25be71?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"7e3c21a4-fd6b-3443-9263-57f59f25be71\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:19:29.12Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:23:01 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/a4213c7e-6bfd-4334-9263-57f59f25be71?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"7e3c21a4-fd6b-3443-9263-57f59f25be71\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:19:29.12Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:23:31 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/a4213c7e-6bfd-4334-9263-57f59f25be71?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"7e3c21a4-fd6b-3443-9263-57f59f25be71\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:19:29.12Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:24:00 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/a4213c7e-6bfd-4334-9263-57f59f25be71?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"7e3c21a4-fd6b-3443-9263-57f59f25be71\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:19:29.12Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:24:31 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/a4213c7e-6bfd-4334-9263-57f59f25be71?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"7e3c21a4-fd6b-3443-9263-57f59f25be71\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:19:29.12Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:25:01 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/a4213c7e-6bfd-4334-9263-57f59f25be71?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"7e3c21a4-fd6b-3443-9263-57f59f25be71\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:19:29.12Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:25:31 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/a4213c7e-6bfd-4334-9263-57f59f25be71?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"7e3c21a4-fd6b-3443-9263-57f59f25be71\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:19:29.12Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:26: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 + 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/a4213c7e-6bfd-4334-9263-57f59f25be71?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"7e3c21a4-fd6b-3443-9263-57f59f25be71\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2021-04-14T08:19:29.12Z\",\n \"endTime\"\ + : \"2021-04-14T08:26:31.3615817Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '165' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:26:32 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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-02-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-3225e35e.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-3225e35e.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 \"osType\": \"Linux\",\n \"nodeImageVersion\": \"\ + AKSUbuntu-1804gen2-2021.03.29\"\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\": \"msi\"\n },\n \"addonProfiles\": {\n \"KubeDashboard\"\ + : {\n \"enabled\": false,\n \"config\": null\n }\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"\ + enableRBAC\": true,\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/d6970e13-889e-46fd-ac0d-8c2b0417e10c\"\ + \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\": \"44682956-754c-4095-a627-a6aced3a8f1d\",\n \"objectId\"\ + : \"74c56f02-aec0-4863-866d-1b9c2bcc5f72\"\n }\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\": \"8420f2c8-28ad-4a8a-ad3e-aed800e5c95d\"\ + ,\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: + - '3259' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:26: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 nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.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/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-02-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 \"osType\": \"Linux\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2-2021.03.29\"\n }\n }\n ]\n }" + headers: + cache-control: + - no-cache + content-length: + - '829' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:26: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: '{"properties": {"count": 1, "vmSize": "Standard_D2s_v3", "osType": "Windows", + "type": "VirtualMachineScaleSets", "mode": "User", "upgradeSettings": {}, "enableNodePublicIP": + false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "nodeTaints": + []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks nodepool add + Connection: + - keep-alive + Content-Length: + - '266' + 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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-02-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 \"osType\": \"Windows\",\n \"nodeImageVersion\"\ + : \"AKSWindows-2019-17763.1817.210310\",\n \"upgradeSettings\": {}\n }\n\ + \ }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/11e0f9e4-8303-4c88-b1eb-54ff1ae344fc?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '758' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:26:37 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/11e0f9e4-8303-4c88-b1eb-54ff1ae344fc?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e4f9e011-0383-884c-b1eb-54ff1ae344fc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:26:37.7966666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:27:07 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/11e0f9e4-8303-4c88-b1eb-54ff1ae344fc?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e4f9e011-0383-884c-b1eb-54ff1ae344fc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:26:37.7966666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:27: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 nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/11e0f9e4-8303-4c88-b1eb-54ff1ae344fc?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e4f9e011-0383-884c-b1eb-54ff1ae344fc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:26:37.7966666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:28: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 nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/11e0f9e4-8303-4c88-b1eb-54ff1ae344fc?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e4f9e011-0383-884c-b1eb-54ff1ae344fc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:26:37.7966666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:28: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 nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/11e0f9e4-8303-4c88-b1eb-54ff1ae344fc?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e4f9e011-0383-884c-b1eb-54ff1ae344fc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:26:37.7966666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:29: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 nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/11e0f9e4-8303-4c88-b1eb-54ff1ae344fc?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e4f9e011-0383-884c-b1eb-54ff1ae344fc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:26:37.7966666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:29: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 nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/11e0f9e4-8303-4c88-b1eb-54ff1ae344fc?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e4f9e011-0383-884c-b1eb-54ff1ae344fc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:26:37.7966666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:30: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 nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/11e0f9e4-8303-4c88-b1eb-54ff1ae344fc?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e4f9e011-0383-884c-b1eb-54ff1ae344fc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:26:37.7966666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:30: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 nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/11e0f9e4-8303-4c88-b1eb-54ff1ae344fc?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e4f9e011-0383-884c-b1eb-54ff1ae344fc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:26:37.7966666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:31: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 nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/11e0f9e4-8303-4c88-b1eb-54ff1ae344fc?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e4f9e011-0383-884c-b1eb-54ff1ae344fc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:26:37.7966666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:31: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 nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/11e0f9e4-8303-4c88-b1eb-54ff1ae344fc?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e4f9e011-0383-884c-b1eb-54ff1ae344fc\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:26:37.7966666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:32: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 nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/11e0f9e4-8303-4c88-b1eb-54ff1ae344fc?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e4f9e011-0383-884c-b1eb-54ff1ae344fc\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2021-04-14T08:26:37.7966666Z\",\n \"\ + endTime\": \"2021-04-14T08:32:32.7925293Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:32: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 nodepool add + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --os-type --node-count + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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-02-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 \"osType\": \"Windows\",\n \"nodeImageVersion\"\ + : \"AKSWindows-2019-17763.1817.210310\",\n \"upgradeSettings\": {}\n }\n\ + \ }" + headers: + cache-control: + - no-cache + content-length: + - '759' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:32: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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.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/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-02-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-3225e35e.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-3225e35e.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 \"osType\": \"Linux\",\n \"nodeImageVersion\": \"\ + AKSUbuntu-1804gen2-2021.03.29\"\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 \"osType\"\ + : \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.1817.210310\"\ + ,\n \"upgradeSettings\": {}\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\": \"msi\"\n },\n \"addonProfiles\": {\n \"KubeDashboard\"\ + : {\n \"enabled\": false,\n \"config\": null\n }\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"\ + enableRBAC\": true,\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/d6970e13-889e-46fd-ac0d-8c2b0417e10c\"\ + \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\": \"44682956-754c-4095-a627-a6aced3a8f1d\",\n \"objectId\"\ + : \"74c56f02-aec0-4863-866d-1b9c2bcc5f72\"\n }\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\": \"8420f2c8-28ad-4a8a-ad3e-aed800e5c95d\"\ + ,\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: + - '3792' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:32: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: '{"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": + {}, "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, "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"}, + "servicePrincipalProfile": {"clientId": "msi"}, "addonProfiles": {"KubeDashboard": + {"enabled": false}}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", + "enableRBAC": true, "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/d6970e13-889e-46fd-ac0d-8c2b0417e10c"}]}}, + "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", + "clientId": "44682956-754c-4095-a627-a6aced3a8f1d", "objectId": "74c56f02-aec0-4863-866d-1b9c2bcc5f72"}}}, + "identity": {"type": "SystemAssigned"}, "sku": {"name": "Basic", "tier": "Free"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + Content-Length: + - '2434' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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-02-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-3225e35e.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-3225e35e.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 \"osType\": \"Linux\",\n \"nodeImageVersion\": \"\ + AKSUbuntu-1804gen2-2021.03.29\"\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 \"osType\"\ + : \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.1817.210310\"\ + ,\n \"upgradeSettings\": {}\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\": \"msi\"\n },\n \"addonProfiles\": {\n \"KubeDashboard\"\ + : {\n \"enabled\": false,\n \"config\": null\n }\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"\ + enableRBAC\": true,\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/d6970e13-889e-46fd-ac0d-8c2b0417e10c\"\ + \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\": \"44682956-754c-4095-a627-a6aced3a8f1d\",\n \"objectId\"\ + : \"74c56f02-aec0-4863-866d-1b9c2bcc5f72\"\n }\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\": \"8420f2c8-28ad-4a8a-ad3e-aed800e5c95d\"\ + ,\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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '3789' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:32: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 + 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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:33: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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:33: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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:34: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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:34: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 update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:35: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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:35: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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:36: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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:36: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 update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:37: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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:37: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 update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:38: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 update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:38: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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:39: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 update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:39: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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:40:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:40: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 update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:41:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:41: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 update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:42:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:42: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 update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:43: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 update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:43: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 update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:44: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 update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:44: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 update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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/d2b7df6c-92af-43ea-aac9-a844253e8d26?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"6cdfb7d2-af92-ea43-aac9-a844253e8d26\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2021-04-14T08:32:46.03Z\",\n \"endTime\"\ + : \"2021-04-14T08:44:53.2820529Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '165' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:45: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 update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --windows-admin-password + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.1.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-02-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-3225e35e.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-3225e35e.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 \"osType\": \"Linux\",\n \"nodeImageVersion\": \"\ + AKSUbuntu-1804gen2-2021.03.29\"\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 \"osType\"\ + : \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.1817.210310\"\ + ,\n \"upgradeSettings\": {}\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\": \"msi\"\n },\n \"addonProfiles\": {\n \"KubeDashboard\"\ + : {\n \"enabled\": false,\n \"config\": null\n }\n },\n \"\ + nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"\ + enableRBAC\": true,\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/d6970e13-889e-46fd-ac0d-8c2b0417e10c\"\ + \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\": \"44682956-754c-4095-a627-a6aced3a8f1d\",\n \"objectId\"\ + : \"74c56f02-aec0-4863-866d-1b9c2bcc5f72\"\n }\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\": \"8420f2c8-28ad-4a8a-ad3e-aed800e5c95d\"\ + ,\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: + - '3792' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:45: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 delete + Connection: + - keep-alive + ParameterSetName: + - --resource-group --cluster-name --name --no-wait + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 azure-mgmt-containerservice/11.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/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-02-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 \"osType\": \"Linux\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2-2021.03.29\"\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 \"\ + osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.1817.210310\"\ + ,\n \"upgradeSettings\": {}\n }\n }\n ]\n }" + headers: + cache-control: + - no-cache + content-length: + - '1639' + content-type: + - application/json + date: + - Wed, 14 Apr 2021 08:45: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 delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-group --cluster-name --name --no-wait + User-Agent: + - python/3.6.9 (Linux-5.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 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/agentPools/npwin?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/230f9c1d-6fe3-457e-a918-4ff19015fa16?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Apr 2021 08:45:24 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/230f9c1d-6fe3-457e-a918-4ff19015fa16?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.4.0-1044-azure-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 + msrest_azure/0.6.3 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/f3759b3f-143d-4ac3-ba10-c8c4d25e045a?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Apr 2021 08:45:27 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/f3759b3f-143d-4ac3-ba10-c8c4d25e045a?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/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py b/src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py index ec6af445a28..49e7e5718cf 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py +++ b/src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py @@ -4161,4 +4161,56 @@ def test_aks_create_fqdn_subdomain(self, resource_group, resource_group_location self.exists('nodeResourceGroup'), self.check('provisioningState', 'Succeeded'), self.check('apiServerAccessProfile.privateDnsZone', zone_id), - ]) \ No newline at end of file + ]) + + @AllowLargeResponse() + @ResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') + @RoleBasedServicePrincipalPreparer() + def test_aks_update_with_windows_password(self, resource_group, resource_group_location, sp_name, sp_password): + # 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, + 'service_principal': _process_sp_name(sp_name), + 'client_secret': sp_password, + 'resource_type': 'Microsoft.ContainerService/ManagedClusters', + 'windows_admin_username': 'azureuser1', + 'windows_admin_password': self.create_random_name('p@0A', 14), + 'nodepool2_name': 'npwin', + 'new_windows_admin_password': self.create_random_name('n!C3', 14), + }) + + # 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()]) + + # delete + self.cmd( + 'aks delete -g {resource_group} -n {name} --yes --no-wait', checks=[self.is_empty()])