diff --git a/src/aks-preview/HISTORY.md b/src/aks-preview/HISTORY.md index 297dac7038c..4a6bd0a48e4 100644 --- a/src/aks-preview/HISTORY.md +++ b/src/aks-preview/HISTORY.md @@ -2,6 +2,10 @@ Release History =============== +0.5.37 ++++++ +* Add Windows gMSA v2 support. Add parameters `--enable-windows-gmsa`, `--gmsa-dns-server` and `--gmsa-root-domain-name` + 0.5.36 +++++ * Update to use 2021-09-01 api-version diff --git a/src/aks-preview/azcli_aks_live_test/configs/ext_matrix_default.json b/src/aks-preview/azcli_aks_live_test/configs/ext_matrix_default.json index 1dd699cfdaa..3f8c6c0b197 100644 --- a/src/aks-preview/azcli_aks_live_test/configs/ext_matrix_default.json +++ b/src/aks-preview/azcli_aks_live_test/configs/ext_matrix_default.json @@ -39,7 +39,9 @@ "test_aks_create_and_update_with_managed_nat_gateway_outbound", "test_aks_create_with_http_proxy_config", "test_aks_nodepool_add_with_workload_runtime", - "test_aks_nodepool_add_with_gpu_instance_profile" + "test_aks_nodepool_add_with_gpu_instance_profile", + "test_aks_create_with_windows_gmsa", + "test_aks_update_with_windows_gmsa" ] } } diff --git a/src/aks-preview/azext_aks_preview/_help.py b/src/aks-preview/azext_aks_preview/_help.py index 190ea2b5eda..27a56dbb22f 100644 --- a/src/aks-preview/azext_aks_preview/_help.py +++ b/src/aks-preview/azext_aks_preview/_help.py @@ -358,6 +358,21 @@ - name: --gpu-instance-profile type: string short-summary: GPU instance profile to partition multi-gpu Nvidia GPUs. + - name: --enable-windows-gmsa + type: bool + short-summary: Enable Windows gmsa. + - name: --gmsa-dns-server + type: string + short-summary: Specify DNS server for Windows gmsa for this cluster. + long-summary: |- + You do not need to set this if you have set DNS server in the VNET used by the cluster. + You must set or not set --gmsa-dns-server and --gmsa-root-domain-name at the same time when setting --enable-windows-gmsa. + - name: --gmsa-root-domain-name + type: string + short-summary: Specify root domain name for Windows gmsa for this cluster. + long-summary: |- + You do not need to set this if you have set DNS server in the VNET used by the cluster. + You must set or not set --gmsa-dns-server and --gmsa-root-domain-name at the same time when setting --enable-windows-gmsa. examples: - name: Create a Kubernetes cluster with an existing SSH public key. text: az aks create -g MyResourceGroup -n MyManagedCluster --ssh-key-value /path/to/publickey @@ -407,6 +422,10 @@ text: az aks create -g MyResourceGroup -n MyManagedCluster --enable-aad --enable-azure-rbac - name: Create a kubernetes cluster with a specific os-sku text: az aks create -g MyResourceGroup -n MyManagedCluster --os-sku Ubuntu + - name: Create a kubernetes cluster with enabling Windows gmsa and with setting DNS server in the vnet used by the cluster. + text: az aks create -g MyResourceGroup -n MyManagedCluster --load-balancer-sku Standard --network-plugin azure --windows-admin-username azure --windows-admin-password 'replacePassword1234$' --enable-windows-gmsa + - name: Create a kubernetes cluster with enabling Windows gmsa but without setting DNS server in the vnet used by the cluster. + text: az aks create -g MyResourceGroup -n MyManagedCluster --load-balancer-sku Standard --network-plugin azure --windows-admin-username azure --windows-admin-password 'replacePassword1234$' --enable-windows-gmsa --gmsa-dns-server "10.240.0.4" --gmsa-root-domain-name "contoso.com" """.format(sp_cache=AKS_SERVICE_PRINCIPAL_CACHE) helps['aks scale'] = """ @@ -587,6 +606,21 @@ - name: --disable-public-fqdn type: bool short-summary: Disable public fqdn feature for private cluster. + - name: --enable-windows-gmsa + type: bool + short-summary: Enable Windows gmsa on cluster. + - name: --gmsa-dns-server + type: string + short-summary: Specify DNS server for Windows gmsa on cluster. + long-summary: |- + You do not need to set this if you have set DNS server in the VNET used by the cluster. + You must set or not set --gmsa-dns-server and --gmsa-root-domain-name at the same time when setting --enable-windows-gmsa. + - name: --gmsa-root-domain-name + type: string + short-summary: Specify root domain name for Windows gmsa on cluster. + long-summary: |- + You do not need to set this if you have set DNS server in the VNET used by the cluster. + You must set or not set --gmsa-dns-server and --gmsa-root-domain-name at the same time when setting --enable-windows-gmsa. examples: - name: Enable cluster-autoscaler within node count range [1,5] text: az aks update --enable-cluster-autoscaler --min-count 1 --max-count 5 -g MyResourceGroup -n MyManagedCluster @@ -638,6 +672,10 @@ text: az aks update -g MyResourceGroup -n MyManagedCluster --enable-azure-rbac - name: Disable Azure RBAC in a managed AAD AKS cluster text: az aks update -g MyResourceGroup -n MyManagedCluster --disable-azure-rbac + - name: Enable Windows gmsa for a kubernetes cluster with setting DNS server in the vnet used by the cluster. + text: az aks update -g MyResourceGroup -n MyManagedCluster --enable-windows-gmsa + - name: Enable Windows gmsa for a kubernetes cluster without setting DNS server in the vnet used by the cluster. + text: az aks update -g MyResourceGroup -n MyManagedCluster --enable-windows-gmsa --gmsa-dns-server "10.240.0.4" --gmsa-root-domain-name "contoso.com" """ helps['aks kollect'] = """ diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index 2d989a25fa3..62cc848f9c7 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -146,6 +146,9 @@ def load_arguments(self, _): c.argument('assign_kubelet_identity', type=str, validator=validate_assign_kubelet_identity) c.argument('disable_local_accounts', action='store_true') c.argument('gpu_instance_profile', arg_type=get_enum_type(gpu_instance_profiles)) + c.argument('enable_windows_gmsa', action='store_true', options_list=['--enable-windows-gmsa']) + c.argument('gmsa_dns_server', options_list=['--gmsa-dns-server']) + c.argument('gmsa_root_domain_name', options_list=['--gmsa-root-domain-name']) c.argument('yes', options_list=['--yes', '-y'], help='Do not prompt for confirmation.', action='store_true') c.argument('workload_runtime', arg_type=get_enum_type(workload_runtimes), default=CONST_WORKLOAD_RUNTIME_OCI_CONTAINER) @@ -183,6 +186,9 @@ def load_arguments(self, _): c.argument('windows_admin_password', options_list=['--windows-admin-password']) c.argument('disable_local_accounts', action='store_true') c.argument('enable_local_accounts', action='store_true') + c.argument('enable_windows_gmsa', action='store_true', options_list=['--enable-windows-gmsa']) + c.argument('gmsa_dns_server', options_list=['--gmsa-dns-server']) + c.argument('gmsa_root_domain_name', options_list=['--gmsa-root-domain-name']) c.argument('yes', options_list=['--yes', '-y'], help='Do not prompt for confirmation.', action='store_true') with self.argument_context('aks scale') as c: diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index 902c5777b28..48c3808e138 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -80,7 +80,8 @@ ManagedClusterPodIdentityProfile, ManagedClusterPodIdentity, ManagedClusterPodIdentityException, - UserAssignedIdentity) + UserAssignedIdentity, + WindowsGmsaProfile) from ._client_factory import cf_resource_groups from ._client_factory import get_auth_management_client from ._client_factory import get_graph_rbac_management_client @@ -821,6 +822,9 @@ def aks_create(cmd, # pylint: disable=too-many-locals,too-many-statements,to assign_kubelet_identity=None, workload_runtime=None, gpu_instance_profile=None, + enable_windows_gmsa=False, + gmsa_dns_server=None, + gmsa_root_domain_name=None, yes=False): if not no_ssh_key: try: @@ -925,10 +929,30 @@ def aks_create(cmd, # pylint: disable=too-many-locals,too-many-statements,to windows_license_type = 'Windows_Server' windows_profile = ManagedClusterWindowsProfile( + # [SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine", Justification="no secret in next line")] admin_username=windows_admin_username, admin_password=windows_admin_password, license_type=windows_license_type) + if enable_windows_gmsa: + windows_profile.gmsa_profile = WindowsGmsaProfile( + enabled=True) + if gmsa_dns_server is not None and gmsa_root_domain_name is not None: + windows_profile.gmsa_profile.dns_server = gmsa_dns_server + windows_profile.gmsa_profile.root_domain_name = gmsa_root_domain_name + elif gmsa_dns_server is None and gmsa_root_domain_name is None: + msg = ('Please assure that you have set the DNS server in the vnet used by the cluster when not specifying --gmsa-dns-server and --gmsa-root-domain-name') + from knack.prompting import prompt_y_n + if not yes and not prompt_y_n(msg, default="n"): + return None + else: + raise ArgumentUsageError( + 'You must set or not set --gmsa-dns-server and --gmsa-root-domain-name at the same time.') + else: + if gmsa_dns_server is not None or gmsa_root_domain_name is not None: + raise ArgumentUsageError( + 'You only can set --gmsa-dns-server and --gmsa-root-domain-name when setting --enable-windows-gmsa.') + service_principal_profile = None principal_obj = None # If customer explicitly provides a service principal, disable managed identity. @@ -1338,7 +1362,10 @@ def aks_update(cmd, # pylint: disable=too-many-statements,too-many-branches, tags=None, windows_admin_password=None, enable_azure_rbac=False, - disable_azure_rbac=False): + disable_azure_rbac=False, + enable_windows_gmsa=False, + gmsa_dns_server=None, + gmsa_root_domain_name=None): update_autoscaler = enable_cluster_autoscaler or disable_cluster_autoscaler or update_cluster_autoscaler update_acr = attach_acr is not None or detach_acr is not None update_pod_security = enable_pod_security_policy or disable_pod_security_policy @@ -1377,7 +1404,8 @@ def aks_update(cmd, # pylint: disable=too-many-statements,too-many-branches, not enable_local_accounts and \ not disable_local_accounts and \ not enable_public_fqdn and \ - not disable_public_fqdn: + not disable_public_fqdn and \ + not enable_windows_gmsa: raise CLIError('Please specify "--enable-cluster-autoscaler" or ' '"--disable-cluster-autoscaler" or ' '"--update-cluster-autoscaler" or ' @@ -1412,7 +1440,8 @@ def aks_update(cmd, # pylint: disable=too-many-statements,too-many-branches, '"--enable-local-accounts" or ' '"--disable-local-accounts" or ' '"--enable-public-fqdn" or ' - '"--disable-public-fqdn"') + '"--disable-public-fqdn"' + '"--enble-windows-gmsa"') instance = client.get(resource_group_name, name) if update_autoscaler and len(instance.agent_pool_profiles) > 1: @@ -1701,6 +1730,24 @@ def aks_update(cmd, # pylint: disable=too-many-statements,too-many-branches, if windows_admin_password: instance.windows_profile.admin_password = windows_admin_password + if enable_windows_gmsa: + instance.windows_profile.gmsa_profile = WindowsGmsaProfile(enabled=True) + if gmsa_dns_server is not None and gmsa_root_domain_name is not None: + instance.windows_profile.gmsa_profile.dns_server = gmsa_dns_server + instance.windows_profile.gmsa_profile.root_domain_name = gmsa_root_domain_name + elif gmsa_dns_server is None and gmsa_root_domain_name is None: + msg = ('Please assure that you have set the DNS server in the vnet used by the cluster when not specifying --gmsa-dns-server and --gmsa-root-domain-name') + from knack.prompting import prompt_y_n + if not yes and not prompt_y_n(msg, default="n"): + return None + else: + raise ArgumentUsageError( + 'You must set or not set --gmsa-dns-server and --gmsa-root-domain-name at the same time.') + else: + if gmsa_dns_server is not None or gmsa_root_domain_name is not None: + raise ArgumentUsageError( + 'You only can set --gmsa-dns-server and --gmsa-root-domain-name when setting --enable-windows-gmsa.') + headers = get_aks_custom_headers(aks_custom_headers) return _put_managed_cluster_ensuring_permission(cmd, diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_windows_gmsa.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_windows_gmsa.yaml new file mode 100644 index 00000000000..c078b19bd3a --- /dev/null +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_windows_gmsa.yaml @@ -0,0 +1,999 @@ +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 + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.5 + (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","date":"2021-10-19T09:16:17Z"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['319'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Oct 2021 09:16:20 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": "centraluseuap", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": + [{"count": 1, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", + "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": + false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser1", "adminPassword": + "replace-Password1234$", "gmsaProfile": {"enabled": true}}, "addonProfiles": + {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": + {"networkPlugin": "azure", "outboundType": "loadBalancer", "loadBalancerSku": + "standard"}, "disableLocalAccounts": false}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + Content-Length: ['1709'] + Content-Type: [application/json] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-09-01 + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"centraluseuap\",\n \"name\": \"cliakstest000001\",\n\ + \ \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\"\ + : {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.20.9\",\n \"dnsPrefix\"\ + : \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-d183dd29.hcp.centraluseuap.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-d183dd29.portal.hcp.centraluseuap.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 \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 30,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"\ + Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n\ + \ \"orchestratorVersion\": \"1.20.9\",\n \"enableNodePublicIP\": false,\n\ + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \ + \ \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\"\ + : \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.10.13\"\ + ,\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"\ + adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n\ + \ {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\"\ + : {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true,\n\ + \ \"gmsaProfile\": {\n \"enabled\": true,\n \"dnsServer\": \"\"\ + ,\n \"rootDomainName\": \"\"\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_centraluseuap\"\ + ,\n \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"\ + networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\"\ + : \"standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\"\ + : {\n \"count\": 1\n }\n },\n \"serviceCidr\": \"10.0.0.0/16\"\ + ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ + ,\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n\ + \ \"disableLocalAccounts\": false,\n \"publicNetworkAccess\": \"Enabled\"\ + \n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\"\ + :\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\ + \n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n\ + \ }"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/94d9e607-a417-426e-8006-67d6e35c30eb?api-version=2016-03-30'] + cache-control: [no-cache] + content-length: ['3231'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:16:32 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: ['1198'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/94d9e607-a417-426e-8006-67d6e35c30eb?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"07e6d994-17a4-6e42-8006-67d6e35c30eb\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:16:31.2733333Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:17: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/94d9e607-a417-426e-8006-67d6e35c30eb?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"07e6d994-17a4-6e42-8006-67d6e35c30eb\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:16:31.2733333Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:17: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/94d9e607-a417-426e-8006-67d6e35c30eb?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"07e6d994-17a4-6e42-8006-67d6e35c30eb\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:16:31.2733333Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:18: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/94d9e607-a417-426e-8006-67d6e35c30eb?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"07e6d994-17a4-6e42-8006-67d6e35c30eb\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:16:31.2733333Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:18: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/94d9e607-a417-426e-8006-67d6e35c30eb?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"07e6d994-17a4-6e42-8006-67d6e35c30eb\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:16:31.2733333Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:19:03 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/94d9e607-a417-426e-8006-67d6e35c30eb?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"07e6d994-17a4-6e42-8006-67d6e35c30eb\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:16:31.2733333Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:19: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/94d9e607-a417-426e-8006-67d6e35c30eb?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"07e6d994-17a4-6e42-8006-67d6e35c30eb\",\n \"\ + status\": \"Succeeded\",\n \"startTime\": \"2021-10-19T09:16:31.2733333Z\"\ + ,\n \"endTime\": \"2021-10-19T09:19:51.8826789Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['170'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:20:04 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-09-01 + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"centraluseuap\",\n \"name\": \"cliakstest000001\",\n\ + \ \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\"\ + : {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.20.9\",\n \"dnsPrefix\"\ + : \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-d183dd29.hcp.centraluseuap.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-d183dd29.portal.hcp.centraluseuap.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 \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 30,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"\ + Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n\ + \ \"orchestratorVersion\": \"1.20.9\",\n \"enableNodePublicIP\": false,\n\ + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \ + \ \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\"\ + : \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.10.13\"\ + ,\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"\ + adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n\ + \ {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\"\ + : {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true,\n\ + \ \"gmsaProfile\": {\n \"enabled\": true,\n \"dnsServer\": \"\"\ + ,\n \"rootDomainName\": \"\"\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_centraluseuap\"\ + ,\n \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"\ + networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\"\ + : \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\"\ + : {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n \ + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_centraluseuap/providers/Microsoft.Network/publicIPAddresses/29805b76-d2ce-4438-9e08-314f7c8b3639\"\ + \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\": 100,\n \"identityProfile\"\ + : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_centraluseuap/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ + : false,\n \"publicNetworkAccess\": \"Enabled\"\n },\n \"identity\": {\n\ + \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['3906'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:20:05 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: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-09-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 \"workloadRuntime\": \"OCIContainer\",\n\ + \ \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.9\",\n\ + \ \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n \"\ + enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"\ + osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2021.10.13\",\n \"enableFIPS\": false\n\ + \ }\n }\n ]\n }"} + headers: + cache-control: [no-cache] + content-length: ['973'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:20:06 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: '{"properties": {"count": 1, "vmSize": "Standard_D2s_v3", "workloadRuntime": + "OCIContainer", "osType": "Windows", "scaleDownMode": "Delete", "mode": "User", + "upgradeSettings": {}, "enableNodePublicIP": false, "scaleSetPriority": "Regular", + "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "nodeTaints": [], + "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + Content-Length: ['394'] + Content-Type: [application/json] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + 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-09-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 \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 30,\n\ + \ \"type\": \"VirtualMachineScaleSets\",\n \"scaleDownMode\": \"Delete\"\ + ,\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"orchestratorVersion\": \"1.20.9\",\n \"enableNodePublicIP\"\ + : false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n\ + \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\"\ + : \"AKSWindows-2019-17763.2237.211014\",\n \"upgradeSettings\": {},\n \ + \ \"enableFIPS\": false\n }\n }"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/b1d20bee-28af-440b-aa95-3636aca40279?api-version=2016-03-30'] + cache-control: [no-cache] + content-length: ['913'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:20:09 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: ['1197'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/b1d20bee-28af-440b-aa95-3636aca40279?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"ee0bd2b1-af28-0b44-aa95-3636aca40279\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:20:09.4466666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:20: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/b1d20bee-28af-440b-aa95-3636aca40279?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"ee0bd2b1-af28-0b44-aa95-3636aca40279\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:20:09.4466666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:21: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/b1d20bee-28af-440b-aa95-3636aca40279?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"ee0bd2b1-af28-0b44-aa95-3636aca40279\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:20:09.4466666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:21: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/b1d20bee-28af-440b-aa95-3636aca40279?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"ee0bd2b1-af28-0b44-aa95-3636aca40279\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:20:09.4466666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:22:11 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/b1d20bee-28af-440b-aa95-3636aca40279?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"ee0bd2b1-af28-0b44-aa95-3636aca40279\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:20:09.4466666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:22:41 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/b1d20bee-28af-440b-aa95-3636aca40279?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"ee0bd2b1-af28-0b44-aa95-3636aca40279\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:20:09.4466666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:23:11 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/b1d20bee-28af-440b-aa95-3636aca40279?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"ee0bd2b1-af28-0b44-aa95-3636aca40279\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:20:09.4466666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:23:41 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/b1d20bee-28af-440b-aa95-3636aca40279?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"ee0bd2b1-af28-0b44-aa95-3636aca40279\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:20:09.4466666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:24:12 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/b1d20bee-28af-440b-aa95-3636aca40279?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"ee0bd2b1-af28-0b44-aa95-3636aca40279\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:20:09.4466666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:24:42 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/b1d20bee-28af-440b-aa95-3636aca40279?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"ee0bd2b1-af28-0b44-aa95-3636aca40279\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:20:09.4466666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:25:12 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/b1d20bee-28af-440b-aa95-3636aca40279?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"ee0bd2b1-af28-0b44-aa95-3636aca40279\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:20:09.4466666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:25:43 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/b1d20bee-28af-440b-aa95-3636aca40279?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"ee0bd2b1-af28-0b44-aa95-3636aca40279\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:20:09.4466666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:26:14 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/b1d20bee-28af-440b-aa95-3636aca40279?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"ee0bd2b1-af28-0b44-aa95-3636aca40279\",\n \"\ + status\": \"Succeeded\",\n \"startTime\": \"2021-10-19T09:20:09.4466666Z\"\ + ,\n \"endTime\": \"2021-10-19T09:26:35.948049Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['169'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:26:44 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + 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-09-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 \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 30,\n\ + \ \"type\": \"VirtualMachineScaleSets\",\n \"scaleDownMode\": \"Delete\"\ + ,\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.9\",\n \"\ + enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\"\ + : false,\n \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"\ + nodeImageVersion\": \"AKSWindows-2019-17763.2237.211014\",\n \"upgradeSettings\"\ + : {},\n \"enableFIPS\": false\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['914'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:26:45 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool delete] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --no-wait] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-09-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 \"workloadRuntime\": \"OCIContainer\",\n\ + \ \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.9\",\n\ + \ \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n \"\ + enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"\ + osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2021.10.13\",\n \"enableFIPS\": false\n\ + \ }\n },\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\"\ + ,\n \"name\": \"npwin\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\"\ + ,\n \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\"\ + ,\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"\ + kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n\ + \ \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\"\ + ,\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.20.9\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2237.211014\"\ + ,\n \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }\n\ + \ ]\n }"} + headers: + cache-control: [no-cache] + content-length: ['1948'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:26: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 nodepool delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--resource-group --cluster-name --name --no-wait] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + 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-09-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/19e83d23-098c-4f6c-8812-3a49a6129219?api-version=2016-03-30'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 19 Oct 2021 09:26:48 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operationresults/19e83d23-098c-4f6c-8812-3a49a6129219?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: ['14998'] + 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: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.1.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/ec6080c7-559c-4566-a077-8ac3bd1c1edb?api-version=2016-03-30'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 19 Oct 2021 09:26:50 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operationresults/ec6080c7-559c-4566-a077-8ac3bd1c1edb?api-version=2016-03-30'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_windows_gmsa.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_windows_gmsa.yaml new file mode 100644 index 00000000000..96e1ed24148 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_windows_gmsa.yaml @@ -0,0 +1,1426 @@ +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 + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.5 + (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","date":"2021-10-19T09:27:19Z"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['319'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Oct 2021 09:27:23 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": "centraluseuap", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": + [{"count": 1, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", + "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": + false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser1", "adminPassword": + "replace-Password1234$"}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": + false, "networkProfile": {"networkPlugin": "azure", "outboundType": "loadBalancer", + "loadBalancerSku": "standard"}, "disableLocalAccounts": false}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + Content-Length: ['1675'] + Content-Type: [application/json] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-09-01 + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"centraluseuap\",\n \"name\": \"cliakstest000001\",\n\ + \ \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\"\ + : {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.20.9\",\n \"dnsPrefix\"\ + : \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-1ce35c56.hcp.centraluseuap.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-1ce35c56.portal.hcp.centraluseuap.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 \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 30,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"\ + Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n\ + \ \"orchestratorVersion\": \"1.20.9\",\n \"enableNodePublicIP\": false,\n\ + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \ + \ \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\"\ + : \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.10.13\"\ + ,\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"\ + adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n\ + \ {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\"\ + : {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n\ + \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\ + \n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_centraluseuap\"\ + ,\n \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"\ + networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\"\ + : \"standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\"\ + : {\n \"count\": 1\n }\n },\n \"serviceCidr\": \"10.0.0.0/16\"\ + ,\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\"\ + ,\n \"outboundType\": \"loadBalancer\"\n },\n \"maxAgentPools\": 100,\n\ + \ \"disableLocalAccounts\": false,\n \"publicNetworkAccess\": \"Enabled\"\ + \n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\"\ + :\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\ + \n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n\ + \ }"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/c9daf69a-f100-4795-b39a-b4881773e727?api-version=2016-03-30'] + cache-control: [no-cache] + content-length: ['3133'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:27: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: ['1198'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/c9daf69a-f100-4795-b39a-b4881773e727?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"9af6dac9-00f1-9547-b39a-b4881773e727\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:27:36.9766666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/c9daf69a-f100-4795-b39a-b4881773e727?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"9af6dac9-00f1-9547-b39a-b4881773e727\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:27:36.9766666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/c9daf69a-f100-4795-b39a-b4881773e727?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"9af6dac9-00f1-9547-b39a-b4881773e727\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:27:36.9766666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/c9daf69a-f100-4795-b39a-b4881773e727?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"9af6dac9-00f1-9547-b39a-b4881773e727\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:27:36.9766666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/c9daf69a-f100-4795-b39a-b4881773e727?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"9af6dac9-00f1-9547-b39a-b4881773e727\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:27:36.9766666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/c9daf69a-f100-4795-b39a-b4881773e727?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"9af6dac9-00f1-9547-b39a-b4881773e727\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:27:36.9766666Z\"\ + \n }"} + headers: + cache-control: [no-cache] + content-length: ['126'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:30: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/c9daf69a-f100-4795-b39a-b4881773e727?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"9af6dac9-00f1-9547-b39a-b4881773e727\",\n \"\ + status\": \"Succeeded\",\n \"startTime\": \"2021-10-19T09:27:36.9766666Z\"\ + ,\n \"endTime\": \"2021-10-19T09:30:54.5082641Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['170'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:31:10 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --location --dns-name-prefix --node-count + --windows-admin-username --windows-admin-password --load-balancer-sku --vm-set-type + --network-plugin --ssh-key-value] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-09-01 + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"centraluseuap\",\n \"name\": \"cliakstest000001\",\n\ + \ \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\"\ + : {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.20.9\",\n \"dnsPrefix\"\ + : \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-1ce35c56.hcp.centraluseuap.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-1ce35c56.portal.hcp.centraluseuap.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 \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 30,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"\ + Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n\ + \ \"orchestratorVersion\": \"1.20.9\",\n \"enableNodePublicIP\": false,\n\ + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \ + \ \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\"\ + : \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.10.13\"\ + ,\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n \"\ + adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": [\n\ + \ {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\"\ + : {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n\ + \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\ + \n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_centraluseuap\"\ + ,\n \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"\ + networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\"\ + : \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\"\ + : {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n \ + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_centraluseuap/providers/Microsoft.Network/publicIPAddresses/0fe77fc8-5baf-4c0d-8202-5995347df561\"\ + \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\": 100,\n \"identityProfile\"\ + : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_centraluseuap/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ + : false,\n \"publicNetworkAccess\": \"Enabled\"\n },\n \"identity\": {\n\ + \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['3808'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:31:10 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-09-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 \"workloadRuntime\": \"OCIContainer\",\n\ + \ \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.9\",\n\ + \ \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n \"\ + enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"\ + osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2021.10.13\",\n \"enableFIPS\": false\n\ + \ }\n }\n ]\n }"} + headers: + cache-control: [no-cache] + content-length: ['973'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:31:12 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: '{"properties": {"count": 1, "vmSize": "Standard_D2s_v3", "workloadRuntime": + "OCIContainer", "osType": "Windows", "scaleDownMode": "Delete", "mode": "User", + "upgradeSettings": {}, "enableNodePublicIP": false, "scaleSetPriority": "Regular", + "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "nodeTaints": [], + "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + Content-Length: ['394'] + Content-Type: [application/json] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + 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-09-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 \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 30,\n\ + \ \"type\": \"VirtualMachineScaleSets\",\n \"scaleDownMode\": \"Delete\"\ + ,\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"orchestratorVersion\": \"1.20.9\",\n \"enableNodePublicIP\"\ + : false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": false,\n\ + \ \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"nodeImageVersion\"\ + : \"AKSWindows-2019-17763.2237.211014\",\n \"upgradeSettings\": {},\n \ + \ \"enableFIPS\": false\n }\n }"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/81eeefe0-0037-4192-b496-82ad96b3c604?api-version=2016-03-30'] + cache-control: [no-cache] + content-length: ['913'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:31:13 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: ['1197'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/81eeefe0-0037-4192-b496-82ad96b3c604?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"e0efee81-3700-9241-b496-82ad96b3c604\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:31:14.66Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:31:44 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/81eeefe0-0037-4192-b496-82ad96b3c604?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"e0efee81-3700-9241-b496-82ad96b3c604\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:31:14.66Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:32:15 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/81eeefe0-0037-4192-b496-82ad96b3c604?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"e0efee81-3700-9241-b496-82ad96b3c604\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:31:14.66Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:32:45 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/81eeefe0-0037-4192-b496-82ad96b3c604?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"e0efee81-3700-9241-b496-82ad96b3c604\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:31:14.66Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:33:16 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/81eeefe0-0037-4192-b496-82ad96b3c604?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"e0efee81-3700-9241-b496-82ad96b3c604\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:31:14.66Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:33:46 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/81eeefe0-0037-4192-b496-82ad96b3c604?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"e0efee81-3700-9241-b496-82ad96b3c604\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:31:14.66Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/81eeefe0-0037-4192-b496-82ad96b3c604?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"e0efee81-3700-9241-b496-82ad96b3c604\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:31:14.66Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:34: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/81eeefe0-0037-4192-b496-82ad96b3c604?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"e0efee81-3700-9241-b496-82ad96b3c604\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:31:14.66Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:35: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/81eeefe0-0037-4192-b496-82ad96b3c604?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"e0efee81-3700-9241-b496-82ad96b3c604\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:31:14.66Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:35: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/81eeefe0-0037-4192-b496-82ad96b3c604?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"e0efee81-3700-9241-b496-82ad96b3c604\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:31:14.66Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/81eeefe0-0037-4192-b496-82ad96b3c604?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"e0efee81-3700-9241-b496-82ad96b3c604\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:31:14.66Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/81eeefe0-0037-4192-b496-82ad96b3c604?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"e0efee81-3700-9241-b496-82ad96b3c604\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:31:14.66Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:37: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/81eeefe0-0037-4192-b496-82ad96b3c604?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"e0efee81-3700-9241-b496-82ad96b3c604\",\n \"\ + status\": \"Succeeded\",\n \"startTime\": \"2021-10-19T09:31:14.66Z\",\n\ + \ \"endTime\": \"2021-10-19T09:37:43.5432758Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['165'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:37: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks nodepool add] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --os-type --node-count] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + 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-09-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 \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 30,\n\ + \ \"type\": \"VirtualMachineScaleSets\",\n \"scaleDownMode\": \"Delete\"\ + ,\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.9\",\n \"\ + enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\"\ + : false,\n \"enableUltraSSD\": false,\n \"osType\": \"Windows\",\n \"\ + nodeImageVersion\": \"AKSWindows-2019-17763.2237.211014\",\n \"upgradeSettings\"\ + : {},\n \"enableFIPS\": false\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['914'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:37: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 --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-09-01 + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"centraluseuap\",\n \"name\": \"cliakstest000001\",\n\ + \ \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\"\ + : {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.20.9\",\n \"dnsPrefix\"\ + : \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-1ce35c56.hcp.centraluseuap.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-1ce35c56.portal.hcp.centraluseuap.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 \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 30,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"\ + Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n\ + \ \"orchestratorVersion\": \"1.20.9\",\n \"enableNodePublicIP\": false,\n\ + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \ + \ \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\"\ + : \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.10.13\"\ + ,\n \"enableFIPS\": false\n },\n {\n \"name\": \"npwin\",\n\ + \ \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 30,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"scaleDownMode\": \"Delete\"\ + ,\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.9\"\ + ,\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"\ + enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"\ + osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2237.211014\"\ + ,\n \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n\ + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\"\ + : {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\"\ + : {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true\n\ + \ },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\ + \n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_centraluseuap\"\ + ,\n \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"\ + networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\"\ + : \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\"\ + : {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n \ + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_centraluseuap/providers/Microsoft.Network/publicIPAddresses/0fe77fc8-5baf-4c0d-8202-5995347df561\"\ + \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\": 100,\n \"identityProfile\"\ + : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_centraluseuap/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ + : false,\n \"publicNetworkAccess\": \"Enabled\"\n },\n \"identity\": {\n\ + \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['4506'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:37: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: '{"location": "centraluseuap", "sku": {"name": "Basic", "tier": "Free"}, + "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": + "1.20.9", "dnsPrefix": "cliaksdns000002", "agentPoolProfiles": [{"count": 1, + "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "workloadRuntime": "OCIContainer", "maxPods": 30, "osType": "Linux", "osSKU": + "Ubuntu", "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": + "1.20.9", "powerState": {"code": "Running"}, "enableNodePublicIP": false, "enableEncryptionAtHost": + false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}, {"count": + 1, "vmSize": "Standard_D2s_v3", "osDiskSizeGB": 128, "osDiskType": "Managed", + "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 30, "osType": + "Windows", "scaleDownMode": "Delete", "type": "VirtualMachineScaleSets", "mode": + "User", "orchestratorVersion": "1.20.9", "upgradeSettings": {}, "powerState": + {"code": "Running"}, "enableNodePublicIP": false, "enableEncryptionAtHost": + false, "enableUltraSSD": false, "enableFIPS": false, "name": "npwin"}], "linuxProfile": + {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]}}, "windowsProfile": {"adminUsername": "azureuser1", "enableCSIProxy": + true, "gmsaProfile": {"enabled": true}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + "nodeResourceGroup": "MC_clitest000001_cliakstest000001_centraluseuap", "enableRBAC": + true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + "azure", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": + "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", + "loadBalancerProfile": {"managedOutboundIPs": {"count": 1}, "effectiveOutboundIPs": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_centraluseuap/providers/Microsoft.Network/publicIPAddresses/0fe77fc8-5baf-4c0d-8202-5995347df561"}]}}, + "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_centraluseuap/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", + "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, + "disableLocalAccounts": false, "publicNetworkAccess": "Enabled"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks update] + Connection: [keep-alive] + Content-Length: ['3203'] + Content-Type: [application/json] + ParameterSetName: [--resource-group --name --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-09-01 + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"centraluseuap\",\n \"name\": \"cliakstest000001\",\n\ + \ \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\"\ + : {\n \"provisioningState\": \"Upgrading\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.20.9\",\n \"dnsPrefix\"\ + : \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-1ce35c56.hcp.centraluseuap.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-1ce35c56.portal.hcp.centraluseuap.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 \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 30,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"\ + Upgrading\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n\ + \ \"orchestratorVersion\": \"1.20.9\",\n \"enableNodePublicIP\": false,\n\ + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \ + \ \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\"\ + : \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.10.13\"\ + ,\n \"enableFIPS\": false\n },\n {\n \"name\": \"npwin\",\n\ + \ \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 30,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"scaleDownMode\": \"Delete\"\ + ,\n \"provisioningState\": \"Upgrading\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.9\"\ + ,\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"\ + enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"\ + osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2237.211014\"\ + ,\n \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n\ + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\"\ + : {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\"\ + : {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true,\n\ + \ \"gmsaProfile\": {\n \"enabled\": true,\n \"dnsServer\": \"\"\ + ,\n \"rootDomainName\": \"\"\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_centraluseuap\"\ + ,\n \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"\ + networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\"\ + : \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\"\ + : {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n \ + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_centraluseuap/providers/Microsoft.Network/publicIPAddresses/0fe77fc8-5baf-4c0d-8202-5995347df561\"\ + \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\": 100,\n \"identityProfile\"\ + : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_centraluseuap/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ + : false,\n \"publicNetworkAccess\": \"Enabled\"\n },\n \"identity\": {\n\ + \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/032b36fa-ebcf-4663-9e09-6b63600baee2?api-version=2016-03-30'] + cache-control: [no-cache] + content-length: ['4604'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:37:58 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks update] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/032b36fa-ebcf-4663-9e09-6b63600baee2?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"fa362b03-cfeb-6346-9e09-6b63600baee2\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:37:55.85Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:38:28 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks update] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/032b36fa-ebcf-4663-9e09-6b63600baee2?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"fa362b03-cfeb-6346-9e09-6b63600baee2\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:37:55.85Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:38:58 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks update] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/032b36fa-ebcf-4663-9e09-6b63600baee2?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"fa362b03-cfeb-6346-9e09-6b63600baee2\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:37:55.85Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:39:28 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [nginx] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks update] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/032b36fa-ebcf-4663-9e09-6b63600baee2?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"fa362b03-cfeb-6346-9e09-6b63600baee2\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:37:55.85Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:39: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks update] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/032b36fa-ebcf-4663-9e09-6b63600baee2?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"fa362b03-cfeb-6346-9e09-6b63600baee2\",\n \"\ + status\": \"InProgress\",\n \"startTime\": \"2021-10-19T09:37:55.85Z\"\n\ + \ }"} + headers: + cache-control: [no-cache] + content-length: ['121'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:40: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks update] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/032b36fa-ebcf-4663-9e09-6b63600baee2?api-version=2016-03-30 + response: + body: {string: "{\n \"name\": \"fa362b03-cfeb-6346-9e09-6b63600baee2\",\n \"\ + status\": \"Succeeded\",\n \"startTime\": \"2021-10-19T09:37:55.85Z\",\n\ + \ \"endTime\": \"2021-10-19T09:40:49.6135207Z\"\n }"} + headers: + cache-control: [no-cache] + content-length: ['165'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:41: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: ['*/*'] + Accept-Encoding: ['gzip, deflate'] + CommandName: [aks update] + Connection: [keep-alive] + ParameterSetName: [--resource-group --name --enable-windows-gmsa --yes] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-09-01 + response: + body: {string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\"\ + ,\n \"location\": \"centraluseuap\",\n \"name\": \"cliakstest000001\",\n\ + \ \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\"\ + : {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.20.9\",\n \"dnsPrefix\"\ + : \"cliaksdns000002\",\n \"fqdn\": \"cliaksdns000002-1ce35c56.hcp.centraluseuap.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliaksdns000002-1ce35c56.portal.hcp.centraluseuap.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 \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 30,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"\ + Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n\ + \ \"orchestratorVersion\": \"1.20.9\",\n \"enableNodePublicIP\": false,\n\ + \ \"mode\": \"System\",\n \"enableEncryptionAtHost\": false,\n \ + \ \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\"\ + : \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.10.13\"\ + ,\n \"enableFIPS\": false\n },\n {\n \"name\": \"npwin\",\n\ + \ \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 30,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"scaleDownMode\": \"Delete\"\ + ,\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.9\"\ + ,\n \"enableNodePublicIP\": false,\n \"mode\": \"User\",\n \"\ + enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"\ + osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2237.211014\"\ + ,\n \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n ],\n\ + \ \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\"\ + : {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"windowsProfile\"\ + : {\n \"adminUsername\": \"azureuser1\",\n \"enableCSIProxy\": true,\n\ + \ \"gmsaProfile\": {\n \"enabled\": true,\n \"dnsServer\": \"\"\ + ,\n \"rootDomainName\": \"\"\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_centraluseuap\"\ + ,\n \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"\ + networkProfile\": {\n \"networkPlugin\": \"azure\",\n \"loadBalancerSku\"\ + : \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\"\ + : {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n \ + \ {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_centraluseuap/providers/Microsoft.Network/publicIPAddresses/0fe77fc8-5baf-4c0d-8202-5995347df561\"\ + \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\": 100,\n \"identityProfile\"\ + : {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_centraluseuap/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\n },\n \"disableLocalAccounts\"\ + : false,\n \"publicNetworkAccess\": \"Enabled\"\n },\n \"identity\": {\n\ + \ \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }"} + headers: + cache-control: [no-cache] + content-length: ['4604'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:41: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 nodepool delete] + Connection: [keep-alive] + ParameterSetName: [--resource-group --cluster-name --name --no-wait] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools?api-version=2021-09-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 \"workloadRuntime\": \"OCIContainer\",\n\ + \ \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"\ + code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.20.9\",\n\ + \ \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n \"\ + enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"\ + osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2021.10.13\",\n \"enableFIPS\": false\n\ + \ }\n },\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/agentPools/npwin\"\ + ,\n \"name\": \"npwin\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\"\ + ,\n \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_D2s_v3\"\ + ,\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"\ + kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n\ + \ \"maxPods\": 30,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\"\ + ,\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.20.9\",\n \"enableNodePublicIP\": false,\n \"mode\": \"User\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Windows\",\n \"nodeImageVersion\": \"AKSWindows-2019-17763.2237.211014\"\ + ,\n \"upgradeSettings\": {},\n \"enableFIPS\": false\n }\n }\n\ + \ ]\n }"} + headers: + cache-control: [no-cache] + content-length: ['1948'] + content-type: [application/json] + date: ['Tue, 19 Oct 2021 09:41: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 nodepool delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--resource-group --cluster-name --name --no-wait] + User-Agent: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.3.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + 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-09-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/6381d182-92fb-43a0-b90d-0c8f971c35d4?api-version=2016-03-30'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 19 Oct 2021 09:41:03 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operationresults/6381d182-92fb-43a0-b90d-0c8f971c35d4?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: [AZURECLI/2.29.0 azsdk-python-azure-mgmt-containerservice/16.1.0 + Python/3.8.5 (Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.29)] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2021-07-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operations/5204d4be-a925-4994-88cb-c4545d221ddd?api-version=2016-03-30'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 19 Oct 2021 09:41:07 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/centraluseuap/operationresults/5204d4be-a925-4994-88cb-c4545d221ddd?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: ['14998'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py index 327e437644a..c6de1653d56 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py +++ b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py @@ -2697,3 +2697,101 @@ def test_aks_maintenanceconfiguration(self, resource_group, resource_group_locat # delete self.cmd( 'aks delete -g {resource_group} -n {name} --yes --no-wait', checks=[self.is_empty()]) + + @AllowLargeResponse() + @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='centraluseuap') + def test_aks_create_with_windows_gmsa(self, resource_group, resource_group_location): + # reset the count so in replay mode the random names will start with 0 + self.test_resources_count = 0 + # kwargs for string formatting + aks_name = self.create_random_name('cliakstest', 16) + self.kwargs.update({ + 'resource_group': resource_group, + 'name': aks_name, + 'dns_name_prefix': self.create_random_name('cliaksdns', 16), + 'location': resource_group_location, + 'resource_type': 'Microsoft.ContainerService/ManagedClusters', + 'windows_admin_username': 'azureuser1', + 'windows_admin_password': 'replace-Password1234$', + 'nodepool2_name': 'npwin', + 'ssh_key_value': self.generate_ssh_keys() + }) + + # create + create_cmd = 'aks create --resource-group={resource_group} --name={name} --location={location} ' \ + '--dns-name-prefix={dns_name_prefix} --node-count=1 ' \ + '--windows-admin-username={windows_admin_username} --windows-admin-password={windows_admin_password} ' \ + '--load-balancer-sku=standard --vm-set-type=virtualmachinescalesets --network-plugin=azure ' \ + '--ssh-key-value={ssh_key_value} --enable-windows-gmsa --yes' + self.cmd(create_cmd, checks=[ + self.exists('fqdn'), + self.exists('nodeResourceGroup'), + self.check('provisioningState', 'Succeeded'), + self.check('windowsProfile.adminUsername', 'azureuser1'), + self.check('windowsProfile.gmsaProfile.enabled', 'True') + ]) + + # 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') + ]) + + # 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()]) + + @AllowLargeResponse() + @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='centraluseuap') + def test_aks_update_with_windows_gmsa(self, resource_group, resource_group_location): + # reset the count so in replay mode the random names will start with 0 + self.test_resources_count = 0 + # kwargs for string formatting + aks_name = self.create_random_name('cliakstest', 16) + self.kwargs.update({ + 'resource_group': resource_group, + 'name': aks_name, + 'dns_name_prefix': self.create_random_name('cliaksdns', 16), + 'location': resource_group_location, + 'resource_type': 'Microsoft.ContainerService/ManagedClusters', + 'windows_admin_username': 'azureuser1', + 'windows_admin_password': 'replace-Password1234$', + 'nodepool2_name': 'npwin', + 'ssh_key_value': self.generate_ssh_keys() + }) + + # create + create_cmd = 'aks create --resource-group={resource_group} --name={name} --location={location} ' \ + '--dns-name-prefix={dns_name_prefix} --node-count=1 ' \ + '--windows-admin-username={windows_admin_username} --windows-admin-password={windows_admin_password} ' \ + '--load-balancer-sku=standard --vm-set-type=virtualmachinescalesets --network-plugin=azure ' \ + '--ssh-key-value={ssh_key_value}' + self.cmd(create_cmd, checks=[ + self.exists('fqdn'), + self.exists('nodeResourceGroup'), + self.check('provisioningState', 'Succeeded'), + self.check('windowsProfile.adminUsername', 'azureuser1'), + self.not_exists('windowsProfile.gmsaProfile') + ]) + + # 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 gmsa + self.cmd('aks update --resource-group={resource_group} --name={name} --enable-windows-gmsa --yes', checks=[ + self.check('provisioningState', 'Succeeded'), + self.check('windowsProfile.gmsaProfile.enabled', 'True') + ]) + + # 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()]) diff --git a/src/aks-preview/setup.py b/src/aks-preview/setup.py index a773bf217e1..a87aaf3a5e4 100644 --- a/src/aks-preview/setup.py +++ b/src/aks-preview/setup.py @@ -8,7 +8,7 @@ from codecs import open as open1 from setuptools import setup, find_packages -VERSION = "0.5.35" +VERSION = "0.5.37" CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers',