diff --git a/linter_exclusions.yml b/linter_exclusions.yml
index e7829ced327..458efbefab5 100644
--- a/linter_exclusions.yml
+++ b/linter_exclusions.yml
@@ -13,9 +13,6 @@ aks create:
aad_admin_group_object_ids:
rule_exclusions:
- option_length_too_long
- aad_server_app_secret:
- rule_exclusions:
- - option_length_too_long
api_server_authorized_ip_ranges:
rule_exclusions:
- option_length_too_long
diff --git a/src/aks-preview/HISTORY.rst b/src/aks-preview/HISTORY.rst
index 4af498295c0..3b6c1b65728 100644
--- a/src/aks-preview/HISTORY.rst
+++ b/src/aks-preview/HISTORY.rst
@@ -9,6 +9,10 @@ If there is no rush to release a new version, please just add a description of t
To release a new version, please select a new version number (usually plus 1 to last patch version, X.Y.Z -> Major.Minor.Patch, more details in `\doc `_), and then add a new section named as the new version number in this file, the content should include the new modifications and everything from the *Pending* section. Finally, update the `VERSION` variable in `setup.py` with this new version number.
+11.0.0b1
++++++++
+* [BREAKING CHANGE]: `az aks create`: Remove AAD-legacy properties `--aad-client-app-id`, `--aad-server-app-id` and `--aad-server-app-secret` when creating cluster.
+
10.0.0b1
++++++++
* [BREAKING CHANGE]: `az aks create/update`: Remove `--uptime-sla` and `--no-uptime-sla` options.
diff --git a/src/aks-preview/azext_aks_preview/_help.py b/src/aks-preview/azext_aks_preview/_help.py
index d87d174f620..a6e564116fb 100644
--- a/src/aks-preview/azext_aks_preview/_help.py
+++ b/src/aks-preview/azext_aks_preview/_help.py
@@ -106,20 +106,6 @@
- name: --aad-admin-group-object-ids
type: string
short-summary: Comma-separated list of aad group object IDs that will be set as cluster admin.
- - name: --aad-client-app-id
- type: string
- short-summary: The ID of an Azure Active Directory client application of type "Native". This
- application is for user login via kubectl.
- long-summary: --aad-client-app-id is deprecated. See https://aka.ms/aks/aad-legacy for details.
- - name: --aad-server-app-id
- type: string
- short-summary: The ID of an Azure Active Directory server application of type "Web app/API". This
- application represents the managed cluster's apiserver (Server application).
- long-summary: --aad-server-app-id is deprecated. See https://aka.ms/aks/aad-legacy for details.
- - name: --aad-server-app-secret
- type: string
- short-summary: The secret of an Azure Active Directory server application.
- long-summary: --aad-server-app-secret is deprecated. See https://aka.ms/aks/aad-legacy for details.
- name: --aad-tenant-id
type: string
short-summary: The ID of an Azure Active Directory tenant.
@@ -1309,7 +1295,7 @@
text: az aks update -g MyResourceGroup -n MyManagedCluster --api-server-authorized-ip-ranges 0.0.0.0/32
- name: Update a AKS-managed AAD cluster with tenant ID or admin group object IDs.
text: az aks update -g MyResourceGroup -n MyManagedCluster --aad-admin-group-object-ids --aad-tenant-id
- - name: Migrate a AKS AAD-Integrated cluster or a non-AAAAD cluster to a AKS-managed AAD cluster.
+ - name: Migrate a AKS AAD-Integrated cluster or a non-AAD cluster to a AKS-managed AAD cluster.
text: az aks update -g MyResourceGroup -n MyManagedCluster --enable-aad --aad-admin-group-object-ids --aad-tenant-id
- name: Enable Azure Hybrid User Benefits featture for a kubernetes cluster.
text: az aks update -g MyResourceGroup -n MyManagedCluster --enable-ahub
diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py
index 54360dc5ec3..6735f2c20f8 100644
--- a/src/aks-preview/azext_aks_preview/_params.py
+++ b/src/aks-preview/azext_aks_preview/_params.py
@@ -582,18 +582,6 @@ def load_arguments(self, _):
)
c.argument("enable_aad", action="store_true")
c.argument("enable_azure_rbac", action="store_true")
- c.argument(
- "aad_client_app_id",
- deprecate_info=c.deprecate(target="--aad-client-app-id", hide=True),
- )
- c.argument(
- "aad_server_app_id",
- deprecate_info=c.deprecate(target="--aad-server-app-id", hide=True),
- )
- c.argument(
- "aad_server_app_secret",
- deprecate_info=c.deprecate(target="--aad-server-app-secret", hide=True),
- )
c.argument("aad_tenant_id")
c.argument("aad_admin_group_object_ids")
c.argument("enable_oidc_issuer", action="store_true")
diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py
index 3f34d93e397..6d9ae76731a 100644
--- a/src/aks-preview/azext_aks_preview/custom.py
+++ b/src/aks-preview/azext_aks_preview/custom.py
@@ -384,9 +384,6 @@ def aks_create(
assign_kubelet_identity=None,
enable_aad=False,
enable_azure_rbac=False,
- aad_client_app_id=None,
- aad_server_app_id=None,
- aad_server_app_secret=None,
aad_tenant_id=None,
aad_admin_group_object_ids=None,
enable_oidc_issuer=False,
diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_aadv1_and_update_with_managed_aad.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_aadv1_and_update_with_managed_aad.yaml
deleted file mode 100755
index 1f825f2a1f1..00000000000
--- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_aadv1_and_update_with_managed_aad.yaml
+++ /dev/null
@@ -1,1497 +0,0 @@
-interactions:
-- request:
- body: null
- headers:
- Accept:
- - application/json
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks create
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret
- --aad-client-app-id --aad-tenant-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)
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2024-07-02-preview
- response:
- body:
- string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.ContainerService/managedClusters/cliakstest000002''
- under resource group ''clitest000001'' was not found. For more details please
- go to https://aka.ms/ARMResourceNotFoundFix"}}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '244'
- content-type:
- - application/json; charset=utf-8
- date:
- - Wed, 21 Jun 2023 08:12:23 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- x-content-type-options:
- - nosniff
- x-ms-failure-cause:
- - gateway
- status:
- code: 404
- message: Not Found
-- request:
- body: null
- headers:
- Accept:
- - application/json
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks create
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret
- --aad-client-app-id --aad-tenant-id --ssh-key-value -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_create_aadv1_and_update_with_managed_aad","date":"2023-06-21T08:12:23Z","module":"aks-preview"},"properties":{"provisioningState":"Succeeded"}}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '387'
- content-type:
- - application/json; charset=utf-8
- date:
- - Wed, 21 Jun 2023 08:12:24 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", "identity": {"type": "SystemAssigned"}, "properties":
- {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestdp2je4enx-79a739",
- "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_DS2_v2", "osDiskSizeGB":
- 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling":
- false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion":
- "", "upgradeSettings": {}, "enableNodePublicIP": false, "enableCustomCATrust":
- false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice":
- -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false,
- "enableFIPS": false, "networkProfile": {}, "name": "nodepool1"}], "linuxProfile":
- {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDb0x2R+gxDt9nnClKGb09PRKjhwllORkiL+Od4OMCGmPwZsY1iIi52E+yY/Gr5H0g+jiXj2pu5YhacgFmbFYwtCmxd2L7qVq3Xk+Km5ZL/Bso+zyVtboNA4bFD+lB16EOuRX3DlcvDO/7Udzj45GGfBBGwLQVZq3mZyKAEeRIOsUP+pOaDsaVQg8XErBATbdG2O8pDzamUXDHi6WW36SjvsrqeDezer1bNka3QITdhdPTfiyqweodKbsVxgqj3PU3OKY87fsQvy48JqZDrFVsseV1U6/N2cnDHFkbn8ZElh/gZVb+fb0iKu7OQUvRGnHHruP/HQ7pKe65qL82PbdlJ
- 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"}, "aadProfile":
- {"clientAppID": "00000000-0000-0000-0000-000000000002", "serverAppID": "00000000-0000-0000-0000-000000000001",
- "serverAppSecret": "fake-secret", "tenantID": "d5b55040-0c14-48cc-a028-91457fc190d9"},
- "disableLocalAccounts": false, "storageProfile": {}}}'
- headers:
- Accept:
- - application/json
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks create
- Connection:
- - keep-alive
- Content-Length:
- - '1755'
- Content-Type:
- - application/json
- ParameterSetName:
- - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret
- --aad-client-app-id --aad-tenant-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)
- method: PUT
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2024-07-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-clitestdp2je4enx-79a739\",\n \"fqdn\": \"cliakstest-clitestdp2je4enx-79a739-a9tdu1fl.hcp.westus2.azmk8s.io\",\n
- \ \"azurePortalFQDN\": \"cliakstest-clitestdp2je4enx-79a739-a9tdu1fl.portal.hcp.westus2.azmk8s.io\",\n
- \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\":
- 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\":
- \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"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 AAAAB3NzaC1yc2EAAAADAQABAAABAQDb0x2R+gxDt9nnClKGb09PRKjhwllORkiL+Od4OMCGmPwZsY1iIi52E+yY/Gr5H0g+jiXj2pu5YhacgFmbFYwtCmxd2L7qVq3Xk+Km5ZL/Bso+zyVtboNA4bFD+lB16EOuRX3DlcvDO/7Udzj45GGfBBGwLQVZq3mZyKAEeRIOsUP+pOaDsaVQg8XErBATbdG2O8pDzamUXDHi6WW36SjvsrqeDezer1bNka3QITdhdPTfiyqweodKbsVxgqj3PU3OKY87fsQvy48JqZDrFVsseV1U6/N2cnDHFkbn8ZElh/gZVb+fb0iKu7OQUvRGnHHruP/HQ7pKe65qL82PbdlJ
- 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 \"aadProfile\": {\n \"adminGroupObjectIDs\": null,\n \"adminUsers\":
- null,\n \"clientAppID\": \"00000000-0000-0000-0000-000000000002\",\n \"serverAppID\":
- \"00000000-0000-0000-0000-000000000001\",\n \"tenantID\": \"d5b55040-0c14-48cc-a028-91457fc190d9\"\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 }"
- headers:
- azure-asyncoperation:
- - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/07bef4dc-8e72-4c2a-898d-aa213119b677?api-version=2016-03-30
- cache-control:
- - no-cache
- content-length:
- - '3730'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:12:30 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- x-content-type-options:
- - nosniff
- x-ms-ratelimit-remaining-subscription-writes:
- - '1199'
- status:
- code: 201
- message: Created
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks create
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret
- --aad-client-app-id --aad-tenant-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)
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/07bef4dc-8e72-4c2a-898d-aa213119b677?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"dcf4be07-728e-2a4c-898d-aa213119b677\",\n \"status\":
- \"InProgress\",\n \"startTime\": \"2023-06-21T08:12:30.3206132Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '126'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:12:30 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks create
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret
- --aad-client-app-id --aad-tenant-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)
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/07bef4dc-8e72-4c2a-898d-aa213119b677?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"dcf4be07-728e-2a4c-898d-aa213119b677\",\n \"status\":
- \"InProgress\",\n \"startTime\": \"2023-06-21T08:12:30.3206132Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '126'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:13:00 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks create
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret
- --aad-client-app-id --aad-tenant-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)
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/07bef4dc-8e72-4c2a-898d-aa213119b677?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"dcf4be07-728e-2a4c-898d-aa213119b677\",\n \"status\":
- \"InProgress\",\n \"startTime\": \"2023-06-21T08:12:30.3206132Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '126'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:13:31 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks create
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret
- --aad-client-app-id --aad-tenant-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)
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/07bef4dc-8e72-4c2a-898d-aa213119b677?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"dcf4be07-728e-2a4c-898d-aa213119b677\",\n \"status\":
- \"InProgress\",\n \"startTime\": \"2023-06-21T08:12:30.3206132Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '126'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:14:01 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks create
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret
- --aad-client-app-id --aad-tenant-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)
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/07bef4dc-8e72-4c2a-898d-aa213119b677?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"dcf4be07-728e-2a4c-898d-aa213119b677\",\n \"status\":
- \"InProgress\",\n \"startTime\": \"2023-06-21T08:12:30.3206132Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '126'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:14:30 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks create
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret
- --aad-client-app-id --aad-tenant-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)
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/07bef4dc-8e72-4c2a-898d-aa213119b677?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"dcf4be07-728e-2a4c-898d-aa213119b677\",\n \"status\":
- \"InProgress\",\n \"startTime\": \"2023-06-21T08:12:30.3206132Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '126'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:15:00 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks create
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret
- --aad-client-app-id --aad-tenant-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)
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/07bef4dc-8e72-4c2a-898d-aa213119b677?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"dcf4be07-728e-2a4c-898d-aa213119b677\",\n \"status\":
- \"InProgress\",\n \"startTime\": \"2023-06-21T08:12:30.3206132Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '126'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:15:31 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks create
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret
- --aad-client-app-id --aad-tenant-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)
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/07bef4dc-8e72-4c2a-898d-aa213119b677?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"dcf4be07-728e-2a4c-898d-aa213119b677\",\n \"status\":
- \"InProgress\",\n \"startTime\": \"2023-06-21T08:12:30.3206132Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '126'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:16:01 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks create
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret
- --aad-client-app-id --aad-tenant-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)
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/07bef4dc-8e72-4c2a-898d-aa213119b677?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"dcf4be07-728e-2a4c-898d-aa213119b677\",\n \"status\":
- \"InProgress\",\n \"startTime\": \"2023-06-21T08:12:30.3206132Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '126'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:16:31 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks create
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret
- --aad-client-app-id --aad-tenant-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)
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/07bef4dc-8e72-4c2a-898d-aa213119b677?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"dcf4be07-728e-2a4c-898d-aa213119b677\",\n \"status\":
- \"InProgress\",\n \"startTime\": \"2023-06-21T08:12:30.3206132Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '126'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:17:01 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks create
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret
- --aad-client-app-id --aad-tenant-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)
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/07bef4dc-8e72-4c2a-898d-aa213119b677?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"dcf4be07-728e-2a4c-898d-aa213119b677\",\n \"status\":
- \"Succeeded\",\n \"startTime\": \"2023-06-21T08:12:30.3206132Z\",\n \"endTime\":
- \"2023-06-21T08:17:30.6957298Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '170'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:17:31 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks create
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --vm-set-type -c --aad-server-app-id --aad-server-app-secret
- --aad-client-app-id --aad-tenant-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)
- method: GET
- uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2024-07-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-clitestdp2je4enx-79a739\",\n \"fqdn\": \"cliakstest-clitestdp2je4enx-79a739-a9tdu1fl.hcp.westus2.azmk8s.io\",\n
- \ \"azurePortalFQDN\": \"cliakstest-clitestdp2je4enx-79a739-a9tdu1fl.portal.hcp.westus2.azmk8s.io\",\n
- \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\":
- 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\":
- \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"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 AAAAB3NzaC1yc2EAAAADAQABAAABAQDb0x2R+gxDt9nnClKGb09PRKjhwllORkiL+Od4OMCGmPwZsY1iIi52E+yY/Gr5H0g+jiXj2pu5YhacgFmbFYwtCmxd2L7qVq3Xk+Km5ZL/Bso+zyVtboNA4bFD+lB16EOuRX3DlcvDO/7Udzj45GGfBBGwLQVZq3mZyKAEeRIOsUP+pOaDsaVQg8XErBATbdG2O8pDzamUXDHi6WW36SjvsrqeDezer1bNka3QITdhdPTfiyqweodKbsVxgqj3PU3OKY87fsQvy48JqZDrFVsseV1U6/N2cnDHFkbn8ZElh/gZVb+fb0iKu7OQUvRGnHHruP/HQ7pKe65qL82PbdlJ
- 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/81cf3b18-37fd-4b3d-98db-07c6c65819fb\"\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 \"aadProfile\": {\n \"adminGroupObjectIDs\": null,\n \"adminUsers\":
- null,\n \"clientAppID\": \"00000000-0000-0000-0000-000000000002\",\n \"serverAppID\":
- \"00000000-0000-0000-0000-000000000001\",\n \"tenantID\": \"d5b55040-0c14-48cc-a028-91457fc190d9\"\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 }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '4383'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:17:32 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - application/json
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks update
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-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=2024-07-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-clitestdp2je4enx-79a739\",\n \"fqdn\": \"cliakstest-clitestdp2je4enx-79a739-a9tdu1fl.hcp.westus2.azmk8s.io\",\n
- \ \"azurePortalFQDN\": \"cliakstest-clitestdp2je4enx-79a739-a9tdu1fl.portal.hcp.westus2.azmk8s.io\",\n
- \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\":
- 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\":
- \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"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 AAAAB3NzaC1yc2EAAAADAQABAAABAQDb0x2R+gxDt9nnClKGb09PRKjhwllORkiL+Od4OMCGmPwZsY1iIi52E+yY/Gr5H0g+jiXj2pu5YhacgFmbFYwtCmxd2L7qVq3Xk+Km5ZL/Bso+zyVtboNA4bFD+lB16EOuRX3DlcvDO/7Udzj45GGfBBGwLQVZq3mZyKAEeRIOsUP+pOaDsaVQg8XErBATbdG2O8pDzamUXDHi6WW36SjvsrqeDezer1bNka3QITdhdPTfiyqweodKbsVxgqj3PU3OKY87fsQvy48JqZDrFVsseV1U6/N2cnDHFkbn8ZElh/gZVb+fb0iKu7OQUvRGnHHruP/HQ7pKe65qL82PbdlJ
- 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/81cf3b18-37fd-4b3d-98db-07c6c65819fb\"\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 \"aadProfile\": {\n \"adminGroupObjectIDs\": null,\n \"adminUsers\":
- null,\n \"clientAppID\": \"00000000-0000-0000-0000-000000000002\",\n \"serverAppID\":
- \"00000000-0000-0000-0000-000000000001\",\n \"tenantID\": \"d5b55040-0c14-48cc-a028-91457fc190d9\"\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 }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '4383'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:17:33 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: '{"location": "westus2", "sku": {"name": "Base", "tier": "Free"}, "identity":
- {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.25.6", "dnsPrefix":
- "cliakstest-clitestdp2je4enx-79a739", "agentPoolProfiles": [{"count": 1, "vmSize":
- "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType":
- "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux",
- "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets",
- "mode": "System", "orchestratorVersion": "1.25.6", "upgradeSettings": {}, "powerState":
- {"code": "Running"}, "enableNodePublicIP": false, "enableCustomCATrust": false,
- "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false,
- "networkProfile": {}, "name": "nodepool1"}], "linuxProfile": {"adminUsername":
- "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDb0x2R+gxDt9nnClKGb09PRKjhwllORkiL+Od4OMCGmPwZsY1iIi52E+yY/Gr5H0g+jiXj2pu5YhacgFmbFYwtCmxd2L7qVq3Xk+Km5ZL/Bso+zyVtboNA4bFD+lB16EOuRX3DlcvDO/7Udzj45GGfBBGwLQVZq3mZyKAEeRIOsUP+pOaDsaVQg8XErBATbdG2O8pDzamUXDHi6WW36SjvsrqeDezer1bNka3QITdhdPTfiyqweodKbsVxgqj3PU3OKY87fsQvy48JqZDrFVsseV1U6/N2cnDHFkbn8ZElh/gZVb+fb0iKu7OQUvRGnHHruP/HQ7pKe65qL82PbdlJ
- azcli_aks_live_test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"},
- "oidcIssuerProfile": {"enabled": false}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2",
- "enableRBAC": true, "supportPlan": "KubernetesOfficial", "enablePodSecurityPolicy":
- false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16",
- "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "outboundType": "loadBalancer",
- "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs":
- {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/81cf3b18-37fd-4b3d-98db-07c6c65819fb"}],
- "backendPoolType": "nodeIPConfiguration"}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs":
- ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "aadProfile": {"managed": true, "adminGroupObjectIDs":
- ["00000000-0000-0000-0000-000000000003"], "tenantID": "00000000-0000-0000-0000-000000000004"},
- "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool",
- "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}},
- "disableLocalAccounts": false, "securityProfile": {}, "storageProfile": {},
- "workloadAutoScalerProfile": {}}}'
- headers:
- Accept:
- - application/json
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks update
- Connection:
- - keep-alive
- Content-Length:
- - '2812'
- Content-Type:
- - application/json
- ParameterSetName:
- - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-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/cliakstest000002?api-version=2024-07-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\":
- \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\":
- \"1.25.6\",\n \"currentKubernetesVersion\": \"1.25.6\",\n \"dnsPrefix\":
- \"cliakstest-clitestdp2je4enx-79a739\",\n \"fqdn\": \"cliakstest-clitestdp2je4enx-79a739-a9tdu1fl.hcp.westus2.azmk8s.io\",\n
- \ \"azurePortalFQDN\": \"cliakstest-clitestdp2je4enx-79a739-a9tdu1fl.portal.hcp.westus2.azmk8s.io\",\n
- \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\":
- 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\":
- \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\":
- \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n
- \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\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 AAAAB3NzaC1yc2EAAAADAQABAAABAQDb0x2R+gxDt9nnClKGb09PRKjhwllORkiL+Od4OMCGmPwZsY1iIi52E+yY/Gr5H0g+jiXj2pu5YhacgFmbFYwtCmxd2L7qVq3Xk+Km5ZL/Bso+zyVtboNA4bFD+lB16EOuRX3DlcvDO/7Udzj45GGfBBGwLQVZq3mZyKAEeRIOsUP+pOaDsaVQg8XErBATbdG2O8pDzamUXDHi6WW36SjvsrqeDezer1bNka3QITdhdPTfiyqweodKbsVxgqj3PU3OKY87fsQvy48JqZDrFVsseV1U6/N2cnDHFkbn8ZElh/gZVb+fb0iKu7OQUvRGnHHruP/HQ7pKe65qL82PbdlJ
- 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/81cf3b18-37fd-4b3d-98db-07c6c65819fb\"\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 \"aadProfile\": {\n \"managed\": true,\n \"adminGroupObjectIDs\":
- [\n \"00000000-0000-0000-0000-000000000003\"\n ],\n \"adminUsers\":
- null,\n \"tenantID\": \"00000000-0000-0000-0000-000000000004\"\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 }"
- headers:
- azure-asyncoperation:
- - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/653cd71b-f3ff-44ff-907b-1d502f7722fd?api-version=2016-03-30
- cache-control:
- - no-cache
- content-length:
- - '4331'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:17:39 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- x-ms-ratelimit-remaining-subscription-writes:
- - '1198'
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks update
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-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/providers/Microsoft.ContainerService/locations/westus2/operations/653cd71b-f3ff-44ff-907b-1d502f7722fd?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"1bd73c65-fff3-ff44-907b-1d502f7722fd\",\n \"status\":
- \"InProgress\",\n \"startTime\": \"2023-06-21T08:17:38.3525335Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '126'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:17:39 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks update
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-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/providers/Microsoft.ContainerService/locations/westus2/operations/653cd71b-f3ff-44ff-907b-1d502f7722fd?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"1bd73c65-fff3-ff44-907b-1d502f7722fd\",\n \"status\":
- \"InProgress\",\n \"startTime\": \"2023-06-21T08:17:38.3525335Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '126'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:18:09 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks update
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-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/providers/Microsoft.ContainerService/locations/westus2/operations/653cd71b-f3ff-44ff-907b-1d502f7722fd?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"1bd73c65-fff3-ff44-907b-1d502f7722fd\",\n \"status\":
- \"InProgress\",\n \"startTime\": \"2023-06-21T08:17:38.3525335Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '126'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:18:38 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks update
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-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/providers/Microsoft.ContainerService/locations/westus2/operations/653cd71b-f3ff-44ff-907b-1d502f7722fd?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"1bd73c65-fff3-ff44-907b-1d502f7722fd\",\n \"status\":
- \"InProgress\",\n \"startTime\": \"2023-06-21T08:17:38.3525335Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '126'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:19:08 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks update
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-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/providers/Microsoft.ContainerService/locations/westus2/operations/653cd71b-f3ff-44ff-907b-1d502f7722fd?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"1bd73c65-fff3-ff44-907b-1d502f7722fd\",\n \"status\":
- \"InProgress\",\n \"startTime\": \"2023-06-21T08:17:38.3525335Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '126'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:19:39 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks update
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-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/providers/Microsoft.ContainerService/locations/westus2/operations/653cd71b-f3ff-44ff-907b-1d502f7722fd?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"1bd73c65-fff3-ff44-907b-1d502f7722fd\",\n \"status\":
- \"InProgress\",\n \"startTime\": \"2023-06-21T08:17:38.3525335Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '126'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:20:09 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks update
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-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/providers/Microsoft.ContainerService/locations/westus2/operations/653cd71b-f3ff-44ff-907b-1d502f7722fd?api-version=2016-03-30
- response:
- body:
- string: "{\n \"name\": \"1bd73c65-fff3-ff44-907b-1d502f7722fd\",\n \"status\":
- \"Succeeded\",\n \"startTime\": \"2023-06-21T08:17:38.3525335Z\",\n \"endTime\":
- \"2023-06-21T08:20:24.5975598Z\"\n }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '170'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:20:39 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - aks update
- Connection:
- - keep-alive
- ParameterSetName:
- - --resource-group --name --enable-aad --aad-admin-group-object-ids --aad-tenant-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=2024-07-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-clitestdp2je4enx-79a739\",\n \"fqdn\": \"cliakstest-clitestdp2je4enx-79a739-a9tdu1fl.hcp.westus2.azmk8s.io\",\n
- \ \"azurePortalFQDN\": \"cliakstest-clitestdp2je4enx-79a739-a9tdu1fl.portal.hcp.westus2.azmk8s.io\",\n
- \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\":
- 1,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\":
- \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"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 AAAAB3NzaC1yc2EAAAADAQABAAABAQDb0x2R+gxDt9nnClKGb09PRKjhwllORkiL+Od4OMCGmPwZsY1iIi52E+yY/Gr5H0g+jiXj2pu5YhacgFmbFYwtCmxd2L7qVq3Xk+Km5ZL/Bso+zyVtboNA4bFD+lB16EOuRX3DlcvDO/7Udzj45GGfBBGwLQVZq3mZyKAEeRIOsUP+pOaDsaVQg8XErBATbdG2O8pDzamUXDHi6WW36SjvsrqeDezer1bNka3QITdhdPTfiyqweodKbsVxgqj3PU3OKY87fsQvy48JqZDrFVsseV1U6/N2cnDHFkbn8ZElh/gZVb+fb0iKu7OQUvRGnHHruP/HQ7pKe65qL82PbdlJ
- 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/81cf3b18-37fd-4b3d-98db-07c6c65819fb\"\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 \"aadProfile\": {\n \"managed\": true,\n \"adminGroupObjectIDs\":
- [\n \"00000000-0000-0000-0000-000000000003\"\n ],\n \"adminUsers\":
- null,\n \"tenantID\": \"00000000-0000-0000-0000-000000000004\"\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 }"
- headers:
- cache-control:
- - no-cache
- content-length:
- - '4333'
- content-type:
- - application/json
- date:
- - Wed, 21 Jun 2023 08:20:40 GMT
- expires:
- - '-1'
- pragma:
- - no-cache
- server:
- - nginx
- strict-transport-security:
- - max-age=31536000; includeSubDomains
- transfer-encoding:
- - chunked
- vary:
- - Accept-Encoding
- x-content-type-options:
- - nosniff
- status:
- code: 200
- message: OK
-version: 1
diff --git a/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py b/src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py
index e9beb015249..ac03732d4aa 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
@@ -411,70 +411,6 @@ def test_aks_create_and_update_with_managed_aad(
],
)
- @AllowLargeResponse()
- @AKSCustomResourceGroupPreparer(
- random_name_length=17, name_prefix="clitest", location="canadacentral"
- )
- def test_aks_create_aadv1_and_update_with_managed_aad(
- self, resource_group, resource_group_location
- ):
- aks_name = self.create_random_name("cliakstest", 16)
- self.kwargs.update(
- {
- "resource_group": resource_group,
- "name": aks_name,
- "ssh_key_value": self.generate_ssh_keys(),
- }
- )
-
- create_cmd = (
- "aks create --resource-group={resource_group} --name={name} "
- "--vm-set-type VirtualMachineScaleSets -c 1 "
- "--aad-server-app-id 00000000-0000-0000-0000-000000000001 "
- "--aad-server-app-secret fake-secret "
- "--aad-client-app-id 00000000-0000-0000-0000-000000000002 "
- "--aad-tenant-id d5b55040-0c14-48cc-a028-91457fc190d9 "
- "--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AADv1AllowCreate "
- "--ssh-key-value={ssh_key_value} -o json"
- )
- self.cmd(
- create_cmd,
- checks=[
- self.check("provisioningState", "Succeeded"),
- self.check("aadProfile.managed", None),
- self.check(
- "aadProfile.serverAppId", "00000000-0000-0000-0000-000000000001"
- ),
- self.check(
- "aadProfile.clientAppId", "00000000-0000-0000-0000-000000000002"
- ),
- self.check(
- "aadProfile.tenantId", "d5b55040-0c14-48cc-a028-91457fc190d9"
- ),
- ],
- )
-
- update_cmd = (
- "aks update --resource-group={resource_group} --name={name} "
- "--enable-aad "
- "--aad-admin-group-object-ids 00000000-0000-0000-0000-000000000003 "
- "--aad-tenant-id 00000000-0000-0000-0000-000000000004 -o json"
- )
- self.cmd(
- update_cmd,
- checks=[
- self.check("provisioningState", "Succeeded"),
- self.check("aadProfile.managed", True),
- self.check(
- "aadProfile.adminGroupObjectIDs[0]",
- "00000000-0000-0000-0000-000000000003",
- ),
- self.check(
- "aadProfile.tenantId", "00000000-0000-0000-0000-000000000004"
- ),
- ],
- )
-
@AllowLargeResponse()
@AKSCustomResourceGroupPreparer(
random_name_length=17, name_prefix="clitest", location="canadacentral"
diff --git a/src/aks-preview/setup.py b/src/aks-preview/setup.py
index 0616f7a60ac..bf2cce1d288 100644
--- a/src/aks-preview/setup.py
+++ b/src/aks-preview/setup.py
@@ -9,7 +9,7 @@
from setuptools import setup, find_packages
-VERSION = "10.0.0b1"
+VERSION = "11.0.0b1"
CLASSIFIERS = [
"Development Status :: 4 - Beta",