diff --git a/src/aks-preview/HISTORY.rst b/src/aks-preview/HISTORY.rst index 56770f2de72..70f2309a12a 100644 --- a/src/aks-preview/HISTORY.rst +++ b/src/aks-preview/HISTORY.rst @@ -17,6 +17,7 @@ Pending * Vendor new SDK and bump API version to 2023-06-02-preview. * Add `--network-dataplane` to the `az aks update` command. * Support "VirtualMachines" agent pool type to `az aks create --vm-set-type` and `az aks nodepool add --vm-set-type`. This is internal use only, not for public preview. +* Add plugin CA support for `az aks mesh enable` commands for Azure Service Mesh. 0.5.149 +++++++ 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 ed96cfefed1..91087a9f8c8 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 @@ -26,10 +26,6 @@ "overlay migration, missing toggle": [ "test_aks_azure_cni_overlay_migration" ], - "service mesh, missing feature registration": [ - "test_aks_azure_service_mesh_enable_disable", - "test_aks_azure_service_mesh_with_ingress_gateway" - ], "slb to nat gateway": [ "test_aks_update_outbound_from_slb_to_natgateway" ], diff --git a/src/aks-preview/azext_aks_preview/_help.py b/src/aks-preview/azext_aks_preview/_help.py index 04a030f0204..cedf89c3df4 100644 --- a/src/aks-preview/azext_aks_preview/_help.py +++ b/src/aks-preview/azext_aks_preview/_help.py @@ -2561,6 +2561,28 @@ type: command short-summary: Enable Azure Service Mesh. long-summary: This command enables Azure Service Mesh in given cluster. + parameters: + - name: --key-vault-id + type: string + short-summary: The Azure Keyvault id with plugin CA info. + - name: --ca-cert-object-name + type: string + short-summary: Intermediate cert object name in the Azure Keyvault. + - name: --ca-key-object-name + type: string + short-summary: Intermediate key object name in the Azure Keyvault. + - name: --cert-chain-object-name + type: string + short-summary: Cert chain object name in the Azure Keyvault. + - name: --root-cert-object-name + type: string + short-summary: Root cert object name in the Azure Keyvault. + examples: + - name: Enable Azure Service Mesh with selfsigned CA. + text: az aks mesh enable --resource-group MyResourceGroup --name MyManagedCluster + - name: Enable Azure Service Mesh with plugin CA. + text: az aks mesh enable --resource-group MyResourceGroup --name MyManagedCluster --key-vault-id my-akv-id --ca-cert-object-name my-ca-cert --ca-key-object-name my-ca-key --cert-chain-object-name my-cert-chain --root-cert-object-name my-root-cert + """ helps['aks mesh disable'] = """ diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index 2e2dabee42b..4d768411a76 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -150,7 +150,7 @@ validate_user, validate_utc_offset, validate_vm_set_type, - validate_vnet_subnet_id, + validate_vnet_subnet_id ) from azure.cli.core.commands.parameters import ( edge_zone_type, @@ -902,6 +902,13 @@ def load_arguments(self, _): c.argument('ingress_gateway_type', arg_type=get_enum_type(ingress_gateway_types)) + with self.argument_context('aks mesh enable') as c: + c.argument('key_vault_id') + c.argument('ca_cert_object_name') + c.argument('ca_key_object_name') + c.argument('root_cert_object_name') + c.argument('cert_chain_object_name') + def _get_default_install_location(exe_name): system = platform.system() diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index 465b31fc828..d4691cd2b65 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -47,6 +47,7 @@ CONST_SPOT_EVICTION_POLICY_DELETE, CONST_VIRTUAL_NODE_ADDON_NAME, CONST_VIRTUAL_NODE_SUBNET_NAME, + CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME, ) from azext_aks_preview._helpers import ( get_cluster_snapshot_by_snapshot_id, @@ -2403,8 +2404,28 @@ def aks_mesh_enable( client, resource_group_name, name, + key_vault_id=None, + ca_cert_object_name=None, + ca_key_object_name=None, + root_cert_object_name=None, + cert_chain_object_name=None ): - return _aks_mesh_update(cmd, client, resource_group_name, name, enable_azure_service_mesh=True) + instance = client.get(resource_group_name, name) + addon_profiles = instance.addon_profiles + if key_vault_id is not None and ca_cert_object_name is not None and ca_key_object_name is not None and root_cert_object_name is not None and cert_chain_object_name is not None: + if not addon_profiles or not addon_profiles[CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME] or not addon_profiles[CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME].enabled: + raise CLIError('AzureKeyvaultSecretsProvider addon is required for Azure Service Mesh plugin certificate authority feature.') + + return _aks_mesh_update(cmd, + client, + resource_group_name, + name, + key_vault_id, + ca_cert_object_name, + ca_key_object_name, + root_cert_object_name, + cert_chain_object_name, + enable_azure_service_mesh=True) def aks_mesh_disable( @@ -2454,6 +2475,11 @@ def _aks_mesh_update( client, resource_group_name, name, + key_vault_id=None, + ca_cert_object_name=None, + ca_key_object_name=None, + root_cert_object_name=None, + cert_chain_object_name=None, enable_azure_service_mesh=None, disable_azure_service_mesh=None, enable_ingress_gateway=None, diff --git a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py index 4cb6d08630a..4a8ad32e8f7 100644 --- a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py +++ b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py @@ -2185,6 +2185,37 @@ def update_azure_service_mesh_profile(self) -> ServiceMeshProfile: ) updated = True + # deal with plugin ca + key_vault_id = self.raw_param.get("key_vault_id", None) + ca_cert_object_name = self.raw_param.get("ca_cert_object_name", None) + ca_key_object_name = self.raw_param.get("ca_key_object_name", None) + root_cert_object_name = self.raw_param.get("root_cert_object_name", None) + cert_chain_object_name = self.raw_param.get("cert_chain_object_name", None) + + if any([key_vault_id, ca_cert_object_name, ca_key_object_name, root_cert_object_name, cert_chain_object_name]): + if key_vault_id is None: + raise InvalidArgumentValueError('--key-vault-id is required to use Azure Service Mesh plugin CA feature.') + if ca_cert_object_name is None: + raise InvalidArgumentValueError('--ca-cert-object-name is required to use Azure Service Mesh plugin CA feature.') + if ca_key_object_name is None: + raise InvalidArgumentValueError('--ca-key-object-name is required to use Azure Service Mesh plugin CA feature.') + if root_cert_object_name is None: + raise InvalidArgumentValueError('--root-cert-object-name is required to use Azure Service Mesh plugin CA feature.') + if cert_chain_object_name is None: + raise InvalidArgumentValueError('--cert-chain-object-name is required to use Azure Service Mesh plugin CA feature.') + + if enable_asm and all([key_vault_id, ca_cert_object_name, ca_key_object_name, root_cert_object_name, cert_chain_object_name]): + if new_profile.istio.certificate_authority is None: + new_profile.istio.certificate_authority = self.models.IstioCertificateAuthority() + if new_profile.istio.certificate_authority.plugin is None: + new_profile.istio.certificate_authority.plugin = self.models.IstioPluginCertificateAuthority() + new_profile.istio.certificate_authority.plugin.key_vault_id = key_vault_id + new_profile.istio.certificate_authority.plugin.cert_object_name = ca_cert_object_name + new_profile.istio.certificate_authority.plugin.key_object_name = ca_key_object_name + new_profile.istio.certificate_authority.plugin.root_cert_object_name = root_cert_object_name + new_profile.istio.certificate_authority.plugin.cert_chain_object_name = cert_chain_object_name + updated = True + if updated: return new_profile else: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_azure_service_mesh_enable_disable.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_azure_service_mesh_enable_disable.yaml index b26603dc371..226d3386a2b 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_azure_service_mesh_enable_disable.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_azure_service_mesh_enable_disable.yaml @@ -13,8 +13,8 @@ interactions: ParameterSetName: - --resource-group --name --location --aks-custom-headers --ssh-key-value --output User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview response: @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 29 Mar 2023 04:03:44 GMT + - Fri, 11 Aug 2023 05:04:15 GMT expires: - '-1' pragma: @@ -46,7 +46,7 @@ interactions: message: Not Found - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesttmikv2trb-26fe00", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest4lme2jdu7-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": @@ -54,12 +54,12 @@ interactions: false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "networkProfile": {}, "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"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": - false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": - "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "disableLocalAccounts": false, "storageProfile": {}}}' + {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdnsZjt40SjW5ynHWJw0xnRToxyK8gQnO5ZknyNxwwnMwv6LE9Ce364ZM+Tdy7zkx+HZmEyXdGAD1Wd0biLwONaTpKlZQ+qkrF8D+SCgiRThw2FeE0+krCSXgqeo4BIqYMN16eU1dqNyBaepNCZek+YURgnoVOoyEkl75OMTuPSvQJMs9/mO+q8dMTkwwWMwWywhb9QaeeGnPwbnNVWyvZlrf5fwXw3GMU3rsWIrSB+kdNJzPDQq1yzcDbS3F5UVp5duoCKBgkJi45GAoREo6hkrHyP4JmXgv1SsmJqz2NbSG583GR+5USkZND5RhwUEFdqazW1vVZUUBmknP5Uvpb + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": + false, "storageProfile": {}}}' headers: AKSHTTPCustomFeatures: - Microsoft.ContainerService/AzureServiceMeshPreview @@ -72,14 +72,14 @@ interactions: Connection: - keep-alive Content-Length: - - '1909' + - '1543' Content-Type: - application/json ParameterSetName: - --resource-group --name --location --aks-custom-headers --ssh-key-value --output User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview response: @@ -88,54 +88,55 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.24.10\",\n \"currentKubernetesVersion\": \"1.24.10\",\n \"dnsPrefix\": - \"cliakstest-clitesttmikv2trb-26fe00\",\n \"fqdn\": \"cliakstest-clitesttmikv2trb-26fe00-bug9qq0e.hcp.westus2.staging.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttmikv2trb-26fe00-bug9qq0e.portal.hcp.westus2.staging.azmk8s.io\",\n + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest4lme2jdu7-79a739\",\n \"fqdn\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.24.10\",\n \"currentOrchestratorVersion\": \"1.24.10\",\n \"enableNodePublicIP\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-202303.22.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\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 \"servicePrincipalProfile\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdnsZjt40SjW5ynHWJw0xnRToxyK8gQnO5ZknyNxwwnMwv6LE9Ce364ZM+Tdy7zkx+HZmEyXdGAD1Wd0biLwONaTpKlZQ+qkrF8D+SCgiRThw2FeE0+krCSXgqeo4BIqYMN16eU1dqNyBaepNCZek+YURgnoVOoyEkl75OMTuPSvQJMs9/mO+q8dMTkwwWMwWywhb9QaeeGnPwbnNVWyvZlrf5fwXw3GMU3rsWIrSB+kdNJzPDQq1yzcDbS3F5UVp5duoCKBgkJi45GAoREo6hkrHyP4JmXgv1SsmJqz2NbSG583GR+5USkZND5RhwUEFdqazW1vVZUUBmknP5Uvpb + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"backendPoolType\": - \"nodeIPConfiguration\"\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\": - {\n \"diskCSIDriver\": {\n \"enabled\": true,\n \"version\": \"v1\"\n - \ },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": - {\n \"enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": - false\n },\n \"nodeResourceGroupProfile\": {\n \"restrictionLevel\": - \"Unrestricted\"\n },\n \"workloadAutoScalerProfile\": {}\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"enablePodSecurityPolicy\": false,\n \"supportPlan\": \"KubernetesOfficial\",\n + \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": + \"standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": + {\n \"count\": 1\n },\n \"backendPoolType\": \"nodeIPConfiguration\"\n + \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": + true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": + {}\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\": \"Base\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/98bf2d95-f077-4bc9-8833-90959e3abbb8?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8afdd029-c2a3-4d5f-8885-5ea19b398e64?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3903' + - '3613' content-type: - application/json date: - - Wed, 29 Mar 2023 04:03:48 GMT + - Fri, 11 Aug 2023 05:04:20 GMT expires: - '-1' pragma: @@ -165,14 +166,14 @@ interactions: ParameterSetName: - --resource-group --name --location --aks-custom-headers --ssh-key-value --output User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/98bf2d95-f077-4bc9-8833-90959e3abbb8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8afdd029-c2a3-4d5f-8885-5ea19b398e64?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"952dbf98-77f0-c94b-8833-90959e3abbb8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-03-29T04:03:48.9962755Z\"\n }" + string: "{\n \"name\": \"29d0fd8a-a3c2-5f4d-8885-5ea19b398e64\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:04:20.7823711Z\"\n }" headers: cache-control: - no-cache @@ -181,7 +182,7 @@ interactions: content-type: - application/json date: - - Wed, 29 Mar 2023 04:04:18 GMT + - Fri, 11 Aug 2023 05:04:21 GMT expires: - '-1' pragma: @@ -213,14 +214,14 @@ interactions: ParameterSetName: - --resource-group --name --location --aks-custom-headers --ssh-key-value --output User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/98bf2d95-f077-4bc9-8833-90959e3abbb8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8afdd029-c2a3-4d5f-8885-5ea19b398e64?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"952dbf98-77f0-c94b-8833-90959e3abbb8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-03-29T04:03:48.9962755Z\"\n }" + string: "{\n \"name\": \"29d0fd8a-a3c2-5f4d-8885-5ea19b398e64\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:04:20.7823711Z\"\n }" headers: cache-control: - no-cache @@ -229,7 +230,7 @@ interactions: content-type: - application/json date: - - Wed, 29 Mar 2023 04:04:49 GMT + - Fri, 11 Aug 2023 05:04:51 GMT expires: - '-1' pragma: @@ -261,14 +262,14 @@ interactions: ParameterSetName: - --resource-group --name --location --aks-custom-headers --ssh-key-value --output User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/98bf2d95-f077-4bc9-8833-90959e3abbb8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8afdd029-c2a3-4d5f-8885-5ea19b398e64?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"952dbf98-77f0-c94b-8833-90959e3abbb8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-03-29T04:03:48.9962755Z\"\n }" + string: "{\n \"name\": \"29d0fd8a-a3c2-5f4d-8885-5ea19b398e64\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:04:20.7823711Z\"\n }" headers: cache-control: - no-cache @@ -277,7 +278,7 @@ interactions: content-type: - application/json date: - - Wed, 29 Mar 2023 04:05:19 GMT + - Fri, 11 Aug 2023 05:05:21 GMT expires: - '-1' pragma: @@ -309,14 +310,14 @@ interactions: ParameterSetName: - --resource-group --name --location --aks-custom-headers --ssh-key-value --output User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/98bf2d95-f077-4bc9-8833-90959e3abbb8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8afdd029-c2a3-4d5f-8885-5ea19b398e64?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"952dbf98-77f0-c94b-8833-90959e3abbb8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-03-29T04:03:48.9962755Z\"\n }" + string: "{\n \"name\": \"29d0fd8a-a3c2-5f4d-8885-5ea19b398e64\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:04:20.7823711Z\"\n }" headers: cache-control: - no-cache @@ -325,7 +326,7 @@ interactions: content-type: - application/json date: - - Wed, 29 Mar 2023 04:05:48 GMT + - Fri, 11 Aug 2023 05:05:51 GMT expires: - '-1' pragma: @@ -357,14 +358,14 @@ interactions: ParameterSetName: - --resource-group --name --location --aks-custom-headers --ssh-key-value --output User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/98bf2d95-f077-4bc9-8833-90959e3abbb8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8afdd029-c2a3-4d5f-8885-5ea19b398e64?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"952dbf98-77f0-c94b-8833-90959e3abbb8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-03-29T04:03:48.9962755Z\"\n }" + string: "{\n \"name\": \"29d0fd8a-a3c2-5f4d-8885-5ea19b398e64\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:04:20.7823711Z\"\n }" headers: cache-control: - no-cache @@ -373,7 +374,7 @@ interactions: content-type: - application/json date: - - Wed, 29 Mar 2023 04:06:19 GMT + - Fri, 11 Aug 2023 05:06:21 GMT expires: - '-1' pragma: @@ -405,14 +406,14 @@ interactions: ParameterSetName: - --resource-group --name --location --aks-custom-headers --ssh-key-value --output User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/98bf2d95-f077-4bc9-8833-90959e3abbb8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8afdd029-c2a3-4d5f-8885-5ea19b398e64?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"952dbf98-77f0-c94b-8833-90959e3abbb8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-03-29T04:03:48.9962755Z\"\n }" + string: "{\n \"name\": \"29d0fd8a-a3c2-5f4d-8885-5ea19b398e64\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:04:20.7823711Z\"\n }" headers: cache-control: - no-cache @@ -421,7 +422,7 @@ interactions: content-type: - application/json date: - - Wed, 29 Mar 2023 04:06:49 GMT + - Fri, 11 Aug 2023 05:06:51 GMT expires: - '-1' pragma: @@ -453,14 +454,14 @@ interactions: ParameterSetName: - --resource-group --name --location --aks-custom-headers --ssh-key-value --output User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/98bf2d95-f077-4bc9-8833-90959e3abbb8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8afdd029-c2a3-4d5f-8885-5ea19b398e64?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"952dbf98-77f0-c94b-8833-90959e3abbb8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-03-29T04:03:48.9962755Z\"\n }" + string: "{\n \"name\": \"29d0fd8a-a3c2-5f4d-8885-5ea19b398e64\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:04:20.7823711Z\"\n }" headers: cache-control: - no-cache @@ -469,7 +470,7 @@ interactions: content-type: - application/json date: - - Wed, 29 Mar 2023 04:07:20 GMT + - Fri, 11 Aug 2023 05:07:21 GMT expires: - '-1' pragma: @@ -501,14 +502,14 @@ interactions: ParameterSetName: - --resource-group --name --location --aks-custom-headers --ssh-key-value --output User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/98bf2d95-f077-4bc9-8833-90959e3abbb8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8afdd029-c2a3-4d5f-8885-5ea19b398e64?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"952dbf98-77f0-c94b-8833-90959e3abbb8\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-03-29T04:03:48.9962755Z\"\n }" + string: "{\n \"name\": \"29d0fd8a-a3c2-5f4d-8885-5ea19b398e64\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:04:20.7823711Z\"\n }" headers: cache-control: - no-cache @@ -517,7 +518,7 @@ interactions: content-type: - application/json date: - - Wed, 29 Mar 2023 04:07:49 GMT + - Fri, 11 Aug 2023 05:07:51 GMT expires: - '-1' pragma: @@ -549,15 +550,111 @@ interactions: ParameterSetName: - --resource-group --name --location --aks-custom-headers --ssh-key-value --output User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/98bf2d95-f077-4bc9-8833-90959e3abbb8?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8afdd029-c2a3-4d5f-8885-5ea19b398e64?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"952dbf98-77f0-c94b-8833-90959e3abbb8\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2023-03-29T04:03:48.9962755Z\",\n \"endTime\": - \"2023-03-29T04:08:05.8626068Z\"\n }" + string: "{\n \"name\": \"29d0fd8a-a3c2-5f4d-8885-5ea19b398e64\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:04:20.7823711Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 05:08:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --aks-custom-headers --ssh-key-value --output + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8afdd029-c2a3-4d5f-8885-5ea19b398e64?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"29d0fd8a-a3c2-5f4d-8885-5ea19b398e64\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:04:20.7823711Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 05:08:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --aks-custom-headers --ssh-key-value --output + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8afdd029-c2a3-4d5f-8885-5ea19b398e64?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"29d0fd8a-a3c2-5f4d-8885-5ea19b398e64\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2023-08-11T05:04:20.7823711Z\",\n \"endTime\": + \"2023-08-11T05:09:09.1989857Z\"\n }" headers: cache-control: - no-cache @@ -566,7 +663,7 @@ interactions: content-type: - application/json date: - - Wed, 29 Mar 2023 04:08:20 GMT + - Fri, 11 Aug 2023 05:09:22 GMT expires: - '-1' pragma: @@ -598,8 +695,8 @@ interactions: ParameterSetName: - --resource-group --name --location --aks-custom-headers --ssh-key-value --output User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview response: @@ -608,44 +705,46 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.24.10\",\n \"currentKubernetesVersion\": \"1.24.10\",\n \"dnsPrefix\": - \"cliakstest-clitesttmikv2trb-26fe00\",\n \"fqdn\": \"cliakstest-clitesttmikv2trb-26fe00-bug9qq0e.hcp.westus2.staging.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttmikv2trb-26fe00-bug9qq0e.portal.hcp.westus2.staging.azmk8s.io\",\n + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest4lme2jdu7-79a739\",\n \"fqdn\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.24.10\",\n \"currentOrchestratorVersion\": \"1.24.10\",\n \"enableNodePublicIP\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-202303.22.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\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 \"servicePrincipalProfile\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdnsZjt40SjW5ynHWJw0xnRToxyK8gQnO5ZknyNxwwnMwv6LE9Ce364ZM+Tdy7zkx+HZmEyXdGAD1Wd0biLwONaTpKlZQ+qkrF8D+SCgiRThw2FeE0+krCSXgqeo4BIqYMN16eU1dqNyBaepNCZek+YURgnoVOoyEkl75OMTuPSvQJMs9/mO+q8dMTkwwWMwWywhb9QaeeGnPwbnNVWyvZlrf5fwXw3GMU3rsWIrSB+kdNJzPDQq1yzcDbS3F5UVp5duoCKBgkJi45GAoREo6hkrHyP4JmXgv1SsmJqz2NbSG583GR+5USkZND5RhwUEFdqazW1vVZUUBmknP5Uvpb + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/0f37e1e5-8683-4a19-8c10-354da47b12a4\"\n + \ \"enablePodSecurityPolicy\": false,\n \"supportPlan\": \"KubernetesOfficial\",\n + \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": + \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": + {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/2c6f3b80-2793-4f57-b995-7ebdd487ca0e\"\n \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + \ }\n },\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"nodeResourceGroupProfile\": - {\n \"restrictionLevel\": \"Unrestricted\"\n },\n \"workloadAutoScalerProfile\": + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": {}\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\": \"Base\",\n \"tier\": \"Free\"\n }\n }" @@ -653,11 +752,11 @@ interactions: cache-control: - no-cache content-length: - - '4556' + - '4266' content-type: - application/json date: - - Wed, 29 Mar 2023 04:08:20 GMT + - Fri, 11 Aug 2023 05:09:23 GMT expires: - '-1' pragma: @@ -689,8 +788,8 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview response: @@ -699,44 +798,46 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.24.10\",\n \"currentKubernetesVersion\": \"1.24.10\",\n \"dnsPrefix\": - \"cliakstest-clitesttmikv2trb-26fe00\",\n \"fqdn\": \"cliakstest-clitesttmikv2trb-26fe00-bug9qq0e.hcp.westus2.staging.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttmikv2trb-26fe00-bug9qq0e.portal.hcp.westus2.staging.azmk8s.io\",\n + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest4lme2jdu7-79a739\",\n \"fqdn\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.24.10\",\n \"currentOrchestratorVersion\": \"1.24.10\",\n \"enableNodePublicIP\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-202303.22.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\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 \"servicePrincipalProfile\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdnsZjt40SjW5ynHWJw0xnRToxyK8gQnO5ZknyNxwwnMwv6LE9Ce364ZM+Tdy7zkx+HZmEyXdGAD1Wd0biLwONaTpKlZQ+qkrF8D+SCgiRThw2FeE0+krCSXgqeo4BIqYMN16eU1dqNyBaepNCZek+YURgnoVOoyEkl75OMTuPSvQJMs9/mO+q8dMTkwwWMwWywhb9QaeeGnPwbnNVWyvZlrf5fwXw3GMU3rsWIrSB+kdNJzPDQq1yzcDbS3F5UVp5duoCKBgkJi45GAoREo6hkrHyP4JmXgv1SsmJqz2NbSG583GR+5USkZND5RhwUEFdqazW1vVZUUBmknP5Uvpb + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/0f37e1e5-8683-4a19-8c10-354da47b12a4\"\n + \ \"enablePodSecurityPolicy\": false,\n \"supportPlan\": \"KubernetesOfficial\",\n + \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": + \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": + {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/2c6f3b80-2793-4f57-b995-7ebdd487ca0e\"\n \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + \ }\n },\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"nodeResourceGroupProfile\": - {\n \"restrictionLevel\": \"Unrestricted\"\n },\n \"workloadAutoScalerProfile\": + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": {}\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\": \"Base\",\n \"tier\": \"Free\"\n }\n }" @@ -744,11 +845,104 @@ interactions: cache-control: - no-cache content-length: - - '4556' + - '4266' content-type: - application/json date: - - Wed, 29 Mar 2023 04:08:21 GMT + - Fri, 11 Aug 2023 05:09:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks mesh enable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest4lme2jdu7-79a739\",\n \"fqdn\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\n }\n ],\n \"linuxProfile\": + {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdnsZjt40SjW5ynHWJw0xnRToxyK8gQnO5ZknyNxwwnMwv6LE9Ce364ZM+Tdy7zkx+HZmEyXdGAD1Wd0biLwONaTpKlZQ+qkrF8D+SCgiRThw2FeE0+krCSXgqeo4BIqYMN16eU1dqNyBaepNCZek+YURgnoVOoyEkl75OMTuPSvQJMs9/mO+q8dMTkwwWMwWywhb9QaeeGnPwbnNVWyvZlrf5fwXw3GMU3rsWIrSB+kdNJzPDQq1yzcDbS3F5UVp5duoCKBgkJi45GAoREo6hkrHyP4JmXgv1SsmJqz2NbSG583GR+5USkZND5RhwUEFdqazW1vVZUUBmknP5Uvpb + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"supportPlan\": \"KubernetesOfficial\",\n + \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": + \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": + {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/2c6f3b80-2793-4f57-b995-7ebdd487ca0e\"\n + \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": + true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": + {}\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\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '4266' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 05:09:25 GMT expires: - '-1' pragma: @@ -768,27 +962,27 @@ interactions: message: OK - request: body: '{"location": "westus2", "sku": {"name": "Base", "tier": "Free"}, "identity": - {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.24.10", "dnsPrefix": - "cliakstest-clitesttmikv2trb-26fe00", "agentPoolProfiles": [{"count": 3, "vmSize": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.26.6", "dnsPrefix": + "cliakstest-clitest4lme2jdu7-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", - "mode": "System", "orchestratorVersion": "1.24.10", "upgradeSettings": {}, "powerState": + "mode": "System", "orchestratorVersion": "1.26.6", "upgradeSettings": {}, "powerState": {"code": "Running"}, "enableNodePublicIP": false, "enableCustomCATrust": false, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, - "networkProfile": {}, "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"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + "networkProfile": {}, "securityProfile": {"sshAccess": "LocalUser"}, "name": + "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": + [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdnsZjt40SjW5ynHWJw0xnRToxyK8gQnO5ZknyNxwwnMwv6LE9Ce364ZM+Tdy7zkx+HZmEyXdGAD1Wd0biLwONaTpKlZQ+qkrF8D+SCgiRThw2FeE0+krCSXgqeo4BIqYMN16eU1dqNyBaepNCZek+YURgnoVOoyEkl75OMTuPSvQJMs9/mO+q8dMTkwwWMwWywhb9QaeeGnPwbnNVWyvZlrf5fwXw3GMU3rsWIrSB+kdNJzPDQq1yzcDbS3F5UVp5duoCKBgkJi45GAoREo6hkrHyP4JmXgv1SsmJqz2NbSG583GR+5USkZND5RhwUEFdqazW1vVZUUBmknP5Uvpb + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "oidcIssuerProfile": {"enabled": false}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", - "nodeResourceGroupProfile": {"restrictionLevel": "Unrestricted"}, "enableRBAC": - true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "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, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/0f37e1e5-8683-4a19-8c10-354da47b12a4"}], + "10.0.0.10", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", + "loadBalancerProfile": {"managedOutboundIPs": {"count": 1, "countIPv6": 0}, + "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/2c6f3b80-2793-4f57-b995-7ebdd487ca0e"}], "backendPoolType": "nodeIPConfiguration"}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": - ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": - {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", + ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "autoUpgradeProfile": {"nodeOSUpgradeChannel": + "NodeImage"}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false, "securityProfile": {}, "storageProfile": {}, "workloadAutoScalerProfile": {}, "serviceMeshProfile": {"mode": "Istio", "istio": @@ -803,14 +997,14 @@ interactions: Connection: - keep-alive Content-Length: - - '3113' + - '2787' Content-Type: - application/json ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview response: @@ -819,60 +1013,62 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.24.10\",\n \"currentKubernetesVersion\": \"1.24.10\",\n \"dnsPrefix\": - \"cliakstest-clitesttmikv2trb-26fe00\",\n \"fqdn\": \"cliakstest-clitesttmikv2trb-26fe00-bug9qq0e.hcp.westus2.staging.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttmikv2trb-26fe00-bug9qq0e.portal.hcp.westus2.staging.azmk8s.io\",\n + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest4lme2jdu7-79a739\",\n \"fqdn\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.24.10\",\n \"currentOrchestratorVersion\": \"1.24.10\",\n \"enableNodePublicIP\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-202303.22.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\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 \"servicePrincipalProfile\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdnsZjt40SjW5ynHWJw0xnRToxyK8gQnO5ZknyNxwwnMwv6LE9Ce364ZM+Tdy7zkx+HZmEyXdGAD1Wd0biLwONaTpKlZQ+qkrF8D+SCgiRThw2FeE0+krCSXgqeo4BIqYMN16eU1dqNyBaepNCZek+YURgnoVOoyEkl75OMTuPSvQJMs9/mO+q8dMTkwwWMwWywhb9QaeeGnPwbnNVWyvZlrf5fwXw3GMU3rsWIrSB+kdNJzPDQq1yzcDbS3F5UVp5duoCKBgkJi45GAoREo6hkrHyP4JmXgv1SsmJqz2NbSG583GR+5USkZND5RhwUEFdqazW1vVZUUBmknP5Uvpb + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/0f37e1e5-8683-4a19-8c10-354da47b12a4\"\n + \ \"enablePodSecurityPolicy\": false,\n \"supportPlan\": \"KubernetesOfficial\",\n + \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": + \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": + {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/2c6f3b80-2793-4f57-b995-7ebdd487ca0e\"\n \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + \ }\n },\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"nodeResourceGroupProfile\": - {\n \"restrictionLevel\": \"Unrestricted\"\n },\n \"workloadAutoScalerProfile\": + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": {},\n \"serviceMeshProfile\": {\n \"mode\": \"Istio\",\n \"istio\": - {\n \"components\": {}\n }\n }\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + {\n \"components\": {},\n \"revisions\": [\n \"asm-1-17\"\n ]\n + \ }\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d36d9f43-a32d-4918-b4b4-36cf0836985d?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cc7a88a1-9adc-403c-9a58-49f5e78e2157?api-version=2016-03-30 cache-control: - no-cache content-length: - - '4651' + - '4406' content-type: - application/json date: - - Wed, 29 Mar 2023 04:08:25 GMT + - Fri, 11 Aug 2023 05:09:29 GMT expires: - '-1' pragma: @@ -906,14 +1102,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d36d9f43-a32d-4918-b4b4-36cf0836985d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cc7a88a1-9adc-403c-9a58-49f5e78e2157?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"439f6dd3-2da3-1849-b4b4-36cf0836985d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-03-29T04:08:26.0436149Z\"\n }" + string: "{\n \"name\": \"a1887acc-dc9a-3c40-9a58-49f5e78e2157\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:09:29.9393989Z\"\n }" headers: cache-control: - no-cache @@ -922,7 +1118,7 @@ interactions: content-type: - application/json date: - - Wed, 29 Mar 2023 04:08:56 GMT + - Fri, 11 Aug 2023 05:09:30 GMT expires: - '-1' pragma: @@ -954,14 +1150,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d36d9f43-a32d-4918-b4b4-36cf0836985d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cc7a88a1-9adc-403c-9a58-49f5e78e2157?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"439f6dd3-2da3-1849-b4b4-36cf0836985d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-03-29T04:08:26.0436149Z\"\n }" + string: "{\n \"name\": \"a1887acc-dc9a-3c40-9a58-49f5e78e2157\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:09:29.9393989Z\"\n }" headers: cache-control: - no-cache @@ -970,7 +1166,7 @@ interactions: content-type: - application/json date: - - Wed, 29 Mar 2023 04:09:25 GMT + - Fri, 11 Aug 2023 05:10:00 GMT expires: - '-1' pragma: @@ -1002,14 +1198,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d36d9f43-a32d-4918-b4b4-36cf0836985d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cc7a88a1-9adc-403c-9a58-49f5e78e2157?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"439f6dd3-2da3-1849-b4b4-36cf0836985d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-03-29T04:08:26.0436149Z\"\n }" + string: "{\n \"name\": \"a1887acc-dc9a-3c40-9a58-49f5e78e2157\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:09:29.9393989Z\"\n }" headers: cache-control: - no-cache @@ -1018,7 +1214,7 @@ interactions: content-type: - application/json date: - - Wed, 29 Mar 2023 04:09:56 GMT + - Fri, 11 Aug 2023 05:10:30 GMT expires: - '-1' pragma: @@ -1050,14 +1246,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d36d9f43-a32d-4918-b4b4-36cf0836985d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cc7a88a1-9adc-403c-9a58-49f5e78e2157?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"439f6dd3-2da3-1849-b4b4-36cf0836985d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-03-29T04:08:26.0436149Z\"\n }" + string: "{\n \"name\": \"a1887acc-dc9a-3c40-9a58-49f5e78e2157\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:09:29.9393989Z\"\n }" headers: cache-control: - no-cache @@ -1066,7 +1262,7 @@ interactions: content-type: - application/json date: - - Wed, 29 Mar 2023 04:10:26 GMT + - Fri, 11 Aug 2023 05:11:00 GMT expires: - '-1' pragma: @@ -1098,14 +1294,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d36d9f43-a32d-4918-b4b4-36cf0836985d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cc7a88a1-9adc-403c-9a58-49f5e78e2157?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"439f6dd3-2da3-1849-b4b4-36cf0836985d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-03-29T04:08:26.0436149Z\"\n }" + string: "{\n \"name\": \"a1887acc-dc9a-3c40-9a58-49f5e78e2157\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:09:29.9393989Z\"\n }" headers: cache-control: - no-cache @@ -1114,7 +1310,7 @@ interactions: content-type: - application/json date: - - Wed, 29 Mar 2023 04:10:56 GMT + - Fri, 11 Aug 2023 05:11:30 GMT expires: - '-1' pragma: @@ -1146,24 +1342,23 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d36d9f43-a32d-4918-b4b4-36cf0836985d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cc7a88a1-9adc-403c-9a58-49f5e78e2157?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"439f6dd3-2da3-1849-b4b4-36cf0836985d\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2023-03-29T04:08:26.0436149Z\",\n \"endTime\": - \"2023-03-29T04:11:18.582683Z\"\n }" + string: "{\n \"name\": \"a1887acc-dc9a-3c40-9a58-49f5e78e2157\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:09:29.9393989Z\"\n }" headers: cache-control: - no-cache content-length: - - '169' + - '126' content-type: - application/json date: - - Wed, 29 Mar 2023 04:11:26 GMT + - Fri, 11 Aug 2023 05:12:01 GMT expires: - '-1' pragma: @@ -1195,8 +1390,105 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cc7a88a1-9adc-403c-9a58-49f5e78e2157?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"a1887acc-dc9a-3c40-9a58-49f5e78e2157\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:09:29.9393989Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 05:12:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks mesh enable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/cc7a88a1-9adc-403c-9a58-49f5e78e2157?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"a1887acc-dc9a-3c40-9a58-49f5e78e2157\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2023-08-11T05:09:29.9393989Z\",\n \"endTime\": + \"2023-08-11T05:12:43.7596732Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 05:13: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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks mesh enable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview response: @@ -1205,58 +1497,60 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.24.10\",\n \"currentKubernetesVersion\": \"1.24.10\",\n \"dnsPrefix\": - \"cliakstest-clitesttmikv2trb-26fe00\",\n \"fqdn\": \"cliakstest-clitesttmikv2trb-26fe00-bug9qq0e.hcp.westus2.staging.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttmikv2trb-26fe00-bug9qq0e.portal.hcp.westus2.staging.azmk8s.io\",\n + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest4lme2jdu7-79a739\",\n \"fqdn\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.24.10\",\n \"currentOrchestratorVersion\": \"1.24.10\",\n \"enableNodePublicIP\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-202303.22.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\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 \"servicePrincipalProfile\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdnsZjt40SjW5ynHWJw0xnRToxyK8gQnO5ZknyNxwwnMwv6LE9Ce364ZM+Tdy7zkx+HZmEyXdGAD1Wd0biLwONaTpKlZQ+qkrF8D+SCgiRThw2FeE0+krCSXgqeo4BIqYMN16eU1dqNyBaepNCZek+YURgnoVOoyEkl75OMTuPSvQJMs9/mO+q8dMTkwwWMwWywhb9QaeeGnPwbnNVWyvZlrf5fwXw3GMU3rsWIrSB+kdNJzPDQq1yzcDbS3F5UVp5duoCKBgkJi45GAoREo6hkrHyP4JmXgv1SsmJqz2NbSG583GR+5USkZND5RhwUEFdqazW1vVZUUBmknP5Uvpb + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/0f37e1e5-8683-4a19-8c10-354da47b12a4\"\n + \ \"enablePodSecurityPolicy\": false,\n \"supportPlan\": \"KubernetesOfficial\",\n + \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": + \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": + {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/2c6f3b80-2793-4f57-b995-7ebdd487ca0e\"\n \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + \ }\n },\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"nodeResourceGroupProfile\": - {\n \"restrictionLevel\": \"Unrestricted\"\n },\n \"workloadAutoScalerProfile\": + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": {},\n \"serviceMeshProfile\": {\n \"mode\": \"Istio\",\n \"istio\": - {\n \"components\": {}\n }\n }\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + {\n \"components\": {},\n \"revisions\": [\n \"asm-1-17\"\n ]\n + \ }\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4653' + - '4408' content-type: - application/json date: - - Wed, 29 Mar 2023 04:11:26 GMT + - Fri, 11 Aug 2023 05:13:05 GMT expires: - '-1' pragma: @@ -1288,8 +1582,8 @@ interactions: ParameterSetName: - --resource-group --name --yes User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview response: @@ -1298,58 +1592,60 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.24.10\",\n \"currentKubernetesVersion\": \"1.24.10\",\n \"dnsPrefix\": - \"cliakstest-clitesttmikv2trb-26fe00\",\n \"fqdn\": \"cliakstest-clitesttmikv2trb-26fe00-bug9qq0e.hcp.westus2.staging.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttmikv2trb-26fe00-bug9qq0e.portal.hcp.westus2.staging.azmk8s.io\",\n + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest4lme2jdu7-79a739\",\n \"fqdn\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.24.10\",\n \"currentOrchestratorVersion\": \"1.24.10\",\n \"enableNodePublicIP\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-202303.22.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\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 \"servicePrincipalProfile\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdnsZjt40SjW5ynHWJw0xnRToxyK8gQnO5ZknyNxwwnMwv6LE9Ce364ZM+Tdy7zkx+HZmEyXdGAD1Wd0biLwONaTpKlZQ+qkrF8D+SCgiRThw2FeE0+krCSXgqeo4BIqYMN16eU1dqNyBaepNCZek+YURgnoVOoyEkl75OMTuPSvQJMs9/mO+q8dMTkwwWMwWywhb9QaeeGnPwbnNVWyvZlrf5fwXw3GMU3rsWIrSB+kdNJzPDQq1yzcDbS3F5UVp5duoCKBgkJi45GAoREo6hkrHyP4JmXgv1SsmJqz2NbSG583GR+5USkZND5RhwUEFdqazW1vVZUUBmknP5Uvpb + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/0f37e1e5-8683-4a19-8c10-354da47b12a4\"\n + \ \"enablePodSecurityPolicy\": false,\n \"supportPlan\": \"KubernetesOfficial\",\n + \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": + \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": + {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/2c6f3b80-2793-4f57-b995-7ebdd487ca0e\"\n \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + \ }\n },\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"nodeResourceGroupProfile\": - {\n \"restrictionLevel\": \"Unrestricted\"\n },\n \"workloadAutoScalerProfile\": + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": {},\n \"serviceMeshProfile\": {\n \"mode\": \"Istio\",\n \"istio\": - {\n \"components\": {}\n }\n }\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + {\n \"components\": {},\n \"revisions\": [\n \"asm-1-17\"\n ]\n + \ }\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4653' + - '4408' content-type: - application/json date: - - Wed, 29 Mar 2023 04:11:30 GMT + - Fri, 11 Aug 2023 05:13:07 GMT expires: - '-1' pragma: @@ -1369,31 +1665,31 @@ interactions: message: OK - request: body: '{"location": "westus2", "sku": {"name": "Base", "tier": "Free"}, "identity": - {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.24.10", "dnsPrefix": - "cliakstest-clitesttmikv2trb-26fe00", "agentPoolProfiles": [{"count": 3, "vmSize": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.26.6", "dnsPrefix": + "cliakstest-clitest4lme2jdu7-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", - "mode": "System", "orchestratorVersion": "1.24.10", "upgradeSettings": {}, "powerState": + "mode": "System", "orchestratorVersion": "1.26.6", "upgradeSettings": {}, "powerState": {"code": "Running"}, "enableNodePublicIP": false, "enableCustomCATrust": false, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, - "networkProfile": {}, "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"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + "networkProfile": {}, "securityProfile": {"sshAccess": "LocalUser"}, "name": + "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": + [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdnsZjt40SjW5ynHWJw0xnRToxyK8gQnO5ZknyNxwwnMwv6LE9Ce364ZM+Tdy7zkx+HZmEyXdGAD1Wd0biLwONaTpKlZQ+qkrF8D+SCgiRThw2FeE0+krCSXgqeo4BIqYMN16eU1dqNyBaepNCZek+YURgnoVOoyEkl75OMTuPSvQJMs9/mO+q8dMTkwwWMwWywhb9QaeeGnPwbnNVWyvZlrf5fwXw3GMU3rsWIrSB+kdNJzPDQq1yzcDbS3F5UVp5duoCKBgkJi45GAoREo6hkrHyP4JmXgv1SsmJqz2NbSG583GR+5USkZND5RhwUEFdqazW1vVZUUBmknP5Uvpb + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "oidcIssuerProfile": {"enabled": false}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", - "nodeResourceGroupProfile": {"restrictionLevel": "Unrestricted"}, "enableRBAC": - true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "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, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/0f37e1e5-8683-4a19-8c10-354da47b12a4"}], + "10.0.0.10", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", + "loadBalancerProfile": {"managedOutboundIPs": {"count": 1, "countIPv6": 0}, + "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/2c6f3b80-2793-4f57-b995-7ebdd487ca0e"}], "backendPoolType": "nodeIPConfiguration"}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": - ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": - {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", + ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "autoUpgradeProfile": {"nodeOSUpgradeChannel": + "NodeImage"}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false, "securityProfile": {}, "storageProfile": {}, "workloadAutoScalerProfile": {}, "serviceMeshProfile": {"mode": "Disabled", - "istio": {"components": {}}}}}' + "istio": {"components": {}, "revisions": ["asm-1-17"]}}}}' headers: Accept: - application/json @@ -1404,14 +1700,14 @@ interactions: Connection: - keep-alive Content-Length: - - '3132' + - '2833' Content-Type: - application/json ParameterSetName: - --resource-group --name --yes User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview response: @@ -1420,60 +1716,62 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.24.10\",\n \"currentKubernetesVersion\": \"1.24.10\",\n \"dnsPrefix\": - \"cliakstest-clitesttmikv2trb-26fe00\",\n \"fqdn\": \"cliakstest-clitesttmikv2trb-26fe00-bug9qq0e.hcp.westus2.staging.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttmikv2trb-26fe00-bug9qq0e.portal.hcp.westus2.staging.azmk8s.io\",\n + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest4lme2jdu7-79a739\",\n \"fqdn\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.24.10\",\n \"currentOrchestratorVersion\": \"1.24.10\",\n \"enableNodePublicIP\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-202303.22.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\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 \"servicePrincipalProfile\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdnsZjt40SjW5ynHWJw0xnRToxyK8gQnO5ZknyNxwwnMwv6LE9Ce364ZM+Tdy7zkx+HZmEyXdGAD1Wd0biLwONaTpKlZQ+qkrF8D+SCgiRThw2FeE0+krCSXgqeo4BIqYMN16eU1dqNyBaepNCZek+YURgnoVOoyEkl75OMTuPSvQJMs9/mO+q8dMTkwwWMwWywhb9QaeeGnPwbnNVWyvZlrf5fwXw3GMU3rsWIrSB+kdNJzPDQq1yzcDbS3F5UVp5duoCKBgkJi45GAoREo6hkrHyP4JmXgv1SsmJqz2NbSG583GR+5USkZND5RhwUEFdqazW1vVZUUBmknP5Uvpb + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/0f37e1e5-8683-4a19-8c10-354da47b12a4\"\n + \ \"enablePodSecurityPolicy\": false,\n \"supportPlan\": \"KubernetesOfficial\",\n + \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": + \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": + {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/2c6f3b80-2793-4f57-b995-7ebdd487ca0e\"\n \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + \ }\n },\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"nodeResourceGroupProfile\": - {\n \"restrictionLevel\": \"Unrestricted\"\n },\n \"workloadAutoScalerProfile\": + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": {},\n \"serviceMeshProfile\": {\n \"mode\": \"Disabled\",\n \"istio\": - {\n \"components\": {}\n }\n }\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + {\n \"components\": {},\n \"revisions\": [\n \"asm-1-17\"\n ]\n + \ }\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3aeee75-52bc-4fca-a297-be16253bd3e7?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d66356d0-2e2a-406b-992f-fc44509aece0?api-version=2016-03-30 cache-control: - no-cache content-length: - - '4654' + - '4409' content-type: - application/json date: - - Wed, 29 Mar 2023 04:11:33 GMT + - Fri, 11 Aug 2023 05:13:11 GMT expires: - '-1' pragma: @@ -1507,23 +1805,167 @@ interactions: ParameterSetName: - --resource-group --name --yes User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d66356d0-2e2a-406b-992f-fc44509aece0?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"d05663d6-2a2e-6b40-992f-fc44509aece0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:13:11.5805712Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 05:13: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 mesh disable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --yes + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d66356d0-2e2a-406b-992f-fc44509aece0?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"d05663d6-2a2e-6b40-992f-fc44509aece0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:13:11.5805712Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 05:13: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 mesh disable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --yes + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d66356d0-2e2a-406b-992f-fc44509aece0?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"d05663d6-2a2e-6b40-992f-fc44509aece0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:13:11.5805712Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 05:14: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 mesh disable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --yes + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3aeee75-52bc-4fca-a297-be16253bd3e7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d66356d0-2e2a-406b-992f-fc44509aece0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"75eeaec3-bc52-ca4f-a297-be16253bd3e7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-03-29T04:11:33.778315Z\"\n }" + string: "{\n \"name\": \"d05663d6-2a2e-6b40-992f-fc44509aece0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:13:11.5805712Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Wed, 29 Mar 2023 04:12:03 GMT + - Fri, 11 Aug 2023 05:14:41 GMT expires: - '-1' pragma: @@ -1555,23 +1997,23 @@ interactions: ParameterSetName: - --resource-group --name --yes User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3aeee75-52bc-4fca-a297-be16253bd3e7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d66356d0-2e2a-406b-992f-fc44509aece0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"75eeaec3-bc52-ca4f-a297-be16253bd3e7\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-03-29T04:11:33.778315Z\"\n }" + string: "{\n \"name\": \"d05663d6-2a2e-6b40-992f-fc44509aece0\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T05:13:11.5805712Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Wed, 29 Mar 2023 04:12:33 GMT + - Fri, 11 Aug 2023 05:15:11 GMT expires: - '-1' pragma: @@ -1603,24 +2045,24 @@ interactions: ParameterSetName: - --resource-group --name --yes User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3aeee75-52bc-4fca-a297-be16253bd3e7?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d66356d0-2e2a-406b-992f-fc44509aece0?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"75eeaec3-bc52-ca4f-a297-be16253bd3e7\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2023-03-29T04:11:33.778315Z\",\n \"endTime\": - \"2023-03-29T04:12:50.5646253Z\"\n }" + string: "{\n \"name\": \"d05663d6-2a2e-6b40-992f-fc44509aece0\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2023-08-11T05:13:11.5805712Z\",\n \"endTime\": + \"2023-08-11T05:15:13.7455849Z\"\n }" headers: cache-control: - no-cache content-length: - - '169' + - '170' content-type: - application/json date: - - Wed, 29 Mar 2023 04:13:03 GMT + - Fri, 11 Aug 2023 05:15:41 GMT expires: - '-1' pragma: @@ -1652,8 +2094,8 @@ interactions: ParameterSetName: - --resource-group --name --yes User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview response: @@ -1662,58 +2104,60 @@ interactions: \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.24.10\",\n \"currentKubernetesVersion\": \"1.24.10\",\n \"dnsPrefix\": - \"cliakstest-clitesttmikv2trb-26fe00\",\n \"fqdn\": \"cliakstest-clitesttmikv2trb-26fe00-bug9qq0e.hcp.westus2.staging.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttmikv2trb-26fe00-bug9qq0e.portal.hcp.westus2.staging.azmk8s.io\",\n + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest4lme2jdu7-79a739\",\n \"fqdn\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest4lme2jdu7-79a739-28ls3mc0.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.24.10\",\n \"currentOrchestratorVersion\": \"1.24.10\",\n \"enableNodePublicIP\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-202303.22.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\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 \"servicePrincipalProfile\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCdnsZjt40SjW5ynHWJw0xnRToxyK8gQnO5ZknyNxwwnMwv6LE9Ce364ZM+Tdy7zkx+HZmEyXdGAD1Wd0biLwONaTpKlZQ+qkrF8D+SCgiRThw2FeE0+krCSXgqeo4BIqYMN16eU1dqNyBaepNCZek+YURgnoVOoyEkl75OMTuPSvQJMs9/mO+q8dMTkwwWMwWywhb9QaeeGnPwbnNVWyvZlrf5fwXw3GMU3rsWIrSB+kdNJzPDQq1yzcDbS3F5UVp5duoCKBgkJi45GAoREo6hkrHyP4JmXgv1SsmJqz2NbSG583GR+5USkZND5RhwUEFdqazW1vVZUUBmknP5Uvpb + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/0f37e1e5-8683-4a19-8c10-354da47b12a4\"\n + \ \"enablePodSecurityPolicy\": false,\n \"supportPlan\": \"KubernetesOfficial\",\n + \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": + \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": + {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/2c6f3b80-2793-4f57-b995-7ebdd487ca0e\"\n \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n - \ \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n - \ \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n - \ ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": - [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": - {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + \ }\n },\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"nodeResourceGroupProfile\": - {\n \"restrictionLevel\": \"Unrestricted\"\n },\n \"workloadAutoScalerProfile\": + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": {},\n \"serviceMeshProfile\": {\n \"mode\": \"Disabled\",\n \"istio\": - {\n \"components\": {}\n }\n }\n },\n \"identity\": {\n \"type\": - \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + {\n \"components\": {},\n \"revisions\": [\n \"asm-1-17\"\n ]\n + \ }\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4656' + - '4411' content-type: - application/json date: - - Wed, 29 Mar 2023 04:13:04 GMT + - Fri, 11 Aug 2023 05:15:42 GMT expires: - '-1' pragma: @@ -1747,8 +2191,8 @@ interactions: ParameterSetName: - --resource-group --name --yes --no-wait User-Agent: - - AZURECLI/2.46.0 azsdk-python-azure-mgmt-containerservice/21.2.0b Python/3.9.6 - (macOS-13.2.1-arm64-arm-64bit) + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview response: @@ -1756,17 +2200,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3f7e66ab-d5d8-43c9-ac0b-a9ea5c805e0a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ada19c7e-ba0a-4a7e-9d41-31bf55fc99fb?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Wed, 29 Mar 2023 04:13:05 GMT + - Fri, 11 Aug 2023 05:15:44 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/3f7e66ab-d5d8-43c9-ac0b-a9ea5c805e0a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/ada19c7e-ba0a-4a7e-9d41-31bf55fc99fb?api-version=2016-03-30 pragma: - no-cache server: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_azure_service_mesh_with_pluginca.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_azure_service_mesh_with_pluginca.yaml new file mode 100755 index 00000000000..78b761713af --- /dev/null +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_azure_service_mesh_with_pluginca.yaml @@ -0,0 +1,2266 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --aks-custom-headers --ssh-key-value + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.ContainerService/managedClusters/cliakstest000001'' + under resource group ''clitest000001'' was not found. For more details please + go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '244' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 11 Aug 2023 00:24:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest45orrlptn-79a739", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": + 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": + false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": + "", "upgradeSettings": {}, "enableNodePublicIP": false, "enableCustomCATrust": + false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "networkProfile": {}, "name": "nodepool1"}], "linuxProfile": + {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzM8bN9NX7Cjwm0VxJnbn9iaqjfDQXcJy2kiMQ3aMCtXFcpnLT5vJ2vOTLNn747PWl2KvbibzM0jQDVRzTdQFh6TxORXQDy3S6Ri2dZ0wA07hd6G/OZyZdTQ6QYcEUhYmNaoLZMtUNO/V1OFCGvWQmwEgKcz6jJcTgji2ua04gstEKv3byLk6xRERhludSwPZkZKntqmfGPsVr1W9G8eOkNiOvENdjlKM+obLGER42T8xQ7TXdE825BkLP2HkYASIQI7K4fn+PhN7Fo+R773Prtg/hoRs99RuIT3ij0QvwTEgFFcyHjt4P4RReeNo84mKUmqfkIbCSCWORFzSnjcaJ + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, + "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", + "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", + "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": + false, "storageProfile": {}}}' + headers: + AKSHTTPCustomFeatures: + - Microsoft.ContainerService/AzureServiceMeshPreview + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + Content-Length: + - '1543' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --location --aks-custom-headers --ssh-key-value + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest45orrlptn-79a739\",\n \"fqdn\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\n }\n ],\n \"linuxProfile\": + {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzM8bN9NX7Cjwm0VxJnbn9iaqjfDQXcJy2kiMQ3aMCtXFcpnLT5vJ2vOTLNn747PWl2KvbibzM0jQDVRzTdQFh6TxORXQDy3S6Ri2dZ0wA07hd6G/OZyZdTQ6QYcEUhYmNaoLZMtUNO/V1OFCGvWQmwEgKcz6jJcTgji2ua04gstEKv3byLk6xRERhludSwPZkZKntqmfGPsVr1W9G8eOkNiOvENdjlKM+obLGER42T8xQ7TXdE825BkLP2HkYASIQI7K4fn+PhN7Fo+R773Prtg/hoRs99RuIT3ij0QvwTEgFFcyHjt4P4RReeNo84mKUmqfkIbCSCWORFzSnjcaJ + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"supportPlan\": \"KubernetesOfficial\",\n + \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": + \"standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": + {\n \"count\": 1\n },\n \"backendPoolType\": \"nodeIPConfiguration\"\n + \ },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": + true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": + {}\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\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7bc4a81-ae07-4322-8973-be33b21dea80?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '3613' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:24:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --aks-custom-headers --ssh-key-value + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7bc4a81-ae07-4322-8973-be33b21dea80?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"814abcd7-07ae-2243-8973-be33b21dea80\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:24:33.9903926Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:24:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --aks-custom-headers --ssh-key-value + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7bc4a81-ae07-4322-8973-be33b21dea80?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"814abcd7-07ae-2243-8973-be33b21dea80\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:24:33.9903926Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:25: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 --aks-custom-headers --ssh-key-value + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7bc4a81-ae07-4322-8973-be33b21dea80?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"814abcd7-07ae-2243-8973-be33b21dea80\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:24:33.9903926Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:25:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --aks-custom-headers --ssh-key-value + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7bc4a81-ae07-4322-8973-be33b21dea80?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"814abcd7-07ae-2243-8973-be33b21dea80\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:24:33.9903926Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:26: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 --aks-custom-headers --ssh-key-value + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7bc4a81-ae07-4322-8973-be33b21dea80?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"814abcd7-07ae-2243-8973-be33b21dea80\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:24:33.9903926Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:26:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --aks-custom-headers --ssh-key-value + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7bc4a81-ae07-4322-8973-be33b21dea80?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"814abcd7-07ae-2243-8973-be33b21dea80\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:24:33.9903926Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:27: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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --aks-custom-headers --ssh-key-value + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7bc4a81-ae07-4322-8973-be33b21dea80?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"814abcd7-07ae-2243-8973-be33b21dea80\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:24:33.9903926Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:27:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --aks-custom-headers --ssh-key-value + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7bc4a81-ae07-4322-8973-be33b21dea80?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"814abcd7-07ae-2243-8973-be33b21dea80\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:24:33.9903926Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:28: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 --aks-custom-headers --ssh-key-value + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7bc4a81-ae07-4322-8973-be33b21dea80?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"814abcd7-07ae-2243-8973-be33b21dea80\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:24:33.9903926Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:28:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --aks-custom-headers --ssh-key-value + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7bc4a81-ae07-4322-8973-be33b21dea80?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"814abcd7-07ae-2243-8973-be33b21dea80\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:24:33.9903926Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:29: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 --aks-custom-headers --ssh-key-value + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7bc4a81-ae07-4322-8973-be33b21dea80?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"814abcd7-07ae-2243-8973-be33b21dea80\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:24:33.9903926Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:29:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --aks-custom-headers --ssh-key-value + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7bc4a81-ae07-4322-8973-be33b21dea80?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"814abcd7-07ae-2243-8973-be33b21dea80\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2023-08-11T00:24:33.9903926Z\",\n \"endTime\": + \"2023-08-11T00:29:53.5033343Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:30:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --aks-custom-headers --ssh-key-value + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest45orrlptn-79a739\",\n \"fqdn\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\n }\n ],\n \"linuxProfile\": + {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzM8bN9NX7Cjwm0VxJnbn9iaqjfDQXcJy2kiMQ3aMCtXFcpnLT5vJ2vOTLNn747PWl2KvbibzM0jQDVRzTdQFh6TxORXQDy3S6Ri2dZ0wA07hd6G/OZyZdTQ6QYcEUhYmNaoLZMtUNO/V1OFCGvWQmwEgKcz6jJcTgji2ua04gstEKv3byLk6xRERhludSwPZkZKntqmfGPsVr1W9G8eOkNiOvENdjlKM+obLGER42T8xQ7TXdE825BkLP2HkYASIQI7K4fn+PhN7Fo+R773Prtg/hoRs99RuIT3ij0QvwTEgFFcyHjt4P4RReeNo84mKUmqfkIbCSCWORFzSnjcaJ + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"supportPlan\": \"KubernetesOfficial\",\n + \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": + \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": + {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/a99a9a83-3b39-49f8-8828-3a60dccb6453\"\n + \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": + true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": + {}\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\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '4266' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:30:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks enable-addons + Connection: + - keep-alive + ParameterSetName: + - --addons --resource-group --name -o + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest45orrlptn-79a739\",\n \"fqdn\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\n }\n ],\n \"linuxProfile\": + {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzM8bN9NX7Cjwm0VxJnbn9iaqjfDQXcJy2kiMQ3aMCtXFcpnLT5vJ2vOTLNn747PWl2KvbibzM0jQDVRzTdQFh6TxORXQDy3S6Ri2dZ0wA07hd6G/OZyZdTQ6QYcEUhYmNaoLZMtUNO/V1OFCGvWQmwEgKcz6jJcTgji2ua04gstEKv3byLk6xRERhludSwPZkZKntqmfGPsVr1W9G8eOkNiOvENdjlKM+obLGER42T8xQ7TXdE825BkLP2HkYASIQI7K4fn+PhN7Fo+R773Prtg/hoRs99RuIT3ij0QvwTEgFFcyHjt4P4RReeNo84mKUmqfkIbCSCWORFzSnjcaJ + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000001_westus2\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"supportPlan\": \"KubernetesOfficial\",\n + \ \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": + \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": + {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/a99a9a83-3b39-49f8-8828-3a60dccb6453\"\n + \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": + true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": + {}\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\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '4266' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:30:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus2", "sku": {"name": "Base", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.26.6", "dnsPrefix": + "cliakstest-clitest45orrlptn-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", + "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.26.6", "upgradeSettings": {}, "powerState": + {"code": "Running"}, "enableNodePublicIP": false, "enableCustomCATrust": false, + "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, + "networkProfile": {}, "securityProfile": {"sshAccess": "LocalUser"}, "name": + "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": + [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzM8bN9NX7Cjwm0VxJnbn9iaqjfDQXcJy2kiMQ3aMCtXFcpnLT5vJ2vOTLNn747PWl2KvbibzM0jQDVRzTdQFh6TxORXQDy3S6Ri2dZ0wA07hd6G/OZyZdTQ6QYcEUhYmNaoLZMtUNO/V1OFCGvWQmwEgKcz6jJcTgji2ua04gstEKv3byLk6xRERhludSwPZkZKntqmfGPsVr1W9G8eOkNiOvENdjlKM+obLGER42T8xQ7TXdE825BkLP2HkYASIQI7K4fn+PhN7Fo+R773Prtg/hoRs99RuIT3ij0QvwTEgFFcyHjt4P4RReeNo84mKUmqfkIbCSCWORFzSnjcaJ + azcli_aks_live_test@example.com\n"}]}}, "addonProfiles": {"azureKeyvaultSecretsProvider": + {"enabled": true, "config": {"enableSecretRotation": "false", "rotationPollInterval": + "2m"}}}, "oidcIssuerProfile": {"enabled": false}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", + "enableRBAC": true, "supportPlan": "KubernetesOfficial", "enablePodSecurityPolicy": + false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "outboundType": "loadBalancer", + "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": + {"count": 1}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/a99a9a83-3b39-49f8-8828-3a60dccb6453"}], + "backendPoolType": "nodeIPConfiguration"}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": + ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "autoUpgradeProfile": {"nodeOSUpgradeChannel": + "NodeImage"}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", + "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, + "disableLocalAccounts": false, "securityProfile": {}, "storageProfile": {"diskCSIDriver": + {"enabled": true, "version": "v1"}, "fileCSIDriver": {"enabled": true}, "snapshotController": + {"enabled": true}}, "workloadAutoScalerProfile": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks enable-addons + Connection: + - keep-alive + Content-Length: + - '2947' + Content-Type: + - application/json + ParameterSetName: + - --addons --resource-group --name -o + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest45orrlptn-79a739\",\n \"fqdn\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\n }\n ],\n \"linuxProfile\": + {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzM8bN9NX7Cjwm0VxJnbn9iaqjfDQXcJy2kiMQ3aMCtXFcpnLT5vJ2vOTLNn747PWl2KvbibzM0jQDVRzTdQFh6TxORXQDy3S6Ri2dZ0wA07hd6G/OZyZdTQ6QYcEUhYmNaoLZMtUNO/V1OFCGvWQmwEgKcz6jJcTgji2ua04gstEKv3byLk6xRERhludSwPZkZKntqmfGPsVr1W9G8eOkNiOvENdjlKM+obLGER42T8xQ7TXdE825BkLP2HkYASIQI7K4fn+PhN7Fo+R773Prtg/hoRs99RuIT3ij0QvwTEgFFcyHjt4P4RReeNo84mKUmqfkIbCSCWORFzSnjcaJ + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": + {\n \"enableSecretRotation\": \"false\",\n \"rotationPollInterval\": + \"2m\"\n }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"supportPlan\": + \"KubernetesOfficial\",\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/a99a9a83-3b39-49f8-8828-3a60dccb6453\"\n + \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": + true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": + {}\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\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3935214-a43c-4a5e-adb9-908c1c8bec20?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '4456' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:30: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 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks enable-addons + Connection: + - keep-alive + ParameterSetName: + - --addons --resource-group --name -o + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3935214-a43c-4a5e-adb9-908c1c8bec20?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"145293c3-3ca4-5e4a-adb9-908c1c8bec20\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:30:12.0693571Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:30: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 enable-addons + Connection: + - keep-alive + ParameterSetName: + - --addons --resource-group --name -o + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3935214-a43c-4a5e-adb9-908c1c8bec20?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"145293c3-3ca4-5e4a-adb9-908c1c8bec20\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:30:12.0693571Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:30: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 enable-addons + Connection: + - keep-alive + ParameterSetName: + - --addons --resource-group --name -o + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3935214-a43c-4a5e-adb9-908c1c8bec20?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"145293c3-3ca4-5e4a-adb9-908c1c8bec20\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:30:12.0693571Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00: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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks enable-addons + Connection: + - keep-alive + ParameterSetName: + - --addons --resource-group --name -o + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3935214-a43c-4a5e-adb9-908c1c8bec20?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"145293c3-3ca4-5e4a-adb9-908c1c8bec20\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:30:12.0693571Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:31: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 enable-addons + Connection: + - keep-alive + ParameterSetName: + - --addons --resource-group --name -o + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c3935214-a43c-4a5e-adb9-908c1c8bec20?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"145293c3-3ca4-5e4a-adb9-908c1c8bec20\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2023-08-11T00:30:12.0693571Z\",\n \"endTime\": + \"2023-08-11T00:31:53.9379083Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:32: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 enable-addons + Connection: + - keep-alive + ParameterSetName: + - --addons --resource-group --name -o + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest45orrlptn-79a739\",\n \"fqdn\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\n }\n ],\n \"linuxProfile\": + {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzM8bN9NX7Cjwm0VxJnbn9iaqjfDQXcJy2kiMQ3aMCtXFcpnLT5vJ2vOTLNn747PWl2KvbibzM0jQDVRzTdQFh6TxORXQDy3S6Ri2dZ0wA07hd6G/OZyZdTQ6QYcEUhYmNaoLZMtUNO/V1OFCGvWQmwEgKcz6jJcTgji2ua04gstEKv3byLk6xRERhludSwPZkZKntqmfGPsVr1W9G8eOkNiOvENdjlKM+obLGER42T8xQ7TXdE825BkLP2HkYASIQI7K4fn+PhN7Fo+R773Prtg/hoRs99RuIT3ij0QvwTEgFFcyHjt4P4RReeNo84mKUmqfkIbCSCWORFzSnjcaJ + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": + {\n \"enableSecretRotation\": \"false\",\n \"rotationPollInterval\": + \"2m\"\n },\n \"identity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/azurekeyvaultsecretsprovider-cliakstest000001\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"supportPlan\": + \"KubernetesOfficial\",\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/a99a9a83-3b39-49f8-8828-3a60dccb6453\"\n + \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": + true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": + {}\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\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '4835' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:32:12 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks mesh enable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --key-vault-id --ca-cert-object-name --ca-key-object-name + --cert-chain-object-name --root-cert-object-name + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest45orrlptn-79a739\",\n \"fqdn\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\n }\n ],\n \"linuxProfile\": + {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzM8bN9NX7Cjwm0VxJnbn9iaqjfDQXcJy2kiMQ3aMCtXFcpnLT5vJ2vOTLNn747PWl2KvbibzM0jQDVRzTdQFh6TxORXQDy3S6Ri2dZ0wA07hd6G/OZyZdTQ6QYcEUhYmNaoLZMtUNO/V1OFCGvWQmwEgKcz6jJcTgji2ua04gstEKv3byLk6xRERhludSwPZkZKntqmfGPsVr1W9G8eOkNiOvENdjlKM+obLGER42T8xQ7TXdE825BkLP2HkYASIQI7K4fn+PhN7Fo+R773Prtg/hoRs99RuIT3ij0QvwTEgFFcyHjt4P4RReeNo84mKUmqfkIbCSCWORFzSnjcaJ + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": + {\n \"enableSecretRotation\": \"false\",\n \"rotationPollInterval\": + \"2m\"\n },\n \"identity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/azurekeyvaultsecretsprovider-cliakstest000001\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"supportPlan\": + \"KubernetesOfficial\",\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/a99a9a83-3b39-49f8-8828-3a60dccb6453\"\n + \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": + true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": + {}\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\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '4835' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:32:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks mesh enable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --key-vault-id --ca-cert-object-name --ca-key-object-name + --cert-chain-object-name --root-cert-object-name + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest45orrlptn-79a739\",\n \"fqdn\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\n }\n ],\n \"linuxProfile\": + {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzM8bN9NX7Cjwm0VxJnbn9iaqjfDQXcJy2kiMQ3aMCtXFcpnLT5vJ2vOTLNn747PWl2KvbibzM0jQDVRzTdQFh6TxORXQDy3S6Ri2dZ0wA07hd6G/OZyZdTQ6QYcEUhYmNaoLZMtUNO/V1OFCGvWQmwEgKcz6jJcTgji2ua04gstEKv3byLk6xRERhludSwPZkZKntqmfGPsVr1W9G8eOkNiOvENdjlKM+obLGER42T8xQ7TXdE825BkLP2HkYASIQI7K4fn+PhN7Fo+R773Prtg/hoRs99RuIT3ij0QvwTEgFFcyHjt4P4RReeNo84mKUmqfkIbCSCWORFzSnjcaJ + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": + {\n \"enableSecretRotation\": \"false\",\n \"rotationPollInterval\": + \"2m\"\n },\n \"identity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/azurekeyvaultsecretsprovider-cliakstest000001\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"supportPlan\": + \"KubernetesOfficial\",\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/a99a9a83-3b39-49f8-8828-3a60dccb6453\"\n + \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": + true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": + {}\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\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '4835' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:32: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: '{"location": "westus2", "sku": {"name": "Base", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.26.6", "dnsPrefix": + "cliakstest-clitest45orrlptn-79a739", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", + "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.26.6", "upgradeSettings": {}, "powerState": + {"code": "Running"}, "enableNodePublicIP": false, "enableCustomCATrust": false, + "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, + "networkProfile": {}, "securityProfile": {"sshAccess": "LocalUser"}, "name": + "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": + [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzM8bN9NX7Cjwm0VxJnbn9iaqjfDQXcJy2kiMQ3aMCtXFcpnLT5vJ2vOTLNn747PWl2KvbibzM0jQDVRzTdQFh6TxORXQDy3S6Ri2dZ0wA07hd6G/OZyZdTQ6QYcEUhYmNaoLZMtUNO/V1OFCGvWQmwEgKcz6jJcTgji2ua04gstEKv3byLk6xRERhludSwPZkZKntqmfGPsVr1W9G8eOkNiOvENdjlKM+obLGER42T8xQ7TXdE825BkLP2HkYASIQI7K4fn+PhN7Fo+R773Prtg/hoRs99RuIT3ij0QvwTEgFFcyHjt4P4RReeNo84mKUmqfkIbCSCWORFzSnjcaJ + azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + "addonProfiles": {"azureKeyvaultSecretsProvider": {"enabled": true, "config": + {"enableSecretRotation": "false", "rotationPollInterval": "2m"}}}, "oidcIssuerProfile": + {"enabled": false}, "nodeResourceGroup": "MC_clitest000001_cliakstest000001_westus2", + "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": + "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": + "10.0.0.10", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", + "loadBalancerProfile": {"managedOutboundIPs": {"count": 1, "countIPv6": 0}, + "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/a99a9a83-3b39-49f8-8828-3a60dccb6453"}], + "backendPoolType": "nodeIPConfiguration"}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": + ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "autoUpgradeProfile": {"nodeOSUpgradeChannel": + "NodeImage"}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool", + "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, + "disableLocalAccounts": false, "securityProfile": {}, "storageProfile": {}, + "workloadAutoScalerProfile": {}, "serviceMeshProfile": {"mode": "Istio", "istio": + {"certificateAuthority": {"plugin": {"keyVaultId": "my-akv-id", "certObjectName": + "my-ca-cert", "keyObjectName": "my-ca-key", "rootCertObjectName": "my-root-cert", + "certChainObjectName": "my-cert-chain"}}}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks mesh enable + Connection: + - keep-alive + Content-Length: + - '3135' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --key-vault-id --ca-cert-object-name --ca-key-object-name + --cert-chain-object-name --root-cert-object-name + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest45orrlptn-79a739\",\n \"fqdn\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\n }\n ],\n \"linuxProfile\": + {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzM8bN9NX7Cjwm0VxJnbn9iaqjfDQXcJy2kiMQ3aMCtXFcpnLT5vJ2vOTLNn747PWl2KvbibzM0jQDVRzTdQFh6TxORXQDy3S6Ri2dZ0wA07hd6G/OZyZdTQ6QYcEUhYmNaoLZMtUNO/V1OFCGvWQmwEgKcz6jJcTgji2ua04gstEKv3byLk6xRERhludSwPZkZKntqmfGPsVr1W9G8eOkNiOvENdjlKM+obLGER42T8xQ7TXdE825BkLP2HkYASIQI7K4fn+PhN7Fo+R773Prtg/hoRs99RuIT3ij0QvwTEgFFcyHjt4P4RReeNo84mKUmqfkIbCSCWORFzSnjcaJ + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": + {\n \"enableSecretRotation\": \"false\",\n \"rotationPollInterval\": + \"2m\"\n }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"supportPlan\": + \"KubernetesOfficial\",\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/a99a9a83-3b39-49f8-8828-3a60dccb6453\"\n + \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": + true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": + {},\n \"serviceMeshProfile\": {\n \"mode\": \"Istio\",\n \"istio\": + {\n \"components\": {},\n \"revisions\": [\n \"asm-1-17\"\n ],\n + \ \"certificateAuthority\": {\n \"plugin\": {\n \"rootCertObjectName\": + \"my-root-cert\",\n \"certObjectName\": \"my-ca-cert\",\n \"keyObjectName\": + \"my-ca-key\",\n \"certChainObjectName\": \"my-cert-chain\",\n \"keyVaultId\": + \"my-akv-id\"\n }\n }\n }\n }\n },\n \"identity\": {\n \"type\": + \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6e87e88a-40cd-4245-8a05-9e0093e93c37?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '4864' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:32: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 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks mesh enable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --key-vault-id --ca-cert-object-name --ca-key-object-name + --cert-chain-object-name --root-cert-object-name + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6e87e88a-40cd-4245-8a05-9e0093e93c37?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"8ae8876e-cd40-4542-8a05-9e0093e93c37\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:32:20.1634829Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:32: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 mesh enable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --key-vault-id --ca-cert-object-name --ca-key-object-name + --cert-chain-object-name --root-cert-object-name + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6e87e88a-40cd-4245-8a05-9e0093e93c37?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"8ae8876e-cd40-4542-8a05-9e0093e93c37\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:32:20.1634829Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:32: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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks mesh enable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --key-vault-id --ca-cert-object-name --ca-key-object-name + --cert-chain-object-name --root-cert-object-name + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6e87e88a-40cd-4245-8a05-9e0093e93c37?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"8ae8876e-cd40-4542-8a05-9e0093e93c37\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:32:20.1634829Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:33:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks mesh enable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --key-vault-id --ca-cert-object-name --ca-key-object-name + --cert-chain-object-name --root-cert-object-name + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6e87e88a-40cd-4245-8a05-9e0093e93c37?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"8ae8876e-cd40-4542-8a05-9e0093e93c37\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:32:20.1634829Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:33: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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks mesh enable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --key-vault-id --ca-cert-object-name --ca-key-object-name + --cert-chain-object-name --root-cert-object-name + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6e87e88a-40cd-4245-8a05-9e0093e93c37?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"8ae8876e-cd40-4542-8a05-9e0093e93c37\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:32:20.1634829Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:34:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks mesh enable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --key-vault-id --ca-cert-object-name --ca-key-object-name + --cert-chain-object-name --root-cert-object-name + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6e87e88a-40cd-4245-8a05-9e0093e93c37?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"8ae8876e-cd40-4542-8a05-9e0093e93c37\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:32:20.1634829Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:34: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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks mesh enable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --key-vault-id --ca-cert-object-name --ca-key-object-name + --cert-chain-object-name --root-cert-object-name + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6e87e88a-40cd-4245-8a05-9e0093e93c37?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"8ae8876e-cd40-4542-8a05-9e0093e93c37\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2023-08-11T00:32:20.1634829Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:35:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks mesh enable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --key-vault-id --ca-cert-object-name --ca-key-object-name + --cert-chain-object-name --root-cert-object-name + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/6e87e88a-40cd-4245-8a05-9e0093e93c37?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"8ae8876e-cd40-4542-8a05-9e0093e93c37\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2023-08-11T00:32:20.1634829Z\",\n \"endTime\": + \"2023-08-11T00:35:33.8254059Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:35: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: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks mesh enable + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --key-vault-id --ca-cert-object-name --ca-key-object-name + --cert-chain-object-name --root-cert-object-name + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\",\n + \ \"location\": \"westus2\",\n \"name\": \"cliakstest000001\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.26.6\",\n \"currentKubernetesVersion\": \"1.26.6\",\n \"dnsPrefix\": + \"cliakstest-clitest45orrlptn-79a739\",\n \"fqdn\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest45orrlptn-79a739-ikot7a3u.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.26.6\",\n \"currentOrchestratorVersion\": \"1.26.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-2204gen2containerd-202307.27.0\",\n \"upgradeSettings\": {},\n + \ \"enableFIPS\": false,\n \"networkProfile\": {},\n \"securityProfile\": + {\n \"sshAccess\": \"LocalUser\"\n }\n }\n ],\n \"linuxProfile\": + {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": + [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzM8bN9NX7Cjwm0VxJnbn9iaqjfDQXcJy2kiMQ3aMCtXFcpnLT5vJ2vOTLNn747PWl2KvbibzM0jQDVRzTdQFh6TxORXQDy3S6Ri2dZ0wA07hd6G/OZyZdTQ6QYcEUhYmNaoLZMtUNO/V1OFCGvWQmwEgKcz6jJcTgji2ua04gstEKv3byLk6xRERhludSwPZkZKntqmfGPsVr1W9G8eOkNiOvENdjlKM+obLGER42T8xQ7TXdE825BkLP2HkYASIQI7K4fn+PhN7Fo+R773Prtg/hoRs99RuIT3ij0QvwTEgFFcyHjt4P4RReeNo84mKUmqfkIbCSCWORFzSnjcaJ + azcli_aks_live_test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"addonProfiles\": + {\n \"azureKeyvaultSecretsProvider\": {\n \"enabled\": true,\n \"config\": + {\n \"enableSecretRotation\": \"false\",\n \"rotationPollInterval\": + \"2m\"\n },\n \"identity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/azurekeyvaultsecretsprovider-cliakstest000001\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n }\n },\n \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000001_westus2\",\n + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"supportPlan\": + \"KubernetesOfficial\",\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.Network/publicIPAddresses/a99a9a83-3b39-49f8-8828-3a60dccb6453\"\n + \ }\n ],\n \"backendPoolType\": \"nodeIPConfiguration\"\n },\n + \ \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n + \ \"dnsServiceIP\": \"10.0.0.10\",\n \"outboundType\": \"loadBalancer\",\n + \ \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": + {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000001_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000001-agentpool\",\n + \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n + \ }\n },\n \"autoUpgradeProfile\": {\n \"nodeOSUpgradeChannel\": + \"NodeImage\"\n },\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": + true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n + \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n },\n \"workloadAutoScalerProfile\": + {},\n \"serviceMeshProfile\": {\n \"mode\": \"Istio\",\n \"istio\": + {\n \"components\": {},\n \"revisions\": [\n \"asm-1-17\"\n ],\n + \ \"certificateAuthority\": {\n \"plugin\": {\n \"rootCertObjectName\": + \"my-root-cert\",\n \"certObjectName\": \"my-ca-cert\",\n \"keyObjectName\": + \"my-ca-key\",\n \"certChainObjectName\": \"my-cert-chain\",\n \"keyVaultId\": + \"my-akv-id\"\n }\n }\n }\n }\n },\n \"identity\": {\n \"type\": + \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Base\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '5243' + content-type: + - application/json + date: + - Fri, 11 Aug 2023 00:35:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-group --name --yes --no-wait + User-Agent: + - AZURECLI/2.51.0 azsdk-python-azure-mgmt-containerservice/24.0.0b Python/3.8.10 + (Linux-5.15.0-1042-azure-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=2023-06-02-preview + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/86a6f54d-dc74-4f3d-9f54-e3aa65259a27?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 11 Aug 2023 00:35:53 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/86a6f54d-dc74-4f3d-9f54-e3aa65259a27?api-version=2016-03-30 + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +version: 1 diff --git a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py index 34bc4267d88..75b6f6bd92e 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 @@ -7294,6 +7294,66 @@ def test_aks_azure_service_mesh_with_ingress_gateway(self, resource_group, resou self.is_empty(), ]) + @AllowLargeResponse() + @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') + def test_aks_azure_service_mesh_with_pluginca(self, resource_group, resource_group_location): + """ This test case exercises providing plugin ca params with mesh enable command. + + It creates a cluster, enables azure service mesh with plugica params, then disable it. + """ + + # 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, + 'location': resource_group_location, + 'ssh_key_value': self.generate_ssh_keys(), + }) + + # create cluster + create_cmd = 'aks create --resource-group={resource_group} --name={name} --location={location} ' \ + '--aks-custom-headers=AKSHTTPCustomFeatures=Microsoft.ContainerService/AzureServiceMeshPreview ' \ + '--ssh-key-value={ssh_key_value}' + self.cmd(create_cmd, checks=[ + self.check('provisioningState', 'Succeeded') + ]) + + # enable azurekeyvaultsecretsprovider addon + enable_cmd = 'aks enable-addons --addons azure-keyvault-secrets-provider --resource-group={resource_group} --name={name} -o json' + self.cmd(enable_cmd, checks=[ + self.check('provisioningState', 'Succeeded'), + self.check( + 'addonProfiles.azureKeyvaultSecretsProvider.enabled', True), + self.check( + 'addonProfiles.azureKeyvaultSecretsProvider.config.enableSecretRotation', "false") + ]) + + # enable azure service mesh with pluginca + update_cmd = 'aks mesh enable --resource-group={resource_group} --name={name} ' \ + '--key-vault-id my-akv-id ' \ + '--ca-cert-object-name my-ca-cert ' \ + '--ca-key-object-name my-ca-key ' \ + '--cert-chain-object-name my-cert-chain ' \ + '--root-cert-object-name my-root-cert' + + self.cmd(update_cmd, checks=[ + self.check('serviceMeshProfile.mode', 'Istio'), + self.check('serviceMeshProfile.istio.certificateAuthority.plugin.keyVaultId', 'my-akv-id'), + self.check('serviceMeshProfile.istio.certificateAuthority.plugin.certObjectName', 'my-ca-cert'), + self.check('serviceMeshProfile.istio.certificateAuthority.plugin.keyObjectName', 'my-ca-key'), + self.check('serviceMeshProfile.istio.certificateAuthority.plugin.rootCertObjectName', 'my-root-cert'), + self.check('serviceMeshProfile.istio.certificateAuthority.plugin.certChainObjectName', 'my-cert-chain') + ]) + + # delete the cluster + delete_cmd = 'aks delete --resource-group={resource_group} --name={name} --yes --no-wait' + self.cmd(delete_cmd, checks=[ + self.is_empty(), + ]) + @AllowLargeResponse() @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') def test_aks_create_with_standard_sku(self, resource_group, resource_group_location): diff --git a/src/aks-preview/azext_aks_preview/tests/latest/test_managed_cluster_decorator.py b/src/aks-preview/azext_aks_preview/tests/latest/test_managed_cluster_decorator.py index c0868e01019..d7fa6a53040 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/test_managed_cluster_decorator.py +++ b/src/aks-preview/azext_aks_preview/tests/latest/test_managed_cluster_decorator.py @@ -6287,6 +6287,43 @@ def test_update_service_mesh_profile(self): ) self.assertEqual(dec_mc_2, ground_truth_mc_2) + dec_3 = AKSPreviewManagedClusterUpdateDecorator( + self.cmd, + self.client, + { + "enable_azure_service_mesh": True, + "key_vault_id": "my-akv", + "ca_cert_object_name": "my-ca-cert", + "ca_key_object_name": "my-ca-key", + "root_cert_object_name": "my-root-cert", + "cert_chain_object_name": "my-cert-chain", + }, + CUSTOM_MGMT_AKS_PREVIEW, + ) + mc_3 = self.models.ManagedCluster( + location="test_location", + ) + dec_3.context.attach_mc(mc_3) + dec_mc_3 = dec_3.update_azure_service_mesh_profile(mc_3) + ground_truth_mc_3 = self.models.ManagedCluster( + location="test_location", + service_mesh_profile=self.models.ServiceMeshProfile( + mode="Istio", + istio=self.models.IstioServiceMesh( + certificate_authority=self.models.IstioCertificateAuthority( + plugin=self.models.IstioPluginCertificateAuthority( + key_vault_id='my-akv', + cert_object_name='my-ca-cert', + key_object_name='my-ca-key', + root_cert_object_name='my-root-cert', + cert_chain_object_name='my-cert-chain', + ) + ) + ) + ) + ) + self.assertEqual(dec_mc_3, ground_truth_mc_3) + def test_update_upgrade_settings(self): # Should not update mc if unset dec_0 = AKSPreviewManagedClusterUpdateDecorator(