diff --git a/src/aks-preview/HISTORY.rst b/src/aks-preview/HISTORY.rst index fc3400b2f95..3ef2e9acf8a 100644 --- a/src/aks-preview/HISTORY.rst +++ b/src/aks-preview/HISTORY.rst @@ -12,6 +12,10 @@ To release a new version, please select a new version number (usually plus 1 to Pending ++++++ +0.5.146 ++++++++ +* Add support for new snapshot command `az aks nodepool snapshot update` + 0.5.145 +++++++ * Add support for option --aks-custom-headers to some aks commands diff --git a/src/aks-preview/azext_aks_preview/_help.py b/src/aks-preview/azext_aks_preview/_help.py index 5d08298956a..feb5535b2d9 100644 --- a/src/aks-preview/azext_aks_preview/_help.py +++ b/src/aks-preview/azext_aks_preview/_help.py @@ -2230,6 +2230,17 @@ short-summary: List nodepool snapshots. """ +helps['aks nodepool snapshot update'] = """ + type: command + short-summary: Update tags on a snapshot of a nodepool. + + examples: + - name: Update tags on a nodepool snapshot. + text: az aks nodepool snapshot update -g MyResourceGroup -n snapshot1 --tags "foo=bar" "key1=val1" + - name: Clear tags on a nodepool snapshot. + text: az aks nodepool snapshot update -g MyResourceGroup -n snapshot1 --tags "" +""" + helps['aks nodepool snapshot create'] = """ type: command short-summary: Create a nodepool snapshot. diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index bb8a77bebaa..5bf199f4975 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -847,6 +847,10 @@ def load_arguments(self, _): help='The nodepool id.', validator=validate_nodepool_id) c.argument('aks_custom_headers') + with self.argument_context('aks nodepool snapshot update') as c: + c.argument('snapshot_name', options_list=['--name', '-n'], help='The nodepool snapshot name.', validator=validate_snapshot_name) + c.argument('tags', tags_type, help='The tags to set to the snapshot.') + for scope in ['aks nodepool snapshot show', 'aks nodepool snapshot delete']: with self.argument_context(scope) as c: c.argument('snapshot_name', options_list=[ diff --git a/src/aks-preview/azext_aks_preview/commands.py b/src/aks-preview/azext_aks_preview/commands.py index 4e04b1cbf62..f9908cc2530 100644 --- a/src/aks-preview/azext_aks_preview/commands.py +++ b/src/aks-preview/azext_aks_preview/commands.py @@ -220,6 +220,7 @@ def load_command_table(self, _): table_transformer=aks_show_nodepool_snapshot_table_format) g.custom_command('create', 'aks_nodepool_snapshot_create', supports_no_wait=True) + g.custom_command('update', 'aks_nodepool_snapshot_update') g.custom_command('delete', 'aks_nodepool_snapshot_delete', supports_no_wait=True) diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index e6eb6007313..9b1f9021ef2 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -2302,6 +2302,20 @@ def aks_nodepool_snapshot_create(cmd, # pylint: disable=too-many-locals,too-m return client.create_or_update(resource_group_name, snapshot_name, snapshot, headers=headers) +def aks_nodepool_snapshot_update(cmd, client, resource_group_name, snapshot_name, tags): # pylint: disable=unused-argument + TagsObject = cmd.get_models( + "TagsObject", + resource_type=CUSTOM_MGMT_AKS_PREVIEW, + operation_group="snapshots", + ) + tagsObject = TagsObject( + tags=tags + ) + + snapshot = client.update_tags(resource_group_name, snapshot_name, tagsObject) + return snapshot + + def aks_nodepool_snapshot_show(cmd, client, resource_group_name, snapshot_name): # pylint: disable=unused-argument snapshot = client.get(resource_group_name, snapshot_name) return snapshot diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_snapshot.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_snapshot.yaml old mode 100755 new mode 100644 index e5a39ff7d21..80a4b849966 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_snapshot.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_snapshot.yaml @@ -13,30 +13,31 @@ interactions: ParameterSetName: - -l --query User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0 Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/kubernetesVersions?api-version=2023-05-02-preview response: body: - string: "{\n \"values\": [\n {\n \"version\": \"1.24\",\n \"capabilities\": - {\n \"supportPlan\": [\n \"KubernetesOfficial\"\n ]\n },\n - \ \"patchVersions\": {\n \"1.24.10\": {\n \"upgrades\": [\n \"1.25.5\",\n - \ \"1.25.6\"\n ]\n },\n \"1.24.9\": {\n \"upgrades\": - [\n \"1.25.5\",\n \"1.25.6\",\n \"1.24.10\"\n ]\n }\n - \ }\n },\n {\n \"version\": \"1.25\",\n \"capabilities\": {\n - \ \"supportPlan\": [\n \"KubernetesOfficial\"\n ]\n },\n \"patchVersions\": - {\n \"1.25.5\": {\n \"upgrades\": [\n \"1.25.6\",\n \"1.26.0\",\n - \ \"1.26.3\"\n ]\n },\n \"1.25.6\": {\n \"upgrades\": - [\n \"1.26.0\",\n \"1.26.3\"\n ]\n }\n }\n },\n - \ {\n \"version\": \"1.26\",\n \"capabilities\": {\n \"supportPlan\": - [\n \"KubernetesOfficial\"\n ]\n },\n \"patchVersions\": {\n - \ \"1.26.0\": {\n \"upgrades\": [\n \"1.26.3\",\n \"1.27.1\"\n - \ ]\n },\n \"1.26.3\": {\n \"upgrades\": [\n \"1.27.1\"\n - \ ]\n }\n }\n },\n {\n \"version\": \"1.27\",\n \"capabilities\": - {\n \"supportPlan\": [\n \"KubernetesOfficial\",\n \"AKSLongTermSupport\"\n - \ ]\n },\n \"patchVersions\": {\n \"1.27.1\": {\n \"upgrades\": - []\n }\n }\n }\n ]\n }" + string: "{\n \"values\": [\n {\n \"version\": \"1.24\",\n \"capabilities\"\ + : {\n \"supportPlan\": [\n \"KubernetesOfficial\"\n ]\n },\n\ + \ \"patchVersions\": {\n \"1.24.10\": {\n \"upgrades\": [\n \ + \ \"1.25.5\",\n \"1.25.6\"\n ]\n },\n \"1.24.9\": {\n\ + \ \"upgrades\": [\n \"1.24.10\",\n \"1.25.5\",\n \"\ + 1.25.6\"\n ]\n }\n }\n },\n {\n \"version\": \"1.25\",\n\ + \ \"capabilities\": {\n \"supportPlan\": [\n \"KubernetesOfficial\"\ + \n ]\n },\n \"patchVersions\": {\n \"1.25.5\": {\n \"upgrades\"\ + : [\n \"1.26.3\",\n \"1.25.6\",\n \"1.26.0\"\n ]\n\ + \ },\n \"1.25.6\": {\n \"upgrades\": [\n \"1.26.3\",\n\ + \ \"1.26.0\"\n ]\n }\n }\n },\n {\n \"version\":\ + \ \"1.26\",\n \"capabilities\": {\n \"supportPlan\": [\n \"KubernetesOfficial\"\ + \n ]\n },\n \"patchVersions\": {\n \"1.26.0\": {\n \"upgrades\"\ + : [\n \"1.26.3\",\n \"1.27.1\"\n ]\n },\n \"1.26.3\"\ + : {\n \"upgrades\": [\n \"1.27.1\"\n ]\n }\n }\n \ + \ },\n {\n \"version\": \"1.27\",\n \"capabilities\": {\n \"supportPlan\"\ + : [\n \"KubernetesOfficial\",\n \"AKSLongTermSupport\"\n ]\n\ + \ },\n \"patchVersions\": {\n \"1.27.1\": {\n \"upgrades\"\ + : []\n }\n }\n }\n ]\n }" headers: cache-control: - no-cache @@ -45,7 +46,7 @@ interactions: content-type: - application/json date: - - Sun, 25 Jun 2023 03:14:58 GMT + - Wed, 28 Jun 2023 21:50:28 GMT expires: - '-1' pragma: @@ -78,8 +79,8 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2023-05-02-preview response: @@ -95,7 +96,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 03:14:58 GMT + - Wed, 28 Jun 2023 21:50:29 GMT expires: - '-1' pragma: @@ -111,7 +112,7 @@ interactions: message: Not Found - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestjwun3tgcc-79a739", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestx2w4d5z7k-8ecadf", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": @@ -119,12 +120,12 @@ interactions: false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "networkProfile": {}, "name": "c000004"}], "linuxProfile": - {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIdFuT4kW9h0LYgYkCTZ8VoRfDIfqjZwZgqVkh8CLmpLRjJlhj2CPpwxuTp7cO5+JKSYONgRtmUuJeyenbpwbFHxR2NfozVNB58DC/TIFDYePcQbqehIWzgSYjSry4XFh53ftuCrfyKTv45UPTKKY5FPk6W+a5mqUrpfSN8cbW3mQq/oWm/AfYDuUyJbhuuDr56+JOY83k9mJAM7tgTi58GWQPLyRfWyFUv3VGdYO2wwoViTLVzpMRRspx1xzNK1pY7pDb9aLPMfB4+1F4orZRUcYNE3Q8RHUBH01M+ECLBvvBEFLfIJT8qDdQaljqMah53XgnGen0XurXJ+wfpsB5 - 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": {}}}' + {"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", "outboundType": "loadBalancer", + "loadBalancerSku": "standard"}, "disableLocalAccounts": false, "storageProfile": + {}}}' headers: Accept: - application/json @@ -135,70 +136,75 @@ interactions: Connection: - keep-alive Content-Length: - - '1541' + - '1870' Content-Type: - application/json ParameterSetName: - --resource-group --name --location --nodepool-name --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2023-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestjwun3tgcc-79a739\",\n \"fqdn\": \"cliakstest-clitestjwun3tgcc-79a739-fzmjh93q.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestjwun3tgcc-79a739-fzmjh93q.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000004\",\n \"count\": - 1,\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.25.6\",\n \"currentOrchestratorVersion\": \"1.25.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-202306.01.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIdFuT4kW9h0LYgYkCTZ8VoRfDIfqjZwZgqVkh8CLmpLRjJlhj2CPpwxuTp7cO5+JKSYONgRtmUuJeyenbpwbFHxR2NfozVNB58DC/TIFDYePcQbqehIWzgSYjSry4XFh53ftuCrfyKTv45UPTKKY5FPk6W+a5mqUrpfSN8cbW3mQq/oWm/AfYDuUyJbhuuDr56+JOY83k9mJAM7tgTi58GWQPLyRfWyFUv3VGdYO2wwoViTLVzpMRRspx1xzNK1pY7pDb9aLPMfB4+1F4orZRUcYNE3Q8RHUBH01M+ECLBvvBEFLfIJT8qDdQaljqMah53XgnGen0XurXJ+wfpsB5 - 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_cliakstest000002_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 \"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 }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.25.6\",\n \"currentKubernetesVersion\"\ + : \"1.25.6\",\n \"dnsPrefix\": \"cliakstest-clitestx2w4d5z7k-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestx2w4d5z7k-8ecadf-5vtlkjqa.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestx2w4d5z7k-8ecadf-5vtlkjqa.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"c000004\",\n \"\ + count\": 1,\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.25.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.25.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-202306.13.0\",\n \"upgradeSettings\"\ + : {},\n \"enableFIPS\": false,\n \"networkProfile\": {}\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 \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_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 \"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 \"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/8f7b0c8c-776f-4bbf-9b72-3ec8505e589f?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a80809a7-8611-4f8e-846c-ce6e3fa9b2a2?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3473' + - '3880' content-type: - application/json date: - - Sun, 25 Jun 2023 03:15:04 GMT + - Wed, 28 Jun 2023 21:50:35 GMT expires: - '-1' pragma: @@ -229,23 +235,23 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f7b0c8c-776f-4bbf-9b72-3ec8505e589f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a80809a7-8611-4f8e-846c-ce6e3fa9b2a2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8c0c7b8f-6f77-bf4b-9b72-3ec8505e589f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:15:05.1068945Z\"\n }" + string: "{\n \"name\": \"a70908a8-1186-8e4f-846c-ce6e3fa9b2a2\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:50:35.86311Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '124' content-type: - application/json date: - - Sun, 25 Jun 2023 03:15:05 GMT + - Wed, 28 Jun 2023 21:50:36 GMT expires: - '-1' pragma: @@ -278,23 +284,23 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f7b0c8c-776f-4bbf-9b72-3ec8505e589f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a80809a7-8611-4f8e-846c-ce6e3fa9b2a2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8c0c7b8f-6f77-bf4b-9b72-3ec8505e589f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:15:05.1068945Z\"\n }" + string: "{\n \"name\": \"a70908a8-1186-8e4f-846c-ce6e3fa9b2a2\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:50:35.86311Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '124' content-type: - application/json date: - - Sun, 25 Jun 2023 03:15:35 GMT + - Wed, 28 Jun 2023 21:51:06 GMT expires: - '-1' pragma: @@ -327,23 +333,23 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f7b0c8c-776f-4bbf-9b72-3ec8505e589f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a80809a7-8611-4f8e-846c-ce6e3fa9b2a2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8c0c7b8f-6f77-bf4b-9b72-3ec8505e589f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:15:05.1068945Z\"\n }" + string: "{\n \"name\": \"a70908a8-1186-8e4f-846c-ce6e3fa9b2a2\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:50:35.86311Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '124' content-type: - application/json date: - - Sun, 25 Jun 2023 03:16:05 GMT + - Wed, 28 Jun 2023 21:51:37 GMT expires: - '-1' pragma: @@ -376,23 +382,23 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f7b0c8c-776f-4bbf-9b72-3ec8505e589f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a80809a7-8611-4f8e-846c-ce6e3fa9b2a2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8c0c7b8f-6f77-bf4b-9b72-3ec8505e589f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:15:05.1068945Z\"\n }" + string: "{\n \"name\": \"a70908a8-1186-8e4f-846c-ce6e3fa9b2a2\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:50:35.86311Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '124' content-type: - application/json date: - - Sun, 25 Jun 2023 03:16:35 GMT + - Wed, 28 Jun 2023 21:52:07 GMT expires: - '-1' pragma: @@ -425,23 +431,23 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f7b0c8c-776f-4bbf-9b72-3ec8505e589f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a80809a7-8611-4f8e-846c-ce6e3fa9b2a2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8c0c7b8f-6f77-bf4b-9b72-3ec8505e589f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:15:05.1068945Z\"\n }" + string: "{\n \"name\": \"a70908a8-1186-8e4f-846c-ce6e3fa9b2a2\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:50:35.86311Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '124' content-type: - application/json date: - - Sun, 25 Jun 2023 03:17:06 GMT + - Wed, 28 Jun 2023 21:52:39 GMT expires: - '-1' pragma: @@ -474,23 +480,23 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f7b0c8c-776f-4bbf-9b72-3ec8505e589f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a80809a7-8611-4f8e-846c-ce6e3fa9b2a2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8c0c7b8f-6f77-bf4b-9b72-3ec8505e589f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:15:05.1068945Z\"\n }" + string: "{\n \"name\": \"a70908a8-1186-8e4f-846c-ce6e3fa9b2a2\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:50:35.86311Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '124' content-type: - application/json date: - - Sun, 25 Jun 2023 03:17:36 GMT + - Wed, 28 Jun 2023 21:53:09 GMT expires: - '-1' pragma: @@ -523,23 +529,23 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f7b0c8c-776f-4bbf-9b72-3ec8505e589f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a80809a7-8611-4f8e-846c-ce6e3fa9b2a2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8c0c7b8f-6f77-bf4b-9b72-3ec8505e589f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:15:05.1068945Z\"\n }" + string: "{\n \"name\": \"a70908a8-1186-8e4f-846c-ce6e3fa9b2a2\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:50:35.86311Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '124' content-type: - application/json date: - - Sun, 25 Jun 2023 03:18:06 GMT + - Wed, 28 Jun 2023 21:53:40 GMT expires: - '-1' pragma: @@ -572,23 +578,24 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f7b0c8c-776f-4bbf-9b72-3ec8505e589f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a80809a7-8611-4f8e-846c-ce6e3fa9b2a2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8c0c7b8f-6f77-bf4b-9b72-3ec8505e589f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:15:05.1068945Z\"\n }" + string: "{\n \"name\": \"a70908a8-1186-8e4f-846c-ce6e3fa9b2a2\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2023-06-28T21:50:35.86311Z\",\n \"endTime\"\ + : \"2023-06-28T21:54:10.2882699Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '168' content-type: - application/json date: - - Sun, 25 Jun 2023 03:18:36 GMT + - Wed, 28 Jun 2023 21:54:10 GMT expires: - '-1' pragma: @@ -621,23 +628,71 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f7b0c8c-776f-4bbf-9b72-3ec8505e589f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2023-05-02-preview response: body: - string: "{\n \"name\": \"8c0c7b8f-6f77-bf4b-9b72-3ec8505e589f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:15:05.1068945Z\"\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.25.6\",\n \"currentKubernetesVersion\"\ + : \"1.25.6\",\n \"dnsPrefix\": \"cliakstest-clitestx2w4d5z7k-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestx2w4d5z7k-8ecadf-5vtlkjqa.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestx2w4d5z7k-8ecadf-5vtlkjqa.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"c000004\",\n \"\ + count\": 1,\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.25.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.25.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-202306.13.0\",\n \"upgradeSettings\"\ + : {},\n \"enableFIPS\": false,\n \"networkProfile\": {}\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 \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_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_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/b686bebe-8798-4a90-b7a1-f0a2a6e0f918\"\ + \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_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\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 },\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: - - '126' + - '4533' content-type: - application/json date: - - Sun, 25 Jun 2023 03:19:06 GMT + - Wed, 28 Jun 2023 21:54:11 GMT expires: - '-1' pragma: @@ -659,93 +714,38 @@ interactions: body: null headers: Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --location --nodepool-name --node-count --ssh-key-value - -o - User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-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/8f7b0c8c-776f-4bbf-9b72-3ec8505e589f?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"8c0c7b8f-6f77-bf4b-9b72-3ec8505e589f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:15:05.1068945Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - application/json - date: - - Sun, 25 Jun 2023 03:19:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - aks create + - aks nodepool snapshot create Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --nodepool-name --node-count --ssh-key-value - -o + - --resource-group --name --location --nodepool-id -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-resource/23.0.1 Python/3.10.11 + (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/8f7b0c8c-776f-4bbf-9b72-3ec8505e589f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2022-09-01 response: body: - string: "{\n \"name\": \"8c0c7b8f-6f77-bf4b-9b72-3ec8505e589f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:15:05.1068945Z\"\n }" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","test":"test_aks_nodepool_snapshot","date":"2023-06-28T21:50:25Z","module":"aks-preview"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '126' + - '364' content-type: - - application/json + - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 03:20:06 GMT + - Wed, 28 Jun 2023 21:54: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: @@ -754,130 +754,52 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"location": "westus2", "properties": {"creationData": {"sourceResourceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004"}, + "snapshotType": "NodePool"}}' headers: Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --location --nodepool-name --node-count --ssh-key-value - -o - User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-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/8f7b0c8c-776f-4bbf-9b72-3ec8505e589f?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"8c0c7b8f-6f77-bf4b-9b72-3ec8505e589f\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2023-06-25T03:15:05.1068945Z\",\n \"endTime\": - \"2023-06-25T03:20:08.7761297Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '170' - content-type: - application/json - date: - - Sun, 25 Jun 2023 03:20:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - aks create + - aks nodepool snapshot create Connection: - keep-alive + Content-Length: + - '278' + Content-Type: + - application/json ParameterSetName: - - --resource-group --name --location --nodepool-name --node-count --ssh-key-value - -o + - --resource-group --name --location --nodepool-id -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-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/cliakstest000002?api-version=2023-05-02-preview + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006?api-version=2023-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestjwun3tgcc-79a739\",\n \"fqdn\": \"cliakstest-clitestjwun3tgcc-79a739-fzmjh93q.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestjwun3tgcc-79a739-fzmjh93q.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000004\",\n \"count\": - 1,\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.25.6\",\n \"currentOrchestratorVersion\": \"1.25.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-202306.01.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": - {\n \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIdFuT4kW9h0LYgYkCTZ8VoRfDIfqjZwZgqVkh8CLmpLRjJlhj2CPpwxuTp7cO5+JKSYONgRtmUuJeyenbpwbFHxR2NfozVNB58DC/TIFDYePcQbqehIWzgSYjSry4XFh53ftuCrfyKTv45UPTKKY5FPk6W+a5mqUrpfSN8cbW3mQq/oWm/AfYDuUyJbhuuDr56+JOY83k9mJAM7tgTi58GWQPLyRfWyFUv3VGdYO2wwoViTLVzpMRRspx1xzNK1pY7pDb9aLPMfB4+1F4orZRUcYNE3Q8RHUBH01M+ECLBvvBEFLfIJT8qDdQaljqMah53XgnGen0XurXJ+wfpsB5 - 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_cliakstest000002_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_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/7157fb2c-f74d-4186-9621-ac4540e28d76\"\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_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\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 }" + string: "{\n \"name\": \"s000006\",\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\"\ + ,\n \"type\": \"Microsoft.ContainerService/Snapshots\",\n \"location\":\ + \ \"westus2\",\n \"systemData\": {\n \"createdBy\": \"chrislopez@microsoft.com\"\ + ,\n \"createdByType\": \"User\",\n \"createdAt\": \"2023-06-28T21:54:13.5503235Z\"\ + ,\n \"lastModifiedBy\": \"chrislopez@microsoft.com\",\n \"lastModifiedByType\"\ + : \"User\",\n \"lastModifiedAt\": \"2023-06-28T21:54:13.5503235Z\"\n },\n\ + \ \"properties\": {\n \"creationData\": {\n \"sourceResourceId\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004\"\ + \n },\n \"snapshotType\": \"NodePool\",\n \"kubernetesVersion\": \"\ + 1.25.6\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202306.13.0\"\ + ,\n \"osType\": \"Linux\",\n \"osSku\": \"Ubuntu\",\n \"vmSize\": \"\ + Standard_DS2_v2\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4126' + - '976' content-type: - application/json date: - - Sun, 25 Jun 2023 03:20:36 GMT + - Wed, 28 Jun 2023 21:54:13 GMT expires: - '-1' pragma: @@ -892,98 +814,56 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: code: 200 message: OK - request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool snapshot create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --location --nodepool-id -o - User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-resource/23.0.1 Python/3.8.10 (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2022-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","test":"test_aks_nodepool_snapshot","date":"2023-06-25T03:14:57Z","module":"aks-preview"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '364' - content-type: - - application/json; charset=utf-8 - date: - - Sun, 25 Jun 2023 03:20:37 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "westus2", "properties": {"creationData": {"sourceResourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004"}, - "snapshotType": "NodePool"}}' + body: '{"tags": {"test": "value"}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - aks nodepool snapshot create + - aks nodepool snapshot update Connection: - keep-alive Content-Length: - - '278' + - '27' Content-Type: - application/json ParameterSetName: - - --resource-group --name --location --nodepool-id -o + - --resource-group --name --tags -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) - method: PUT + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006?api-version=2023-05-02-preview response: body: - string: "{\n \"name\": \"s000006\",\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\",\n - \ \"type\": \"Microsoft.ContainerService/Snapshots\",\n \"location\": \"westus2\",\n - \ \"systemData\": {\n \"createdBy\": \"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d\",\n - \ \"createdByType\": \"Application\",\n \"createdAt\": \"2023-06-25T03:20:39.3959053Z\",\n - \ \"lastModifiedBy\": \"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d\",\n \"lastModifiedByType\": - \"Application\",\n \"lastModifiedAt\": \"2023-06-25T03:20:39.3959053Z\"\n - \ },\n \"properties\": {\n \"creationData\": {\n \"sourceResourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004\"\n - \ },\n \"snapshotType\": \"NodePool\",\n \"kubernetesVersion\": \"1.25.6\",\n - \ \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202306.01.0\",\n \"osType\": - \"Linux\",\n \"osSku\": \"Ubuntu\",\n \"vmSize\": \"Standard_DS2_v2\"\n - \ }\n }" + string: "{\n \"name\": \"s000006\",\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\"\ + ,\n \"type\": \"Microsoft.ContainerService/Snapshots\",\n \"location\":\ + \ \"westus2\",\n \"tags\": {\n \"test\": \"value\"\n },\n \"systemData\"\ + : {\n \"createdBy\": \"chrislopez@microsoft.com\",\n \"createdByType\"\ + : \"User\",\n \"createdAt\": \"2023-06-28T21:54:13.5503235Z\",\n \"lastModifiedBy\"\ + : \"chrislopez@microsoft.com\",\n \"lastModifiedByType\": \"User\",\n \ + \ \"lastModifiedAt\": \"2023-06-28T21:54:13.5503235Z\"\n },\n \"properties\"\ + : {\n \"creationData\": {\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004\"\ + \n },\n \"snapshotType\": \"NodePool\",\n \"kubernetesVersion\": \"\ + 1.25.6\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202306.13.0\"\ + ,\n \"osType\": \"Linux\",\n \"osSku\": \"Ubuntu\",\n \"vmSize\": \"\ + Standard_DS2_v2\"\n }\n }" headers: cache-control: - no-cache content-length: - - '1014' + - '1012' content-type: - application/json date: - - Sun, 25 Jun 2023 03:20:39 GMT + - Wed, 28 Jun 2023 21:54:14 GMT expires: - '-1' pragma: @@ -1019,8 +899,8 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2023-05-02-preview response: @@ -1028,17 +908,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/df401bbf-db83-4f91-804e-2758c3759279?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2674bc44-6845-4c9a-aad3-7823688fcc05?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Sun, 25 Jun 2023 03:20:41 GMT + - Wed, 28 Jun 2023 21:54:14 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/df401bbf-db83-4f91-804e-2758c3759279?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/2674bc44-6845-4c9a-aad3-7823688fcc05?api-version=2016-03-30 pragma: - no-cache server: @@ -1066,33 +946,33 @@ interactions: ParameterSetName: - --resource-group --name -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006?api-version=2023-05-02-preview response: body: - string: "{\n \"name\": \"s000006\",\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\",\n - \ \"type\": \"Microsoft.ContainerService/Snapshots\",\n \"location\": \"westus2\",\n - \ \"systemData\": {\n \"createdBy\": \"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d\",\n - \ \"createdByType\": \"Application\",\n \"createdAt\": \"2023-06-25T03:20:39.3959053Z\",\n - \ \"lastModifiedBy\": \"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d\",\n \"lastModifiedByType\": - \"Application\",\n \"lastModifiedAt\": \"2023-06-25T03:20:39.3959053Z\"\n - \ },\n \"properties\": {\n \"creationData\": {\n \"sourceResourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004\"\n - \ },\n \"snapshotType\": \"NodePool\",\n \"kubernetesVersion\": \"1.25.6\",\n - \ \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202306.01.0\",\n \"osType\": - \"Linux\",\n \"osSku\": \"Ubuntu\",\n \"vmSize\": \"Standard_DS2_v2\"\n - \ }\n }" + string: "{\n \"name\": \"s000006\",\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\"\ + ,\n \"type\": \"Microsoft.ContainerService/Snapshots\",\n \"location\":\ + \ \"westus2\",\n \"tags\": {\n \"test\": \"value\"\n },\n \"systemData\"\ + : {\n \"createdBy\": \"chrislopez@microsoft.com\",\n \"createdByType\"\ + : \"User\",\n \"createdAt\": \"2023-06-28T21:54:13.5503235Z\",\n \"lastModifiedBy\"\ + : \"chrislopez@microsoft.com\",\n \"lastModifiedByType\": \"User\",\n \ + \ \"lastModifiedAt\": \"2023-06-28T21:54:13.5503235Z\"\n },\n \"properties\"\ + : {\n \"creationData\": {\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004\"\ + \n },\n \"snapshotType\": \"NodePool\",\n \"kubernetesVersion\": \"\ + 1.25.6\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202306.13.0\"\ + ,\n \"osType\": \"Linux\",\n \"osSku\": \"Ubuntu\",\n \"vmSize\": \"\ + Standard_DS2_v2\"\n }\n }" headers: cache-control: - no-cache content-length: - - '1014' + - '1012' content-type: - application/json date: - - Sun, 25 Jun 2023 03:20:41 GMT + - Wed, 28 Jun 2023 21:54:15 GMT expires: - '-1' pragma: @@ -1124,33 +1004,35 @@ interactions: ParameterSetName: - --resource-group -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots?api-version=2023-05-02-preview response: body: - string: "{\n \"value\": [\n {\n \"name\": \"s000006\",\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\",\n - \ \"type\": \"Microsoft.ContainerService/Snapshots\",\n \"location\": - \"westus2\",\n \"systemData\": {\n \"createdBy\": \"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d\",\n - \ \"createdByType\": \"Application\",\n \"createdAt\": \"2023-06-25T03:20:39.3959053Z\",\n - \ \"lastModifiedBy\": \"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d\",\n \"lastModifiedByType\": - \"Application\",\n \"lastModifiedAt\": \"2023-06-25T03:20:39.3959053Z\"\n - \ },\n \"properties\": {\n \"creationData\": {\n \"sourceResourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004\"\n - \ },\n \"snapshotType\": \"NodePool\",\n \"kubernetesVersion\": - \"1.25.6\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202306.01.0\",\n - \ \"osType\": \"Linux\",\n \"osSku\": \"Ubuntu\",\n \"vmSize\": - \"Standard_DS2_v2\"\n }\n }\n ]\n }" + string: "{\n \"value\": [\n {\n \"name\": \"s000006\",\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\"\ + ,\n \"type\": \"Microsoft.ContainerService/Snapshots\",\n \"location\"\ + : \"westus2\",\n \"tags\": {\n \"test\": \"value\"\n },\n \"\ + systemData\": {\n \"createdBy\": \"chrislopez@microsoft.com\",\n \"\ + createdByType\": \"User\",\n \"createdAt\": \"2023-06-28T21:54:13.5503235Z\"\ + ,\n \"lastModifiedBy\": \"chrislopez@microsoft.com\",\n \"lastModifiedByType\"\ + : \"User\",\n \"lastModifiedAt\": \"2023-06-28T21:54:13.5503235Z\"\n \ + \ },\n \"properties\": {\n \"creationData\": {\n \"sourceResourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004\"\ + \n },\n \"snapshotType\": \"NodePool\",\n \"kubernetesVersion\"\ + : \"1.25.6\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202306.13.0\"\ + ,\n \"osType\": \"Linux\",\n \"osSku\": \"Ubuntu\",\n \"vmSize\"\ + : \"Standard_DS2_v2\"\n }\n }\n ]\n }" headers: cache-control: - no-cache content-length: - - '1087' + - '1091' content-type: - application/json date: - - Sun, 25 Jun 2023 03:20:41 GMT + - Wed, 28 Jun 2023 21:54:16 GMT expires: - '-1' pragma: @@ -1183,8 +1065,8 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --snapshot-id --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003?api-version=2023-05-02-preview response: @@ -1200,7 +1082,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Jun 2023 03:20:41 GMT + - Wed, 28 Jun 2023 21:54:16 GMT expires: - '-1' pragma: @@ -1229,33 +1111,33 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --snapshot-id --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006?api-version=2023-05-02-preview response: body: - string: "{\n \"name\": \"s000006\",\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\",\n - \ \"type\": \"Microsoft.ContainerService/Snapshots\",\n \"location\": \"westus2\",\n - \ \"systemData\": {\n \"createdBy\": \"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d\",\n - \ \"createdByType\": \"Application\",\n \"createdAt\": \"2023-06-25T03:20:39.3959053Z\",\n - \ \"lastModifiedBy\": \"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d\",\n \"lastModifiedByType\": - \"Application\",\n \"lastModifiedAt\": \"2023-06-25T03:20:39.3959053Z\"\n - \ },\n \"properties\": {\n \"creationData\": {\n \"sourceResourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004\"\n - \ },\n \"snapshotType\": \"NodePool\",\n \"kubernetesVersion\": \"1.25.6\",\n - \ \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202306.01.0\",\n \"osType\": - \"Linux\",\n \"osSku\": \"Ubuntu\",\n \"vmSize\": \"Standard_DS2_v2\"\n - \ }\n }" + string: "{\n \"name\": \"s000006\",\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\"\ + ,\n \"type\": \"Microsoft.ContainerService/Snapshots\",\n \"location\":\ + \ \"westus2\",\n \"tags\": {\n \"test\": \"value\"\n },\n \"systemData\"\ + : {\n \"createdBy\": \"chrislopez@microsoft.com\",\n \"createdByType\"\ + : \"User\",\n \"createdAt\": \"2023-06-28T21:54:13.5503235Z\",\n \"lastModifiedBy\"\ + : \"chrislopez@microsoft.com\",\n \"lastModifiedByType\": \"User\",\n \ + \ \"lastModifiedAt\": \"2023-06-28T21:54:13.5503235Z\"\n },\n \"properties\"\ + : {\n \"creationData\": {\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004\"\ + \n },\n \"snapshotType\": \"NodePool\",\n \"kubernetesVersion\": \"\ + 1.25.6\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202306.13.0\"\ + ,\n \"osType\": \"Linux\",\n \"osSku\": \"Ubuntu\",\n \"vmSize\": \"\ + Standard_DS2_v2\"\n }\n }" headers: cache-control: - no-cache content-length: - - '1014' + - '1012' content-type: - application/json date: - - Sun, 25 Jun 2023 03:20:42 GMT + - Wed, 28 Jun 2023 21:54:16 GMT expires: - '-1' pragma: @@ -1275,7 +1157,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "1.25.6", "dnsPrefix": "cliakstest-clitestjwun3tgcc-79a739", + {"kubernetesVersion": "1.25.6", "dnsPrefix": "cliakstest-clitestx2w4d5z7k-8ecadf", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", @@ -1285,12 +1167,12 @@ interactions: false, "enableUltraSSD": false, "enableFIPS": false, "creationData": {"sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006"}, "networkProfile": {}, "name": "c000004"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIdFuT4kW9h0LYgYkCTZ8VoRfDIfqjZwZgqVkh8CLmpLRjJlhj2CPpwxuTp7cO5+JKSYONgRtmUuJeyenbpwbFHxR2NfozVNB58DC/TIFDYePcQbqehIWzgSYjSry4XFh53ftuCrfyKTv45UPTKKY5FPk6W+a5mqUrpfSN8cbW3mQq/oWm/AfYDuUyJbhuuDr56+JOY83k9mJAM7tgTi58GWQPLyRfWyFUv3VGdYO2wwoViTLVzpMRRspx1xzNK1pY7pDb9aLPMfB4+1F4orZRUcYNE3Q8RHUBH01M+ECLBvvBEFLfIJT8qDdQaljqMah53XgnGen0XurXJ+wfpsB5 - 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": {}}}' + "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", "outboundType": "loadBalancer", + "loadBalancerSku": "standard"}, "disableLocalAccounts": false, "storageProfile": + {}}}' headers: Accept: - application/json @@ -1301,72 +1183,76 @@ interactions: Connection: - keep-alive Content-Length: - - '1749' + - '2078' Content-Type: - application/json ParameterSetName: - --resource-group --name --location --nodepool-name --node-count --snapshot-id --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003?api-version=2023-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000003\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestjwun3tgcc-79a739\",\n \"fqdn\": \"cliakstest-clitestjwun3tgcc-79a739-p4d2wm8y.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestjwun3tgcc-79a739-p4d2wm8y.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000004\",\n \"count\": - 1,\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.25.6\",\n \"currentOrchestratorVersion\": \"1.25.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-202306.01.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"creationData\": {\n \"sourceResourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\"\n - \ },\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": {\n - \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIdFuT4kW9h0LYgYkCTZ8VoRfDIfqjZwZgqVkh8CLmpLRjJlhj2CPpwxuTp7cO5+JKSYONgRtmUuJeyenbpwbFHxR2NfozVNB58DC/TIFDYePcQbqehIWzgSYjSry4XFh53ftuCrfyKTv45UPTKKY5FPk6W+a5mqUrpfSN8cbW3mQq/oWm/AfYDuUyJbhuuDr56+JOY83k9mJAM7tgTi58GWQPLyRfWyFUv3VGdYO2wwoViTLVzpMRRspx1xzNK1pY7pDb9aLPMfB4+1F4orZRUcYNE3Q8RHUBH01M+ECLBvvBEFLfIJT8qDdQaljqMah53XgnGen0XurXJ+wfpsB5 - 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_cliakstest000003_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 \"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 }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000003\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.25.6\",\n \"currentKubernetesVersion\"\ + : \"1.25.6\",\n \"dnsPrefix\": \"cliakstest-clitestx2w4d5z7k-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestx2w4d5z7k-8ecadf-65uvrbck.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestx2w4d5z7k-8ecadf-65uvrbck.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"c000004\",\n \"\ + count\": 1,\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.25.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.25.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-202306.13.0\",\n \"upgradeSettings\"\ + : {},\n \"enableFIPS\": false,\n \"creationData\": {\n \"sourceResourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\"\ + \n },\n \"networkProfile\": {}\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 \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000003_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 \"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 \"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/a01dcf23-f832-4cad-9321-b651b776c009?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7ab061a-8e17-4397-bf10-bb11eb3029c3?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3668' + - '4075' content-type: - application/json date: - - Sun, 25 Jun 2023 03:20:48 GMT + - Wed, 28 Jun 2023 21:54:21 GMT expires: - '-1' pragma: @@ -1397,23 +1283,23 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --snapshot-id --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a01dcf23-f832-4cad-9321-b651b776c009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7ab061a-8e17-4397-bf10-bb11eb3029c3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"23cf1da0-32f8-ad4c-9321-b651b776c009\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:20:48.373088Z\"\n }" + string: "{\n \"name\": \"1a06abd7-178e-9743-bf10-bb11eb3029c3\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:54:21.4103112Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Sun, 25 Jun 2023 03:20:48 GMT + - Wed, 28 Jun 2023 21:54:21 GMT expires: - '-1' pragma: @@ -1446,23 +1332,23 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --snapshot-id --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a01dcf23-f832-4cad-9321-b651b776c009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7ab061a-8e17-4397-bf10-bb11eb3029c3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"23cf1da0-32f8-ad4c-9321-b651b776c009\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:20:48.373088Z\"\n }" + string: "{\n \"name\": \"1a06abd7-178e-9743-bf10-bb11eb3029c3\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:54:21.4103112Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Sun, 25 Jun 2023 03:21:18 GMT + - Wed, 28 Jun 2023 21:54:51 GMT expires: - '-1' pragma: @@ -1495,23 +1381,23 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --snapshot-id --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a01dcf23-f832-4cad-9321-b651b776c009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7ab061a-8e17-4397-bf10-bb11eb3029c3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"23cf1da0-32f8-ad4c-9321-b651b776c009\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:20:48.373088Z\"\n }" + string: "{\n \"name\": \"1a06abd7-178e-9743-bf10-bb11eb3029c3\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:54:21.4103112Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Sun, 25 Jun 2023 03:21:48 GMT + - Wed, 28 Jun 2023 21:55:22 GMT expires: - '-1' pragma: @@ -1544,23 +1430,23 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --snapshot-id --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a01dcf23-f832-4cad-9321-b651b776c009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7ab061a-8e17-4397-bf10-bb11eb3029c3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"23cf1da0-32f8-ad4c-9321-b651b776c009\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:20:48.373088Z\"\n }" + string: "{\n \"name\": \"1a06abd7-178e-9743-bf10-bb11eb3029c3\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:54:21.4103112Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Sun, 25 Jun 2023 03:22:19 GMT + - Wed, 28 Jun 2023 21:55:51 GMT expires: - '-1' pragma: @@ -1593,23 +1479,23 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --snapshot-id --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a01dcf23-f832-4cad-9321-b651b776c009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7ab061a-8e17-4397-bf10-bb11eb3029c3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"23cf1da0-32f8-ad4c-9321-b651b776c009\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:20:48.373088Z\"\n }" + string: "{\n \"name\": \"1a06abd7-178e-9743-bf10-bb11eb3029c3\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:54:21.4103112Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Sun, 25 Jun 2023 03:22:49 GMT + - Wed, 28 Jun 2023 21:56:22 GMT expires: - '-1' pragma: @@ -1642,23 +1528,23 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --snapshot-id --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a01dcf23-f832-4cad-9321-b651b776c009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7ab061a-8e17-4397-bf10-bb11eb3029c3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"23cf1da0-32f8-ad4c-9321-b651b776c009\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:20:48.373088Z\"\n }" + string: "{\n \"name\": \"1a06abd7-178e-9743-bf10-bb11eb3029c3\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:54:21.4103112Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Sun, 25 Jun 2023 03:23:19 GMT + - Wed, 28 Jun 2023 21:56:52 GMT expires: - '-1' pragma: @@ -1691,23 +1577,23 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --snapshot-id --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a01dcf23-f832-4cad-9321-b651b776c009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7ab061a-8e17-4397-bf10-bb11eb3029c3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"23cf1da0-32f8-ad4c-9321-b651b776c009\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:20:48.373088Z\"\n }" + string: "{\n \"name\": \"1a06abd7-178e-9743-bf10-bb11eb3029c3\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:54:21.4103112Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '126' content-type: - application/json date: - - Sun, 25 Jun 2023 03:23:49 GMT + - Wed, 28 Jun 2023 21:57:23 GMT expires: - '-1' pragma: @@ -1740,23 +1626,24 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --snapshot-id --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a01dcf23-f832-4cad-9321-b651b776c009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d7ab061a-8e17-4397-bf10-bb11eb3029c3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"23cf1da0-32f8-ad4c-9321-b651b776c009\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:20:48.373088Z\"\n }" + string: "{\n \"name\": \"1a06abd7-178e-9743-bf10-bb11eb3029c3\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2023-06-28T21:54:21.4103112Z\",\n \"\ + endTime\": \"2023-06-28T21:57:26.7141242Z\"\n }" headers: cache-control: - no-cache content-length: - - '125' + - '170' content-type: - application/json date: - - Sun, 25 Jun 2023 03:24:19 GMT + - Wed, 28 Jun 2023 21:57:52 GMT expires: - '-1' pragma: @@ -1789,23 +1676,72 @@ interactions: - --resource-group --name --location --nodepool-name --node-count --snapshot-id --ssh-key-value -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a01dcf23-f832-4cad-9321-b651b776c009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003?api-version=2023-05-02-preview response: body: - string: "{\n \"name\": \"23cf1da0-32f8-ad4c-9321-b651b776c009\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:20:48.373088Z\"\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003\"\ + ,\n \"location\": \"westus2\",\n \"name\": \"cliakstest000003\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.25.6\",\n \"currentKubernetesVersion\"\ + : \"1.25.6\",\n \"dnsPrefix\": \"cliakstest-clitestx2w4d5z7k-8ecadf\",\n\ + \ \"fqdn\": \"cliakstest-clitestx2w4d5z7k-8ecadf-65uvrbck.hcp.westus2.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestx2w4d5z7k-8ecadf-65uvrbck.portal.hcp.westus2.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"c000004\",\n \"\ + count\": 1,\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.25.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.25.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-202306.13.0\",\n \"upgradeSettings\"\ + : {},\n \"enableFIPS\": false,\n \"creationData\": {\n \"sourceResourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\"\ + \n },\n \"networkProfile\": {}\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 \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000003_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_cliakstest000003_westus2/providers/Microsoft.Network/publicIPAddresses/57ab04b7-88db-4cc3-92d3-22e97864193e\"\ + \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_cliakstest000003_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000003-agentpool\"\ + ,\n \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\"\ + :\"00000000-0000-0000-0000-000000000001\"\n }\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 },\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: - - '125' + - '4728' content-type: - application/json date: - - Sun, 25 Jun 2023 03:24:49 GMT + - Wed, 28 Jun 2023 21:57:53 GMT expires: - '-1' pragma: @@ -1827,35 +1763,47 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - aks create + - aks nodepool add Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --nodepool-name --node-count --snapshot-id - --ssh-key-value -o + - --resource-group --cluster-name --name --node-count --snapshot-id -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a01dcf23-f832-4cad-9321-b651b776c009?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003/agentPools?api-version=2023-05-02-preview response: body: - string: "{\n \"name\": \"23cf1da0-32f8-ad4c-9321-b651b776c009\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2023-06-25T03:20:48.373088Z\",\n \"endTime\": - \"2023-06-25T03:25:15.3934124Z\"\n }" + string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003/agentPools/c000004\"\ + ,\n \"name\": \"c000004\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\"\ + ,\n \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\"\ + ,\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"\ + kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n\ + \ \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\"\ + ,\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.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-202306.13.0\",\n \"upgradeSettings\"\ + : {},\n \"enableFIPS\": false,\n \"creationData\": {\n \"sourceResourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\"\ + \n },\n \"networkProfile\": {}\n }\n }\n ]\n }" headers: cache-control: - no-cache content-length: - - '169' + - '1330' content-type: - application/json date: - - Sun, 25 Jun 2023 03:25:20 GMT + - Wed, 28 Jun 2023 21:57:55 GMT expires: - '-1' pragma: @@ -1877,79 +1825,43 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - aks create + - aks nodepool add Connection: - keep-alive ParameterSetName: - - --resource-group --name --location --nodepool-name --node-count --snapshot-id - --ssh-key-value -o + - --resource-group --cluster-name --name --node-count --snapshot-id -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003?api-version=2023-05-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006?api-version=2023-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003\",\n - \ \"location\": \"westus2\",\n \"name\": \"cliakstest000003\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\": - \"cliakstest-clitestjwun3tgcc-79a739\",\n \"fqdn\": \"cliakstest-clitestjwun3tgcc-79a739-p4d2wm8y.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestjwun3tgcc-79a739-p4d2wm8y.portal.hcp.westus2.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"c000004\",\n \"count\": - 1,\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.25.6\",\n \"currentOrchestratorVersion\": \"1.25.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-202306.01.0\",\n \"upgradeSettings\": {},\n - \ \"enableFIPS\": false,\n \"creationData\": {\n \"sourceResourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\"\n - \ },\n \"networkProfile\": {}\n }\n ],\n \"linuxProfile\": {\n - \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\": - [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIdFuT4kW9h0LYgYkCTZ8VoRfDIfqjZwZgqVkh8CLmpLRjJlhj2CPpwxuTp7cO5+JKSYONgRtmUuJeyenbpwbFHxR2NfozVNB58DC/TIFDYePcQbqehIWzgSYjSry4XFh53ftuCrfyKTv45UPTKKY5FPk6W+a5mqUrpfSN8cbW3mQq/oWm/AfYDuUyJbhuuDr56+JOY83k9mJAM7tgTi58GWQPLyRfWyFUv3VGdYO2wwoViTLVzpMRRspx1xzNK1pY7pDb9aLPMfB4+1F4orZRUcYNE3Q8RHUBH01M+ECLBvvBEFLfIJT8qDdQaljqMah53XgnGen0XurXJ+wfpsB5 - 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_cliakstest000003_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_cliakstest000003_westus2/providers/Microsoft.Network/publicIPAddresses/80bb0767-2722-4264-9f35-06315f07f79a\"\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_cliakstest000003_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000003-agentpool\",\n - \ \"clientId\":\"00000000-0000-0000-0000-000000000001\",\n \"objectId\":\"00000000-0000-0000-0000-000000000001\"\n - \ }\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 }" + string: "{\n \"name\": \"s000006\",\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\"\ + ,\n \"type\": \"Microsoft.ContainerService/Snapshots\",\n \"location\":\ + \ \"westus2\",\n \"tags\": {\n \"test\": \"value\"\n },\n \"systemData\"\ + : {\n \"createdBy\": \"chrislopez@microsoft.com\",\n \"createdByType\"\ + : \"User\",\n \"createdAt\": \"2023-06-28T21:54:13.5503235Z\",\n \"lastModifiedBy\"\ + : \"chrislopez@microsoft.com\",\n \"lastModifiedByType\": \"User\",\n \ + \ \"lastModifiedAt\": \"2023-06-28T21:54:13.5503235Z\"\n },\n \"properties\"\ + : {\n \"creationData\": {\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004\"\ + \n },\n \"snapshotType\": \"NodePool\",\n \"kubernetesVersion\": \"\ + 1.25.6\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202306.13.0\"\ + ,\n \"osType\": \"Linux\",\n \"osSku\": \"Ubuntu\",\n \"vmSize\": \"\ + Standard_DS2_v2\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4321' + - '1012' content-type: - application/json date: - - Sun, 25 Jun 2023 03:25:20 GMT + - Wed, 28 Jun 2023 21:57:55 GMT expires: - '-1' pragma: @@ -1968,7 +1880,15 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"properties": {"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": + 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "osSKU": "Ubuntu", + "enableAutoScaling": false, "scaleDownMode": "Delete", "type": "VirtualMachineScaleSets", + "mode": "User", "orchestratorVersion": "1.25.6", "upgradeSettings": {}, "enableNodePublicIP": + false, "enableCustomCATrust": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": + "Delete", "spotMaxPrice": -1.0, "nodeTaints": [], "enableEncryptionAtHost": + false, "enableUltraSSD": false, "enableFIPS": false, "creationData": {"sourceResourceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006"}, + "networkProfile": {}}}' headers: Accept: - application/json @@ -1978,39 +1898,45 @@ interactions: - aks nodepool add Connection: - keep-alive + Content-Length: + - '755' + Content-Type: + - application/json ParameterSetName: - --resource-group --cluster-name --name --node-count --snapshot-id -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-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/cliakstest000003/agentPools?api-version=2023-05-02-preview + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003/agentPools/c000005?api-version=2023-05-02-preview response: body: - string: "{\n \"value\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003/agentPools/c000004\",\n - \ \"name\": \"c000004\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\",\n - \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n - \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": - \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": - \"Running\"\n },\n \"orchestratorVersion\": \"1.25.6\",\n \"currentOrchestratorVersion\": - \"1.25.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-202306.01.0\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false,\n \"creationData\": - {\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\"\n - \ },\n \"networkProfile\": {}\n }\n }\n ]\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003/agentPools/c000005\"\ + ,\n \"name\": \"c000005\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\"\ + ,\n \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\"\ + ,\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\"\ + : \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n\ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Creating\"\ + ,\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"User\",\n \"\ + enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\"\ + : \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202306.13.0\"\ + ,\n \"upgradeSettings\": {},\n \"enableFIPS\": false,\n \"creationData\"\ + : {\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\"\ + \n },\n \"networkProfile\": {}\n }\n }" headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/133d44dc-7e45-47bc-aa84-d69f41afe65f?api-version=2016-03-30 cache-control: - no-cache content-length: - - '1330' + - '1262' content-type: - application/json date: - - Sun, 25 Jun 2023 03:25:22 GMT + - Wed, 28 Jun 2023 21:58:00 GMT expires: - '-1' pragma: @@ -2019,20 +1945,18 @@ interactions: - 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 + code: 201 + message: Created - request: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2042,33 +1966,23 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --node-count --snapshot-id -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006?api-version=2023-05-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/133d44dc-7e45-47bc-aa84-d69f41afe65f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"s000006\",\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\",\n - \ \"type\": \"Microsoft.ContainerService/Snapshots\",\n \"location\": \"westus2\",\n - \ \"systemData\": {\n \"createdBy\": \"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d\",\n - \ \"createdByType\": \"Application\",\n \"createdAt\": \"2023-06-25T03:20:39.3959053Z\",\n - \ \"lastModifiedBy\": \"3fac8b4e-cd90-4baa-a5d2-66d52bc8349d\",\n \"lastModifiedByType\": - \"Application\",\n \"lastModifiedAt\": \"2023-06-25T03:20:39.3959053Z\"\n - \ },\n \"properties\": {\n \"creationData\": {\n \"sourceResourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/agentPools/c000004\"\n - \ },\n \"snapshotType\": \"NodePool\",\n \"kubernetesVersion\": \"1.25.6\",\n - \ \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202306.01.0\",\n \"osType\": - \"Linux\",\n \"osSku\": \"Ubuntu\",\n \"vmSize\": \"Standard_DS2_v2\"\n - \ }\n }" + string: "{\n \"name\": \"dc443d13-457e-bc47-aa84-d69f41afe65f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:58:01.1300983Z\"\n }" headers: cache-control: - no-cache content-length: - - '1014' + - '126' content-type: - application/json date: - - Sun, 25 Jun 2023 03:25:22 GMT + - Wed, 28 Jun 2023 21:58:01 GMT expires: - '-1' pragma: @@ -2086,79 +2000,6 @@ interactions: status: code: 200 message: OK -- request: - body: '{"properties": {"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": - 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "osSKU": "Ubuntu", - "enableAutoScaling": false, "scaleDownMode": "Delete", "type": "VirtualMachineScaleSets", - "mode": "User", "orchestratorVersion": "1.25.6", "upgradeSettings": {}, "enableNodePublicIP": - false, "enableCustomCATrust": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": - "Delete", "spotMaxPrice": -1.0, "nodeTaints": [], "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "creationData": {"sourceResourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006"}, - "networkProfile": {}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks nodepool add - Connection: - - keep-alive - Content-Length: - - '755' - Content-Type: - - application/json - ParameterSetName: - - --resource-group --cluster-name --name --node-count --snapshot-id -o - User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-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/cliakstest000003/agentPools/c000005?api-version=2023-05-02-preview - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003/agentPools/c000005\",\n - \ \"name\": \"c000005\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\",\n - \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n - \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": - \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n - \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Creating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": - false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202306.01.0\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false,\n \"creationData\": - {\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\"\n - \ },\n \"networkProfile\": {}\n }\n }" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a72767c-de21-405d-8fb6-d40da22fb3fd?api-version=2016-03-30 - cache-control: - - no-cache - content-length: - - '1262' - content-type: - - application/json - date: - - Sun, 25 Jun 2023 03:25:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 201 - message: Created - request: body: null headers: @@ -2173,14 +2014,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --node-count --snapshot-id -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a72767c-de21-405d-8fb6-d40da22fb3fd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/133d44dc-7e45-47bc-aa84-d69f41afe65f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7c76724a-21de-5d40-8fb6-d40da22fb3fd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:25:27.1862394Z\"\n }" + string: "{\n \"name\": \"dc443d13-457e-bc47-aa84-d69f41afe65f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:58:01.1300983Z\"\n }" headers: cache-control: - no-cache @@ -2189,7 +2030,7 @@ interactions: content-type: - application/json date: - - Sun, 25 Jun 2023 03:25:26 GMT + - Wed, 28 Jun 2023 21:58:30 GMT expires: - '-1' pragma: @@ -2221,14 +2062,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --node-count --snapshot-id -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a72767c-de21-405d-8fb6-d40da22fb3fd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/133d44dc-7e45-47bc-aa84-d69f41afe65f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7c76724a-21de-5d40-8fb6-d40da22fb3fd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:25:27.1862394Z\"\n }" + string: "{\n \"name\": \"dc443d13-457e-bc47-aa84-d69f41afe65f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:58:01.1300983Z\"\n }" headers: cache-control: - no-cache @@ -2237,7 +2078,7 @@ interactions: content-type: - application/json date: - - Sun, 25 Jun 2023 03:25:56 GMT + - Wed, 28 Jun 2023 21:59:01 GMT expires: - '-1' pragma: @@ -2269,14 +2110,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --node-count --snapshot-id -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a72767c-de21-405d-8fb6-d40da22fb3fd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/133d44dc-7e45-47bc-aa84-d69f41afe65f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7c76724a-21de-5d40-8fb6-d40da22fb3fd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:25:27.1862394Z\"\n }" + string: "{\n \"name\": \"dc443d13-457e-bc47-aa84-d69f41afe65f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:58:01.1300983Z\"\n }" headers: cache-control: - no-cache @@ -2285,7 +2126,7 @@ interactions: content-type: - application/json date: - - Sun, 25 Jun 2023 03:26:27 GMT + - Wed, 28 Jun 2023 21:59:31 GMT expires: - '-1' pragma: @@ -2317,14 +2158,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --node-count --snapshot-id -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a72767c-de21-405d-8fb6-d40da22fb3fd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/133d44dc-7e45-47bc-aa84-d69f41afe65f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7c76724a-21de-5d40-8fb6-d40da22fb3fd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:25:27.1862394Z\"\n }" + string: "{\n \"name\": \"dc443d13-457e-bc47-aa84-d69f41afe65f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:58:01.1300983Z\"\n }" headers: cache-control: - no-cache @@ -2333,7 +2174,7 @@ interactions: content-type: - application/json date: - - Sun, 25 Jun 2023 03:26:57 GMT + - Wed, 28 Jun 2023 22:00:02 GMT expires: - '-1' pragma: @@ -2365,14 +2206,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --node-count --snapshot-id -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a72767c-de21-405d-8fb6-d40da22fb3fd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/133d44dc-7e45-47bc-aa84-d69f41afe65f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7c76724a-21de-5d40-8fb6-d40da22fb3fd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:25:27.1862394Z\"\n }" + string: "{\n \"name\": \"dc443d13-457e-bc47-aa84-d69f41afe65f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:58:01.1300983Z\"\n }" headers: cache-control: - no-cache @@ -2381,7 +2222,7 @@ interactions: content-type: - application/json date: - - Sun, 25 Jun 2023 03:27:27 GMT + - Wed, 28 Jun 2023 22:00:31 GMT expires: - '-1' pragma: @@ -2413,14 +2254,14 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --node-count --snapshot-id -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a72767c-de21-405d-8fb6-d40da22fb3fd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/133d44dc-7e45-47bc-aa84-d69f41afe65f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7c76724a-21de-5d40-8fb6-d40da22fb3fd\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2023-06-25T03:25:27.1862394Z\"\n }" + string: "{\n \"name\": \"dc443d13-457e-bc47-aa84-d69f41afe65f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2023-06-28T21:58:01.1300983Z\"\n }" headers: cache-control: - no-cache @@ -2429,7 +2270,7 @@ interactions: content-type: - application/json date: - - Sun, 25 Jun 2023 03:27:57 GMT + - Wed, 28 Jun 2023 22:01:02 GMT expires: - '-1' pragma: @@ -2461,15 +2302,15 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --node-count --snapshot-id -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a72767c-de21-405d-8fb6-d40da22fb3fd?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/133d44dc-7e45-47bc-aa84-d69f41afe65f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"7c76724a-21de-5d40-8fb6-d40da22fb3fd\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2023-06-25T03:25:27.1862394Z\",\n \"endTime\": - \"2023-06-25T03:28:26.8910742Z\"\n }" + string: "{\n \"name\": \"dc443d13-457e-bc47-aa84-d69f41afe65f\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2023-06-28T21:58:01.1300983Z\",\n \"\ + endTime\": \"2023-06-28T22:01:11.7421959Z\"\n }" headers: cache-control: - no-cache @@ -2478,7 +2319,7 @@ interactions: content-type: - application/json date: - - Sun, 25 Jun 2023 03:28:27 GMT + - Wed, 28 Jun 2023 22:01:32 GMT expires: - '-1' pragma: @@ -2510,27 +2351,27 @@ interactions: ParameterSetName: - --resource-group --cluster-name --name --node-count --snapshot-id -o User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003/agentPools/c000005?api-version=2023-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003/agentPools/c000005\",\n - \ \"name\": \"c000005\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\",\n - \ \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\",\n - \ \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": - \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n - \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n - \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"User\",\n \"enableEncryptionAtHost\": - false,\n \"enableUltraSSD\": false,\n \"osType\": \"Linux\",\n \"osSKU\": - \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202306.01.0\",\n - \ \"upgradeSettings\": {},\n \"enableFIPS\": false,\n \"creationData\": - {\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\"\n - \ },\n \"networkProfile\": {}\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003/agentPools/c000005\"\ + ,\n \"name\": \"c000005\",\n \"type\": \"Microsoft.ContainerService/managedClusters/agentPools\"\ + ,\n \"properties\": {\n \"count\": 1,\n \"vmSize\": \"Standard_DS2_v2\"\ + ,\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\"\ + : \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n\ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"scaleDownMode\": \"Delete\",\n \"provisioningState\": \"Succeeded\"\ + ,\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\"\ + : \"1.25.6\",\n \"currentOrchestratorVersion\": \"1.25.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"User\",\n \"\ + enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \"osType\"\ + : \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": \"AKSUbuntu-2204gen2containerd-202306.13.0\"\ + ,\n \"upgradeSettings\": {},\n \"enableFIPS\": false,\n \"creationData\"\ + : {\n \"sourceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006\"\ + \n },\n \"networkProfile\": {}\n }\n }" headers: cache-control: - no-cache @@ -2539,7 +2380,7 @@ interactions: content-type: - application/json date: - - Sun, 25 Jun 2023 03:28:28 GMT + - Wed, 28 Jun 2023 22:01:33 GMT expires: - '-1' pragma: @@ -2573,8 +2414,8 @@ interactions: ParameterSetName: - -g -n --yes --no-wait User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000003?api-version=2023-05-02-preview response: @@ -2582,17 +2423,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/54e15b95-9297-43d4-927b-bf15e501590a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a60503b7-9714-4c98-ae6d-cb9095010484?api-version=2016-03-30 cache-control: - no-cache content-length: - '0' date: - - Sun, 25 Jun 2023 03:28:30 GMT + - Wed, 28 Jun 2023 22:01:34 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/54e15b95-9297-43d4-927b-bf15e501590a?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/a60503b7-9714-4c98-ae6d-cb9095010484?api-version=2016-03-30 pragma: - no-cache server: @@ -2622,8 +2463,8 @@ interactions: ParameterSetName: - --resource-group --name --yes --no-wait User-Agent: - - AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/23.0.0b Python/3.8.10 - (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29) + - AZURECLI/2.49.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/23.0.0b + Python/3.10.11 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/snapshots/s000006?api-version=2023-05-02-preview response: @@ -2635,7 +2476,7 @@ interactions: content-length: - '0' date: - - Sun, 25 Jun 2023 03:28:31 GMT + - Wed, 28 Jun 2023 22:01:35 GMT expires: - '-1' pragma: 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 5e416dfbcc8..bad352b100c 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 @@ -1948,6 +1948,9 @@ def test_aks_nodepool_snapshot(self, resource_group, resource_group_location): nodepool_name = self.create_random_name('c', 6) nodepool_name2 = self.create_random_name('c', 6) snapshot_name = self.create_random_name('s', 16) + tagVar = "test" + tagVal = "value" + tags = tagVar+"="+tagVal self.kwargs.update({ 'resource_group': resource_group, @@ -1959,7 +1962,8 @@ def test_aks_nodepool_snapshot(self, resource_group, resource_group_location): 'snapshot_name': snapshot_name, 'k8s_version': create_version, 'upgrade_k8s_version': upgrade_version, - 'ssh_key_value': self.generate_ssh_keys() + 'ssh_key_value': self.generate_ssh_keys(), + 'tags': tags }) # create an aks cluster not using snapshot @@ -1993,6 +1997,12 @@ def test_aks_nodepool_snapshot(self, resource_group, resource_group_location): }) print("The snapshot resource id %s " % snapshot_resource_id) + # update tags on nodepool snapshot + update_snapshot_cmd = 'aks nodepool snapshot update --resource-group {resource_group} --name {snapshot_name} --tags {tags} -o json' + response = self.cmd(update_snapshot_cmd, checks=[ + self.check('tags', {tagVar: tagVal}) + ]).get_output_in_json() + # delete the original AKS cluster self.cmd( 'aks delete -g {resource_group} -n {name} --yes --no-wait', checks=[self.is_empty()]) diff --git a/src/aks-preview/setup.py b/src/aks-preview/setup.py index d63490cbfc2..e42bb99b542 100644 --- a/src/aks-preview/setup.py +++ b/src/aks-preview/setup.py @@ -9,7 +9,7 @@ from setuptools import setup, find_packages -VERSION = "0.5.145" +VERSION = "0.5.146" CLASSIFIERS = [ "Development Status :: 4 - Beta",