From d418cda5ff64286aa7773e8d410ef4dce1118468 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Wed, 27 Apr 2022 09:07:45 +0530 Subject: [PATCH 01/52] Added namespace command in update aks --- src/aks-preview/azext_aks_preview/custom.py | 3 ++- .../azext_aks_preview/decorator.py | 20 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index b4d2e999668..a781d495ce5 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -880,7 +880,8 @@ def aks_update(cmd, # pylint: disable=too-many-statements,too-many-branches, enable_oidc_issuer=False, http_proxy_config=None, enable_azure_keyvault_kms=False, - azure_keyvault_kms_key_id=None): + azure_keyvault_kms_key_id=None, + enable_namespace_resources=False): # DO NOT MOVE: get all the original parameters and save them as a dictionary raw_parameters = locals() diff --git a/src/aks-preview/azext_aks_preview/decorator.py b/src/aks-preview/azext_aks_preview/decorator.py index 5bc2cd98ee9..198097328cb 100644 --- a/src/aks-preview/azext_aks_preview/decorator.py +++ b/src/aks-preview/azext_aks_preview/decorator.py @@ -2183,6 +2183,15 @@ def set_up_azure_keyvault_kms(self, mc: ManagedCluster) -> ManagedCluster: ) return mc + + def set_up_enable_namespace_resource(self, mc: ManagedCluster) -> ManagedCluster: + """Sets the property to enable namespace as an ARM resource + + :return: the ManagedCluster object + """ + if self.context.raw_param.get("enable_namespace_resources"): + mc.enable_namespace_resources = True + return mc def construct_mc_preview_profile(self) -> ManagedCluster: """The overall controller used to construct the preview ManagedCluster profile. @@ -2213,6 +2222,7 @@ def construct_mc_preview_profile(self) -> ManagedCluster: mc = self.set_up_azure_keyvault_kms(mc) mc = self.set_up_creationdata_of_cluster_snapshot(mc) + mc = self.set_up_enable_namespace_resource(mc) return mc def create_mc_preview(self, mc: ManagedCluster) -> ManagedCluster: @@ -2544,6 +2554,15 @@ def update_azure_keyvault_kms(self, mc: ManagedCluster) -> ManagedCluster: ) return mc + + def update_enable_namespace_resources(self, mc: ManagedCluster) -> ManagedCluster: + """Sets the property to enable namespace as an ARM resource + + :return: the ManagedCluster object + """ + if self.context.raw_param.get("enable_namespace_resources"): + mc.enable_namespace_resources = True + return mc def patch_mc(self, mc: ManagedCluster) -> ManagedCluster: """Helper function to patch the ManagedCluster object. @@ -2587,6 +2606,7 @@ def update_mc_preview_profile(self) -> ManagedCluster: mc = self.update_http_proxy_config(mc) mc = self.update_azure_keyvault_kms(mc) + mc = self.update_enable_namespace_resources(mc) return mc def update_mc_preview(self, mc: ManagedCluster) -> ManagedCluster: From 4d19877ac252249c636ce937f3e5ee3365451dee Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Thu, 28 Apr 2022 18:07:02 +0530 Subject: [PATCH 02/52] Added tests for namespace changes --- .../tests/latest/test_aks_commands.py | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) 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 0db298ee565..35d3e638e9e 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 @@ -277,6 +277,43 @@ def test_aks_create_with_ingress_appgw_addon(self, resource_group, resource_grou 'addonProfiles.ingressApplicationGateway.config.subnetCIDR', "10.232.0.0/16") ]) + @AllowLargeResponse() + @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') + def test_aks_create_with_namespace_enabled(self, resource_group, resource_group_location="westus2"): + 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} --enable-namespace-resources' + self.cmd(create_cmd, checks=[ + self.check('provisioningState', 'Succeeded'), + self.check('enableNamespaceResources', 'true') + ]) + + @AllowLargeResponse() + @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') + def test_aks_update_enable_namespace(self, resource_group, resource_group_location="westus2"): + 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}' + self.cmd(create_cmd, checks=[ + self.check('provisioningState', 'Succeeded'), + self.check('enableNamespaceResources', 'true') + ]) + + update_cmd = 'aks update --resource-group={resource_group} --name={name} --enable-namespace-resources' + self.cmd(update_cmd, checks=[ + self.check('enableNamespaceResources', 'true') + ]) + + @AllowLargeResponse() @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') def test_aks_create_with_ingress_appgw_addon_with_deprecated_subet_prefix(self, resource_group, resource_group_location): From 4d5cd56137356e755209cb274de0bc79f3bb8bbc Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Thu, 28 Apr 2022 18:17:51 +0530 Subject: [PATCH 03/52] Updated tests --- .../azext_aks_preview/tests/latest/test_aks_commands.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 35d3e638e9e..29ce34c1198 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 @@ -283,10 +283,9 @@ def test_aks_create_with_namespace_enabled(self, resource_group, resource_group_ 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() + 'name': aks_name }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-namespace-resources' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-namespace-resources --generate-ssh-keys' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('enableNamespaceResources', 'true') @@ -299,7 +298,6 @@ def test_aks_update_enable_namespace(self, resource_group, resource_group_locati 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}' @@ -308,7 +306,7 @@ def test_aks_update_enable_namespace(self, resource_group, resource_group_locati self.check('enableNamespaceResources', 'true') ]) - update_cmd = 'aks update --resource-group={resource_group} --name={name} --enable-namespace-resources' + update_cmd = 'aks update --resource-group={resource_group} --name={name} --enable-namespace-resources --generate-ssh-keys' self.cmd(update_cmd, checks=[ self.check('enableNamespaceResources', 'true') ]) From 7ce18201ade9415a4f565ab5b32cd1524b0e2810 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Thu, 28 Apr 2022 18:26:25 +0530 Subject: [PATCH 04/52] Updated tests --- .../azext_aks_preview/tests/latest/test_aks_commands.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 29ce34c1198..6ed9cbc9418 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 @@ -288,7 +288,7 @@ def test_aks_create_with_namespace_enabled(self, resource_group, resource_group_ create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-namespace-resources --generate-ssh-keys' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), - self.check('enableNamespaceResources', 'true') + self.check('enableNamespaceResources', True) ]) @AllowLargeResponse() @@ -303,12 +303,11 @@ def test_aks_update_enable_namespace(self, resource_group, resource_group_locati create_cmd = 'aks create --resource-group={resource_group} --name={name}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), - self.check('enableNamespaceResources', 'true') ]) update_cmd = 'aks update --resource-group={resource_group} --name={name} --enable-namespace-resources --generate-ssh-keys' self.cmd(update_cmd, checks=[ - self.check('enableNamespaceResources', 'true') + self.check('enableNamespaceResources', True) ]) From 61b22df4b0ede45efea83df9c7acfc5d565475a3 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Fri, 29 Apr 2022 10:38:29 +0530 Subject: [PATCH 05/52] Updated tests --- .../azext_aks_preview/tests/latest/test_aks_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6ed9cbc9418..8aae89b30b5 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 @@ -305,7 +305,7 @@ def test_aks_update_enable_namespace(self, resource_group, resource_group_locati self.check('provisioningState', 'Succeeded'), ]) - update_cmd = 'aks update --resource-group={resource_group} --name={name} --enable-namespace-resources --generate-ssh-keys' + update_cmd = 'aks update --resource-group={resource_group} --name={name} --enable-namespace-resources' self.cmd(update_cmd, checks=[ self.check('enableNamespaceResources', True) ]) From 40e4651e11101848f0e14cf4fe6568b2a62d1a85 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Mon, 25 Apr 2022 18:19:37 +0530 Subject: [PATCH 06/52] Added namespace resource in aks create and get-credentials --- src/aks-preview/azext_aks_preview/_params.py | 2 ++ src/aks-preview/azext_aks_preview/custom.py | 10 +++++++--- .../operations/_managed_clusters_operations.py | 11 ++++++++--- .../operations/_managed_clusters_operations.py | 17 +++++++++++++++-- 4 files changed, 32 insertions(+), 8 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index 37bed2caa42..0f7039a556f 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -215,6 +215,7 @@ def load_arguments(self, _): action='store_true', is_preview=True) c.argument('azure_keyvault_kms_key_id', validator=validate_azure_keyvault_kms_key_id, is_preview=True) + c.argument('enable_namespace_resources', options_list=['--enable-namespace-resources'], help='Enables namespace resources.') with self.argument_context('aks update') as c: c.argument('enable_cluster_autoscaler', options_list=[ @@ -491,6 +492,7 @@ def load_arguments(self, _): c.argument('public_fqdn', default=False, action='store_true') c.argument('credential_format', options_list=['--format'], arg_type=get_enum_type( [CONST_CREDENTIAL_FORMAT_AZURE, CONST_CREDENTIAL_FORMAT_EXEC])) + c.argument('namespace_name', options_list=['--namespace'], help='If specified, the credentials are returned at the namespace scope, assuming the developer has access on the ARM resource for that namespace.') with self.argument_context('aks pod-identity') as c: c.argument('cluster_name', type=str, help='The cluster name.') diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index a781d495ce5..8c189434f77 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -797,7 +797,8 @@ def aks_create(cmd, message_of_the_day=None, enable_azure_keyvault_kms=False, azure_keyvault_kms_key_id=None, - yes=False): + yes=False, + enable_namespace_resources=False): # Check what this name should be. # DO NOT MOVE: get all the original parameters and save them as a dictionary raw_parameters = locals() @@ -942,6 +943,7 @@ def aks_get_credentials(cmd, # pylint: disable=unused-argument client, resource_group_name, name, + namespace_name=None, admin=False, user='clusterUser', path=os.path.join(os.path.expanduser( @@ -959,15 +961,17 @@ def aks_get_credentials(cmd, # pylint: disable=unused-argument if admin: raise InvalidArgumentValueError("--format can only be specified when requesting clusterUser credential.") if admin: + if namespace_name is not None: + raise InvalidArgumentValueError("--namespace is not valid for admin credentials") # Do we want this? credentialResults = client.list_cluster_admin_credentials( resource_group_name, name, serverType) else: if user.lower() == 'clusteruser': credentialResults = client.list_cluster_user_credentials( - resource_group_name, name, serverType, credential_format) + resource_group_name, name, serverType, credential_format, namespace_name) elif user.lower() == 'clustermonitoringuser': credentialResults = client.list_cluster_monitoring_user_credentials( - resource_group_name, name, serverType) + resource_group_name, name, serverType, namespace_name=namespace_name) else: raise CLIError("The user is invalid.") if not credentialResults: diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/aio/operations/_managed_clusters_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/aio/operations/_managed_clusters_operations.py index 63df641c04d..e4c161aeb25 100644 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/aio/operations/_managed_clusters_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/aio/operations/_managed_clusters_operations.py @@ -417,6 +417,7 @@ async def list_cluster_user_credentials( resource_name: str, server_fqdn: Optional[str] = None, format: Optional[Union[str, "_models.Format"]] = None, + namespace_name = None, **kwargs: Any ) -> "_models.CredentialResults": """Lists the user credentials of a managed cluster. @@ -443,15 +444,19 @@ async def list_cluster_user_credentials( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - + if namespace_name is None: + url = self.list_cluster_user_credentials.metadata['url'] + else: + url = self.list_cluster_user_credentials.metadata['namespace_scoped_url'] request = build_list_cluster_user_credentials_request( subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, resource_name=resource_name, server_fqdn=server_fqdn, format=format, - template_url=self.list_cluster_user_credentials.metadata['url'], + namespace_name=namespace_name, + template_url=url, ) request = _convert_request(request) request.url = self._client.format_url(request.url) @@ -470,7 +475,7 @@ async def list_cluster_user_credentials( return deserialized - list_cluster_user_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential'} # type: ignore + list_cluster_user_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential', "namespace_scoped_url": '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/providers/Microsoft.KubernetesConfiguration/namespaces/{namespaceName}/listUserCredential' } # type: ignore @distributed_trace_async diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/operations/_managed_clusters_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/operations/_managed_clusters_operations.py index 740458809df..c58a917332d 100644 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/operations/_managed_clusters_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/operations/_managed_clusters_operations.py @@ -248,6 +248,7 @@ def build_list_cluster_user_credentials_request( *, server_fqdn: Optional[str] = None, format: Optional[Union[str, "_models.Format"]] = None, + namespace_name: str = None, **kwargs: Any ) -> HttpRequest: api_version = "2022-03-02-preview" @@ -260,6 +261,10 @@ def build_list_cluster_user_credentials_request( "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), } + if namespace_name is not None: + path_format_arguments["namespaceName"] = _SERIALIZER.url("namespace_name", namespace_name, 'str') + api_version="2021-12-01-preview" + url = _format_url_section(url, **path_format_arguments) # Construct parameters @@ -1218,6 +1223,7 @@ def list_cluster_user_credentials( resource_name: str, server_fqdn: Optional[str] = None, format: Optional[Union[str, "_models.Format"]] = None, + namespace_name: str = None, **kwargs: Any ) -> "_models.CredentialResults": """Lists the user credentials of a managed cluster. @@ -1246,13 +1252,20 @@ def list_cluster_user_credentials( error_map.update(kwargs.pop('error_map', {})) + if namespace_name is None: + url = self.list_cluster_user_credentials.metadata['url'] + else: + url = self.list_cluster_user_credentials.metadata['namespace_scoped_url'] + + request = build_list_cluster_user_credentials_request( subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, resource_name=resource_name, server_fqdn=server_fqdn, format=format, - template_url=self.list_cluster_user_credentials.metadata['url'], + namespace_name=namespace_name, + template_url=url, ) request = _convert_request(request) request.url = self._client.format_url(request.url) @@ -1271,7 +1284,7 @@ def list_cluster_user_credentials( return deserialized - list_cluster_user_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential'} # type: ignore + list_cluster_user_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential', "namespace_scoped_url": '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/providers/Microsoft.KubernetesConfiguration/namespaces/{namespaceName}/listUserCredential' } # type: ignore @distributed_trace From 29c8905d313fcd38119abfce04bf2772c1f9bc3b Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Thu, 5 May 2022 18:49:38 +0530 Subject: [PATCH 07/52] Added namespace sdk --- src/aks-preview/azext_aks_preview/custom.py | 16 +- .../_managed_clusters_operations.py | 9 +- .../_managed_clusters_operations.py | 15 +- .../namespace_client/__init__.py | 18 + .../namespace_client/_configuration.py | 75 +++ .../namespace_client/_namespace_client.py | 105 +++ .../vendored_sdks/namespace_client/_patch.py | 23 + .../vendored_sdks/namespace_client/_vendor.py | 25 + .../namespace_client/aio/__init__.py | 18 + .../namespace_client/aio/_configuration.py | 71 ++ .../namespace_client/aio/_namespace_client.py | 98 +++ .../namespace_client/aio/_patch.py | 23 + .../aio/operations/__init__.py | 20 + .../_namespace_client_operations.py | 110 +++ .../aio/operations/_namespaces_operations.py | 221 ++++++ .../aio/operations/_operations.py | 120 ++++ .../namespace_client/aio/operations/_patch.py | 23 + .../namespace_client/models/__init__.py | 68 ++ .../namespace_client/models/_models.py | 595 ++++++++++++++++ .../namespace_client/models/_models_py3.py | 635 ++++++++++++++++++ .../models/_namespace_client_enums.py | 35 + .../namespace_client/models/_patch.py | 23 + .../namespace_client/operations/__init__.py | 20 + .../_namespace_client_operations.py | 167 +++++ .../operations/_namespaces_operations.py | 317 +++++++++ .../operations/_operations.py | 157 +++++ .../namespace_client/operations/_patch.py | 23 + .../vendored_sdks/namespace_client/py.typed | 1 + 28 files changed, 3006 insertions(+), 25 deletions(-) create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/__init__.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/_configuration.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/_namespace_client.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/_patch.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/_vendor.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/__init__.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/_configuration.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/_namespace_client.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/_patch.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/__init__.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_namespace_client_operations.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_namespaces_operations.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_operations.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_patch.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/__init__.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/_models.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/_models_py3.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/_namespace_client_enums.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/_patch.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/__init__.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_namespace_client_operations.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_namespaces_operations.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_operations.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_patch.py create mode 100644 src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/py.typed diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index 8c189434f77..00e901852b0 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -962,16 +962,24 @@ def aks_get_credentials(cmd, # pylint: disable=unused-argument raise InvalidArgumentValueError("--format can only be specified when requesting clusterUser credential.") if admin: if namespace_name is not None: - raise InvalidArgumentValueError("--namespace is not valid for admin credentials") # Do we want this? + raise InvalidArgumentValueError("--namespace is not valid for admin credentials") credentialResults = client.list_cluster_admin_credentials( resource_group_name, name, serverType) else: if user.lower() == 'clusteruser': - credentialResults = client.list_cluster_user_credentials( - resource_group_name, name, serverType, credential_format, namespace_name) + if namespace_name is not None: + from azext_aks_preview.vendored_sdks.namespace_client import NamespaceClient + from azure.cli.core.commands.client_factory import get_mgmt_service_client + + client = get_mgmt_service_client(cmd.cli_ctx, NamespaceClient) + credentialResults = client.list_user_credential(resource_group_name, "Microsoft.ContainerService", "managedClusters", name, namespace_name) + + else: + credentialResults = client.list_cluster_user_credentials( + resource_group_name, name, serverType, credential_format) elif user.lower() == 'clustermonitoringuser': credentialResults = client.list_cluster_monitoring_user_credentials( - resource_group_name, name, serverType, namespace_name=namespace_name) + resource_group_name, name, serverType) else: raise CLIError("The user is invalid.") if not credentialResults: diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/aio/operations/_managed_clusters_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/aio/operations/_managed_clusters_operations.py index e4c161aeb25..08f0b9c8b55 100644 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/aio/operations/_managed_clusters_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/aio/operations/_managed_clusters_operations.py @@ -417,7 +417,6 @@ async def list_cluster_user_credentials( resource_name: str, server_fqdn: Optional[str] = None, format: Optional[Union[str, "_models.Format"]] = None, - namespace_name = None, **kwargs: Any ) -> "_models.CredentialResults": """Lists the user credentials of a managed cluster. @@ -444,18 +443,14 @@ async def list_cluster_user_credentials( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - - if namespace_name is None: - url = self.list_cluster_user_credentials.metadata['url'] - else: - url = self.list_cluster_user_credentials.metadata['namespace_scoped_url'] + url = self.list_cluster_user_credentials.metadata['url'] + request = build_list_cluster_user_credentials_request( subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, resource_name=resource_name, server_fqdn=server_fqdn, format=format, - namespace_name=namespace_name, template_url=url, ) request = _convert_request(request) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/operations/_managed_clusters_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/operations/_managed_clusters_operations.py index c58a917332d..2afc7ef7d95 100644 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/operations/_managed_clusters_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/operations/_managed_clusters_operations.py @@ -248,7 +248,6 @@ def build_list_cluster_user_credentials_request( *, server_fqdn: Optional[str] = None, format: Optional[Union[str, "_models.Format"]] = None, - namespace_name: str = None, **kwargs: Any ) -> HttpRequest: api_version = "2022-03-02-preview" @@ -261,10 +260,6 @@ def build_list_cluster_user_credentials_request( "resourceName": _SERIALIZER.url("resource_name", resource_name, 'str', max_length=63, min_length=1, pattern=r'^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'), } - if namespace_name is not None: - path_format_arguments["namespaceName"] = _SERIALIZER.url("namespace_name", namespace_name, 'str') - api_version="2021-12-01-preview" - url = _format_url_section(url, **path_format_arguments) # Construct parameters @@ -1223,7 +1218,6 @@ def list_cluster_user_credentials( resource_name: str, server_fqdn: Optional[str] = None, format: Optional[Union[str, "_models.Format"]] = None, - namespace_name: str = None, **kwargs: Any ) -> "_models.CredentialResults": """Lists the user credentials of a managed cluster. @@ -1250,13 +1244,7 @@ def list_cluster_user_credentials( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - - - if namespace_name is None: - url = self.list_cluster_user_credentials.metadata['url'] - else: - url = self.list_cluster_user_credentials.metadata['namespace_scoped_url'] - + url = self.list_cluster_user_credentials.metadata['url'] request = build_list_cluster_user_credentials_request( subscription_id=self._config.subscription_id, @@ -1264,7 +1252,6 @@ def list_cluster_user_credentials( resource_name=resource_name, server_fqdn=server_fqdn, format=format, - namespace_name=namespace_name, template_url=url, ) request = _convert_request(request) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/__init__.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/__init__.py new file mode 100644 index 00000000000..50a362d00f9 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/__init__.py @@ -0,0 +1,18 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._namespace_client import NamespaceClient + +try: + from ._patch import __all__ as _patch_all + from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +except ImportError: + _patch_all = [] +from ._patch import patch_sdk as _patch_sdk +__all__ = ['NamespaceClient'] +__all__.extend([p for p in _patch_all if p not in __all__]) + +_patch_sdk() diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/_configuration.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/_configuration.py new file mode 100644 index 00000000000..c4b08ad3b0d --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/_configuration.py @@ -0,0 +1,75 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential + +VERSION = "unknown" + +class NamespaceClientConfiguration(Configuration): # pylint: disable=too-many-instance-attributes + """Configuration for NamespaceClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The Azure subscription ID. This is a GUID-formatted string (e.g. + 00000000-0000-0000-0000-000000000000). + :type subscription_id: str + :keyword api_version: Api Version. Default value is "2021-12-01-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + super(NamespaceClientConfiguration, self).__init__(**kwargs) + api_version = kwargs.pop('api_version', "2021-12-01-preview") # type: str + + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = api_version + self.credential_scopes = kwargs.pop('credential_scopes', []) + kwargs.setdefault('sdk_moniker', 'namespaceclient/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or policies.HttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if not self.credential_scopes and not self.authentication_policy: + raise ValueError("You must provide either credential_scopes or authentication_policy as kwargs") + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/_namespace_client.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/_namespace_client.py new file mode 100644 index 00000000000..dd18e57294c --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/_namespace_client.py @@ -0,0 +1,105 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from copy import deepcopy +from typing import TYPE_CHECKING + +from msrest import Deserializer, Serializer + +from azure.core import PipelineClient + +from . import models +from ._configuration import NamespaceClientConfiguration +from .operations import NamespaceClientOperationsMixin, NamespacesOperations, Operations + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential + from azure.core.rest import HttpRequest, HttpResponse + +class NamespaceClient(NamespaceClientOperationsMixin): + """APIs used to get and list namespace resources through ARM for Kubernetes Clusters. + + :ivar namespaces: NamespacesOperations operations + :vartype namespaces: namespace_client.operations.NamespacesOperations + :ivar operations: Operations operations + :vartype operations: namespace_client.operations.Operations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The Azure subscription ID. This is a GUID-formatted string (e.g. + 00000000-0000-0000-0000-000000000000). + :type subscription_id: str + :param base_url: Service URL. Default value is "https://management.azure.com". + :type base_url: str + :keyword api_version: Api Version. Default value is "2021-12-01-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url="https://management.azure.com", # type: str + **kwargs # type: Any + ): + # type: (...) -> None + self._config = NamespaceClientConfiguration(credential=credential, subscription_id=subscription_id, **kwargs) + self._client = PipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.namespaces = NamespacesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize + ) + + + def _send_request( + self, + request, # type: HttpRequest + **kwargs # type: Any + ): + # type: (...) -> HttpResponse + """Runs the network request through the client's chained policies. + + >>> from azure.core.rest import HttpRequest + >>> request = HttpRequest("GET", "https://www.example.org/") + + >>> response = client._send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + + :param request: The network request you want to make. Required. + :type request: ~azure.core.rest.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to False. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.rest.HttpResponse + """ + + request_copy = deepcopy(request) + request_copy.url = self._client.format_url(request_copy.url) + return self._client.send_request(request_copy, **kwargs) + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> NamespaceClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/_patch.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/_patch.py new file mode 100644 index 00000000000..8a35ddb87c7 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/_patch.py @@ -0,0 +1,23 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Customize generated code here. + +Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize +""" +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import List + +__all__ = [] # type: List[str] # Add all objects you want publicly available to users at this package level + +def patch_sdk(): + """Do not remove from this file. + + `patch_sdk` is a last resort escape hatch that allows you to do customizations + you can't accomplish using the techniques described in + https://aka.ms/azsdk/python/dpcodegen/python/customize + """ diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/_vendor.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/_vendor.py new file mode 100644 index 00000000000..79eba78ed32 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/_vendor.py @@ -0,0 +1,25 @@ +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.pipeline.transport import HttpRequest + +def _convert_request(request, files=None): + data = request.content if not files else None + request = HttpRequest(method=request.method, url=request.url, headers=request.headers, data=data) + if files: + request.set_formdata_body(files) + return request + +def _format_url_section(template, **kwargs): + components = template.split("/") + while components: + try: + return template.format(**kwargs) + except KeyError as key: + formatted_components = template.split("/") + components = [ + c for c in formatted_components if "{}".format(key.args[0]) not in c + ] + template = "/".join(components) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/__init__.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/__init__.py new file mode 100644 index 00000000000..50a362d00f9 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/__init__.py @@ -0,0 +1,18 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._namespace_client import NamespaceClient + +try: + from ._patch import __all__ as _patch_all + from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +except ImportError: + _patch_all = [] +from ._patch import patch_sdk as _patch_sdk +__all__ = ['NamespaceClient'] +__all__.extend([p for p in _patch_all if p not in __all__]) + +_patch_sdk() diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/_configuration.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/_configuration.py new file mode 100644 index 00000000000..6e5eff3375c --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/_configuration.py @@ -0,0 +1,71 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +VERSION = "unknown" + +class NamespaceClientConfiguration(Configuration): # pylint: disable=too-many-instance-attributes + """Configuration for NamespaceClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The Azure subscription ID. This is a GUID-formatted string (e.g. + 00000000-0000-0000-0000-000000000000). + :type subscription_id: str + :keyword api_version: Api Version. Default value is "2021-12-01-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + super(NamespaceClientConfiguration, self).__init__(**kwargs) + api_version = kwargs.pop('api_version', "2021-12-01-preview") # type: str + + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + + self.credential = credential + self.subscription_id = subscription_id + self.api_version = api_version + self.credential_scopes = kwargs.pop('credential_scopes', []) + kwargs.setdefault('sdk_moniker', 'namespaceclient/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or policies.HttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if not self.credential_scopes and not self.authentication_policy: + raise ValueError("You must provide either credential_scopes or authentication_policy as kwargs") + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/_namespace_client.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/_namespace_client.py new file mode 100644 index 00000000000..d802e6a8d9c --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/_namespace_client.py @@ -0,0 +1,98 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from copy import deepcopy +from typing import Any, Awaitable, TYPE_CHECKING + +from msrest import Deserializer, Serializer + +from azure.core import AsyncPipelineClient +from azure.core.rest import AsyncHttpResponse, HttpRequest + +from .. import models +from ._configuration import NamespaceClientConfiguration +from .operations import NamespaceClientOperationsMixin, NamespacesOperations, Operations + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +class NamespaceClient(NamespaceClientOperationsMixin): + """APIs used to get and list namespace resources through ARM for Kubernetes Clusters. + + :ivar namespaces: NamespacesOperations operations + :vartype namespaces: namespace_client.aio.operations.NamespacesOperations + :ivar operations: Operations operations + :vartype operations: namespace_client.aio.operations.Operations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The Azure subscription ID. This is a GUID-formatted string (e.g. + 00000000-0000-0000-0000-000000000000). + :type subscription_id: str + :param base_url: Service URL. Default value is "https://management.azure.com". + :type base_url: str + :keyword api_version: Api Version. Default value is "2021-12-01-preview". Note that overriding + this default value may result in unsupported behavior. + :paramtype api_version: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: str = "https://management.azure.com", + **kwargs: Any + ) -> None: + self._config = NamespaceClientConfiguration(credential=credential, subscription_id=subscription_id, **kwargs) + self._client = AsyncPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.namespaces = NamespacesOperations( + self._client, self._config, self._serialize, self._deserialize + ) + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize + ) + + + def _send_request( + self, + request: HttpRequest, + **kwargs: Any + ) -> Awaitable[AsyncHttpResponse]: + """Runs the network request through the client's chained policies. + + >>> from azure.core.rest import HttpRequest + >>> request = HttpRequest("GET", "https://www.example.org/") + + >>> response = await client._send_request(request) + + + For more information on this code flow, see https://aka.ms/azsdk/python/protocol/quickstart + + :param request: The network request you want to make. Required. + :type request: ~azure.core.rest.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to False. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.rest.AsyncHttpResponse + """ + + request_copy = deepcopy(request) + request_copy.url = self._client.format_url(request_copy.url) + return self._client.send_request(request_copy, **kwargs) + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "NamespaceClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/_patch.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/_patch.py new file mode 100644 index 00000000000..8a35ddb87c7 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/_patch.py @@ -0,0 +1,23 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Customize generated code here. + +Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize +""" +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import List + +__all__ = [] # type: List[str] # Add all objects you want publicly available to users at this package level + +def patch_sdk(): + """Do not remove from this file. + + `patch_sdk` is a last resort escape hatch that allows you to do customizations + you can't accomplish using the techniques described in + https://aka.ms/azsdk/python/dpcodegen/python/customize + """ diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/__init__.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/__init__.py new file mode 100644 index 00000000000..9d012048b5b --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/__init__.py @@ -0,0 +1,20 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._namespaces_operations import NamespacesOperations +from ._namespace_client_operations import NamespaceClientOperationsMixin +from ._operations import Operations + +from ._patch import __all__ as _patch_all +from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +from ._patch import patch_sdk as _patch_sdk +__all__ = [ + 'NamespacesOperations', + 'NamespaceClientOperationsMixin', + 'Operations', +] +__all__.extend([p for p in _patch_all if p not in __all__]) +_patch_sdk() \ No newline at end of file diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_namespace_client_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_namespace_client_operations.py new file mode 100644 index 00000000000..c5e2739faf9 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_namespace_client_operations.py @@ -0,0 +1,110 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Optional, TypeVar, Union + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.core.utils import case_insensitive_dict + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._namespace_client_operations import build_list_user_credential_request +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NamespaceClientOperationsMixin: + + @distributed_trace_async + async def list_user_credential( + self, + resource_group_name: str, + cluster_rp: Union[str, "_models.Enum0"], + cluster_resource_name: Union[str, "_models.Enum1"], + cluster_name: str, + namespace_name: str, + properties: Optional[_models.ArcListUserCredentialProperties] = None, + **kwargs: Any + ) -> _models.CredentialResults: + """Get the kubeconfig of the cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_rp: The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS + clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). + :type cluster_rp: str or ~namespace_client.models.Enum0 + :param cluster_resource_name: The Kubernetes cluster resource name - either managedClusters + (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). + :type cluster_resource_name: str or ~namespace_client.models.Enum1 + :param cluster_name: The name of the kubernetes cluster. + :type cluster_name: str + :param namespace_name: Name of the Namespace. + :type namespace_name: str + :param properties: ListUserCredential properties for Arc Clusters. Default value is None. + :type properties: ~namespace_client.models.ArcListUserCredentialProperties + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CredentialResults, or the result of cls(response) + :rtype: ~namespace_client.models.CredentialResults + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[_models.CredentialResults] + + if properties is not None: + _json = self._serialize.body(properties, 'ArcListUserCredentialProperties') + else: + _json = None + + request = build_list_user_credential_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + cluster_rp=cluster_rp, + cluster_resource_name=cluster_resource_name, + cluster_name=cluster_name, + namespace_name=namespace_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.list_user_credential.metadata['url'], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('CredentialResults', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + list_user_credential.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/namespaces/{namespaceName}/listUserCredential"} # type: ignore + diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_namespaces_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_namespaces_operations.py new file mode 100644 index 00000000000..a955bb92e72 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_namespaces_operations.py @@ -0,0 +1,221 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar, Union + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.tracing.decorator_async import distributed_trace_async +from azure.core.utils import case_insensitive_dict + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._namespaces_operations import build_get_request, build_list_request +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NamespacesOperations: + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~namespace_client.aio.NamespaceClient`'s + :attr:`namespaces` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs) -> None: + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") + self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") + + + @distributed_trace_async + async def get( + self, + resource_group_name: str, + cluster_rp: Union[str, "_models.Enum0"], + cluster_resource_name: Union[str, "_models.Enum1"], + cluster_name: str, + namespace_name: str, + **kwargs: Any + ) -> _models.Namespace: + """Get details about the namespace resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_rp: The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS + clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). + :type cluster_rp: str or ~namespace_client.models.Enum0 + :param cluster_resource_name: The Kubernetes cluster resource name - either managedClusters + (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). + :type cluster_resource_name: str or ~namespace_client.models.Enum1 + :param cluster_name: The name of the kubernetes cluster. + :type cluster_name: str + :param namespace_name: Name of the Namespace. + :type namespace_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Namespace, or the result of cls(response) + :rtype: ~namespace_client.models.Namespace + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.Namespace] + + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + cluster_rp=cluster_rp, + cluster_resource_name=cluster_resource_name, + cluster_name=cluster_name, + namespace_name=namespace_name, + api_version=api_version, + template_url=self.get.metadata['url'], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = await self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('Namespace', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/namespaces/{namespaceName}"} # type: ignore + + + @distributed_trace + def list( + self, + resource_group_name: str, + cluster_rp: Union[str, "_models.Enum0"], + cluster_resource_name: Union[str, "_models.Enum1"], + cluster_name: str, + **kwargs: Any + ) -> AsyncIterable[_models.NamespaceList]: + """List namespaces in the cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_rp: The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS + clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). + :type cluster_rp: str or ~namespace_client.models.Enum0 + :param cluster_resource_name: The Kubernetes cluster resource name - either managedClusters + (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). + :type cluster_resource_name: str or ~namespace_client.models.Enum1 + :param cluster_name: The name of the kubernetes cluster. + :type cluster_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NamespaceList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~namespace_client.models.NamespaceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.NamespaceList] + + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {}) or {}) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + cluster_rp=cluster_rp, + cluster_resource_name=cluster_resource_name, + cluster_name=cluster_name, + api_version=api_version, + template_url=self.list.metadata['url'], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + cluster_rp=cluster_rp, + cluster_resource_name=cluster_resource_name, + cluster_name=cluster_name, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize("NamespaceList", pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/namespaces"} # type: ignore diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_operations.py new file mode 100644 index 00000000000..6d4dea11589 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_operations.py @@ -0,0 +1,120 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.utils import case_insensitive_dict + +from ... import models as _models +from ..._vendor import _convert_request +from ...operations._operations import build_list_request +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class Operations: + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~namespace_client.aio.NamespaceClient`'s + :attr:`operations` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs) -> None: + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") + self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") + + + @distributed_trace + def list( + self, + **kwargs: Any + ) -> AsyncIterable[_models.ResourceProviderOperationList]: + """List all the available operations the KubernetesConfiguration resource provider supports. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ResourceProviderOperationList or the result of + cls(response) + :rtype: + ~azure.core.async_paging.AsyncItemPaged[~namespace_client.models.ResourceProviderOperationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.ResourceProviderOperationList] + + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {}) or {}) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + api_version=api_version, + template_url=self.list.metadata['url'], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_request( + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize("ResourceProviderOperationList", pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': "/providers/Microsoft.KubernetesConfiguration/operations"} # type: ignore diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_patch.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_patch.py new file mode 100644 index 00000000000..8a35ddb87c7 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_patch.py @@ -0,0 +1,23 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Customize generated code here. + +Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize +""" +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import List + +__all__ = [] # type: List[str] # Add all objects you want publicly available to users at this package level + +def patch_sdk(): + """Do not remove from this file. + + `patch_sdk` is a last resort escape hatch that allows you to do customizations + you can't accomplish using the techniques described in + https://aka.ms/azsdk/python/dpcodegen/python/customize + """ diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/__init__.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/__init__.py new file mode 100644 index 00000000000..03b356491bf --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/__init__.py @@ -0,0 +1,68 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import ArcListUserCredentialProperties + from ._models_py3 import CredentialResult + from ._models_py3 import CredentialResults + from ._models_py3 import ErrorDefinition + from ._models_py3 import ErrorResponse + from ._models_py3 import HybridConnectionConfig + from ._models_py3 import Namespace + from ._models_py3 import NamespaceList + from ._models_py3 import ProxyResource + from ._models_py3 import Resource + from ._models_py3 import ResourceProviderOperation + from ._models_py3 import ResourceProviderOperationDisplay + from ._models_py3 import ResourceProviderOperationList + from ._models_py3 import SystemData +except (SyntaxError, ImportError): + from ._models import ArcListUserCredentialProperties # type: ignore + from ._models import CredentialResult # type: ignore + from ._models import CredentialResults # type: ignore + from ._models import ErrorDefinition # type: ignore + from ._models import ErrorResponse # type: ignore + from ._models import HybridConnectionConfig # type: ignore + from ._models import Namespace # type: ignore + from ._models import NamespaceList # type: ignore + from ._models import ProxyResource # type: ignore + from ._models import Resource # type: ignore + from ._models import ResourceProviderOperation # type: ignore + from ._models import ResourceProviderOperationDisplay # type: ignore + from ._models import ResourceProviderOperationList # type: ignore + from ._models import SystemData # type: ignore + +from ._namespace_client_enums import ( + AuthenticationMethod, + CreatedByType, + Enum0, + Enum1, +) +from ._patch import __all__ as _patch_all +from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +from ._patch import patch_sdk as _patch_sdk +__all__ = [ + 'ArcListUserCredentialProperties', + 'CredentialResult', + 'CredentialResults', + 'ErrorDefinition', + 'ErrorResponse', + 'HybridConnectionConfig', + 'Namespace', + 'NamespaceList', + 'ProxyResource', + 'Resource', + 'ResourceProviderOperation', + 'ResourceProviderOperationDisplay', + 'ResourceProviderOperationList', + 'SystemData', + 'AuthenticationMethod', + 'CreatedByType', + 'Enum0', + 'Enum1', +] +__all__.extend([p for p in _patch_all if p not in __all__]) +_patch_sdk() \ No newline at end of file diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/_models.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/_models.py new file mode 100644 index 00000000000..828361e0aa8 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/_models.py @@ -0,0 +1,595 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class ArcListUserCredentialProperties(msrest.serialization.Model): + """Properties required in body of listUserCredential call for Arc clusters. + + All required parameters must be populated in order to send to Azure. + + :ivar authentication_method: Required. The mode of client authentication. Known values are: + "Token", "AAD". + :vartype authentication_method: str or ~namespace_client.models.AuthenticationMethod + :ivar client_proxy: Required. Boolean value to indicate whether the request is for client side + proxy or not. + :vartype client_proxy: bool + """ + + _validation = { + 'authentication_method': {'required': True}, + 'client_proxy': {'required': True}, + } + + _attribute_map = { + 'authentication_method': {'key': 'authenticationMethod', 'type': 'str'}, + 'client_proxy': {'key': 'clientProxy', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + """ + :keyword authentication_method: Required. The mode of client authentication. Known values are: + "Token", "AAD". + :paramtype authentication_method: str or ~namespace_client.models.AuthenticationMethod + :keyword client_proxy: Required. Boolean value to indicate whether the request is for client + side proxy or not. + :paramtype client_proxy: bool + """ + super(ArcListUserCredentialProperties, self).__init__(**kwargs) + self.authentication_method = kwargs['authentication_method'] + self.client_proxy = kwargs['client_proxy'] + + +class CredentialResult(msrest.serialization.Model): + """The credential result response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: The name of the credential. + :vartype name: str + :ivar value: Base64-encoded Kubernetes configuration file. + :vartype value: bytearray + """ + + _validation = { + 'name': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'bytearray'}, + } + + def __init__( + self, + **kwargs + ): + """ + """ + super(CredentialResult, self).__init__(**kwargs) + self.name = None + self.value = None + + +class CredentialResults(msrest.serialization.Model): + """The list of credential result response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar hybrid_connection_config: Contains the REP (rendezvous endpoint) and “Sender” access + token. + :vartype hybrid_connection_config: ~namespace_client.models.HybridConnectionConfig + :ivar kubeconfigs: Base64-encoded Kubernetes configuration file. + :vartype kubeconfigs: list[~namespace_client.models.CredentialResult] + """ + + _validation = { + 'hybrid_connection_config': {'readonly': True}, + 'kubeconfigs': {'readonly': True}, + } + + _attribute_map = { + 'hybrid_connection_config': {'key': 'hybridConnectionConfig', 'type': 'HybridConnectionConfig'}, + 'kubeconfigs': {'key': 'kubeconfigs', 'type': '[CredentialResult]'}, + } + + def __init__( + self, + **kwargs + ): + """ + """ + super(CredentialResults, self).__init__(**kwargs) + self.hybrid_connection_config = None + self.kubeconfigs = None + + +class ErrorDefinition(msrest.serialization.Model): + """Error definition. + + All required parameters must be populated in order to send to Azure. + + :ivar code: Required. Service specific error code which serves as the substatus for the HTTP + error code. + :vartype code: str + :ivar message: Required. Description of the error. + :vartype message: str + """ + + _validation = { + 'code': {'required': True}, + 'message': {'required': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + """ + :keyword code: Required. Service specific error code which serves as the substatus for the HTTP + error code. + :paramtype code: str + :keyword message: Required. Description of the error. + :paramtype message: str + """ + super(ErrorDefinition, self).__init__(**kwargs) + self.code = kwargs['code'] + self.message = kwargs['message'] + + +class ErrorResponse(msrest.serialization.Model): + """Error response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error: Error definition. + :vartype error: ~namespace_client.models.ErrorDefinition + """ + + _validation = { + 'error': {'readonly': True}, + } + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorDefinition'}, + } + + def __init__( + self, + **kwargs + ): + """ + """ + super(ErrorResponse, self).__init__(**kwargs) + self.error = None + + +class HybridConnectionConfig(msrest.serialization.Model): + """Contains the REP (rendezvous endpoint) and “Sender” access token. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar expiration_time: Timestamp when this token will be expired. + :vartype expiration_time: long + :ivar hybrid_connection_name: Name of the connection. + :vartype hybrid_connection_name: str + :ivar relay: Name of the relay. + :vartype relay: str + :ivar token: Sender access token. + :vartype token: str + """ + + _validation = { + 'expiration_time': {'readonly': True}, + 'hybrid_connection_name': {'readonly': True}, + 'relay': {'readonly': True}, + 'token': {'readonly': True}, + } + + _attribute_map = { + 'expiration_time': {'key': 'expirationTime', 'type': 'long'}, + 'hybrid_connection_name': {'key': 'hybridConnectionName', 'type': 'str'}, + 'relay': {'key': 'relay', 'type': 'str'}, + 'token': {'key': 'token', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + """ + """ + super(HybridConnectionConfig, self).__init__(**kwargs) + self.expiration_time = None + self.hybrid_connection_name = None + self.relay = None + self.token = None + + +class Resource(msrest.serialization.Model): + """Common fields that are returned in the response for all Azure Resource Manager resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + """ + """ + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class ProxyResource(Resource): + """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + """ + """ + super(ProxyResource, self).__init__(**kwargs) + + +class Namespace(ProxyResource): + """The Namespace object returned by Get calls. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: System metadata recommended for all azure objects. + :vartype system_data: ~namespace_client.models.SystemData + :ivar uid: Unique ID for the namespace resource. + :vartype uid: str + :ivar creation_timestamp: Time of creation of namespace in cluster. + :vartype creation_timestamp: ~datetime.datetime + :ivar deletion_timestamp: Time of deletion of namespace in cluster. + :vartype deletion_timestamp: ~datetime.datetime + :ivar resource_version: A number which is used to identify when the resource has been modified. + :vartype resource_version: str + :ivar labels: Key Value pairs to identify the resource. + :vartype labels: dict[str, str] + :ivar annotations: Key Value pairs to give more information about the namespace. + :vartype annotations: dict[str, str] + :ivar status: States whether the namespace is active/terminating. + :vartype status: str + :ivar azure_portal_fqdn: FQDN of the namespace resource. Used for portal browse. + :vartype azure_portal_fqdn: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'uid': {'key': 'properties.uid', 'type': 'str'}, + 'creation_timestamp': {'key': 'properties.creationTimestamp', 'type': 'iso-8601'}, + 'deletion_timestamp': {'key': 'properties.deletionTimestamp', 'type': 'iso-8601'}, + 'resource_version': {'key': 'properties.resourceVersion', 'type': 'str'}, + 'labels': {'key': 'properties.labels', 'type': '{str}'}, + 'annotations': {'key': 'properties.annotations', 'type': '{str}'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'azure_portal_fqdn': {'key': 'properties.azurePortalFQDN', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + """ + :keyword uid: Unique ID for the namespace resource. + :paramtype uid: str + :keyword creation_timestamp: Time of creation of namespace in cluster. + :paramtype creation_timestamp: ~datetime.datetime + :keyword deletion_timestamp: Time of deletion of namespace in cluster. + :paramtype deletion_timestamp: ~datetime.datetime + :keyword resource_version: A number which is used to identify when the resource has been + modified. + :paramtype resource_version: str + :keyword labels: Key Value pairs to identify the resource. + :paramtype labels: dict[str, str] + :keyword annotations: Key Value pairs to give more information about the namespace. + :paramtype annotations: dict[str, str] + :keyword status: States whether the namespace is active/terminating. + :paramtype status: str + :keyword azure_portal_fqdn: FQDN of the namespace resource. Used for portal browse. + :paramtype azure_portal_fqdn: str + """ + super(Namespace, self).__init__(**kwargs) + self.system_data = None + self.uid = kwargs.get('uid', None) + self.creation_timestamp = kwargs.get('creation_timestamp', None) + self.deletion_timestamp = kwargs.get('deletion_timestamp', None) + self.resource_version = kwargs.get('resource_version', None) + self.labels = kwargs.get('labels', None) + self.annotations = kwargs.get('annotations', None) + self.status = kwargs.get('status', None) + self.azure_portal_fqdn = kwargs.get('azure_portal_fqdn', None) + + +class NamespaceList(msrest.serialization.Model): + """List of namespaces returned. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of Namespaces within a Kubernetes cluster. + :vartype value: list[~namespace_client.models.Namespace] + :ivar next_link: URL to get the next set of Namespace objects, if any. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Namespace]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + """ + """ + super(NamespaceList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ResourceProviderOperation(msrest.serialization.Model): + """Supported operation of this resource provider. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Operation name, in format of {provider}/{resource}/{operation}. + :vartype name: str + :ivar display: Display metadata associated with the operation. + :vartype display: ~namespace_client.models.ResourceProviderOperationDisplay + :ivar origin: The intended executor of the operation;governs the display of the operation in + the RBAC UX and the audit logs UX. + :vartype origin: str + :ivar is_data_action: The flag that indicates whether the operation applies to data plane. + :vartype is_data_action: bool + """ + + _validation = { + 'is_data_action': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'ResourceProviderOperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + """ + :keyword name: Operation name, in format of {provider}/{resource}/{operation}. + :paramtype name: str + :keyword display: Display metadata associated with the operation. + :paramtype display: ~namespace_client.models.ResourceProviderOperationDisplay + :keyword origin: The intended executor of the operation;governs the display of the operation in + the RBAC UX and the audit logs UX. + :paramtype origin: str + """ + super(ResourceProviderOperation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display = kwargs.get('display', None) + self.origin = kwargs.get('origin', None) + self.is_data_action = None + + +class ResourceProviderOperationDisplay(msrest.serialization.Model): + """Display metadata associated with the operation. + + :ivar provider: Resource provider: Microsoft KubernetesConfiguration. + :vartype provider: str + :ivar resource: Resource on which the operation is performed. + :vartype resource: str + :ivar operation: Type of operation: get, read, delete, etc. + :vartype operation: str + :ivar description: Description of this operation. + :vartype description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + """ + :keyword provider: Resource provider: Microsoft KubernetesConfiguration. + :paramtype provider: str + :keyword resource: Resource on which the operation is performed. + :paramtype resource: str + :keyword operation: Type of operation: get, read, delete, etc. + :paramtype operation: str + :keyword description: Description of this operation. + :paramtype description: str + """ + super(ResourceProviderOperationDisplay, self).__init__(**kwargs) + self.provider = kwargs.get('provider', None) + self.resource = kwargs.get('resource', None) + self.operation = kwargs.get('operation', None) + self.description = kwargs.get('description', None) + + +class ResourceProviderOperationList(msrest.serialization.Model): + """Result of the request to list operations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of operations supported by this resource provider. + :vartype value: list[~namespace_client.models.ResourceProviderOperation] + :ivar next_link: URL to the next set of results, if any. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ResourceProviderOperation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + """ + :keyword value: List of operations supported by this resource provider. + :paramtype value: list[~namespace_client.models.ResourceProviderOperation] + """ + super(ResourceProviderOperationList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :ivar created_by: The identity that created the resource. + :vartype created_by: str + :ivar created_by_type: The type of identity that created the resource. Known values are: + "User", "Application", "ManagedIdentity", "Key". + :vartype created_by_type: str or ~namespace_client.models.CreatedByType + :ivar created_at: The timestamp of resource creation (UTC). + :vartype created_at: ~datetime.datetime + :ivar last_modified_by: The identity that last modified the resource. + :vartype last_modified_by: str + :ivar last_modified_by_type: The type of identity that last modified the resource. Known values + are: "User", "Application", "ManagedIdentity", "Key". + :vartype last_modified_by_type: str or ~namespace_client.models.CreatedByType + :ivar last_modified_at: The timestamp of resource last modification (UTC). + :vartype last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + """ + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Known values are: + "User", "Application", "ManagedIdentity", "Key". + :paramtype created_by_type: str or ~namespace_client.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Known + values are: "User", "Application", "ManagedIdentity", "Key". + :paramtype last_modified_by_type: str or ~namespace_client.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime + """ + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/_models_py3.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/_models_py3.py new file mode 100644 index 00000000000..0cf48aa7158 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/_models_py3.py @@ -0,0 +1,635 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import datetime +from typing import Dict, List, Optional, TYPE_CHECKING, Union + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + import __init__ as _models + + +class ArcListUserCredentialProperties(msrest.serialization.Model): + """Properties required in body of listUserCredential call for Arc clusters. + + All required parameters must be populated in order to send to Azure. + + :ivar authentication_method: Required. The mode of client authentication. Known values are: + "Token", "AAD". + :vartype authentication_method: str or ~namespace_client.models.AuthenticationMethod + :ivar client_proxy: Required. Boolean value to indicate whether the request is for client side + proxy or not. + :vartype client_proxy: bool + """ + + _validation = { + 'authentication_method': {'required': True}, + 'client_proxy': {'required': True}, + } + + _attribute_map = { + 'authentication_method': {'key': 'authenticationMethod', 'type': 'str'}, + 'client_proxy': {'key': 'clientProxy', 'type': 'bool'}, + } + + def __init__( + self, + *, + authentication_method: Union[str, "_models.AuthenticationMethod"], + client_proxy: bool, + **kwargs + ): + """ + :keyword authentication_method: Required. The mode of client authentication. Known values are: + "Token", "AAD". + :paramtype authentication_method: str or ~namespace_client.models.AuthenticationMethod + :keyword client_proxy: Required. Boolean value to indicate whether the request is for client + side proxy or not. + :paramtype client_proxy: bool + """ + super(ArcListUserCredentialProperties, self).__init__(**kwargs) + self.authentication_method = authentication_method + self.client_proxy = client_proxy + + +class CredentialResult(msrest.serialization.Model): + """The credential result response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: The name of the credential. + :vartype name: str + :ivar value: Base64-encoded Kubernetes configuration file. + :vartype value: bytearray + """ + + _validation = { + 'name': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'bytearray'}, + } + + def __init__( + self, + **kwargs + ): + """ + """ + super(CredentialResult, self).__init__(**kwargs) + self.name = None + self.value = None + + +class CredentialResults(msrest.serialization.Model): + """The list of credential result response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar hybrid_connection_config: Contains the REP (rendezvous endpoint) and “Sender” access + token. + :vartype hybrid_connection_config: ~namespace_client.models.HybridConnectionConfig + :ivar kubeconfigs: Base64-encoded Kubernetes configuration file. + :vartype kubeconfigs: list[~namespace_client.models.CredentialResult] + """ + + _validation = { + 'hybrid_connection_config': {'readonly': True}, + 'kubeconfigs': {'readonly': True}, + } + + _attribute_map = { + 'hybrid_connection_config': {'key': 'hybridConnectionConfig', 'type': 'HybridConnectionConfig'}, + 'kubeconfigs': {'key': 'kubeconfigs', 'type': '[CredentialResult]'}, + } + + def __init__( + self, + **kwargs + ): + """ + """ + super(CredentialResults, self).__init__(**kwargs) + self.hybrid_connection_config = None + self.kubeconfigs = None + + +class ErrorDefinition(msrest.serialization.Model): + """Error definition. + + All required parameters must be populated in order to send to Azure. + + :ivar code: Required. Service specific error code which serves as the substatus for the HTTP + error code. + :vartype code: str + :ivar message: Required. Description of the error. + :vartype message: str + """ + + _validation = { + 'code': {'required': True}, + 'message': {'required': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + *, + code: str, + message: str, + **kwargs + ): + """ + :keyword code: Required. Service specific error code which serves as the substatus for the HTTP + error code. + :paramtype code: str + :keyword message: Required. Description of the error. + :paramtype message: str + """ + super(ErrorDefinition, self).__init__(**kwargs) + self.code = code + self.message = message + + +class ErrorResponse(msrest.serialization.Model): + """Error response. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar error: Error definition. + :vartype error: ~namespace_client.models.ErrorDefinition + """ + + _validation = { + 'error': {'readonly': True}, + } + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorDefinition'}, + } + + def __init__( + self, + **kwargs + ): + """ + """ + super(ErrorResponse, self).__init__(**kwargs) + self.error = None + + +class HybridConnectionConfig(msrest.serialization.Model): + """Contains the REP (rendezvous endpoint) and “Sender” access token. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar expiration_time: Timestamp when this token will be expired. + :vartype expiration_time: long + :ivar hybrid_connection_name: Name of the connection. + :vartype hybrid_connection_name: str + :ivar relay: Name of the relay. + :vartype relay: str + :ivar token: Sender access token. + :vartype token: str + """ + + _validation = { + 'expiration_time': {'readonly': True}, + 'hybrid_connection_name': {'readonly': True}, + 'relay': {'readonly': True}, + 'token': {'readonly': True}, + } + + _attribute_map = { + 'expiration_time': {'key': 'expirationTime', 'type': 'long'}, + 'hybrid_connection_name': {'key': 'hybridConnectionName', 'type': 'str'}, + 'relay': {'key': 'relay', 'type': 'str'}, + 'token': {'key': 'token', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + """ + """ + super(HybridConnectionConfig, self).__init__(**kwargs) + self.expiration_time = None + self.hybrid_connection_name = None + self.relay = None + self.token = None + + +class Resource(msrest.serialization.Model): + """Common fields that are returned in the response for all Azure Resource Manager resources. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + """ + """ + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + + +class ProxyResource(Resource): + """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + """ + """ + super(ProxyResource, self).__init__(**kwargs) + + +class Namespace(ProxyResource): + """The Namespace object returned by Get calls. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Fully qualified resource ID for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + :vartype id: str + :ivar name: The name of the resource. + :vartype name: str + :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + "Microsoft.Storage/storageAccounts". + :vartype type: str + :ivar system_data: System metadata recommended for all azure objects. + :vartype system_data: ~namespace_client.models.SystemData + :ivar uid: Unique ID for the namespace resource. + :vartype uid: str + :ivar creation_timestamp: Time of creation of namespace in cluster. + :vartype creation_timestamp: ~datetime.datetime + :ivar deletion_timestamp: Time of deletion of namespace in cluster. + :vartype deletion_timestamp: ~datetime.datetime + :ivar resource_version: A number which is used to identify when the resource has been modified. + :vartype resource_version: str + :ivar labels: Key Value pairs to identify the resource. + :vartype labels: dict[str, str] + :ivar annotations: Key Value pairs to give more information about the namespace. + :vartype annotations: dict[str, str] + :ivar status: States whether the namespace is active/terminating. + :vartype status: str + :ivar azure_portal_fqdn: FQDN of the namespace resource. Used for portal browse. + :vartype azure_portal_fqdn: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'system_data': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, + 'uid': {'key': 'properties.uid', 'type': 'str'}, + 'creation_timestamp': {'key': 'properties.creationTimestamp', 'type': 'iso-8601'}, + 'deletion_timestamp': {'key': 'properties.deletionTimestamp', 'type': 'iso-8601'}, + 'resource_version': {'key': 'properties.resourceVersion', 'type': 'str'}, + 'labels': {'key': 'properties.labels', 'type': '{str}'}, + 'annotations': {'key': 'properties.annotations', 'type': '{str}'}, + 'status': {'key': 'properties.status', 'type': 'str'}, + 'azure_portal_fqdn': {'key': 'properties.azurePortalFQDN', 'type': 'str'}, + } + + def __init__( + self, + *, + uid: Optional[str] = None, + creation_timestamp: Optional[datetime.datetime] = None, + deletion_timestamp: Optional[datetime.datetime] = None, + resource_version: Optional[str] = None, + labels: Optional[Dict[str, str]] = None, + annotations: Optional[Dict[str, str]] = None, + status: Optional[str] = None, + azure_portal_fqdn: Optional[str] = None, + **kwargs + ): + """ + :keyword uid: Unique ID for the namespace resource. + :paramtype uid: str + :keyword creation_timestamp: Time of creation of namespace in cluster. + :paramtype creation_timestamp: ~datetime.datetime + :keyword deletion_timestamp: Time of deletion of namespace in cluster. + :paramtype deletion_timestamp: ~datetime.datetime + :keyword resource_version: A number which is used to identify when the resource has been + modified. + :paramtype resource_version: str + :keyword labels: Key Value pairs to identify the resource. + :paramtype labels: dict[str, str] + :keyword annotations: Key Value pairs to give more information about the namespace. + :paramtype annotations: dict[str, str] + :keyword status: States whether the namespace is active/terminating. + :paramtype status: str + :keyword azure_portal_fqdn: FQDN of the namespace resource. Used for portal browse. + :paramtype azure_portal_fqdn: str + """ + super(Namespace, self).__init__(**kwargs) + self.system_data = None + self.uid = uid + self.creation_timestamp = creation_timestamp + self.deletion_timestamp = deletion_timestamp + self.resource_version = resource_version + self.labels = labels + self.annotations = annotations + self.status = status + self.azure_portal_fqdn = azure_portal_fqdn + + +class NamespaceList(msrest.serialization.Model): + """List of namespaces returned. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of Namespaces within a Kubernetes cluster. + :vartype value: list[~namespace_client.models.Namespace] + :ivar next_link: URL to get the next set of Namespace objects, if any. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Namespace]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + """ + """ + super(NamespaceList, self).__init__(**kwargs) + self.value = None + self.next_link = None + + +class ResourceProviderOperation(msrest.serialization.Model): + """Supported operation of this resource provider. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Operation name, in format of {provider}/{resource}/{operation}. + :vartype name: str + :ivar display: Display metadata associated with the operation. + :vartype display: ~namespace_client.models.ResourceProviderOperationDisplay + :ivar origin: The intended executor of the operation;governs the display of the operation in + the RBAC UX and the audit logs UX. + :vartype origin: str + :ivar is_data_action: The flag that indicates whether the operation applies to data plane. + :vartype is_data_action: bool + """ + + _validation = { + 'is_data_action': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'ResourceProviderOperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display: Optional["_models.ResourceProviderOperationDisplay"] = None, + origin: Optional[str] = None, + **kwargs + ): + """ + :keyword name: Operation name, in format of {provider}/{resource}/{operation}. + :paramtype name: str + :keyword display: Display metadata associated with the operation. + :paramtype display: ~namespace_client.models.ResourceProviderOperationDisplay + :keyword origin: The intended executor of the operation;governs the display of the operation in + the RBAC UX and the audit logs UX. + :paramtype origin: str + """ + super(ResourceProviderOperation, self).__init__(**kwargs) + self.name = name + self.display = display + self.origin = origin + self.is_data_action = None + + +class ResourceProviderOperationDisplay(msrest.serialization.Model): + """Display metadata associated with the operation. + + :ivar provider: Resource provider: Microsoft KubernetesConfiguration. + :vartype provider: str + :ivar resource: Resource on which the operation is performed. + :vartype resource: str + :ivar operation: Type of operation: get, read, delete, etc. + :vartype operation: str + :ivar description: Description of this operation. + :vartype description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + provider: Optional[str] = None, + resource: Optional[str] = None, + operation: Optional[str] = None, + description: Optional[str] = None, + **kwargs + ): + """ + :keyword provider: Resource provider: Microsoft KubernetesConfiguration. + :paramtype provider: str + :keyword resource: Resource on which the operation is performed. + :paramtype resource: str + :keyword operation: Type of operation: get, read, delete, etc. + :paramtype operation: str + :keyword description: Description of this operation. + :paramtype description: str + """ + super(ResourceProviderOperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class ResourceProviderOperationList(msrest.serialization.Model): + """Result of the request to list operations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of operations supported by this resource provider. + :vartype value: list[~namespace_client.models.ResourceProviderOperation] + :ivar next_link: URL to the next set of results, if any. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ResourceProviderOperation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["_models.ResourceProviderOperation"]] = None, + **kwargs + ): + """ + :keyword value: List of operations supported by this resource provider. + :paramtype value: list[~namespace_client.models.ResourceProviderOperation] + """ + super(ResourceProviderOperationList, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class SystemData(msrest.serialization.Model): + """Metadata pertaining to creation and last modification of the resource. + + :ivar created_by: The identity that created the resource. + :vartype created_by: str + :ivar created_by_type: The type of identity that created the resource. Known values are: + "User", "Application", "ManagedIdentity", "Key". + :vartype created_by_type: str or ~namespace_client.models.CreatedByType + :ivar created_at: The timestamp of resource creation (UTC). + :vartype created_at: ~datetime.datetime + :ivar last_modified_by: The identity that last modified the resource. + :vartype last_modified_by: str + :ivar last_modified_by_type: The type of identity that last modified the resource. Known values + are: "User", "Application", "ManagedIdentity", "Key". + :vartype last_modified_by_type: str or ~namespace_client.models.CreatedByType + :ivar last_modified_at: The timestamp of resource last modification (UTC). + :vartype last_modified_at: ~datetime.datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + created_by: Optional[str] = None, + created_by_type: Optional[Union[str, "_models.CreatedByType"]] = None, + created_at: Optional[datetime.datetime] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[Union[str, "_models.CreatedByType"]] = None, + last_modified_at: Optional[datetime.datetime] = None, + **kwargs + ): + """ + :keyword created_by: The identity that created the resource. + :paramtype created_by: str + :keyword created_by_type: The type of identity that created the resource. Known values are: + "User", "Application", "ManagedIdentity", "Key". + :paramtype created_by_type: str or ~namespace_client.models.CreatedByType + :keyword created_at: The timestamp of resource creation (UTC). + :paramtype created_at: ~datetime.datetime + :keyword last_modified_by: The identity that last modified the resource. + :paramtype last_modified_by: str + :keyword last_modified_by_type: The type of identity that last modified the resource. Known + values are: "User", "Application", "ManagedIdentity", "Key". + :paramtype last_modified_by_type: str or ~namespace_client.models.CreatedByType + :keyword last_modified_at: The timestamp of resource last modification (UTC). + :paramtype last_modified_at: ~datetime.datetime + """ + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/_namespace_client_enums.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/_namespace_client_enums.py new file mode 100644 index 00000000000..5358391de39 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/_namespace_client_enums.py @@ -0,0 +1,35 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum +from azure.core import CaseInsensitiveEnumMeta + + +class AuthenticationMethod(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The mode of client authentication. + """ + + TOKEN = "Token" + AAD = "AAD" + +class CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta): + """The type of identity that created the resource. + """ + + USER = "User" + APPLICATION = "Application" + MANAGED_IDENTITY = "ManagedIdentity" + KEY = "Key" + +class Enum0(str, Enum, metaclass=CaseInsensitiveEnumMeta): + + MICROSOFT_CONTAINER_SERVICE = "Microsoft.ContainerService" + MICROSOFT_KUBERNETES = "Microsoft.Kubernetes" + +class Enum1(str, Enum, metaclass=CaseInsensitiveEnumMeta): + + MANAGED_CLUSTERS = "managedClusters" + CONNECTED_CLUSTERS = "connectedClusters" diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/_patch.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/_patch.py new file mode 100644 index 00000000000..8a35ddb87c7 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/models/_patch.py @@ -0,0 +1,23 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Customize generated code here. + +Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize +""" +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import List + +__all__ = [] # type: List[str] # Add all objects you want publicly available to users at this package level + +def patch_sdk(): + """Do not remove from this file. + + `patch_sdk` is a last resort escape hatch that allows you to do customizations + you can't accomplish using the techniques described in + https://aka.ms/azsdk/python/dpcodegen/python/customize + """ diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/__init__.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/__init__.py new file mode 100644 index 00000000000..9d012048b5b --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/__init__.py @@ -0,0 +1,20 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._namespaces_operations import NamespacesOperations +from ._namespace_client_operations import NamespaceClientOperationsMixin +from ._operations import Operations + +from ._patch import __all__ as _patch_all +from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import +from ._patch import patch_sdk as _patch_sdk +__all__ = [ + 'NamespacesOperations', + 'NamespaceClientOperationsMixin', + 'Operations', +] +__all__.extend([p for p in _patch_all if p not in __all__]) +_patch_sdk() \ No newline at end of file diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_namespace_client_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_namespace_client_operations.py new file mode 100644 index 00000000000..ea9c26a88f4 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_namespace_client_operations.py @@ -0,0 +1,167 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.utils import case_insensitive_dict + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Optional, TypeVar, Union + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_user_credential_request( + subscription_id, # type: str + resource_group_name, # type: str + cluster_rp, # type: Union[str, "_models.Enum0"] + cluster_resource_name, # type: Union[str, "_models.Enum1"] + cluster_name, # type: str + namespace_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/namespaces/{namespaceName}/listUserCredential") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "clusterRp": _SERIALIZER.url("cluster_rp", cluster_rp, 'str'), + "clusterResourceName": _SERIALIZER.url("cluster_resource_name", cluster_resource_name, 'str'), + "clusterName": _SERIALIZER.url("cluster_name", cluster_name, 'str'), + "namespaceName": _SERIALIZER.url("namespace_name", namespace_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + if content_type is not None: + _headers['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="POST", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + +# fmt: on +class NamespaceClientOperationsMixin(object): + + @distributed_trace + def list_user_credential( + self, + resource_group_name, # type: str + cluster_rp, # type: Union[str, "_models.Enum0"] + cluster_resource_name, # type: Union[str, "_models.Enum1"] + cluster_name, # type: str + namespace_name, # type: str + properties=None, # type: Optional[_models.ArcListUserCredentialProperties] + **kwargs # type: Any + ): + # type: (...) -> _models.CredentialResults + """Get the kubeconfig of the cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_rp: The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS + clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). + :type cluster_rp: str or ~namespace_client.models.Enum0 + :param cluster_resource_name: The Kubernetes cluster resource name - either managedClusters + (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). + :type cluster_resource_name: str or ~namespace_client.models.Enum1 + :param cluster_name: The name of the kubernetes cluster. + :type cluster_name: str + :param namespace_name: Name of the Namespace. + :type namespace_name: str + :param properties: ListUserCredential properties for Arc Clusters. Default value is None. + :type properties: ~namespace_client.models.ArcListUserCredentialProperties + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CredentialResults, or the result of cls(response) + :rtype: ~namespace_client.models.CredentialResults + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str + content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[_models.CredentialResults] + + if properties is not None: + _json = self._serialize.body(properties, 'ArcListUserCredentialProperties') + else: + _json = None + + request = build_list_user_credential_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + cluster_rp=cluster_rp, + cluster_resource_name=cluster_resource_name, + cluster_name=cluster_name, + namespace_name=namespace_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.list_user_credential.metadata['url'], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('CredentialResults', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + list_user_credential.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/namespaces/{namespaceName}/listUserCredential"} # type: ignore + diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_namespaces_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_namespaces_operations.py new file mode 100644 index 00000000000..9735e9e918a --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_namespaces_operations.py @@ -0,0 +1,317 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.utils import case_insensitive_dict + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_get_request( + subscription_id, # type: str + resource_group_name, # type: str + cluster_rp, # type: Union[str, "_models.Enum0"] + cluster_resource_name, # type: Union[str, "_models.Enum1"] + cluster_name, # type: str + namespace_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/namespaces/{namespaceName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "clusterRp": _SERIALIZER.url("cluster_rp", cluster_rp, 'str'), + "clusterResourceName": _SERIALIZER.url("cluster_resource_name", cluster_resource_name, 'str'), + "clusterName": _SERIALIZER.url("cluster_name", cluster_name, 'str'), + "namespaceName": _SERIALIZER.url("namespace_name", namespace_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + + +def build_list_request( + subscription_id, # type: str + resource_group_name, # type: str + cluster_rp, # type: Union[str, "_models.Enum0"] + cluster_resource_name, # type: Union[str, "_models.Enum1"] + cluster_name, # type: str + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/namespaces") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str'), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'), + "clusterRp": _SERIALIZER.url("cluster_rp", cluster_rp, 'str'), + "clusterResourceName": _SERIALIZER.url("cluster_resource_name", cluster_resource_name, 'str'), + "clusterName": _SERIALIZER.url("cluster_name", cluster_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + +# fmt: on +class NamespacesOperations(object): + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~namespace_client.NamespaceClient`'s + :attr:`namespaces` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs): + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") + self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") + + + @distributed_trace + def get( + self, + resource_group_name, # type: str + cluster_rp, # type: Union[str, "_models.Enum0"] + cluster_resource_name, # type: Union[str, "_models.Enum1"] + cluster_name, # type: str + namespace_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> _models.Namespace + """Get details about the namespace resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_rp: The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS + clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). + :type cluster_rp: str or ~namespace_client.models.Enum0 + :param cluster_resource_name: The Kubernetes cluster resource name - either managedClusters + (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). + :type cluster_resource_name: str or ~namespace_client.models.Enum1 + :param cluster_name: The name of the kubernetes cluster. + :type cluster_name: str + :param namespace_name: Name of the Namespace. + :type namespace_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Namespace, or the result of cls(response) + :rtype: ~namespace_client.models.Namespace + :raises: ~azure.core.exceptions.HttpResponseError + """ + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {}) or {}) + + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.Namespace] + + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + cluster_rp=cluster_rp, + cluster_resource_name=cluster_resource_name, + cluster_name=cluster_name, + namespace_name=namespace_name, + api_version=api_version, + template_url=self.get.metadata['url'], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + pipeline_response = self._client._pipeline.run( # type: ignore # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error) + + deserialized = self._deserialize('Namespace', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/namespaces/{namespaceName}"} # type: ignore + + + @distributed_trace + def list( + self, + resource_group_name, # type: str + cluster_rp, # type: Union[str, "_models.Enum0"] + cluster_resource_name, # type: Union[str, "_models.Enum1"] + cluster_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable[_models.NamespaceList] + """List namespaces in the cluster. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cluster_rp: The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS + clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters). + :type cluster_rp: str or ~namespace_client.models.Enum0 + :param cluster_resource_name: The Kubernetes cluster resource name - either managedClusters + (for AKS clusters) or connectedClusters (for OnPrem K8S clusters). + :type cluster_resource_name: str or ~namespace_client.models.Enum1 + :param cluster_name: The name of the kubernetes cluster. + :type cluster_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NamespaceList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~namespace_client.models.NamespaceList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.NamespaceList] + + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {}) or {}) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + cluster_rp=cluster_rp, + cluster_resource_name=cluster_resource_name, + cluster_name=cluster_name, + api_version=api_version, + template_url=self.list.metadata['url'], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + cluster_rp=cluster_rp, + cluster_resource_name=cluster_resource_name, + cluster_name=cluster_name, + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize("NamespaceList", pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{clusterRp}/{clusterResourceName}/{clusterName}/providers/Microsoft.KubernetesConfiguration/namespaces"} # type: ignore diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_operations.py new file mode 100644 index 00000000000..f84880cc2e5 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_operations.py @@ -0,0 +1,157 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.4, generator: @autorest/python@5.16.0) +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING + +from msrest import Serializer + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.core.utils import case_insensitive_dict + +from .. import models as _models +from .._vendor import _convert_request + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Iterable, Optional, TypeVar + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False +# fmt: off + +def build_list_request( + **kwargs # type: Any +): + # type: (...) -> HttpRequest + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str + accept = _headers.pop('Accept', "application/json") + + # Construct URL + _url = kwargs.pop("template_url", "/providers/Microsoft.KubernetesConfiguration/operations") + + # Construct parameters + _params['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _headers['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_params, + headers=_headers, + **kwargs + ) + +# fmt: on +class Operations(object): + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~namespace_client.NamespaceClient`'s + :attr:`operations` attribute. + """ + + models = _models + + def __init__(self, *args, **kwargs): + input_args = list(args) + self._client = input_args.pop(0) if input_args else kwargs.pop("client") + self._config = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer") + self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") + + + @distributed_trace + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable[_models.ResourceProviderOperationList] + """List all the available operations the KubernetesConfiguration resource provider supports. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ResourceProviderOperationList or the result of + cls(response) + :rtype: ~azure.core.paging.ItemPaged[~namespace_client.models.ResourceProviderOperationList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + _headers = kwargs.pop("headers", {}) or {} + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str + cls = kwargs.pop('cls', None) # type: ClsType[_models.ResourceProviderOperationList] + + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {}) or {}) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_request( + api_version=api_version, + template_url=self.list.metadata['url'], + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + + else: + + request = build_list_request( + api_version=api_version, + template_url=next_link, + headers=_headers, + params=_params, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) # type: ignore + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize("ResourceProviderOperationList", pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run( # pylint: disable=protected-access + request, + stream=False, + **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, pipeline_response) + raise HttpResponseError(response=response, model=error) + + return pipeline_response + + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': "/providers/Microsoft.KubernetesConfiguration/operations"} # type: ignore diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_patch.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_patch.py new file mode 100644 index 00000000000..8a35ddb87c7 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_patch.py @@ -0,0 +1,23 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Customize generated code here. + +Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize +""" +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import List + +__all__ = [] # type: List[str] # Add all objects you want publicly available to users at this package level + +def patch_sdk(): + """Do not remove from this file. + + `patch_sdk` is a last resort escape hatch that allows you to do customizations + you can't accomplish using the techniques described in + https://aka.ms/azsdk/python/dpcodegen/python/customize + """ diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/py.typed b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/py.typed new file mode 100644 index 00000000000..e5aff4f83af --- /dev/null +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file From 965bff513be47a9918e5239dd8cc5b02c3e8c0db Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Thu, 5 May 2022 18:59:29 +0530 Subject: [PATCH 08/52] Removed accidental changes --- src/aks-preview/azext_aks_preview/_params.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index fd4c8ad9714..709cc09653b 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -280,20 +280,17 @@ def load_arguments(self, _): c.argument('enable_pod_identity', action='store_true') c.argument('enable_workload_identity', arg_type=get_three_state_flag(), is_preview=True) c.argument('enable_oidc_issuer', action='store_true', is_preview=True) + c.argument('enable_azure_keyvault_kms', action='store_true', is_preview=True) + c.argument('azure_keyvault_kms_key_id', validator=validate_azure_keyvault_kms_key_id, is_preview=True) c.argument('cluster_snapshot_id', validator=validate_cluster_snapshot_id, is_preview=True) # nodepool c.argument('host_group_id', validator=validate_host_group_id, is_preview=True) c.argument('crg_id', validator=validate_crg_id, is_preview=True) # no validation for aks create because it already only supports Linux. - c.argument('message_of_the_day', type=str) - c.argument('enable_azure_keyvault_kms', - action='store_true', is_preview=True) - c.argument('azure_keyvault_kms_key_id', - validator=validate_azure_keyvault_kms_key_id, is_preview=True) - c.argument('enable_namespace_resources', options_list=['--enable-namespace-resources'], help='Enables namespace resources.') - c.argument('gpu_instance_profile', - arg_type=get_enum_type(gpu_instance_profiles)) + c.argument('message_of_the_day') + c.argument('gpu_instance_profile', arg_type=get_enum_type(gpu_instance_profiles)) c.argument('workload_runtime', arg_type=get_enum_type(workload_runtimes), default=CONST_WORKLOAD_RUNTIME_OCI_CONTAINER) + c.argument('enable_namespace_resources', help='Enables namespace as an ARM resource') with self.argument_context('aks update') as c: # managed cluster paramerters From fd1ec446e9148c67adb4e27d9e48ca3fa81d6f3d Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Thu, 5 May 2022 19:00:06 +0530 Subject: [PATCH 09/52] Removed whitespace --- src/aks-preview/azext_aks_preview/_params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index 709cc09653b..83a0e2d77fa 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -287,7 +287,7 @@ def load_arguments(self, _): c.argument('host_group_id', validator=validate_host_group_id, is_preview=True) c.argument('crg_id', validator=validate_crg_id, is_preview=True) # no validation for aks create because it already only supports Linux. - c.argument('message_of_the_day') + c.argument('message_of_the_day') c.argument('gpu_instance_profile', arg_type=get_enum_type(gpu_instance_profiles)) c.argument('workload_runtime', arg_type=get_enum_type(workload_runtimes), default=CONST_WORKLOAD_RUNTIME_OCI_CONTAINER) c.argument('enable_namespace_resources', help='Enables namespace as an ARM resource') From 5793c61c918d8fef60a9052d09baebdec8389688 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Thu, 5 May 2022 19:04:18 +0530 Subject: [PATCH 10/52] Removed unnecessary changed --- src/aks-preview/azext_aks_preview/custom.py | 2 +- .../aio/operations/_managed_clusters_operations.py | 6 +++--- .../operations/_managed_clusters_operations.py | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index 06216c62c52..3d5a450fb45 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -798,7 +798,7 @@ def aks_create(cmd, enable_azure_keyvault_kms=False, azure_keyvault_kms_key_id=None, yes=False, - enable_namespace_resources=False): # Check what this name should be. + enable_namespace_resources=False): # DO NOT MOVE: get all the original parameters and save them as a dictionary raw_parameters = locals() diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/aio/operations/_managed_clusters_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/aio/operations/_managed_clusters_operations.py index 08f0b9c8b55..31453c02fcf 100644 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/aio/operations/_managed_clusters_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/aio/operations/_managed_clusters_operations.py @@ -443,7 +443,7 @@ async def list_cluster_user_credentials( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - url = self.list_cluster_user_credentials.metadata['url'] + request = build_list_cluster_user_credentials_request( subscription_id=self._config.subscription_id, @@ -451,7 +451,7 @@ async def list_cluster_user_credentials( resource_name=resource_name, server_fqdn=server_fqdn, format=format, - template_url=url, + template_url=self.list_cluster_user_credentials.metadata['url'], ) request = _convert_request(request) request.url = self._client.format_url(request.url) @@ -470,7 +470,7 @@ async def list_cluster_user_credentials( return deserialized - list_cluster_user_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential', "namespace_scoped_url": '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/providers/Microsoft.KubernetesConfiguration/namespaces/{namespaceName}/listUserCredential' } # type: ignore + list_cluster_user_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential'} # type: ignore @distributed_trace_async diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/operations/_managed_clusters_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/operations/_managed_clusters_operations.py index 2afc7ef7d95..f9f45259be9 100644 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/operations/_managed_clusters_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/operations/_managed_clusters_operations.py @@ -1244,7 +1244,7 @@ def list_cluster_user_credentials( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - url = self.list_cluster_user_credentials.metadata['url'] + request = build_list_cluster_user_credentials_request( subscription_id=self._config.subscription_id, @@ -1252,7 +1252,7 @@ def list_cluster_user_credentials( resource_name=resource_name, server_fqdn=server_fqdn, format=format, - template_url=url, + template_url=self.list_cluster_user_credentials.metadata['url'], ) request = _convert_request(request) request.url = self._client.format_url(request.url) @@ -1271,7 +1271,7 @@ def list_cluster_user_credentials( return deserialized - list_cluster_user_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential', "namespace_scoped_url": '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/providers/Microsoft.KubernetesConfiguration/namespaces/{namespaceName}/listUserCredential' } # type: ignore + list_cluster_user_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential'} # type: ignore @distributed_trace From bdabfcd19a15d9e1f361d66c22b3e5d832970894 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Thu, 5 May 2022 19:05:29 +0530 Subject: [PATCH 11/52] Removed whitespace diff --- .../aio/operations/_managed_clusters_operations.py | 2 +- .../operations/_managed_clusters_operations.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/aio/operations/_managed_clusters_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/aio/operations/_managed_clusters_operations.py index 31453c02fcf..63df641c04d 100644 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/aio/operations/_managed_clusters_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/aio/operations/_managed_clusters_operations.py @@ -444,7 +444,7 @@ async def list_cluster_user_credentials( } error_map.update(kwargs.pop('error_map', {})) - + request = build_list_cluster_user_credentials_request( subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/operations/_managed_clusters_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/operations/_managed_clusters_operations.py index f9f45259be9..740458809df 100644 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/operations/_managed_clusters_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2022_03_02_preview/operations/_managed_clusters_operations.py @@ -1245,7 +1245,7 @@ def list_cluster_user_credentials( } error_map.update(kwargs.pop('error_map', {})) - + request = build_list_cluster_user_credentials_request( subscription_id=self._config.subscription_id, resource_group_name=resource_group_name, From 89b0b0f4a0ca442fdb776aaf8e3270c4b22a3c32 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 9 May 2022 06:55:10 +0000 Subject: [PATCH 12/52] Added test recordings --- ...est_aks_create_with_namespace_enabled.yaml | 613 ++++++++++ .../test_aks_update_enable_namespace.yaml | 1043 +++++++++++++++++ 2 files changed, 1656 insertions(+) create mode 100644 src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml create mode 100644 src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml new file mode 100644 index 00000000000..3590d75421f --- /dev/null +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml @@ -0,0 +1,613 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-04-29T04:45:39Z","Created":"20220429"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 29 Apr 2022 04:45:42 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-clitestztwx43zo4-1bfbb5", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": + "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", + "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", + "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": + false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], + "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X"}]}}, + "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "enableNamespaceResources": + true, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": + "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, + "disableLocalAccounts": false}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + Content-Length: + - '1419' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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=2022-03-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.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": + \"cliakstest-clitestztwx43zo4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestztwx43zo4-1bfbb5-f7d5468b.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestztwx43zo4-1bfbb5-f7d5468b.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.04.13\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X\"\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 \"networkProfile\": + {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n + \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": + 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": + [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n + \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": + 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"enableNamespaceResources\": + true,\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '3060' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 04:45:49 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 --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"81c17f07-2d9b-8f47-b2d2-09c40d0b6969\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-04-29T04:45:49.52Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 04:46:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"81c17f07-2d9b-8f47-b2d2-09c40d0b6969\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-04-29T04:45:49.52Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 04:46:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"81c17f07-2d9b-8f47-b2d2-09c40d0b6969\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-04-29T04:45:49.52Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 04:47:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"81c17f07-2d9b-8f47-b2d2-09c40d0b6969\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-04-29T04:45:49.52Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 04:47:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"81c17f07-2d9b-8f47-b2d2-09c40d0b6969\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-04-29T04:45:49.52Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 04:48:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"81c17f07-2d9b-8f47-b2d2-09c40d0b6969\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-04-29T04:45:49.52Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 04:48:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"81c17f07-2d9b-8f47-b2d2-09c40d0b6969\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-04-29T04:45:49.52Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 04:49:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"81c17f07-2d9b-8f47-b2d2-09c40d0b6969\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-04-29T04:45:49.52Z\",\n \"endTime\": + \"2022-04-29T04:49:40.4125371Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '165' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 04:49:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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=2022-03-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.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": + \"cliakstest-clitestztwx43zo4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestztwx43zo4-1bfbb5-f7d5468b.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestztwx43zo4-1bfbb5-f7d5468b.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.04.13\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X\"\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 \"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/2a1ce6b6-fd56-4e0d-bcb7-3ab96eadd4e7\"\n + \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": + [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n + \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": + 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n + \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": + \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '3713' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 04:49:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +version: 1 diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml new file mode 100644 index 00000000000..860cd1bc6a2 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml @@ -0,0 +1,1043 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-04-29T05:08:45Z","Created":"20220429"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 29 Apr 2022 05:08:47 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-clitesto4ksaps6c-1bfbb5", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": + "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", + "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", + "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": + false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], + "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X"}]}}, + "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": + {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", + "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": + "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + Content-Length: + - '1385' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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=2022-03-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.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": + \"cliakstest-clitesto4ksaps6c-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.04.13\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X\"\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 \"networkProfile\": + {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n + \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": + 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": + [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n + \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": + 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"oidcIssuerProfile\": + {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": + \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '3023' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 05:08:54 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 + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"245139bf-8f5a-6447-b7d0-66ab838e1a37\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-04-29T05:08:54.34Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 05:09:25 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 + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"245139bf-8f5a-6447-b7d0-66ab838e1a37\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-04-29T05:08:54.34Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 05:09:54 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 + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"245139bf-8f5a-6447-b7d0-66ab838e1a37\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-04-29T05:08:54.34Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 05:10:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"245139bf-8f5a-6447-b7d0-66ab838e1a37\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-04-29T05:08:54.34Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 05:10:55 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 + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"245139bf-8f5a-6447-b7d0-66ab838e1a37\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-04-29T05:08:54.34Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 05:11:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"245139bf-8f5a-6447-b7d0-66ab838e1a37\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-04-29T05:08:54.34Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 05:11:55 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 + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"245139bf-8f5a-6447-b7d0-66ab838e1a37\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-04-29T05:08:54.34Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 05:12:25 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 + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"245139bf-8f5a-6447-b7d0-66ab838e1a37\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-04-29T05:08:54.34Z\",\n \"endTime\": + \"2022-04-29T05:12:44.1465763Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '165' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 05:12:56 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 + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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=2022-03-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.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": + \"cliakstest-clitesto4ksaps6c-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.04.13\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X\"\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 \"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/a059942a-e99c-4f13-a553-ec3452d97af7\"\n + \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": + [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n + \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": + 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_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 \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '3676' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 05:12:56 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-namespace-resources + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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=2022-03-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.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": + \"cliakstest-clitesto4ksaps6c-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.04.13\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X\"\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 \"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/a059942a-e99c-4f13-a553-ec3452d97af7\"\n + \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": + [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n + \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": + 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_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 \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '3676' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 05:12:57 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": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.22.6", "dnsPrefix": + "cliakstest-clitesto4ksaps6c-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", + "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", + "mode": "System", "currentOrchestratorVersion": "1.22.6", "powerState": {"code": + "Running"}, "enableNodePublicIP": false, "enableEncryptionAtHost": false, "enableUltraSSD": + false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X"}]}}, + "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": + true, "enablePodSecurityPolicy": false, "enableNamespaceResources": true, "networkProfile": + {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", + "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": + "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/a059942a-e99c-4f13-a553-ec3452d97af7"}]}, + "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": + ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", + "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, + "disableLocalAccounts": false, "securityProfile": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + Content-Length: + - '2457' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --enable-namespace-resources + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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=2022-03-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.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": + \"cliakstest-clitesto4ksaps6c-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.04.13\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X\"\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 \"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/a059942a-e99c-4f13-a553-ec3452d97af7\"\n + \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": + [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n + \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": + 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_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 },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": + {\n \"enabled\": true\n }\n },\n \"enableNamespaceResources\": + true,\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a36cf2fb-c98e-42df-936d-50853368a089?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '3897' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 05:13:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + 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-namespace-resources + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/a36cf2fb-c98e-42df-936d-50853368a089?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"fbf26ca3-8ec9-df42-936d-50853368a089\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-04-29T05:13:01.44Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 05:13:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/a36cf2fb-c98e-42df-936d-50853368a089?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"fbf26ca3-8ec9-df42-936d-50853368a089\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-04-29T05:13:01.44Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 05:14:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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/a36cf2fb-c98e-42df-936d-50853368a089?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"fbf26ca3-8ec9-df42-936d-50853368a089\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-04-29T05:13:01.44Z\",\n \"endTime\": + \"2022-04-29T05:14:19.6470329Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '165' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 05:14:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1017-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=2022-03-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.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": + \"cliakstest-clitesto4ksaps6c-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.04.13\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X\"\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 \"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/a059942a-e99c-4f13-a553-ec3452d97af7\"\n + \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": + [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n + \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": + 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n + \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": + \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '3713' + content-type: + - application/json + date: + - Fri, 29 Apr 2022 05:14: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 +version: 1 From 814badc04f956e1da1e221f0cf2b5ff81e9e549d Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Mon, 9 May 2022 14:17:11 +0530 Subject: [PATCH 13/52] Fixed linter issues --- src/aks-preview/azext_aks_preview/_params.py | 4 +++- src/aks-preview/linter_exclusions.yml | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index 83a0e2d77fa..7542977ed8d 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -9,6 +9,7 @@ import platform from argcomplete.completers import FilesCompleter +from requests import options from azure.cli.core.commands.parameters import ( edge_zone_type, file_type, @@ -290,7 +291,7 @@ def load_arguments(self, _): c.argument('message_of_the_day') c.argument('gpu_instance_profile', arg_type=get_enum_type(gpu_instance_profiles)) c.argument('workload_runtime', arg_type=get_enum_type(workload_runtimes), default=CONST_WORKLOAD_RUNTIME_OCI_CONTAINER) - c.argument('enable_namespace_resources', help='Enables namespace as an ARM resource') + c.argument('enable_namespace_resources', options_list=['--enable-namespace-resources', '--enable-ns-resources'], help='Enables namespace as an ARM resource') with self.argument_context('aks update') as c: # managed cluster paramerters @@ -357,6 +358,7 @@ def load_arguments(self, _): c.argument('enable_oidc_issuer', action='store_true', is_preview=True) c.argument('enable_azure_keyvault_kms', action='store_true', is_preview=True) c.argument('azure_keyvault_kms_key_id', validator=validate_azure_keyvault_kms_key_id, is_preview=True) + c.argument('enable_namespace_resources', options_list=['--enable-namespace-resources', '--enable-ns-resources'], help='Enables namespace as an ARM resource') with self.argument_context('aks scale') as c: c.argument('nodepool_name', diff --git a/src/aks-preview/linter_exclusions.yml b/src/aks-preview/linter_exclusions.yml index af4a2984ecd..a1efd8fce4b 100644 --- a/src/aks-preview/linter_exclusions.yml +++ b/src/aks-preview/linter_exclusions.yml @@ -15,6 +15,9 @@ aks create: enable_workload_identity: rule_exclusions: - option_length_too_long + enable_namespace_resources: + rule_exclusions: + - option_length_too_long aks delete: parameters: ignore_pod_disruption_budget: @@ -45,6 +48,9 @@ aks update: disable_workload_identity: rule_exclusions: - option_length_too_long + enable_namespace_resources: + rule_exclusions: + - option_length_too_long aks nodepool delete: parameters: ignore_pod_disruption_budget: From 0baf16a0e25488f88d1942f7c4675e063e6984dd Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Mon, 9 May 2022 15:24:31 +0530 Subject: [PATCH 14/52] Fixed static analysis errors --- src/aks-preview/azext_aks_preview/_params.py | 2 +- src/aks-preview/azext_aks_preview/custom.py | 6 +++--- src/aks-preview/azext_aks_preview/decorator.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index 7542977ed8d..76eeedfaa45 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -288,7 +288,7 @@ def load_arguments(self, _): c.argument('host_group_id', validator=validate_host_group_id, is_preview=True) c.argument('crg_id', validator=validate_crg_id, is_preview=True) # no validation for aks create because it already only supports Linux. - c.argument('message_of_the_day') + c.argument('message_of_the_day') c.argument('gpu_instance_profile', arg_type=get_enum_type(gpu_instance_profiles)) c.argument('workload_runtime', arg_type=get_enum_type(workload_runtimes), default=CONST_WORKLOAD_RUNTIME_OCI_CONTAINER) c.argument('enable_namespace_resources', options_list=['--enable-namespace-resources', '--enable-ns-resources'], help='Enables namespace as an ARM resource') diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index 3d5a450fb45..723af486eef 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -963,7 +963,7 @@ def aks_get_credentials(cmd, # pylint: disable=unused-argument raise InvalidArgumentValueError("--format can only be specified when requesting clusterUser credential.") if admin: if namespace_name is not None: - raise InvalidArgumentValueError("--namespace is not valid for admin credentials") + raise InvalidArgumentValueError("--namespace is not valid for admin credentials") credentialResults = client.list_cluster_admin_credentials( resource_group_name, name, serverType) else: @@ -974,10 +974,10 @@ def aks_get_credentials(cmd, # pylint: disable=unused-argument client = get_mgmt_service_client(cmd.cli_ctx, NamespaceClient) credentialResults = client.list_user_credential(resource_group_name, "Microsoft.ContainerService", "managedClusters", name, namespace_name) - + else: credentialResults = client.list_cluster_user_credentials( - resource_group_name, name, serverType, credential_format) + resource_group_name, name, serverType, credential_format) elif user.lower() == 'clustermonitoringuser': credentialResults = client.list_cluster_monitoring_user_credentials( resource_group_name, name, serverType) diff --git a/src/aks-preview/azext_aks_preview/decorator.py b/src/aks-preview/azext_aks_preview/decorator.py index 9edf23f23b2..2771011a1b9 100644 --- a/src/aks-preview/azext_aks_preview/decorator.py +++ b/src/aks-preview/azext_aks_preview/decorator.py @@ -2212,7 +2212,7 @@ def set_up_azure_keyvault_kms(self, mc: ManagedCluster) -> ManagedCluster: ) return mc - + def set_up_enable_namespace_resource(self, mc: ManagedCluster) -> ManagedCluster: """Sets the property to enable namespace as an ARM resource @@ -2585,7 +2585,7 @@ def update_azure_keyvault_kms(self, mc: ManagedCluster) -> ManagedCluster: ) return mc - + def update_enable_namespace_resources(self, mc: ManagedCluster) -> ManagedCluster: """Sets the property to enable namespace as an ARM resource From 91a3aaa99b53b92895811813b2488b677a2b2395 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Mon, 9 May 2022 15:52:31 +0530 Subject: [PATCH 15/52] Removed unnecessary import --- src/aks-preview/azext_aks_preview/_params.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index 4f535b0dd7e..3d08c9360a3 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -9,7 +9,6 @@ import platform from argcomplete.completers import FilesCompleter -from requests import options from azure.cli.core.commands.parameters import ( edge_zone_type, file_type, From 0500fbaa4d2f33baea22a1984551b3df503a8b57 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Mon, 9 May 2022 15:53:15 +0530 Subject: [PATCH 16/52] Removed unnecessary options list --- src/aks-preview/azext_aks_preview/_params.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index 3d08c9360a3..fb9d4ff1c4b 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -293,7 +293,7 @@ def load_arguments(self, _): c.argument('message_of_the_day') c.argument('gpu_instance_profile', arg_type=get_enum_type(gpu_instance_profiles)) c.argument('workload_runtime', arg_type=get_enum_type(workload_runtimes), default=CONST_WORKLOAD_RUNTIME_OCI_CONTAINER) - c.argument('enable_namespace_resources', options_list=['--enable-namespace-resources', '--enable-ns-resources'], help='Enables namespace as an ARM resource') + c.argument('enable_namespace_resources', help='Enables namespace as an ARM resource') with self.argument_context('aks update') as c: # managed cluster paramerters @@ -366,7 +366,7 @@ def load_arguments(self, _): c.argument('enable_oidc_issuer', action='store_true', is_preview=True) c.argument('enable_azure_keyvault_kms', action='store_true', is_preview=True) c.argument('azure_keyvault_kms_key_id', validator=validate_azure_keyvault_kms_key_id, is_preview=True) - c.argument('enable_namespace_resources', options_list=['--enable-namespace-resources', '--enable-ns-resources'], help='Enables namespace as an ARM resource') + c.argument('enable_namespace_resources', help='Enables namespace as an ARM resource') with self.argument_context('aks scale') as c: c.argument('nodepool_name', From 225eff84ac3a49d7ae146717b908df56b6e90600 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Wed, 11 May 2022 11:49:24 +0530 Subject: [PATCH 17/52] Added test for get-credentials at namespace scope --- .../tests/latest/test_aks_commands.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) 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 17249ecec14..471706189e9 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 @@ -6,12 +6,14 @@ import base64 import os import tempfile +from time import sleep from azure.cli.testsdk import ( ScenarioTest, live_only) from azure.cli.command_modules.acs._format import version_to_tuple from azure.cli.testsdk.scenario_tests import AllowLargeResponse from knack.util import CLIError +from azure.core.exceptions import HttpResponseError from .recording_processors import KeyReplacer from .custom_preparers import AKSCustomResourceGroupPreparer @@ -310,7 +312,21 @@ def test_aks_update_enable_namespace(self, resource_group, resource_group_locati self.check('enableNamespaceResources', True) ]) - + @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') + def test_aks_get_credentials_at_namespace_scope(self, resource_group): + aks_name = self.create_random_name('cliakstest', 16) + self.kwargs.update({ + 'resource_group': resource_group, + 'name': aks_name + }) + create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-namespace-resources --generate-ssh-keys' + self.cmd(create_cmd) + print("Cluster created, sleeping for 60 seconds") + sleep(60) # Sleep for 60 seconds to allow hydration of namespaces + get_credentials_command = 'aks get-credentials --resource-group={resource_group} --name={name} --namespace default' + with self.assertRaisesRegexp(HttpResponseError, ".* ListUserCredentials for Namespaces is not supported for non AAD clusters.*"): # ListUserCredential will fail for non-aad clusters. By verifying this error, we can verify that the call has reached the RP. + self.cmd(get_credentials_command) + @AllowLargeResponse() @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') def test_aks_create_with_ingress_appgw_addon_with_deprecated_subet_prefix(self, resource_group, resource_group_location): From e4767914a1a8209af3d29c15eb97d47cc269fab0 Mon Sep 17 00:00:00 2001 From: KarthikK123 Date: Wed, 11 May 2022 06:20:42 +0000 Subject: [PATCH 18/52] adding test recording --- ...ks_get_credentials_at_namespace_scope.yaml | 614 ++++++++++++++++++ 1 file changed, 614 insertions(+) create mode 100644 src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml new file mode 100644 index 00000000000..5ead4f8b0e1 --- /dev/null +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml @@ -0,0 +1,614 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-11T06:11:49Z","Created":"20220511"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 06:11:51 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-clitestebqeqqvnp-1bfbb5", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": + "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", + "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", + "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": + false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], + "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ"}]}}, + "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "enableNamespaceResources": + true, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": + "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, + "disableLocalAccounts": false}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + Content-Length: + - '1419' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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=2022-03-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.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": + \"cliakstest-clitestebqeqqvnp-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestebqeqqvnp-1bfbb5-be119738.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestebqeqqvnp-1bfbb5-be119738.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"networkProfile\": + {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n + \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": + 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": + [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n + \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": + 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"enableNamespaceResources\": + true,\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f7b6c534-28e7-45e1-a868-3174a295b01d?api-version=2016-03-30 + cache-control: + - no-cache + content-length: + - '3060' + content-type: + - application/json + date: + - Wed, 11 May 2022 06:11:59 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 --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/f7b6c534-28e7-45e1-a868-3174a295b01d?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"34c5b6f7-e728-e145-a868-3174a295b01d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-11T06:11:59.2666666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 11 May 2022 06:12:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/f7b6c534-28e7-45e1-a868-3174a295b01d?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"34c5b6f7-e728-e145-a868-3174a295b01d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-11T06:11:59.2666666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 11 May 2022 06:12:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/f7b6c534-28e7-45e1-a868-3174a295b01d?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"34c5b6f7-e728-e145-a868-3174a295b01d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-11T06:11:59.2666666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 11 May 2022 06:13: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 --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/f7b6c534-28e7-45e1-a868-3174a295b01d?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"34c5b6f7-e728-e145-a868-3174a295b01d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-11T06:11:59.2666666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 11 May 2022 06:14: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 --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/f7b6c534-28e7-45e1-a868-3174a295b01d?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"34c5b6f7-e728-e145-a868-3174a295b01d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-11T06:11:59.2666666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 11 May 2022 06: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 --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/f7b6c534-28e7-45e1-a868-3174a295b01d?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"34c5b6f7-e728-e145-a868-3174a295b01d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-11T06:11:59.2666666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Wed, 11 May 2022 06: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 --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/f7b6c534-28e7-45e1-a868-3174a295b01d?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"34c5b6f7-e728-e145-a868-3174a295b01d\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-11T06:11:59.2666666Z\",\n \"endTime\": + \"2022-05-11T06:15:23.7677355Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Wed, 11 May 2022 06: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 --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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=2022-03-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.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": + \"cliakstest-clitestebqeqqvnp-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestebqeqqvnp-1bfbb5-be119738.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestebqeqqvnp-1bfbb5-be119738.portal.hcp.westus2.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"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/80dcbdb4-6b82-4fd4-9de9-8f473efe522b\"\n + \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": + [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n + \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": + 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n + \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": + \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '3713' + content-type: + - application/json + date: + - Wed, 11 May 2022 06: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks get-credentials + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --namespace + User-Agent: + - AZURECLI/2.36.0 azsdk-python-namespaceclient/unknown Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.KubernetesConfiguration/namespaces/default/listUserCredential?api-version=2021-12-01-preview + response: + body: + string: '{"code":"BadRequest","message":"ListUserCredentials for Namespaces + is not supported for non AAD clusters"}' + headers: + api-supported-versions: + - 2021-12-01-preview + cache-control: + - no-cache + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 11 May 2022 06:16:33 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 400 + message: Bad Request +version: 1 From 084a7024ea19ada584057f4b42c028fb2af20d38 Mon Sep 17 00:00:00 2001 From: KarthikK123 Date: Thu, 12 May 2022 07:19:42 +0000 Subject: [PATCH 19/52] updated test recordings --- ...est_aks_create_with_namespace_enabled.yaml | 231 ++++++++----- ...ks_get_credentials_at_namespace_scope.yaml | 239 +++++++++---- .../test_aks_update_enable_namespace.yaml | 319 +++++++++--------- 3 files changed, 479 insertions(+), 310 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml index 3590d75421f..90d9303c87e 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-04-29T04:45:39Z","Created":"20220429"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T05:54:48Z","Created":"20220512"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Apr 2022 04:45:42 GMT + - Thu, 12 May 2022 05:54:50 GMT expires: - '-1' pragma: @@ -43,19 +43,21 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestztwx43zo4-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestbpsccexoj-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X"}]}}, + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "enableNamespaceResources": true, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "disableLocalAccounts": false}}' + "disableLocalAccounts": false, "storageProfile": {"diskCSIDriver": {"enabled": + true}, "fileCSIDriver": {"enabled": true}, "snapshotController": {"enabled": + true}}}}' headers: Accept: - application/json @@ -66,16 +68,16 @@ interactions: Connection: - keep-alive Content-Length: - - '1419' + - '1552' Content-Type: - application/json ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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=2022-03-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-04-02-preview response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n @@ -83,21 +85,21 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestztwx43zo4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestztwx43zo4-1bfbb5-f7d5468b.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestztwx43zo4-1bfbb5-f7d5468b.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestbpsccexoj-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestbpsccexoj-1bfbb5-b45c19e5.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestbpsccexoj-1bfbb5-b45c19e5.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.04.13\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"networkProfile\": @@ -108,22 +110,25 @@ interactions: \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"enableNamespaceResources\": - true,\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\": + {\n \"diskCSIDriver\": {\n \"enabled\": true\n },\n \"fileCSIDriver\": + {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\": + true\n }\n },\n \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": + {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": + \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3060' + - '3239' content-type: - application/json date: - - Fri, 29 Apr 2022 04:45:49 GMT + - Thu, 12 May 2022 05:54:57 GMT expires: - '-1' pragma: @@ -153,14 +158,62 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Thu, 12 May 2022 05:55:27 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 --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81c17f07-2d9b-8f47-b2d2-09c40d0b6969\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-04-29T04:45:49.52Z\"\n }" + string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\"\n }" headers: cache-control: - no-cache @@ -169,7 +222,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 04:46:19 GMT + - Thu, 12 May 2022 05:55:57 GMT expires: - '-1' pragma: @@ -201,14 +254,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81c17f07-2d9b-8f47-b2d2-09c40d0b6969\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-04-29T04:45:49.52Z\"\n }" + string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\"\n }" headers: cache-control: - no-cache @@ -217,7 +270,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 04:46:50 GMT + - Thu, 12 May 2022 05:56:27 GMT expires: - '-1' pragma: @@ -249,14 +302,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81c17f07-2d9b-8f47-b2d2-09c40d0b6969\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-04-29T04:45:49.52Z\"\n }" + string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\"\n }" headers: cache-control: - no-cache @@ -265,7 +318,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 04:47:19 GMT + - Thu, 12 May 2022 05:56:57 GMT expires: - '-1' pragma: @@ -297,14 +350,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81c17f07-2d9b-8f47-b2d2-09c40d0b6969\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-04-29T04:45:49.52Z\"\n }" + string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\"\n }" headers: cache-control: - no-cache @@ -313,7 +366,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 04:47:50 GMT + - Thu, 12 May 2022 05:57:28 GMT expires: - '-1' pragma: @@ -345,14 +398,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81c17f07-2d9b-8f47-b2d2-09c40d0b6969\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-04-29T04:45:49.52Z\"\n }" + string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\"\n }" headers: cache-control: - no-cache @@ -361,7 +414,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 04:48:20 GMT + - Thu, 12 May 2022 05:57:59 GMT expires: - '-1' pragma: @@ -393,14 +446,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81c17f07-2d9b-8f47-b2d2-09c40d0b6969\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-04-29T04:45:49.52Z\"\n }" + string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\"\n }" headers: cache-control: - no-cache @@ -409,7 +462,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 04:48:50 GMT + - Thu, 12 May 2022 05:58:28 GMT expires: - '-1' pragma: @@ -441,14 +494,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81c17f07-2d9b-8f47-b2d2-09c40d0b6969\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-04-29T04:45:49.52Z\"\n }" + string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\"\n }" headers: cache-control: - no-cache @@ -457,7 +510,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 04:49:20 GMT + - Thu, 12 May 2022 05:58:58 GMT expires: - '-1' pragma: @@ -489,15 +542,15 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/077fc181-9b2d-478f-b2d2-09c40d0b6969?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"81c17f07-2d9b-8f47-b2d2-09c40d0b6969\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-04-29T04:45:49.52Z\",\n \"endTime\": - \"2022-04-29T04:49:40.4125371Z\"\n }" + string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\",\n \"endTime\": + \"2022-05-12T05:59:04.3674461Z\"\n }" headers: cache-control: - no-cache @@ -506,7 +559,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 04:49:50 GMT + - Thu, 12 May 2022 05:59:28 GMT expires: - '-1' pragma: @@ -538,10 +591,10 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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=2022-03-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-04-02-preview response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n @@ -549,27 +602,27 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestztwx43zo4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestztwx43zo4-1bfbb5-f7d5468b.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestztwx43zo4-1bfbb5-f7d5468b.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestbpsccexoj-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestbpsccexoj-1bfbb5-b45c19e5.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestbpsccexoj-1bfbb5-b45c19e5.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.04.13\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"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/2a1ce6b6-fd56-4e0d-bcb7-3ab96eadd4e7\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/66fb9353-06df-4c7d-8a1e-1dbe03fa9c1a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -579,20 +632,22 @@ interactions: \"/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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n - \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true\n },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": + {\n \"enabled\": true\n }\n },\n \"enableNamespaceResources\": + true,\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '3713' + - '3892' content-type: - application/json date: - - Fri, 29 Apr 2022 04:49:51 GMT + - Thu, 12 May 2022 05:59:29 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml index 5ead4f8b0e1..69d5bd02321 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-11T06:11:49Z","Created":"20220511"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T07:09:38Z","Created":"20220512"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 06:11:51 GMT + - Thu, 12 May 2022 07:09:41 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestebqeqqvnp-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest4rovi7jt4-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -55,7 +55,9 @@ interactions: true, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "disableLocalAccounts": false}}' + "disableLocalAccounts": false, "storageProfile": {"diskCSIDriver": {"enabled": + true}, "fileCSIDriver": {"enabled": true}, "snapshotController": {"enabled": + true}}}}' headers: Accept: - application/json @@ -66,16 +68,16 @@ interactions: Connection: - keep-alive Content-Length: - - '1419' + - '1552' Content-Type: - application/json ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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=2022-03-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-04-02-preview response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n @@ -83,14 +85,14 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestebqeqqvnp-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestebqeqqvnp-1bfbb5-be119738.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestebqeqqvnp-1bfbb5-be119738.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitest4rovi7jt4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest4rovi7jt4-1bfbb5-c43c84a7.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest4rovi7jt4-1bfbb5-c43c84a7.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": @@ -108,22 +110,25 @@ interactions: \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"enableNamespaceResources\": - true,\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\": + {\n \"diskCSIDriver\": {\n \"enabled\": true\n },\n \"fileCSIDriver\": + {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\": + true\n }\n },\n \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": + {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": + \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/f7b6c534-28e7-45e1-a868-3174a295b01d?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3060' + - '3239' content-type: - application/json date: - - Wed, 11 May 2022 06:11:59 GMT + - Thu, 12 May 2022 07:09:48 GMT expires: - '-1' pragma: @@ -153,14 +158,62 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 12 May 2022 07:10:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/f7b6c534-28e7-45e1-a868-3174a295b01d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34c5b6f7-e728-e145-a868-3174a295b01d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-11T06:11:59.2666666Z\"\n }" + string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\"\n }" headers: cache-control: - no-cache @@ -169,7 +222,7 @@ interactions: content-type: - application/json date: - - Wed, 11 May 2022 06:12:29 GMT + - Thu, 12 May 2022 07:10:48 GMT expires: - '-1' pragma: @@ -201,14 +254,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/f7b6c534-28e7-45e1-a868-3174a295b01d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34c5b6f7-e728-e145-a868-3174a295b01d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-11T06:11:59.2666666Z\"\n }" + string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\"\n }" headers: cache-control: - no-cache @@ -217,7 +270,7 @@ interactions: content-type: - application/json date: - - Wed, 11 May 2022 06:12:59 GMT + - Thu, 12 May 2022 07:11:19 GMT expires: - '-1' pragma: @@ -249,14 +302,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/f7b6c534-28e7-45e1-a868-3174a295b01d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34c5b6f7-e728-e145-a868-3174a295b01d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-11T06:11:59.2666666Z\"\n }" + string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\"\n }" headers: cache-control: - no-cache @@ -265,7 +318,7 @@ interactions: content-type: - application/json date: - - Wed, 11 May 2022 06:13:30 GMT + - Thu, 12 May 2022 07:11:49 GMT expires: - '-1' pragma: @@ -297,14 +350,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/f7b6c534-28e7-45e1-a868-3174a295b01d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34c5b6f7-e728-e145-a868-3174a295b01d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-11T06:11:59.2666666Z\"\n }" + string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\"\n }" headers: cache-control: - no-cache @@ -313,7 +366,7 @@ interactions: content-type: - application/json date: - - Wed, 11 May 2022 06:14:00 GMT + - Thu, 12 May 2022 07:12:19 GMT expires: - '-1' pragma: @@ -345,14 +398,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/f7b6c534-28e7-45e1-a868-3174a295b01d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34c5b6f7-e728-e145-a868-3174a295b01d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-11T06:11:59.2666666Z\"\n }" + string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\"\n }" headers: cache-control: - no-cache @@ -361,7 +414,7 @@ interactions: content-type: - application/json date: - - Wed, 11 May 2022 06:14:30 GMT + - Thu, 12 May 2022 07:12:49 GMT expires: - '-1' pragma: @@ -393,14 +446,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/f7b6c534-28e7-45e1-a868-3174a295b01d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34c5b6f7-e728-e145-a868-3174a295b01d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-11T06:11:59.2666666Z\"\n }" + string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\"\n }" headers: cache-control: - no-cache @@ -409,7 +462,7 @@ interactions: content-type: - application/json date: - - Wed, 11 May 2022 06:15:00 GMT + - Thu, 12 May 2022 07:13:19 GMT expires: - '-1' pragma: @@ -441,15 +494,63 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/f7b6c534-28e7-45e1-a868-3174a295b01d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"34c5b6f7-e728-e145-a868-3174a295b01d\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-11T06:11:59.2666666Z\",\n \"endTime\": - \"2022-05-11T06:15:23.7677355Z\"\n }" + string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 12 May 2022 07:13:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\",\n \"endTime\": + \"2022-05-12T07:13:53.0655556Z\"\n }" headers: cache-control: - no-cache @@ -458,7 +559,7 @@ interactions: content-type: - application/json date: - - Wed, 11 May 2022 06:15:31 GMT + - Thu, 12 May 2022 07:14:20 GMT expires: - '-1' pragma: @@ -490,10 +591,10 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --generate-ssh-keys User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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=2022-03-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-04-02-preview response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n @@ -501,14 +602,14 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestebqeqqvnp-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestebqeqqvnp-1bfbb5-be119738.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestebqeqqvnp-1bfbb5-be119738.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitest4rovi7jt4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest4rovi7jt4-1bfbb5-c43c84a7.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest4rovi7jt4-1bfbb5-c43c84a7.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": @@ -521,7 +622,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/80dcbdb4-6b82-4fd4-9de9-8f473efe522b\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/17c60276-ca09-4519-87e6-ed1fc0155e9c\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -531,20 +632,22 @@ interactions: \"/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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n - \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true\n },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": + {\n \"enabled\": true\n }\n },\n \"enableNamespaceResources\": + true,\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '3713' + - '3892' content-type: - application/json date: - - Wed, 11 May 2022 06:15:31 GMT + - Thu, 12 May 2022 07:14:20 GMT expires: - '-1' pragma: @@ -597,7 +700,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 06:16:33 GMT + - Thu, 12 May 2022 07:15:23 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml index 860cd1bc6a2..13040a8f586 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-04-29T05:08:45Z","Created":"20220429"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T06:03:22Z","Created":"20220512"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Apr 2022 05:08:47 GMT + - Thu, 12 May 2022 06:03:24 GMT expires: - '-1' pragma: @@ -43,18 +43,20 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesto4ksaps6c-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestcff2ao5bw-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X"}]}}, + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false}}' + "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false, + "storageProfile": {"diskCSIDriver": {"enabled": true}, "fileCSIDriver": {"enabled": + true}, "snapshotController": {"enabled": true}}}}' headers: Accept: - application/json @@ -65,16 +67,16 @@ interactions: Connection: - keep-alive Content-Length: - - '1385' + - '1518' Content-Type: - application/json ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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=2022-03-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-04-02-preview response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n @@ -82,21 +84,21 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesto4ksaps6c-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestcff2ao5bw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.04.13\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"networkProfile\": @@ -107,22 +109,24 @@ interactions: \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"oidcIssuerProfile\": - {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\": + {\n \"diskCSIDriver\": {\n \"enabled\": true\n },\n \"fileCSIDriver\": + {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\": + true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n + \ }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3023' + - '3202' content-type: - application/json date: - - Fri, 29 Apr 2022 05:08:54 GMT + - Thu, 12 May 2022 06:03:33 GMT expires: - '-1' pragma: @@ -152,14 +156,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"245139bf-8f5a-6447-b7d0-66ab838e1a37\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-04-29T05:08:54.34Z\"\n }" + string: "{\n \"name\": \"745cd7c7-a2e9-8c4b-ab68-1421cfbc061f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T06:03:32.98Z\"\n }" headers: cache-control: - no-cache @@ -168,7 +172,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 05:09:25 GMT + - Thu, 12 May 2022 06:04:02 GMT expires: - '-1' pragma: @@ -200,14 +204,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"245139bf-8f5a-6447-b7d0-66ab838e1a37\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-04-29T05:08:54.34Z\"\n }" + string: "{\n \"name\": \"745cd7c7-a2e9-8c4b-ab68-1421cfbc061f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T06:03:32.98Z\"\n }" headers: cache-control: - no-cache @@ -216,7 +220,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 05:09:54 GMT + - Thu, 12 May 2022 06:04:33 GMT expires: - '-1' pragma: @@ -248,14 +252,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"245139bf-8f5a-6447-b7d0-66ab838e1a37\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-04-29T05:08:54.34Z\"\n }" + string: "{\n \"name\": \"745cd7c7-a2e9-8c4b-ab68-1421cfbc061f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T06:03:32.98Z\"\n }" headers: cache-control: - no-cache @@ -264,7 +268,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 05:10:24 GMT + - Thu, 12 May 2022 06:05:03 GMT expires: - '-1' pragma: @@ -296,14 +300,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"245139bf-8f5a-6447-b7d0-66ab838e1a37\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-04-29T05:08:54.34Z\"\n }" + string: "{\n \"name\": \"745cd7c7-a2e9-8c4b-ab68-1421cfbc061f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T06:03:32.98Z\"\n }" headers: cache-control: - no-cache @@ -312,7 +316,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 05:10:55 GMT + - Thu, 12 May 2022 06:05:33 GMT expires: - '-1' pragma: @@ -344,14 +348,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"245139bf-8f5a-6447-b7d0-66ab838e1a37\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-04-29T05:08:54.34Z\"\n }" + string: "{\n \"name\": \"745cd7c7-a2e9-8c4b-ab68-1421cfbc061f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T06:03:32.98Z\"\n }" headers: cache-control: - no-cache @@ -360,7 +364,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 05:11:24 GMT + - Thu, 12 May 2022 06:06:03 GMT expires: - '-1' pragma: @@ -392,14 +396,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"245139bf-8f5a-6447-b7d0-66ab838e1a37\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-04-29T05:08:54.34Z\"\n }" + string: "{\n \"name\": \"745cd7c7-a2e9-8c4b-ab68-1421cfbc061f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T06:03:32.98Z\"\n }" headers: cache-control: - no-cache @@ -408,7 +412,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 05:11:55 GMT + - Thu, 12 May 2022 06:06:34 GMT expires: - '-1' pragma: @@ -440,14 +444,14 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"245139bf-8f5a-6447-b7d0-66ab838e1a37\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-04-29T05:08:54.34Z\"\n }" + string: "{\n \"name\": \"745cd7c7-a2e9-8c4b-ab68-1421cfbc061f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T06:03:32.98Z\"\n }" headers: cache-control: - no-cache @@ -456,7 +460,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 05:12:25 GMT + - Thu, 12 May 2022 06:07:03 GMT expires: - '-1' pragma: @@ -488,15 +492,15 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/bf395124-5a8f-4764-b7d0-66ab838e1a37?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"245139bf-8f5a-6447-b7d0-66ab838e1a37\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-04-29T05:08:54.34Z\",\n \"endTime\": - \"2022-04-29T05:12:44.1465763Z\"\n }" + string: "{\n \"name\": \"745cd7c7-a2e9-8c4b-ab68-1421cfbc061f\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-12T06:03:32.98Z\",\n \"endTime\": + \"2022-05-12T06:07:18.0217382Z\"\n }" headers: cache-control: - no-cache @@ -505,7 +509,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 05:12:56 GMT + - Thu, 12 May 2022 06:07:34 GMT expires: - '-1' pragma: @@ -537,10 +541,10 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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=2022-03-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-04-02-preview response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n @@ -548,27 +552,27 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesto4ksaps6c-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestcff2ao5bw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.04.13\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"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/a059942a-e99c-4f13-a553-ec3452d97af7\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8d471b69-3630-414f-a9a2-ab291d3af8d3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -578,19 +582,21 @@ interactions: \"/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 \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true\n },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": + {\n \"enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": + false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '3676' + - '3855' content-type: - application/json date: - - Fri, 29 Apr 2022 05:12:56 GMT + - Thu, 12 May 2022 06:07:34 GMT expires: - '-1' pragma: @@ -622,10 +628,10 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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=2022-03-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-04-02-preview response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n @@ -633,27 +639,27 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesto4ksaps6c-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestcff2ao5bw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.04.13\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"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/a059942a-e99c-4f13-a553-ec3452d97af7\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8d471b69-3630-414f-a9a2-ab291d3af8d3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -663,19 +669,21 @@ interactions: \"/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 \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + true\n },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": + {\n \"enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": + false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '3676' + - '3855' content-type: - application/json date: - - Fri, 29 Apr 2022 05:12:57 GMT + - Thu, 12 May 2022 06:07:37 GMT expires: - '-1' pragma: @@ -696,25 +704,26 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.22.6", "dnsPrefix": - "cliakstest-clitesto4ksaps6c-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestcff2ao5bw-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", - "mode": "System", "currentOrchestratorVersion": "1.22.6", "powerState": {"code": - "Running"}, "enableNodePublicIP": false, "enableEncryptionAtHost": false, "enableUltraSSD": + "mode": "System", "orchestratorVersion": "1.22.6", "powerState": {"code": "Running"}, + "enableNodePublicIP": false, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X"}]}}, + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "enableNamespaceResources": true, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/a059942a-e99c-4f13-a553-ec3452d97af7"}]}, + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8d471b69-3630-414f-a9a2-ab291d3af8d3"}]}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false, "securityProfile": {}}}' + "disableLocalAccounts": false, "securityProfile": {}, "storageProfile": {"diskCSIDriver": + {}, "fileCSIDriver": {}, "snapshotController": {}}}}' headers: Accept: - application/json @@ -725,16 +734,16 @@ interactions: Connection: - keep-alive Content-Length: - - '2457' + - '2538' Content-Type: - application/json ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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=2022-03-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-04-02-preview response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n @@ -742,27 +751,27 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesto4ksaps6c-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestcff2ao5bw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.04.13\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"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/a059942a-e99c-4f13-a553-ec3452d97af7\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8d471b69-3630-414f-a9a2-ab291d3af8d3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -773,23 +782,23 @@ interactions: \ \"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 },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": - {\n \"enabled\": true\n }\n },\n \"enableNamespaceResources\": + false\n },\n \"fileCSIDriver\": {\n \"enabled\": false\n },\n + \ \"snapshotController\": {\n \"enabled\": false\n }\n },\n \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a36cf2fb-c98e-42df-936d-50853368a089?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a126df2-2c40-4c1f-8dfa-640506885e1e?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3897' + - '3893' content-type: - application/json date: - - Fri, 29 Apr 2022 05:13:02 GMT + - Thu, 12 May 2022 06:07:41 GMT expires: - '-1' pragma: @@ -823,14 +832,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/a36cf2fb-c98e-42df-936d-50853368a089?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a126df2-2c40-4c1f-8dfa-640506885e1e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fbf26ca3-8ec9-df42-936d-50853368a089\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-04-29T05:13:01.44Z\"\n }" + string: "{\n \"name\": \"f26d124a-402c-1f4c-8dfa-640506885e1e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T06:07:40.39Z\"\n }" headers: cache-control: - no-cache @@ -839,7 +848,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 05:13:32 GMT + - Thu, 12 May 2022 06:08:11 GMT expires: - '-1' pragma: @@ -871,14 +880,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/a36cf2fb-c98e-42df-936d-50853368a089?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a126df2-2c40-4c1f-8dfa-640506885e1e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fbf26ca3-8ec9-df42-936d-50853368a089\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-04-29T05:13:01.44Z\"\n }" + string: "{\n \"name\": \"f26d124a-402c-1f4c-8dfa-640506885e1e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-12T06:07:40.39Z\"\n }" headers: cache-control: - no-cache @@ -887,7 +896,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 05:14:02 GMT + - Thu, 12 May 2022 06:08:41 GMT expires: - '-1' pragma: @@ -919,15 +928,15 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/a36cf2fb-c98e-42df-936d-50853368a089?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a126df2-2c40-4c1f-8dfa-640506885e1e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"fbf26ca3-8ec9-df42-936d-50853368a089\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-04-29T05:13:01.44Z\",\n \"endTime\": - \"2022-04-29T05:14:19.6470329Z\"\n }" + string: "{\n \"name\": \"f26d124a-402c-1f4c-8dfa-640506885e1e\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-12T06:07:40.39Z\",\n \"endTime\": + \"2022-05-12T06:08:54.2447494Z\"\n }" headers: cache-control: - no-cache @@ -936,7 +945,7 @@ interactions: content-type: - application/json date: - - Fri, 29 Apr 2022 05:14:32 GMT + - Thu, 12 May 2022 06:09:11 GMT expires: - '-1' pragma: @@ -968,10 +977,10 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/18.0.0b Python/3.8.10 - (Linux-5.13.0-1017-azure-x86_64-with-glibc2.29) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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=2022-03-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-04-02-preview response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n @@ -979,27 +988,27 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesto4ksaps6c-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesto4ksaps6c-1bfbb5-77bdfbef.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestcff2ao5bw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"currentOrchestratorVersion\": + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.04.13\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDEBn54q55rYLKVUKrb2CKK0noRBQbwcPgOUmHFgTNmoJB/4ESWP4Pw0DYLbTyVwerOsAleBqayyDinCiHox/Fm8UGV47AdU2UaIBH2H34HppMkmwLB103Y0EsKGGwsKyODGdw30LUeOkmvMDO6uDOHqDQ143FuZI5l2bmD4A5TiRrVAYH8AWDA8WVudn4hZ86PK+dJYLKyMYK+zEHYbKD2if+G4uxcQq7ryhOK+ijXj0KsDzpLsbWFIucfCfJUjD0mb5obKyMMIoqoFMpEIiBjdI79XSwrka9/xvI2UNOG67L16w4T74980CaO8CSNqIb16hP+WXmtogBVYxjFOG6X\"\n + AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"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/a059942a-e99c-4f13-a553-ec3452d97af7\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8d471b69-3630-414f-a9a2-ab291d3af8d3\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -1009,20 +1018,22 @@ interactions: \"/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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n - \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": + false\n },\n \"fileCSIDriver\": {\n \"enabled\": false\n },\n + \ \"snapshotController\": {\n \"enabled\": false\n }\n },\n \"enableNamespaceResources\": + true,\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '3713' + - '3895' content-type: - application/json date: - - Fri, 29 Apr 2022 05:14:33 GMT + - Thu, 12 May 2022 06:09:12 GMT expires: - '-1' pragma: From db997920af80090eacbe859835070993babfb548 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Mon, 16 May 2022 09:37:15 +0530 Subject: [PATCH 20/52] trigger pipelines From 48f65483f5280c8046e9a70529ca2e39fc240ea9 Mon Sep 17 00:00:00 2001 From: KarthikK123 Date: Mon, 16 May 2022 04:44:25 +0000 Subject: [PATCH 21/52] Updated test recordings --- ...est_aks_create_with_namespace_enabled.yaml | 144 ++++++++++------ ...ks_get_credentials_at_namespace_scope.yaml | 154 ++++++----------- .../test_aks_update_enable_namespace.yaml | 162 +++++++++--------- 3 files changed, 230 insertions(+), 230 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml index 90d9303c87e..dffb32fa162 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T05:54:48Z","Created":"20220512"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-16T04:38:44Z","Created":"20220516"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 05:54:50 GMT + - Mon, 16 May 2022 04:38:45 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestbpsccexoj-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestztc4i2isc-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -85,8 +85,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestbpsccexoj-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestbpsccexoj-1bfbb5-b45c19e5.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestbpsccexoj-1bfbb5-b45c19e5.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestztc4i2isc-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestztc4i2isc-1bfbb5-1199c1b8.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestztc4i2isc-1bfbb5-1199c1b8.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -120,7 +120,7 @@ interactions: \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -128,7 +128,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 05:54:57 GMT + - Mon, 16 May 2022 04:38:53 GMT expires: - '-1' pragma: @@ -161,11 +161,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\"\n }" + string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" headers: cache-control: - no-cache @@ -174,7 +174,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 05:55:27 GMT + - Mon, 16 May 2022 04:39:23 GMT expires: - '-1' pragma: @@ -209,11 +209,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\"\n }" + string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" headers: cache-control: - no-cache @@ -222,7 +222,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 05:55:57 GMT + - Mon, 16 May 2022 04:39:53 GMT expires: - '-1' pragma: @@ -257,11 +257,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\"\n }" + string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" headers: cache-control: - no-cache @@ -270,7 +270,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 05:56:27 GMT + - Mon, 16 May 2022 04:40:24 GMT expires: - '-1' pragma: @@ -305,11 +305,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\"\n }" + string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" headers: cache-control: - no-cache @@ -318,7 +318,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 05:56:57 GMT + - Mon, 16 May 2022 04:40:54 GMT expires: - '-1' pragma: @@ -353,11 +353,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\"\n }" + string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" headers: cache-control: - no-cache @@ -366,7 +366,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 05:57:28 GMT + - Mon, 16 May 2022 04:41:25 GMT expires: - '-1' pragma: @@ -401,11 +401,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\"\n }" + string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" headers: cache-control: - no-cache @@ -414,7 +414,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 05:57:59 GMT + - Mon, 16 May 2022 04:41:54 GMT expires: - '-1' pragma: @@ -449,11 +449,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\"\n }" + string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" headers: cache-control: - no-cache @@ -462,7 +462,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 05:58:28 GMT + - Mon, 16 May 2022 04:42:24 GMT expires: - '-1' pragma: @@ -497,11 +497,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\"\n }" + string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" headers: cache-control: - no-cache @@ -510,7 +510,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 05:58:58 GMT + - Mon, 16 May 2022 04:42:55 GMT expires: - '-1' pragma: @@ -545,12 +545,60 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7de1efed-1c29-4193-836c-36c9fbe23ef4?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"edefe17d-291c-9341-836c-36c9fbe23ef4\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-12T05:54:57.58Z\",\n \"endTime\": - \"2022-05-12T05:59:04.3674461Z\"\n }" + string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Mon, 16 May 2022 04:43:25 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 --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\",\n \"endTime\": + \"2022-05-16T04:43:53.6540877Z\"\n }" headers: cache-control: - no-cache @@ -559,7 +607,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 05:59:28 GMT + - Mon, 16 May 2022 04:43:55 GMT expires: - '-1' pragma: @@ -602,8 +650,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestbpsccexoj-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestbpsccexoj-1bfbb5-b45c19e5.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestbpsccexoj-1bfbb5-b45c19e5.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestztc4i2isc-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestztc4i2isc-1bfbb5-1199c1b8.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestztc4i2isc-1bfbb5-1199c1b8.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -622,7 +670,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/66fb9353-06df-4c7d-8a1e-1dbe03fa9c1a\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/fd21622e-b75e-4ab5-8aa3-892770b90cb5\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -647,7 +695,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 05:59:29 GMT + - Mon, 16 May 2022 04:43:55 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml index 69d5bd02321..0081c4532fb 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T07:09:38Z","Created":"20220512"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-16T04:25:09Z","Created":"20220516"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 07:09:41 GMT + - Mon, 16 May 2022 04:25:11 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest4rovi7jt4-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestfmakrhu4d-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -85,8 +85,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitest4rovi7jt4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest4rovi7jt4-1bfbb5-c43c84a7.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest4rovi7jt4-1bfbb5-c43c84a7.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestfmakrhu4d-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestfmakrhu4d-1bfbb5-a86a41e0.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestfmakrhu4d-1bfbb5-a86a41e0.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -120,7 +120,7 @@ interactions: \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -128,7 +128,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 07:09:48 GMT + - Mon, 16 May 2022 04:25:20 GMT expires: - '-1' pragma: @@ -161,20 +161,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\"\n }" + string: "{\n \"name\": \"e87b49a0-2925-3c44-bda9-0461aa26d0aa\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:25:20.39Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 12 May 2022 07:10:18 GMT + - Mon, 16 May 2022 04:25:50 GMT expires: - '-1' pragma: @@ -209,20 +209,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\"\n }" + string: "{\n \"name\": \"e87b49a0-2925-3c44-bda9-0461aa26d0aa\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:25:20.39Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 12 May 2022 07:10:48 GMT + - Mon, 16 May 2022 04:26:20 GMT expires: - '-1' pragma: @@ -257,20 +257,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\"\n }" + string: "{\n \"name\": \"e87b49a0-2925-3c44-bda9-0461aa26d0aa\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:25:20.39Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 12 May 2022 07:11:19 GMT + - Mon, 16 May 2022 04:26:50 GMT expires: - '-1' pragma: @@ -305,20 +305,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\"\n }" + string: "{\n \"name\": \"e87b49a0-2925-3c44-bda9-0461aa26d0aa\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:25:20.39Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 12 May 2022 07:11:49 GMT + - Mon, 16 May 2022 04:27:21 GMT expires: - '-1' pragma: @@ -353,20 +353,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\"\n }" + string: "{\n \"name\": \"e87b49a0-2925-3c44-bda9-0461aa26d0aa\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:25:20.39Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 12 May 2022 07:12:19 GMT + - Mon, 16 May 2022 04:27:51 GMT expires: - '-1' pragma: @@ -401,20 +401,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\"\n }" + string: "{\n \"name\": \"e87b49a0-2925-3c44-bda9-0461aa26d0aa\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:25:20.39Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 12 May 2022 07:12:49 GMT + - Mon, 16 May 2022 04:28:21 GMT expires: - '-1' pragma: @@ -449,20 +449,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\"\n }" + string: "{\n \"name\": \"e87b49a0-2925-3c44-bda9-0461aa26d0aa\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:25:20.39Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 12 May 2022 07:13:19 GMT + - Mon, 16 May 2022 04:28:51 GMT expires: - '-1' pragma: @@ -497,69 +497,21 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\"\n }" + string: "{\n \"name\": \"e87b49a0-2925-3c44-bda9-0461aa26d0aa\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-16T04:25:20.39Z\",\n \"endTime\": + \"2022-05-16T04:28:52.3572813Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '165' content-type: - application/json date: - - Thu, 12 May 2022 07:13:50 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/0df80f1e-701d-4628-baca-060252e70763?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"1e0ff80d-1d70-2846-baca-060252e70763\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-12T07:09:48.3733333Z\",\n \"endTime\": - \"2022-05-12T07:13:53.0655556Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '170' - content-type: - - application/json - date: - - Thu, 12 May 2022 07:14:20 GMT + - Mon, 16 May 2022 04:29:21 GMT expires: - '-1' pragma: @@ -602,8 +554,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitest4rovi7jt4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest4rovi7jt4-1bfbb5-c43c84a7.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest4rovi7jt4-1bfbb5-c43c84a7.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestfmakrhu4d-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestfmakrhu4d-1bfbb5-a86a41e0.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestfmakrhu4d-1bfbb5-a86a41e0.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -622,7 +574,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/17c60276-ca09-4519-87e6-ed1fc0155e9c\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/fee07794-97d1-443e-a261-027ada735f47\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -647,7 +599,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 07:14:20 GMT + - Mon, 16 May 2022 04:29:21 GMT expires: - '-1' pragma: @@ -700,7 +652,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 07:15:23 GMT + - Mon, 16 May 2022 04:30:23 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml index 13040a8f586..036489edbc8 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T06:03:22Z","Created":"20220512"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-16T04:31:02Z","Created":"20220516"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 12 May 2022 06:03:24 GMT + - Mon, 16 May 2022 04:31:04 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestcff2ao5bw-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestn3zd3z6yx-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -84,8 +84,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestcff2ao5bw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestn3zd3z6yx-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -118,7 +118,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -126,7 +126,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 06:03:33 GMT + - Mon, 16 May 2022 04:31:11 GMT expires: - '-1' pragma: @@ -159,20 +159,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"745cd7c7-a2e9-8c4b-ab68-1421cfbc061f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T06:03:32.98Z\"\n }" + string: "{\n \"name\": \"aadca974-4fd1-bd4a-9a71-5aebae908b58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:31:11.8966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 12 May 2022 06:04:02 GMT + - Mon, 16 May 2022 04:31:42 GMT expires: - '-1' pragma: @@ -207,20 +207,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"745cd7c7-a2e9-8c4b-ab68-1421cfbc061f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T06:03:32.98Z\"\n }" + string: "{\n \"name\": \"aadca974-4fd1-bd4a-9a71-5aebae908b58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:31:11.8966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 12 May 2022 06:04:33 GMT + - Mon, 16 May 2022 04:32:12 GMT expires: - '-1' pragma: @@ -255,20 +255,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"745cd7c7-a2e9-8c4b-ab68-1421cfbc061f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T06:03:32.98Z\"\n }" + string: "{\n \"name\": \"aadca974-4fd1-bd4a-9a71-5aebae908b58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:31:11.8966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 12 May 2022 06:05:03 GMT + - Mon, 16 May 2022 04:32:42 GMT expires: - '-1' pragma: @@ -303,20 +303,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"745cd7c7-a2e9-8c4b-ab68-1421cfbc061f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T06:03:32.98Z\"\n }" + string: "{\n \"name\": \"aadca974-4fd1-bd4a-9a71-5aebae908b58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:31:11.8966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 12 May 2022 06:05:33 GMT + - Mon, 16 May 2022 04:33:12 GMT expires: - '-1' pragma: @@ -351,20 +351,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"745cd7c7-a2e9-8c4b-ab68-1421cfbc061f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T06:03:32.98Z\"\n }" + string: "{\n \"name\": \"aadca974-4fd1-bd4a-9a71-5aebae908b58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:31:11.8966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 12 May 2022 06:06:03 GMT + - Mon, 16 May 2022 04:33:43 GMT expires: - '-1' pragma: @@ -399,20 +399,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"745cd7c7-a2e9-8c4b-ab68-1421cfbc061f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T06:03:32.98Z\"\n }" + string: "{\n \"name\": \"aadca974-4fd1-bd4a-9a71-5aebae908b58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:31:11.8966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 12 May 2022 06:06:34 GMT + - Mon, 16 May 2022 04:34:13 GMT expires: - '-1' pragma: @@ -447,20 +447,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"745cd7c7-a2e9-8c4b-ab68-1421cfbc061f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T06:03:32.98Z\"\n }" + string: "{\n \"name\": \"aadca974-4fd1-bd4a-9a71-5aebae908b58\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:31:11.8966666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Thu, 12 May 2022 06:07:03 GMT + - Mon, 16 May 2022 04:34:43 GMT expires: - '-1' pragma: @@ -495,21 +495,21 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/c7d75c74-e9a2-4b8c-ab68-1421cfbc061f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"745cd7c7-a2e9-8c4b-ab68-1421cfbc061f\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-12T06:03:32.98Z\",\n \"endTime\": - \"2022-05-12T06:07:18.0217382Z\"\n }" + string: "{\n \"name\": \"aadca974-4fd1-bd4a-9a71-5aebae908b58\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-16T04:31:11.8966666Z\",\n \"endTime\": + \"2022-05-16T04:34:58.9156616Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '170' content-type: - application/json date: - - Thu, 12 May 2022 06:07:34 GMT + - Mon, 16 May 2022 04:35:13 GMT expires: - '-1' pragma: @@ -552,8 +552,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestcff2ao5bw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestn3zd3z6yx-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -572,7 +572,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8d471b69-3630-414f-a9a2-ab291d3af8d3\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/bdb38073-9241-4ab4-b500-34a9f99d2038\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -596,7 +596,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 06:07:34 GMT + - Mon, 16 May 2022 04:35:13 GMT expires: - '-1' pragma: @@ -639,8 +639,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestcff2ao5bw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestn3zd3z6yx-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -659,7 +659,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8d471b69-3630-414f-a9a2-ab291d3af8d3\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/bdb38073-9241-4ab4-b500-34a9f99d2038\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -683,7 +683,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 06:07:37 GMT + - Mon, 16 May 2022 04:35:14 GMT expires: - '-1' pragma: @@ -704,7 +704,7 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.22.6", "dnsPrefix": - "cliakstest-clitestcff2ao5bw-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestn3zd3z6yx-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", @@ -718,7 +718,7 @@ interactions: {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8d471b69-3630-414f-a9a2-ab291d3af8d3"}]}, + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/bdb38073-9241-4ab4-b500-34a9f99d2038"}]}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -751,8 +751,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestcff2ao5bw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestn3zd3z6yx-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -771,7 +771,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8d471b69-3630-414f-a9a2-ab291d3af8d3\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/bdb38073-9241-4ab4-b500-34a9f99d2038\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -790,7 +790,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/4a126df2-2c40-4c1f-8dfa-640506885e1e?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ad3c46a6-3fc2-4f3a-a85a-a63321aa4ae3?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -798,7 +798,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 06:07:41 GMT + - Mon, 16 May 2022 04:35:20 GMT expires: - '-1' pragma: @@ -835,11 +835,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/4a126df2-2c40-4c1f-8dfa-640506885e1e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ad3c46a6-3fc2-4f3a-a85a-a63321aa4ae3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"f26d124a-402c-1f4c-8dfa-640506885e1e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T06:07:40.39Z\"\n }" + string: "{\n \"name\": \"a6463cad-c23f-3a4f-a85a-a63321aa4ae3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:35:19.15Z\"\n }" headers: cache-control: - no-cache @@ -848,7 +848,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 06:08:11 GMT + - Mon, 16 May 2022 04:35:50 GMT expires: - '-1' pragma: @@ -883,11 +883,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/4a126df2-2c40-4c1f-8dfa-640506885e1e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ad3c46a6-3fc2-4f3a-a85a-a63321aa4ae3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"f26d124a-402c-1f4c-8dfa-640506885e1e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-12T06:07:40.39Z\"\n }" + string: "{\n \"name\": \"a6463cad-c23f-3a4f-a85a-a63321aa4ae3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-16T04:35:19.15Z\"\n }" headers: cache-control: - no-cache @@ -896,7 +896,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 06:08:41 GMT + - Mon, 16 May 2022 04:36:20 GMT expires: - '-1' pragma: @@ -931,21 +931,21 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/4a126df2-2c40-4c1f-8dfa-640506885e1e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ad3c46a6-3fc2-4f3a-a85a-a63321aa4ae3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"f26d124a-402c-1f4c-8dfa-640506885e1e\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-12T06:07:40.39Z\",\n \"endTime\": - \"2022-05-12T06:08:54.2447494Z\"\n }" + string: "{\n \"name\": \"a6463cad-c23f-3a4f-a85a-a63321aa4ae3\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-16T04:35:19.15Z\",\n \"endTime\": + \"2022-05-16T04:36:37.815645Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '164' content-type: - application/json date: - - Thu, 12 May 2022 06:09:11 GMT + - Mon, 16 May 2022 04:36:49 GMT expires: - '-1' pragma: @@ -988,8 +988,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestcff2ao5bw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestcff2ao5bw-1bfbb5-f568fb37.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestn3zd3z6yx-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -1008,7 +1008,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/8d471b69-3630-414f-a9a2-ab291d3af8d3\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/bdb38073-9241-4ab4-b500-34a9f99d2038\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -1033,7 +1033,7 @@ interactions: content-type: - application/json date: - - Thu, 12 May 2022 06:09:12 GMT + - Mon, 16 May 2022 04:36:50 GMT expires: - '-1' pragma: From 436e88ed170b3396457c0d5febb25b3b692e4009 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Tue, 17 May 2022 10:07:12 +0530 Subject: [PATCH 22/52] trigger tests From 21cde9427c649755a38d36fad6deaf18a2f04cce Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Tue, 17 May 2022 11:51:14 +0530 Subject: [PATCH 23/52] Removed breaking changes --- .../aio/operations/_namespace_client_operations.py | 5 ++--- .../aio/operations/_namespaces_operations.py | 5 ++--- .../namespace_client/aio/operations/_operations.py | 3 +-- .../operations/_namespace_client_operations.py | 9 ++++----- .../operations/_namespaces_operations.py | 13 ++++++------- .../namespace_client/operations/_operations.py | 7 +++---- 6 files changed, 18 insertions(+), 24 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_namespace_client_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_namespace_client_operations.py index c5e2739faf9..5486ab9db79 100644 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_namespace_client_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_namespace_client_operations.py @@ -11,7 +11,6 @@ from azure.core.pipeline.transport import AsyncHttpResponse from azure.core.rest import HttpRequest from azure.core.tracing.decorator_async import distributed_trace_async -from azure.core.utils import case_insensitive_dict from ... import models as _models from ..._vendor import _convert_request @@ -58,8 +57,8 @@ async def list_user_credential( } error_map.update(kwargs.pop('error_map', {}) or {}) - _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) - _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_namespaces_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_namespaces_operations.py index a955bb92e72..029add8107b 100644 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_namespaces_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_namespaces_operations.py @@ -13,7 +13,6 @@ from azure.core.rest import HttpRequest from azure.core.tracing.decorator import distributed_trace from azure.core.tracing.decorator_async import distributed_trace_async -from azure.core.utils import case_insensitive_dict from ... import models as _models from ..._vendor import _convert_request @@ -76,7 +75,7 @@ async def get( error_map.update(kwargs.pop('error_map', {}) or {}) _headers = kwargs.pop("headers", {}) or {} - _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + _params = kwargs.pop("params", {}) or {} api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str cls = kwargs.pop('cls', None) # type: ClsType[_models.Namespace] @@ -146,7 +145,7 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ _headers = kwargs.pop("headers", {}) or {} - _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + _params = kwargs.pop("params", {}) or {} api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str cls = kwargs.pop('cls', None) # type: ClsType[_models.NamespaceList] diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_operations.py index 6d4dea11589..0d8c1756d8b 100644 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/aio/operations/_operations.py @@ -12,7 +12,6 @@ from azure.core.pipeline.transport import AsyncHttpResponse from azure.core.rest import HttpRequest from azure.core.tracing.decorator import distributed_trace -from azure.core.utils import case_insensitive_dict from ... import models as _models from ..._vendor import _convert_request @@ -55,7 +54,7 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ _headers = kwargs.pop("headers", {}) or {} - _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + _params = kwargs.pop("params", {}) or {} api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str cls = kwargs.pop('cls', None) # type: ClsType[_models.ResourceProviderOperationList] diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_namespace_client_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_namespace_client_operations.py index ea9c26a88f4..0b2959473cc 100644 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_namespace_client_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_namespace_client_operations.py @@ -13,7 +13,6 @@ from azure.core.pipeline.transport import HttpResponse from azure.core.rest import HttpRequest from azure.core.tracing.decorator import distributed_trace -from azure.core.utils import case_insensitive_dict from .. import models as _models from .._vendor import _convert_request, _format_url_section @@ -38,8 +37,8 @@ def build_list_user_credential_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) - _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str content_type = kwargs.pop('content_type', _headers.pop('Content-Type', None)) # type: Optional[str] @@ -115,8 +114,8 @@ def list_user_credential( } error_map.update(kwargs.pop('error_map', {}) or {}) - _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) - _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str content_type = kwargs.pop('content_type', _headers.pop('Content-Type', "application/json")) # type: Optional[str] diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_namespaces_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_namespaces_operations.py index 9735e9e918a..6e3ae2d1fbf 100644 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_namespaces_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_namespaces_operations.py @@ -14,7 +14,6 @@ from azure.core.pipeline.transport import HttpResponse from azure.core.rest import HttpRequest from azure.core.tracing.decorator import distributed_trace -from azure.core.utils import case_insensitive_dict from .. import models as _models from .._vendor import _convert_request, _format_url_section @@ -39,8 +38,8 @@ def build_get_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) - _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str accept = _headers.pop('Accept', "application/json") @@ -82,8 +81,8 @@ def build_list_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) - _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str accept = _headers.pop('Accept', "application/json") @@ -171,7 +170,7 @@ def get( error_map.update(kwargs.pop('error_map', {}) or {}) _headers = kwargs.pop("headers", {}) or {} - _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + _params = kwargs.pop("params", {}) or {} api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str cls = kwargs.pop('cls', None) # type: ClsType[_models.Namespace] @@ -242,7 +241,7 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ _headers = kwargs.pop("headers", {}) or {} - _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + _params = kwargs.pop("params", {}) or {} api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str cls = kwargs.pop('cls', None) # type: ClsType[_models.NamespaceList] diff --git a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_operations.py b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_operations.py index f84880cc2e5..048b59006f0 100644 --- a/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_operations.py +++ b/src/aks-preview/azext_aks_preview/vendored_sdks/namespace_client/operations/_operations.py @@ -14,7 +14,6 @@ from azure.core.pipeline.transport import HttpResponse from azure.core.rest import HttpRequest from azure.core.tracing.decorator import distributed_trace -from azure.core.utils import case_insensitive_dict from .. import models as _models from .._vendor import _convert_request @@ -33,8 +32,8 @@ def build_list_request( **kwargs # type: Any ): # type: (...) -> HttpRequest - _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) - _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str accept = _headers.pop('Accept', "application/json") @@ -92,7 +91,7 @@ def list( :raises: ~azure.core.exceptions.HttpResponseError """ _headers = kwargs.pop("headers", {}) or {} - _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + _params = kwargs.pop("params", {}) or {} api_version = kwargs.pop('api_version', _params.pop('api-version', "2021-12-01-preview")) # type: str cls = kwargs.pop('cls', None) # type: ClsType[_models.ResourceProviderOperationList] From e97c914053cfb3d2d03945477f8210ef99abcfe9 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Tue, 17 May 2022 15:15:52 +0530 Subject: [PATCH 24/52] trigger pipeline From 58ef7f32a1264f29cbbb8d1a2f54ee06a5a5f494 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Wed, 18 May 2022 06:58:35 +0530 Subject: [PATCH 25/52] Updated help message for param Co-authored-by: ZelinWang --- src/aks-preview/azext_aks_preview/_params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index d125f33855e..a33a37f214b 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -582,7 +582,7 @@ def load_arguments(self, _): default=os.path.join(os.path.expanduser('~'), '.kube', 'config')) c.argument('public_fqdn', default=False, action='store_true') c.argument('credential_format', options_list=['--format'], arg_type=get_enum_type(credential_formats)) - c.argument('namespace_name', options_list=['--namespace'], help='If specified, the credentials are returned at the namespace scope, assuming the user has access on the ARM resource for that namespace.') + c.argument('namespace_name', options_list=['--namespace'], help='If specified, the credentials are returned at the namespace scope, assuming the user has access to the ARM resource for that namespace.') with self.argument_context('aks pod-identity') as c: c.argument('cluster_name', help='The cluster name.') From d5fef408724197cfe6a9add410c396490d4d804f Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Wed, 18 May 2022 18:52:06 +0530 Subject: [PATCH 26/52] Added tests to exclude because of feature flag registration --- .../azcli_aks_live_test/configs/ext_matrix_default.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/aks-preview/azcli_aks_live_test/configs/ext_matrix_default.json b/src/aks-preview/azcli_aks_live_test/configs/ext_matrix_default.json index 076b8d0fa76..71778d917c1 100644 --- a/src/aks-preview/azcli_aks_live_test/configs/ext_matrix_default.json +++ b/src/aks-preview/azcli_aks_live_test/configs/ext_matrix_default.json @@ -26,7 +26,10 @@ "test_aks_create_and_update_with_http_proxy_config", "test_aks_snapshot", "test_aks_custom_kubelet_identity", - "test_aks_nodepool_add_with_ossku_windows2022" + "test_aks_nodepool_add_with_ossku_windows2022", + "test_aks_create_with_namespace_enabled", + "test_aks_update_enable_namespace", + "test_aks_get_credentials_at_namespace_scope" ] } } \ No newline at end of file From b9f3f14b1d5e60caee23560e588f326552d3e400 Mon Sep 17 00:00:00 2001 From: KarthikK123 Date: Wed, 18 May 2022 13:50:48 +0000 Subject: [PATCH 27/52] updated test recordings --- ...est_aks_create_with_namespace_enabled.yaml | 206 +++++------------- ...ks_get_credentials_at_namespace_scope.yaml | 112 +++++----- .../test_aks_update_enable_namespace.yaml | 196 ++++++++--------- 3 files changed, 197 insertions(+), 317 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml index dffb32fa162..1d515a7b8ad 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-16T04:38:44Z","Created":"20220516"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-18T13:33:22Z","Created":"20220518"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 16 May 2022 04:38:45 GMT + - Wed, 18 May 2022 13:33:24 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestztc4i2isc-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestgzf2qxxg5-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -55,9 +55,7 @@ interactions: true, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "disableLocalAccounts": false, "storageProfile": {"diskCSIDriver": {"enabled": - true}, "fileCSIDriver": {"enabled": true}, "snapshotController": {"enabled": - true}}}}' + "disableLocalAccounts": false, "storageProfile": {}}}' headers: Accept: - application/json @@ -68,7 +66,7 @@ interactions: Connection: - keep-alive Content-Length: - - '1552' + - '1441' Content-Type: - application/json ParameterSetName: @@ -85,8 +83,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestztc4i2isc-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestztc4i2isc-1bfbb5-1199c1b8.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestztc4i2isc-1bfbb5-1199c1b8.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestgzf2qxxg5-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestgzf2qxxg5-1bfbb5-59c1d493.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestgzf2qxxg5-1bfbb5-59c1d493.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -111,24 +109,22 @@ interactions: [\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 },\n \"fileCSIDriver\": - {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\": - true\n }\n },\n \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": - {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + {},\n \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n + \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3239' + - '3078' content-type: - application/json date: - - Mon, 16 May 2022 04:38:53 GMT + - Wed, 18 May 2022 13:33:32 GMT expires: - '-1' pragma: @@ -161,11 +157,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" + string: "{\n \"name\": \"ad62a4ef-ac36-ca44-b358-2ad10dbc637e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:33:32.57Z\"\n }" headers: cache-control: - no-cache @@ -174,7 +170,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:39:23 GMT + - Wed, 18 May 2022 13:34:03 GMT expires: - '-1' pragma: @@ -209,11 +205,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" + string: "{\n \"name\": \"ad62a4ef-ac36-ca44-b358-2ad10dbc637e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:33:32.57Z\"\n }" headers: cache-control: - no-cache @@ -222,7 +218,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:39:53 GMT + - Wed, 18 May 2022 13:34:33 GMT expires: - '-1' pragma: @@ -257,11 +253,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" + string: "{\n \"name\": \"ad62a4ef-ac36-ca44-b358-2ad10dbc637e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:33:32.57Z\"\n }" headers: cache-control: - no-cache @@ -270,7 +266,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:40:24 GMT + - Wed, 18 May 2022 13:35:03 GMT expires: - '-1' pragma: @@ -305,11 +301,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" + string: "{\n \"name\": \"ad62a4ef-ac36-ca44-b358-2ad10dbc637e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:33:32.57Z\"\n }" headers: cache-control: - no-cache @@ -318,7 +314,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:40:54 GMT + - Wed, 18 May 2022 13:35:33 GMT expires: - '-1' pragma: @@ -353,11 +349,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" + string: "{\n \"name\": \"ad62a4ef-ac36-ca44-b358-2ad10dbc637e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:33:32.57Z\"\n }" headers: cache-control: - no-cache @@ -366,7 +362,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:41:25 GMT + - Wed, 18 May 2022 13:36:04 GMT expires: - '-1' pragma: @@ -401,11 +397,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" + string: "{\n \"name\": \"ad62a4ef-ac36-ca44-b358-2ad10dbc637e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:33:32.57Z\"\n }" headers: cache-control: - no-cache @@ -414,7 +410,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:41:54 GMT + - Wed, 18 May 2022 13:36:33 GMT expires: - '-1' pragma: @@ -449,11 +445,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" + string: "{\n \"name\": \"ad62a4ef-ac36-ca44-b358-2ad10dbc637e\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:33:32.57Z\"\n }" headers: cache-control: - no-cache @@ -462,7 +458,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:42:24 GMT + - Wed, 18 May 2022 13:37:03 GMT expires: - '-1' pragma: @@ -497,108 +493,12 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Mon, 16 May 2022 04:42:55 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 --enable-namespace-resources --generate-ssh-keys - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Mon, 16 May 2022 04:43:25 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 --enable-namespace-resources --generate-ssh-keys - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/d6cf211c-f544-488e-b886-1e21ea8d4e50?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"1c21cfd6-44f5-8e48-b886-1e21ea8d4e50\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-16T04:38:53.64Z\",\n \"endTime\": - \"2022-05-16T04:43:53.6540877Z\"\n }" + string: "{\n \"name\": \"ad62a4ef-ac36-ca44-b358-2ad10dbc637e\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-18T13:33:32.57Z\",\n \"endTime\": + \"2022-05-18T13:37:19.1518299Z\"\n }" headers: cache-control: - no-cache @@ -607,7 +507,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:43:55 GMT + - Wed, 18 May 2022 13:37:34 GMT expires: - '-1' pragma: @@ -650,8 +550,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestztc4i2isc-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestztc4i2isc-1bfbb5-1199c1b8.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestztc4i2isc-1bfbb5-1199c1b8.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestgzf2qxxg5-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestgzf2qxxg5-1bfbb5-59c1d493.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestgzf2qxxg5-1bfbb5-59c1d493.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -670,7 +570,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/fd21622e-b75e-4ab5-8aa3-892770b90cb5\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ed361284-6e1e-425d-bcb9-0515e2a9941a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -680,10 +580,8 @@ interactions: \"/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 },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": - {\n \"enabled\": true\n }\n },\n \"enableNamespaceResources\": - true,\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": + {},\n \"storageProfile\": {},\n \"enableNamespaceResources\": true,\n + \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" @@ -691,11 +589,11 @@ interactions: cache-control: - no-cache content-length: - - '3892' + - '3731' content-type: - application/json date: - - Mon, 16 May 2022 04:43:55 GMT + - Wed, 18 May 2022 13:37:34 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml index 0081c4532fb..d77dd7795a2 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-16T04:25:09Z","Created":"20220516"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-18T13:44:56Z","Created":"20220518"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 16 May 2022 04:25:11 GMT + - Wed, 18 May 2022 13:44:57 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestfmakrhu4d-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest3eeqvurx6-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -55,9 +55,7 @@ interactions: true, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "disableLocalAccounts": false, "storageProfile": {"diskCSIDriver": {"enabled": - true}, "fileCSIDriver": {"enabled": true}, "snapshotController": {"enabled": - true}}}}' + "disableLocalAccounts": false, "storageProfile": {}}}' headers: Accept: - application/json @@ -68,7 +66,7 @@ interactions: Connection: - keep-alive Content-Length: - - '1552' + - '1441' Content-Type: - application/json ParameterSetName: @@ -85,8 +83,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestfmakrhu4d-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestfmakrhu4d-1bfbb5-a86a41e0.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestfmakrhu4d-1bfbb5-a86a41e0.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitest3eeqvurx6-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest3eeqvurx6-1bfbb5-adb65209.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest3eeqvurx6-1bfbb5-adb65209.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -111,24 +109,22 @@ interactions: [\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 },\n \"fileCSIDriver\": - {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\": - true\n }\n },\n \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": - {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + {},\n \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n + \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3239' + - '3078' content-type: - application/json date: - - Mon, 16 May 2022 04:25:20 GMT + - Wed, 18 May 2022 13:45:05 GMT expires: - '-1' pragma: @@ -161,11 +157,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e87b49a0-2925-3c44-bda9-0461aa26d0aa\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:25:20.39Z\"\n }" + string: "{\n \"name\": \"d4753c14-3e81-3b46-a70d-19455de73dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:45:06.11Z\"\n }" headers: cache-control: - no-cache @@ -174,7 +170,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:25:50 GMT + - Wed, 18 May 2022 13:45:36 GMT expires: - '-1' pragma: @@ -209,11 +205,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e87b49a0-2925-3c44-bda9-0461aa26d0aa\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:25:20.39Z\"\n }" + string: "{\n \"name\": \"d4753c14-3e81-3b46-a70d-19455de73dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:45:06.11Z\"\n }" headers: cache-control: - no-cache @@ -222,7 +218,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:26:20 GMT + - Wed, 18 May 2022 13:46:06 GMT expires: - '-1' pragma: @@ -257,11 +253,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e87b49a0-2925-3c44-bda9-0461aa26d0aa\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:25:20.39Z\"\n }" + string: "{\n \"name\": \"d4753c14-3e81-3b46-a70d-19455de73dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:45:06.11Z\"\n }" headers: cache-control: - no-cache @@ -270,7 +266,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:26:50 GMT + - Wed, 18 May 2022 13:46:37 GMT expires: - '-1' pragma: @@ -305,11 +301,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e87b49a0-2925-3c44-bda9-0461aa26d0aa\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:25:20.39Z\"\n }" + string: "{\n \"name\": \"d4753c14-3e81-3b46-a70d-19455de73dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:45:06.11Z\"\n }" headers: cache-control: - no-cache @@ -318,7 +314,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:27:21 GMT + - Wed, 18 May 2022 13:47:06 GMT expires: - '-1' pragma: @@ -353,11 +349,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e87b49a0-2925-3c44-bda9-0461aa26d0aa\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:25:20.39Z\"\n }" + string: "{\n \"name\": \"d4753c14-3e81-3b46-a70d-19455de73dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:45:06.11Z\"\n }" headers: cache-control: - no-cache @@ -366,7 +362,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:27:51 GMT + - Wed, 18 May 2022 13:47:37 GMT expires: - '-1' pragma: @@ -401,11 +397,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e87b49a0-2925-3c44-bda9-0461aa26d0aa\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:25:20.39Z\"\n }" + string: "{\n \"name\": \"d4753c14-3e81-3b46-a70d-19455de73dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:45:06.11Z\"\n }" headers: cache-control: - no-cache @@ -414,7 +410,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:28:21 GMT + - Wed, 18 May 2022 13:48:07 GMT expires: - '-1' pragma: @@ -449,11 +445,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e87b49a0-2925-3c44-bda9-0461aa26d0aa\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:25:20.39Z\"\n }" + string: "{\n \"name\": \"d4753c14-3e81-3b46-a70d-19455de73dbf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:45:06.11Z\"\n }" headers: cache-control: - no-cache @@ -462,7 +458,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:28:51 GMT + - Wed, 18 May 2022 13:48:37 GMT expires: - '-1' pragma: @@ -497,12 +493,12 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/a0497be8-2529-443c-bda9-0461aa26d0aa?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e87b49a0-2925-3c44-bda9-0461aa26d0aa\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-16T04:25:20.39Z\",\n \"endTime\": - \"2022-05-16T04:28:52.3572813Z\"\n }" + string: "{\n \"name\": \"d4753c14-3e81-3b46-a70d-19455de73dbf\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-18T13:45:06.11Z\",\n \"endTime\": + \"2022-05-18T13:49:06.3531727Z\"\n }" headers: cache-control: - no-cache @@ -511,7 +507,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:29:21 GMT + - Wed, 18 May 2022 13:49:07 GMT expires: - '-1' pragma: @@ -554,8 +550,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestfmakrhu4d-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestfmakrhu4d-1bfbb5-a86a41e0.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestfmakrhu4d-1bfbb5-a86a41e0.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitest3eeqvurx6-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest3eeqvurx6-1bfbb5-adb65209.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest3eeqvurx6-1bfbb5-adb65209.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -574,7 +570,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/fee07794-97d1-443e-a261-027ada735f47\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/55b900f3-ae8b-4895-9e23-04dd5acad425\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -584,10 +580,8 @@ interactions: \"/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 },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": - {\n \"enabled\": true\n }\n },\n \"enableNamespaceResources\": - true,\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": + {},\n \"storageProfile\": {},\n \"enableNamespaceResources\": true,\n + \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" @@ -595,11 +589,11 @@ interactions: cache-control: - no-cache content-length: - - '3892' + - '3731' content-type: - application/json date: - - Mon, 16 May 2022 04:29:21 GMT + - Wed, 18 May 2022 13:49:08 GMT expires: - '-1' pragma: @@ -652,7 +646,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 16 May 2022 04:30:23 GMT + - Wed, 18 May 2022 13:50:10 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml index 036489edbc8..ac7cbcee909 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-16T04:31:02Z","Created":"20220516"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-18T13:37:51Z","Created":"20220518"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 16 May 2022 04:31:04 GMT + - Wed, 18 May 2022 13:37:52 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestn3zd3z6yx-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest66czq3ezo-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -55,8 +55,7 @@ interactions: {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false, - "storageProfile": {"diskCSIDriver": {"enabled": true}, "fileCSIDriver": {"enabled": - true}, "snapshotController": {"enabled": true}}}}' + "storageProfile": {}}}' headers: Accept: - application/json @@ -67,7 +66,7 @@ interactions: Connection: - keep-alive Content-Length: - - '1518' + - '1407' Content-Type: - application/json ParameterSetName: @@ -84,8 +83,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestn3zd3z6yx-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitest66czq3ezo-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -110,23 +109,21 @@ interactions: [\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 },\n \"fileCSIDriver\": - {\n \"enabled\": true\n },\n \"snapshotController\": {\n \"enabled\": - true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n - \ }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + {},\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3202' + - '3041' content-type: - application/json date: - - Mon, 16 May 2022 04:31:11 GMT + - Wed, 18 May 2022 13:37:59 GMT expires: - '-1' pragma: @@ -159,11 +156,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"aadca974-4fd1-bd4a-9a71-5aebae908b58\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:31:11.8966666Z\"\n }" + string: "{\n \"name\": \"95ca5074-74fd-d948-88b4-0c84025e6f86\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:38:00.0733333Z\"\n }" headers: cache-control: - no-cache @@ -172,7 +169,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:31:42 GMT + - Wed, 18 May 2022 13:38:30 GMT expires: - '-1' pragma: @@ -207,11 +204,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"aadca974-4fd1-bd4a-9a71-5aebae908b58\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:31:11.8966666Z\"\n }" + string: "{\n \"name\": \"95ca5074-74fd-d948-88b4-0c84025e6f86\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:38:00.0733333Z\"\n }" headers: cache-control: - no-cache @@ -220,7 +217,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:32:12 GMT + - Wed, 18 May 2022 13:39:00 GMT expires: - '-1' pragma: @@ -255,11 +252,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"aadca974-4fd1-bd4a-9a71-5aebae908b58\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:31:11.8966666Z\"\n }" + string: "{\n \"name\": \"95ca5074-74fd-d948-88b4-0c84025e6f86\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:38:00.0733333Z\"\n }" headers: cache-control: - no-cache @@ -268,7 +265,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:32:42 GMT + - Wed, 18 May 2022 13:39:30 GMT expires: - '-1' pragma: @@ -303,11 +300,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"aadca974-4fd1-bd4a-9a71-5aebae908b58\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:31:11.8966666Z\"\n }" + string: "{\n \"name\": \"95ca5074-74fd-d948-88b4-0c84025e6f86\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:38:00.0733333Z\"\n }" headers: cache-control: - no-cache @@ -316,7 +313,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:33:12 GMT + - Wed, 18 May 2022 13:40:00 GMT expires: - '-1' pragma: @@ -351,11 +348,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"aadca974-4fd1-bd4a-9a71-5aebae908b58\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:31:11.8966666Z\"\n }" + string: "{\n \"name\": \"95ca5074-74fd-d948-88b4-0c84025e6f86\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:38:00.0733333Z\"\n }" headers: cache-control: - no-cache @@ -364,7 +361,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:33:43 GMT + - Wed, 18 May 2022 13:40:31 GMT expires: - '-1' pragma: @@ -399,11 +396,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"aadca974-4fd1-bd4a-9a71-5aebae908b58\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:31:11.8966666Z\"\n }" + string: "{\n \"name\": \"95ca5074-74fd-d948-88b4-0c84025e6f86\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:38:00.0733333Z\"\n }" headers: cache-control: - no-cache @@ -412,7 +409,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:34:13 GMT + - Wed, 18 May 2022 13:41:01 GMT expires: - '-1' pragma: @@ -447,11 +444,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"aadca974-4fd1-bd4a-9a71-5aebae908b58\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:31:11.8966666Z\"\n }" + string: "{\n \"name\": \"95ca5074-74fd-d948-88b4-0c84025e6f86\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:38:00.0733333Z\"\n }" headers: cache-control: - no-cache @@ -460,7 +457,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:34:43 GMT + - Wed, 18 May 2022 13:41:30 GMT expires: - '-1' pragma: @@ -495,12 +492,12 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/74a9dcaa-d14f-4abd-9a71-5aebae908b58?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"aadca974-4fd1-bd4a-9a71-5aebae908b58\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-16T04:31:11.8966666Z\",\n \"endTime\": - \"2022-05-16T04:34:58.9156616Z\"\n }" + string: "{\n \"name\": \"95ca5074-74fd-d948-88b4-0c84025e6f86\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-18T13:38:00.0733333Z\",\n \"endTime\": + \"2022-05-18T13:41:36.0895944Z\"\n }" headers: cache-control: - no-cache @@ -509,7 +506,7 @@ interactions: content-type: - application/json date: - - Mon, 16 May 2022 04:35:13 GMT + - Wed, 18 May 2022 13:42:00 GMT expires: - '-1' pragma: @@ -552,8 +549,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestn3zd3z6yx-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitest66czq3ezo-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -572,7 +569,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/bdb38073-9241-4ab4-b500-34a9f99d2038\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0192de36-6253-4400-ba81-2b2b1aaa6524\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -582,9 +579,7 @@ interactions: \"/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 },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": - {\n \"enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": + {},\n \"storageProfile\": {},\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" @@ -592,11 +587,11 @@ interactions: cache-control: - no-cache content-length: - - '3855' + - '3694' content-type: - application/json date: - - Mon, 16 May 2022 04:35:13 GMT + - Wed, 18 May 2022 13:42:01 GMT expires: - '-1' pragma: @@ -639,8 +634,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestn3zd3z6yx-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitest66czq3ezo-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -659,7 +654,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/bdb38073-9241-4ab4-b500-34a9f99d2038\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0192de36-6253-4400-ba81-2b2b1aaa6524\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -669,9 +664,7 @@ interactions: \"/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 },\n \"fileCSIDriver\": {\n \"enabled\": true\n },\n \"snapshotController\": - {\n \"enabled\": true\n }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": + {},\n \"storageProfile\": {},\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" @@ -679,11 +672,11 @@ interactions: cache-control: - no-cache content-length: - - '3855' + - '3694' content-type: - application/json date: - - Mon, 16 May 2022 04:35:14 GMT + - Wed, 18 May 2022 13:42:03 GMT expires: - '-1' pragma: @@ -704,7 +697,7 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.22.6", "dnsPrefix": - "cliakstest-clitestn3zd3z6yx-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitest66czq3ezo-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", @@ -718,12 +711,11 @@ interactions: {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/bdb38073-9241-4ab4-b500-34a9f99d2038"}]}, + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0192de36-6253-4400-ba81-2b2b1aaa6524"}]}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, - "disableLocalAccounts": false, "securityProfile": {}, "storageProfile": {"diskCSIDriver": - {}, "fileCSIDriver": {}, "snapshotController": {}}}}' + "disableLocalAccounts": false, "securityProfile": {}, "storageProfile": {}}}' headers: Accept: - application/json @@ -734,7 +726,7 @@ interactions: Connection: - keep-alive Content-Length: - - '2538' + - '2472' Content-Type: - application/json ParameterSetName: @@ -751,8 +743,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestn3zd3z6yx-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitest66czq3ezo-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -771,7 +763,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/bdb38073-9241-4ab4-b500-34a9f99d2038\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0192de36-6253-4400-ba81-2b2b1aaa6524\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -781,24 +773,22 @@ interactions: \"/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\": - false\n },\n \"fileCSIDriver\": {\n \"enabled\": false\n },\n - \ \"snapshotController\": {\n \"enabled\": false\n }\n },\n \"enableNamespaceResources\": - true,\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": + {},\n \"storageProfile\": {},\n \"enableNamespaceResources\": true,\n + \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ad3c46a6-3fc2-4f3a-a85a-a63321aa4ae3?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ed59d2d1-a9b1-4351-8d4c-413db6635f2d?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3893' + - '3729' content-type: - application/json date: - - Mon, 16 May 2022 04:35:20 GMT + - Wed, 18 May 2022 13:42:09 GMT expires: - '-1' pragma: @@ -835,20 +825,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/ad3c46a6-3fc2-4f3a-a85a-a63321aa4ae3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ed59d2d1-a9b1-4351-8d4c-413db6635f2d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a6463cad-c23f-3a4f-a85a-a63321aa4ae3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:35:19.15Z\"\n }" + string: "{\n \"name\": \"d1d259ed-b1a9-5143-8d4c-413db6635f2d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:42:08.0766666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Mon, 16 May 2022 04:35:50 GMT + - Wed, 18 May 2022 13:42:39 GMT expires: - '-1' pragma: @@ -883,20 +873,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/ad3c46a6-3fc2-4f3a-a85a-a63321aa4ae3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ed59d2d1-a9b1-4351-8d4c-413db6635f2d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a6463cad-c23f-3a4f-a85a-a63321aa4ae3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-16T04:35:19.15Z\"\n }" + string: "{\n \"name\": \"d1d259ed-b1a9-5143-8d4c-413db6635f2d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-18T13:42:08.0766666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Mon, 16 May 2022 04:36:20 GMT + - Wed, 18 May 2022 13:43:09 GMT expires: - '-1' pragma: @@ -931,21 +921,21 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/ad3c46a6-3fc2-4f3a-a85a-a63321aa4ae3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ed59d2d1-a9b1-4351-8d4c-413db6635f2d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a6463cad-c23f-3a4f-a85a-a63321aa4ae3\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-16T04:35:19.15Z\",\n \"endTime\": - \"2022-05-16T04:36:37.815645Z\"\n }" + string: "{\n \"name\": \"d1d259ed-b1a9-5143-8d4c-413db6635f2d\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-18T13:42:08.0766666Z\",\n \"endTime\": + \"2022-05-18T13:43:38.3858764Z\"\n }" headers: cache-control: - no-cache content-length: - - '164' + - '170' content-type: - application/json date: - - Mon, 16 May 2022 04:36:49 GMT + - Wed, 18 May 2022 13:43:39 GMT expires: - '-1' pragma: @@ -988,8 +978,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestn3zd3z6yx-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestn3zd3z6yx-1bfbb5-86ce9c31.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitest66czq3ezo-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -1008,7 +998,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/bdb38073-9241-4ab4-b500-34a9f99d2038\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0192de36-6253-4400-ba81-2b2b1aaa6524\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -1018,10 +1008,8 @@ interactions: \"/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\": - false\n },\n \"fileCSIDriver\": {\n \"enabled\": false\n },\n - \ \"snapshotController\": {\n \"enabled\": false\n }\n },\n \"enableNamespaceResources\": - true,\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": + {},\n \"storageProfile\": {},\n \"enableNamespaceResources\": true,\n + \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" @@ -1029,11 +1017,11 @@ interactions: cache-control: - no-cache content-length: - - '3895' + - '3731' content-type: - application/json date: - - Mon, 16 May 2022 04:36:50 GMT + - Wed, 18 May 2022 13:43:39 GMT expires: - '-1' pragma: From c7cb55790a31504a5b413a613217e0fdad79c3b2 Mon Sep 17 00:00:00 2001 From: KarthikK123 Date: Thu, 19 May 2022 01:14:45 +0000 Subject: [PATCH 28/52] Updated test recordings --- ...est_aks_create_with_namespace_enabled.yaml | 88 +++--- ...ks_get_credentials_at_namespace_scope.yaml | 298 ++++++++++++++---- .../test_aks_update_enable_namespace.yaml | 192 ++++++----- 3 files changed, 409 insertions(+), 169 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml index 1d515a7b8ad..1b0f5c728ec 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-18T13:33:22Z","Created":"20220518"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T00:43:08Z","Created":"20220519"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 18 May 2022 13:33:24 GMT + - Thu, 19 May 2022 00:43:11 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestgzf2qxxg5-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest5lsmmize3-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -83,8 +83,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestgzf2qxxg5-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestgzf2qxxg5-1bfbb5-59c1d493.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestgzf2qxxg5-1bfbb5-59c1d493.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitest5lsmmize3-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest5lsmmize3-1bfbb5-deab0171.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest5lsmmize3-1bfbb5-deab0171.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -116,7 +116,7 @@ interactions: \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -124,7 +124,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:33:32 GMT + - Thu, 19 May 2022 00:43:19 GMT expires: - '-1' pragma: @@ -157,11 +157,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ad62a4ef-ac36-ca44-b358-2ad10dbc637e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:33:32.57Z\"\n }" + string: "{\n \"name\": \"05101a2c-a169-4643-b48f-fc8869a95400\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:43:19.76Z\"\n }" headers: cache-control: - no-cache @@ -170,7 +170,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:34:03 GMT + - Thu, 19 May 2022 00:43:50 GMT expires: - '-1' pragma: @@ -205,11 +205,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ad62a4ef-ac36-ca44-b358-2ad10dbc637e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:33:32.57Z\"\n }" + string: "{\n \"name\": \"05101a2c-a169-4643-b48f-fc8869a95400\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:43:19.76Z\"\n }" headers: cache-control: - no-cache @@ -218,7 +218,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:34:33 GMT + - Thu, 19 May 2022 00:44:20 GMT expires: - '-1' pragma: @@ -253,11 +253,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ad62a4ef-ac36-ca44-b358-2ad10dbc637e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:33:32.57Z\"\n }" + string: "{\n \"name\": \"05101a2c-a169-4643-b48f-fc8869a95400\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:43:19.76Z\"\n }" headers: cache-control: - no-cache @@ -266,7 +266,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:35:03 GMT + - Thu, 19 May 2022 00:44:50 GMT expires: - '-1' pragma: @@ -301,11 +301,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ad62a4ef-ac36-ca44-b358-2ad10dbc637e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:33:32.57Z\"\n }" + string: "{\n \"name\": \"05101a2c-a169-4643-b48f-fc8869a95400\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:43:19.76Z\"\n }" headers: cache-control: - no-cache @@ -314,7 +314,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:35:33 GMT + - Thu, 19 May 2022 00:45:20 GMT expires: - '-1' pragma: @@ -349,11 +349,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ad62a4ef-ac36-ca44-b358-2ad10dbc637e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:33:32.57Z\"\n }" + string: "{\n \"name\": \"05101a2c-a169-4643-b48f-fc8869a95400\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:43:19.76Z\"\n }" headers: cache-control: - no-cache @@ -362,7 +362,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:36:04 GMT + - Thu, 19 May 2022 00:45:50 GMT expires: - '-1' pragma: @@ -397,11 +397,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ad62a4ef-ac36-ca44-b358-2ad10dbc637e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:33:32.57Z\"\n }" + string: "{\n \"name\": \"05101a2c-a169-4643-b48f-fc8869a95400\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:43:19.76Z\"\n }" headers: cache-control: - no-cache @@ -410,7 +410,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:36:33 GMT + - Thu, 19 May 2022 00:46:21 GMT expires: - '-1' pragma: @@ -445,11 +445,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ad62a4ef-ac36-ca44-b358-2ad10dbc637e\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:33:32.57Z\"\n }" + string: "{\n \"name\": \"05101a2c-a169-4643-b48f-fc8869a95400\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:43:19.76Z\"\n }" headers: cache-control: - no-cache @@ -458,7 +458,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:37:03 GMT + - Thu, 19 May 2022 00:46:50 GMT expires: - '-1' pragma: @@ -493,12 +493,12 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/efa462ad-36ac-44ca-b358-2ad10dbc637e?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"ad62a4ef-ac36-ca44-b358-2ad10dbc637e\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-18T13:33:32.57Z\",\n \"endTime\": - \"2022-05-18T13:37:19.1518299Z\"\n }" + string: "{\n \"name\": \"05101a2c-a169-4643-b48f-fc8869a95400\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-19T00:43:19.76Z\",\n \"endTime\": + \"2022-05-19T00:47:15.7387917Z\"\n }" headers: cache-control: - no-cache @@ -507,7 +507,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:37:34 GMT + - Thu, 19 May 2022 00:47:21 GMT expires: - '-1' pragma: @@ -550,8 +550,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestgzf2qxxg5-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestgzf2qxxg5-1bfbb5-59c1d493.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestgzf2qxxg5-1bfbb5-59c1d493.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitest5lsmmize3-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest5lsmmize3-1bfbb5-deab0171.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest5lsmmize3-1bfbb5-deab0171.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -570,7 +570,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/ed361284-6e1e-425d-bcb9-0515e2a9941a\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/adff5444-b465-4c83-8e23-a891f19addab\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -593,7 +593,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:37:34 GMT + - Thu, 19 May 2022 00:47:21 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml index d77dd7795a2..bd94701ef32 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-18T13:44:56Z","Created":"20220518"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T01:07:05Z","Created":"20220519"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 18 May 2022 13:44:57 GMT + - Thu, 19 May 2022 01:07:07 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest3eeqvurx6-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestuu6cxpbbb-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -83,8 +83,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitest3eeqvurx6-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest3eeqvurx6-1bfbb5-adb65209.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest3eeqvurx6-1bfbb5-adb65209.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestuu6cxpbbb-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestuu6cxpbbb-1bfbb5-1a629010.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestuu6cxpbbb-1bfbb5-1a629010.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -116,7 +116,7 @@ interactions: \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -124,7 +124,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:45:05 GMT + - Thu, 19 May 2022 01:07:15 GMT expires: - '-1' pragma: @@ -157,20 +157,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d4753c14-3e81-3b46-a70d-19455de73dbf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:45:06.11Z\"\n }" + string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 May 2022 13:45:36 GMT + - Thu, 19 May 2022 01:07:45 GMT expires: - '-1' pragma: @@ -205,20 +205,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d4753c14-3e81-3b46-a70d-19455de73dbf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:45:06.11Z\"\n }" + string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 May 2022 13:46:06 GMT + - Thu, 19 May 2022 01:08:15 GMT expires: - '-1' pragma: @@ -253,20 +253,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d4753c14-3e81-3b46-a70d-19455de73dbf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:45:06.11Z\"\n }" + string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 May 2022 13:46:37 GMT + - Thu, 19 May 2022 01:08:45 GMT expires: - '-1' pragma: @@ -301,20 +301,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d4753c14-3e81-3b46-a70d-19455de73dbf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:45:06.11Z\"\n }" + string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 May 2022 13:47:06 GMT + - Thu, 19 May 2022 01:09:15 GMT expires: - '-1' pragma: @@ -349,20 +349,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d4753c14-3e81-3b46-a70d-19455de73dbf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:45:06.11Z\"\n }" + string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 May 2022 13:47:37 GMT + - Thu, 19 May 2022 01:09:45 GMT expires: - '-1' pragma: @@ -397,20 +397,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d4753c14-3e81-3b46-a70d-19455de73dbf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:45:06.11Z\"\n }" + string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 May 2022 13:48:07 GMT + - Thu, 19 May 2022 01:10:16 GMT expires: - '-1' pragma: @@ -445,20 +445,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d4753c14-3e81-3b46-a70d-19455de73dbf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:45:06.11Z\"\n }" + string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Wed, 18 May 2022 13:48:37 GMT + - Thu, 19 May 2022 01:10:46 GMT expires: - '-1' pragma: @@ -493,21 +493,213 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/143c75d4-813e-463b-a70d-19455de73dbf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d4753c14-3e81-3b46-a70d-19455de73dbf\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-18T13:45:06.11Z\",\n \"endTime\": - \"2022-05-18T13:49:06.3531727Z\"\n }" + string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '126' content-type: - application/json date: - - Wed, 18 May 2022 13:49:07 GMT + - Thu, 19 May 2022 01:11:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 19 May 2022 01:11:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 19 May 2022 01:12:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 19 May 2022 01:12:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --generate-ssh-keys + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\",\n \"endTime\": + \"2022-05-19T01:13:12.6796718Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Thu, 19 May 2022 01:13:18 GMT expires: - '-1' pragma: @@ -550,8 +742,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitest3eeqvurx6-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest3eeqvurx6-1bfbb5-adb65209.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest3eeqvurx6-1bfbb5-adb65209.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestuu6cxpbbb-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestuu6cxpbbb-1bfbb5-1a629010.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestuu6cxpbbb-1bfbb5-1a629010.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -570,7 +762,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/55b900f3-ae8b-4895-9e23-04dd5acad425\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/25d2208a-f98b-4552-be5c-cf5b73b1db3a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -593,7 +785,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:49:08 GMT + - Thu, 19 May 2022 01:13:18 GMT expires: - '-1' pragma: @@ -646,7 +838,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 18 May 2022 13:50:10 GMT + - Thu, 19 May 2022 01:14:20 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml index ac7cbcee909..89e75f1e7e1 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-18T13:37:51Z","Created":"20220518"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T00:47:39Z","Created":"20220519"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 18 May 2022 13:37:52 GMT + - Thu, 19 May 2022 00:47:40 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest66czq3ezo-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestux2v5pywh-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -83,8 +83,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitest66czq3ezo-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestux2v5pywh-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -115,7 +115,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -123,7 +123,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:37:59 GMT + - Thu, 19 May 2022 00:47:48 GMT expires: - '-1' pragma: @@ -156,11 +156,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"95ca5074-74fd-d948-88b4-0c84025e6f86\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:38:00.0733333Z\"\n }" + string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\"\n }" headers: cache-control: - no-cache @@ -169,7 +169,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:38:30 GMT + - Thu, 19 May 2022 00:48:18 GMT expires: - '-1' pragma: @@ -204,11 +204,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"95ca5074-74fd-d948-88b4-0c84025e6f86\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:38:00.0733333Z\"\n }" + string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\"\n }" headers: cache-control: - no-cache @@ -217,7 +217,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:39:00 GMT + - Thu, 19 May 2022 00:48:47 GMT expires: - '-1' pragma: @@ -252,11 +252,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"95ca5074-74fd-d948-88b4-0c84025e6f86\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:38:00.0733333Z\"\n }" + string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\"\n }" headers: cache-control: - no-cache @@ -265,7 +265,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:39:30 GMT + - Thu, 19 May 2022 00:49:18 GMT expires: - '-1' pragma: @@ -300,11 +300,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"95ca5074-74fd-d948-88b4-0c84025e6f86\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:38:00.0733333Z\"\n }" + string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\"\n }" headers: cache-control: - no-cache @@ -313,7 +313,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:40:00 GMT + - Thu, 19 May 2022 00:49:48 GMT expires: - '-1' pragma: @@ -348,11 +348,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"95ca5074-74fd-d948-88b4-0c84025e6f86\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:38:00.0733333Z\"\n }" + string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\"\n }" headers: cache-control: - no-cache @@ -361,7 +361,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:40:31 GMT + - Thu, 19 May 2022 00:50:18 GMT expires: - '-1' pragma: @@ -396,11 +396,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"95ca5074-74fd-d948-88b4-0c84025e6f86\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:38:00.0733333Z\"\n }" + string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\"\n }" headers: cache-control: - no-cache @@ -409,7 +409,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:41:01 GMT + - Thu, 19 May 2022 00:50:48 GMT expires: - '-1' pragma: @@ -444,11 +444,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"95ca5074-74fd-d948-88b4-0c84025e6f86\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:38:00.0733333Z\"\n }" + string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\"\n }" headers: cache-control: - no-cache @@ -457,7 +457,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:41:30 GMT + - Thu, 19 May 2022 00:51:18 GMT expires: - '-1' pragma: @@ -492,12 +492,60 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7450ca95-fd74-48d9-88b4-0c84025e6f86?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"95ca5074-74fd-d948-88b4-0c84025e6f86\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-18T13:38:00.0733333Z\",\n \"endTime\": - \"2022-05-18T13:41:36.0895944Z\"\n }" + string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 19 May 2022 00:51:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\",\n \"endTime\": + \"2022-05-19T00:51:49.8985528Z\"\n }" headers: cache-control: - no-cache @@ -506,7 +554,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:42:00 GMT + - Thu, 19 May 2022 00:52:19 GMT expires: - '-1' pragma: @@ -549,8 +597,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitest66czq3ezo-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestux2v5pywh-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -569,7 +617,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0192de36-6253-4400-ba81-2b2b1aaa6524\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9a7dc378-9669-49c5-8298-750560caf2bc\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -591,7 +639,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:42:01 GMT + - Thu, 19 May 2022 00:52:20 GMT expires: - '-1' pragma: @@ -634,8 +682,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitest66czq3ezo-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestux2v5pywh-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -654,7 +702,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0192de36-6253-4400-ba81-2b2b1aaa6524\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9a7dc378-9669-49c5-8298-750560caf2bc\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -676,7 +724,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:42:03 GMT + - Thu, 19 May 2022 00:52:21 GMT expires: - '-1' pragma: @@ -697,7 +745,7 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.22.6", "dnsPrefix": - "cliakstest-clitest66czq3ezo-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestux2v5pywh-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", @@ -711,7 +759,7 @@ interactions: {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0192de36-6253-4400-ba81-2b2b1aaa6524"}]}, + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9a7dc378-9669-49c5-8298-750560caf2bc"}]}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -743,8 +791,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitest66czq3ezo-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestux2v5pywh-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -763,7 +811,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0192de36-6253-4400-ba81-2b2b1aaa6524\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9a7dc378-9669-49c5-8298-750560caf2bc\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -780,7 +828,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ed59d2d1-a9b1-4351-8d4c-413db6635f2d?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/366c9432-1ab9-4080-93d1-a0c548afe113?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -788,7 +836,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:42:09 GMT + - Thu, 19 May 2022 00:52:26 GMT expires: - '-1' pragma: @@ -825,11 +873,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/ed59d2d1-a9b1-4351-8d4c-413db6635f2d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/366c9432-1ab9-4080-93d1-a0c548afe113?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d1d259ed-b1a9-5143-8d4c-413db6635f2d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:42:08.0766666Z\"\n }" + string: "{\n \"name\": \"32946c36-b91a-8040-93d1-a0c548afe113\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:52:26.2433333Z\"\n }" headers: cache-control: - no-cache @@ -838,7 +886,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:42:39 GMT + - Thu, 19 May 2022 00:52:56 GMT expires: - '-1' pragma: @@ -873,11 +921,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/ed59d2d1-a9b1-4351-8d4c-413db6635f2d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/366c9432-1ab9-4080-93d1-a0c548afe113?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d1d259ed-b1a9-5143-8d4c-413db6635f2d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-18T13:42:08.0766666Z\"\n }" + string: "{\n \"name\": \"32946c36-b91a-8040-93d1-a0c548afe113\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T00:52:26.2433333Z\"\n }" headers: cache-control: - no-cache @@ -886,7 +934,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:43:09 GMT + - Thu, 19 May 2022 00:53:26 GMT expires: - '-1' pragma: @@ -921,12 +969,12 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/ed59d2d1-a9b1-4351-8d4c-413db6635f2d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/366c9432-1ab9-4080-93d1-a0c548afe113?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d1d259ed-b1a9-5143-8d4c-413db6635f2d\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-18T13:42:08.0766666Z\",\n \"endTime\": - \"2022-05-18T13:43:38.3858764Z\"\n }" + string: "{\n \"name\": \"32946c36-b91a-8040-93d1-a0c548afe113\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-19T00:52:26.2433333Z\",\n \"endTime\": + \"2022-05-19T00:53:41.1044891Z\"\n }" headers: cache-control: - no-cache @@ -935,7 +983,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:43:39 GMT + - Thu, 19 May 2022 00:53:56 GMT expires: - '-1' pragma: @@ -978,8 +1026,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitest66czq3ezo-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest66czq3ezo-1bfbb5-09f1c3e8.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestux2v5pywh-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -998,7 +1046,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/0192de36-6253-4400-ba81-2b2b1aaa6524\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9a7dc378-9669-49c5-8298-750560caf2bc\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -1021,7 +1069,7 @@ interactions: content-type: - application/json date: - - Wed, 18 May 2022 13:43:39 GMT + - Thu, 19 May 2022 00:53:57 GMT expires: - '-1' pragma: From e57e8115256bd8baa12893aa41c71b7904691298 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Thu, 19 May 2022 06:53:50 +0530 Subject: [PATCH 29/52] Updated tests --- .../azext_aks_preview/tests/latest/test_aks_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 be07a563779..f321c1cea98 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 @@ -302,7 +302,7 @@ def test_aks_update_enable_namespace(self, resource_group, resource_group_locati 'name': aks_name, }) - create_cmd = 'aks create --resource-group={resource_group} --name={name}' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --generate-ssh-keys' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), ]) From 4d17d8d338cc3fd648689bc536d88f8f0471e7e3 Mon Sep 17 00:00:00 2001 From: KarthikK123 Date: Thu, 19 May 2022 01:32:07 +0000 Subject: [PATCH 30/52] Updated test recording --- .../test_aks_update_enable_namespace.yaml | 220 +++++++----------- 1 file changed, 86 insertions(+), 134 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml index 89e75f1e7e1..fecc1ad1723 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name + - --resource-group --name --generate-ssh-keys User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T00:47:39Z","Created":"20220519"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T01:25:20Z","Created":"20220519"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 May 2022 00:47:40 GMT + - Thu, 19 May 2022 01:25:23 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestux2v5pywh-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesttclbkgrtc-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -70,7 +70,7 @@ interactions: Content-Type: - application/json ParameterSetName: - - --resource-group --name + - --resource-group --name --generate-ssh-keys User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) @@ -83,8 +83,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestux2v5pywh-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitesttclbkgrtc-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -115,7 +115,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -123,7 +123,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:47:48 GMT + - Thu, 19 May 2022 01:25:30 GMT expires: - '-1' pragma: @@ -151,16 +151,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name + - --resource-group --name --generate-ssh-keys User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\"\n }" + string: "{\n \"name\": \"b196c449-4b6d-7f4d-b3d6-9890099aefcf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:25:30.8866666Z\"\n }" headers: cache-control: - no-cache @@ -169,7 +169,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:48:18 GMT + - Thu, 19 May 2022 01:26:00 GMT expires: - '-1' pragma: @@ -199,16 +199,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name + - --resource-group --name --generate-ssh-keys User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\"\n }" + string: "{\n \"name\": \"b196c449-4b6d-7f4d-b3d6-9890099aefcf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:25:30.8866666Z\"\n }" headers: cache-control: - no-cache @@ -217,7 +217,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:48:47 GMT + - Thu, 19 May 2022 01:26:30 GMT expires: - '-1' pragma: @@ -247,16 +247,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name + - --resource-group --name --generate-ssh-keys User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\"\n }" + string: "{\n \"name\": \"b196c449-4b6d-7f4d-b3d6-9890099aefcf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:25:30.8866666Z\"\n }" headers: cache-control: - no-cache @@ -265,7 +265,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:49:18 GMT + - Thu, 19 May 2022 01:27:01 GMT expires: - '-1' pragma: @@ -295,16 +295,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name + - --resource-group --name --generate-ssh-keys User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\"\n }" + string: "{\n \"name\": \"b196c449-4b6d-7f4d-b3d6-9890099aefcf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:25:30.8866666Z\"\n }" headers: cache-control: - no-cache @@ -313,7 +313,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:49:48 GMT + - Thu, 19 May 2022 01:27:31 GMT expires: - '-1' pragma: @@ -343,16 +343,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name + - --resource-group --name --generate-ssh-keys User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\"\n }" + string: "{\n \"name\": \"b196c449-4b6d-7f4d-b3d6-9890099aefcf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:25:30.8866666Z\"\n }" headers: cache-control: - no-cache @@ -361,7 +361,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:50:18 GMT + - Thu, 19 May 2022 01:28:01 GMT expires: - '-1' pragma: @@ -391,16 +391,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name + - --resource-group --name --generate-ssh-keys User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\"\n }" + string: "{\n \"name\": \"b196c449-4b6d-7f4d-b3d6-9890099aefcf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:25:30.8866666Z\"\n }" headers: cache-control: - no-cache @@ -409,7 +409,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:50:48 GMT + - Thu, 19 May 2022 01:28:31 GMT expires: - '-1' pragma: @@ -439,16 +439,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name + - --resource-group --name --generate-ssh-keys User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\"\n }" + string: "{\n \"name\": \"b196c449-4b6d-7f4d-b3d6-9890099aefcf\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:25:30.8866666Z\"\n }" headers: cache-control: - no-cache @@ -457,7 +457,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:51:18 GMT + - Thu, 19 May 2022 01:29:02 GMT expires: - '-1' pragma: @@ -487,65 +487,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name + - --resource-group --name --generate-ssh-keys User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 19 May 2022 00:51:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/3962fbdf-96ba-4e35-a167-5db38535d62d?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"dffb6239-ba96-354e-a167-5db38535d62d\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-19T00:47:47.7066666Z\",\n \"endTime\": - \"2022-05-19T00:51:49.8985528Z\"\n }" + string: "{\n \"name\": \"b196c449-4b6d-7f4d-b3d6-9890099aefcf\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-19T01:25:30.8866666Z\",\n \"endTime\": + \"2022-05-19T01:29:16.4420409Z\"\n }" headers: cache-control: - no-cache @@ -554,7 +506,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:52:19 GMT + - Thu, 19 May 2022 01:29:32 GMT expires: - '-1' pragma: @@ -584,7 +536,7 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name + - --resource-group --name --generate-ssh-keys User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) @@ -597,8 +549,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestux2v5pywh-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitesttclbkgrtc-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -617,7 +569,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9a7dc378-9669-49c5-8298-750560caf2bc\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/765b6d4d-33dc-4df2-8a8f-cbe9d1ed834c\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -639,7 +591,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:52:20 GMT + - Thu, 19 May 2022 01:29:32 GMT expires: - '-1' pragma: @@ -682,8 +634,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestux2v5pywh-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitesttclbkgrtc-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -702,7 +654,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9a7dc378-9669-49c5-8298-750560caf2bc\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/765b6d4d-33dc-4df2-8a8f-cbe9d1ed834c\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -724,7 +676,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:52:21 GMT + - Thu, 19 May 2022 01:29:35 GMT expires: - '-1' pragma: @@ -745,7 +697,7 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.22.6", "dnsPrefix": - "cliakstest-clitestux2v5pywh-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitesttclbkgrtc-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", @@ -759,7 +711,7 @@ interactions: {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9a7dc378-9669-49c5-8298-750560caf2bc"}]}, + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/765b6d4d-33dc-4df2-8a8f-cbe9d1ed834c"}]}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -791,8 +743,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestux2v5pywh-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitesttclbkgrtc-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -811,7 +763,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9a7dc378-9669-49c5-8298-750560caf2bc\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/765b6d4d-33dc-4df2-8a8f-cbe9d1ed834c\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -828,7 +780,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/366c9432-1ab9-4080-93d1-a0c548afe113?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/406400d8-9ff7-46b6-b3f6-4eb52f50b784?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -836,7 +788,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:52:26 GMT + - Thu, 19 May 2022 01:29:40 GMT expires: - '-1' pragma: @@ -873,20 +825,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/366c9432-1ab9-4080-93d1-a0c548afe113?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/406400d8-9ff7-46b6-b3f6-4eb52f50b784?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"32946c36-b91a-8040-93d1-a0c548afe113\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:52:26.2433333Z\"\n }" + string: "{\n \"name\": \"d8006440-f79f-b646-b3f6-4eb52f50b784\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:29:39.2Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Thu, 19 May 2022 00:52:56 GMT + - Thu, 19 May 2022 01:30:10 GMT expires: - '-1' pragma: @@ -921,20 +873,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/366c9432-1ab9-4080-93d1-a0c548afe113?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/406400d8-9ff7-46b6-b3f6-4eb52f50b784?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"32946c36-b91a-8040-93d1-a0c548afe113\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:52:26.2433333Z\"\n }" + string: "{\n \"name\": \"d8006440-f79f-b646-b3f6-4eb52f50b784\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T01:29:39.2Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '120' content-type: - application/json date: - - Thu, 19 May 2022 00:53:26 GMT + - Thu, 19 May 2022 01:30:40 GMT expires: - '-1' pragma: @@ -969,21 +921,21 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/366c9432-1ab9-4080-93d1-a0c548afe113?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/406400d8-9ff7-46b6-b3f6-4eb52f50b784?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"32946c36-b91a-8040-93d1-a0c548afe113\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-19T00:52:26.2433333Z\",\n \"endTime\": - \"2022-05-19T00:53:41.1044891Z\"\n }" + string: "{\n \"name\": \"d8006440-f79f-b646-b3f6-4eb52f50b784\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-19T01:29:39.2Z\",\n \"endTime\": + \"2022-05-19T01:30:52.816161Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '163' content-type: - application/json date: - - Thu, 19 May 2022 00:53:56 GMT + - Thu, 19 May 2022 01:31:10 GMT expires: - '-1' pragma: @@ -1026,8 +978,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestux2v5pywh-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestux2v5pywh-1bfbb5-ae839764.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitesttclbkgrtc-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -1046,7 +998,7 @@ interactions: \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/9a7dc378-9669-49c5-8298-750560caf2bc\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/765b6d4d-33dc-4df2-8a8f-cbe9d1ed834c\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -1069,7 +1021,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:53:57 GMT + - Thu, 19 May 2022 01:31:11 GMT expires: - '-1' pragma: From 903aec083bafcf00c1b8724aba9cd33a409b1832 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Thu, 19 May 2022 12:14:50 +0530 Subject: [PATCH 31/52] Updated tests --- .../tests/latest/test_aks_commands.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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 f321c1cea98..0c8834b5e65 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 @@ -285,9 +285,10 @@ def test_aks_create_with_namespace_enabled(self, resource_group, resource_group_ aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-namespace-resources --generate-ssh-keys' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-namespace-resources --ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), self.check('enableNamespaceResources', True) @@ -300,9 +301,10 @@ def test_aks_update_enable_namespace(self, resource_group, resource_group_locati 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} --generate-ssh-keys' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --ssh-key-value={ssh_key_value}' self.cmd(create_cmd, checks=[ self.check('provisioningState', 'Succeeded'), ]) @@ -317,9 +319,10 @@ def test_aks_get_credentials_at_namespace_scope(self, resource_group): aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, - 'name': aks_name + 'name': aks_name, + 'ssh_key_value': self.generate_ssh_keys() }) - create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-namespace-resources --generate-ssh-keys' + create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-namespace-resources --ssh-key-value={ssh_key_value}' self.cmd(create_cmd) print("Cluster created, sleeping for 60 seconds") sleep(60) # Sleep for 60 seconds to allow hydration of namespaces From 8c666624a1d2f766b8529bec6d107e2b42d5f7e2 Mon Sep 17 00:00:00 2001 From: KarthikK123 Date: Thu, 19 May 2022 09:09:00 +0000 Subject: [PATCH 32/52] Updated test recordings --- ...est_aks_create_with_namespace_enabled.yaml | 224 ++++++---- ...ks_get_credentials_at_namespace_scope.yaml | 422 ++++-------------- .../test_aks_update_enable_namespace.yaml | 282 ++++++------ 3 files changed, 372 insertions(+), 556 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml index 1b0f5c728ec..81809510dfe 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T00:43:08Z","Created":"20220519"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T06:47:59Z","Created":"20220519"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 May 2022 00:43:11 GMT + - Thu, 19 May 2022 06:48:00 GMT expires: - '-1' pragma: @@ -43,19 +43,20 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest5lsmmize3-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestvvpq6orzg-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "enableNamespaceResources": - true, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": - "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "disableLocalAccounts": false, "storageProfile": {}}}' + "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, "enableNamespaceResources": true, "networkProfile": {"networkPlugin": + "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": + "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", + "loadBalancerSku": "standard"}, "disableLocalAccounts": false, "storageProfile": + {}}}' headers: Accept: - application/json @@ -66,11 +67,11 @@ interactions: Connection: - keep-alive Content-Length: - - '1441' + - '1804' Content-Type: - application/json ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) @@ -83,8 +84,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitest5lsmmize3-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest5lsmmize3-1bfbb5-deab0171.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest5lsmmize3-1bfbb5-deab0171.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestvvpq6orzg-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestvvpq6orzg-1bfbb5-ecb29bb5.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestvvpq6orzg-1bfbb5-ecb29bb5.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -97,34 +98,34 @@ interactions: \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\": - {},\n \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n - \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + 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 \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {},\n \"enableNamespaceResources\": true,\n + \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3078' + - '3441' content-type: - application/json date: - - Thu, 19 May 2022 00:43:19 GMT + - Thu, 19 May 2022 06:48:08 GMT expires: - '-1' pragma: @@ -152,16 +153,64 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Thu, 19 May 2022 06:48:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05101a2c-a169-4643-b48f-fc8869a95400\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:43:19.76Z\"\n }" + string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\"\n }" headers: cache-control: - no-cache @@ -170,7 +219,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:43:50 GMT + - Thu, 19 May 2022 06:49:09 GMT expires: - '-1' pragma: @@ -200,16 +249,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05101a2c-a169-4643-b48f-fc8869a95400\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:43:19.76Z\"\n }" + string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\"\n }" headers: cache-control: - no-cache @@ -218,7 +267,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:44:20 GMT + - Thu, 19 May 2022 06:49:38 GMT expires: - '-1' pragma: @@ -248,16 +297,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05101a2c-a169-4643-b48f-fc8869a95400\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:43:19.76Z\"\n }" + string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\"\n }" headers: cache-control: - no-cache @@ -266,7 +315,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:44:50 GMT + - Thu, 19 May 2022 06:50:08 GMT expires: - '-1' pragma: @@ -296,16 +345,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05101a2c-a169-4643-b48f-fc8869a95400\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:43:19.76Z\"\n }" + string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\"\n }" headers: cache-control: - no-cache @@ -314,7 +363,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:45:20 GMT + - Thu, 19 May 2022 06:50:38 GMT expires: - '-1' pragma: @@ -344,16 +393,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05101a2c-a169-4643-b48f-fc8869a95400\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:43:19.76Z\"\n }" + string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\"\n }" headers: cache-control: - no-cache @@ -362,7 +411,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:45:50 GMT + - Thu, 19 May 2022 06:51:09 GMT expires: - '-1' pragma: @@ -392,16 +441,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05101a2c-a169-4643-b48f-fc8869a95400\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:43:19.76Z\"\n }" + string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\"\n }" headers: cache-control: - no-cache @@ -410,7 +459,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:46:21 GMT + - Thu, 19 May 2022 06:51:39 GMT expires: - '-1' pragma: @@ -440,16 +489,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05101a2c-a169-4643-b48f-fc8869a95400\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T00:43:19.76Z\"\n }" + string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\"\n }" headers: cache-control: - no-cache @@ -458,7 +507,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:46:50 GMT + - Thu, 19 May 2022 06:52:09 GMT expires: - '-1' pragma: @@ -488,17 +537,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/2c1a1005-69a1-4346-b48f-fc8869a95400?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"05101a2c-a169-4643-b48f-fc8869a95400\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-19T00:43:19.76Z\",\n \"endTime\": - \"2022-05-19T00:47:15.7387917Z\"\n }" + string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\",\n \"endTime\": + \"2022-05-19T06:52:20.1407901Z\"\n }" headers: cache-control: - no-cache @@ -507,7 +556,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 00:47:21 GMT + - Thu, 19 May 2022 06:52:39 GMT expires: - '-1' pragma: @@ -537,7 +586,7 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) @@ -550,8 +599,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitest5lsmmize3-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest5lsmmize3-1bfbb5-deab0171.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest5lsmmize3-1bfbb5-deab0171.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestvvpq6orzg-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestvvpq6orzg-1bfbb5-ecb29bb5.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestvvpq6orzg-1bfbb5-ecb29bb5.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -564,13 +613,14 @@ interactions: \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"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/adff5444-b465-4c83-8e23-a891f19addab\"\n + 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 \"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/16fa5eb3-04a3-47b1-ba34-b162939d74de\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -589,11 +639,11 @@ interactions: cache-control: - no-cache content-length: - - '3731' + - '4094' content-type: - application/json date: - - Thu, 19 May 2022 00:47:21 GMT + - Thu, 19 May 2022 06:52:40 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml index bd94701ef32..b2673b2590f 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T01:07:05Z","Created":"20220519"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T07:19:45Z","Created":"20220519"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 May 2022 01:07:07 GMT + - Thu, 19 May 2022 07:19:47 GMT expires: - '-1' pragma: @@ -43,19 +43,20 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestuu6cxpbbb-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesth7egpbgtw-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "enableNamespaceResources": - true, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": - "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "disableLocalAccounts": false, "storageProfile": {}}}' + "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, "enableNamespaceResources": true, "networkProfile": {"networkPlugin": + "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": + "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", + "loadBalancerSku": "standard"}, "disableLocalAccounts": false, "storageProfile": + {}}}' headers: Accept: - application/json @@ -66,11 +67,11 @@ interactions: Connection: - keep-alive Content-Length: - - '1441' + - '1804' Content-Type: - application/json ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) @@ -83,8 +84,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestuu6cxpbbb-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestuu6cxpbbb-1bfbb5-1a629010.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestuu6cxpbbb-1bfbb5-1a629010.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitesth7egpbgtw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesth7egpbgtw-1bfbb5-5179a5c4.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesth7egpbgtw-1bfbb5-5179a5c4.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -97,34 +98,34 @@ interactions: \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\": - {},\n \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n - \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + 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 \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {},\n \"enableNamespaceResources\": true,\n + \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": + {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0136ebc5-c382-499e-8a9c-9b3206081bb2?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3078' + - '3441' content-type: - application/json date: - - Thu, 19 May 2022 01:07:15 GMT + - Thu, 19 May 2022 07:19:55 GMT expires: - '-1' pragma: @@ -152,265 +153,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 19 May 2022 01:07:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 19 May 2022 01:08:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 19 May 2022 01:08:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 19 May 2022 01:09:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 19 May 2022 01:09:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0136ebc5-c382-499e-8a9c-9b3206081bb2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" + string: "{\n \"name\": \"c5eb3601-82c3-9e49-8a9c-9b3206081bb2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T07:19:54.66Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 May 2022 01:10:16 GMT + - Thu, 19 May 2022 07:20:24 GMT expires: - '-1' pragma: @@ -440,25 +201,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0136ebc5-c382-499e-8a9c-9b3206081bb2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" + string: "{\n \"name\": \"c5eb3601-82c3-9e49-8a9c-9b3206081bb2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T07:19:54.66Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 May 2022 01:10:46 GMT + - Thu, 19 May 2022 07:20:55 GMT expires: - '-1' pragma: @@ -488,25 +249,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0136ebc5-c382-499e-8a9c-9b3206081bb2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" + string: "{\n \"name\": \"c5eb3601-82c3-9e49-8a9c-9b3206081bb2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T07:19:54.66Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 May 2022 01:11:17 GMT + - Thu, 19 May 2022 07:21:25 GMT expires: - '-1' pragma: @@ -536,25 +297,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0136ebc5-c382-499e-8a9c-9b3206081bb2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" + string: "{\n \"name\": \"c5eb3601-82c3-9e49-8a9c-9b3206081bb2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T07:19:54.66Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 May 2022 01:11:47 GMT + - Thu, 19 May 2022 07:21:54 GMT expires: - '-1' pragma: @@ -584,25 +345,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0136ebc5-c382-499e-8a9c-9b3206081bb2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" + string: "{\n \"name\": \"c5eb3601-82c3-9e49-8a9c-9b3206081bb2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T07:19:54.66Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 May 2022 01:12:17 GMT + - Thu, 19 May 2022 07:22:25 GMT expires: - '-1' pragma: @@ -632,25 +393,25 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0136ebc5-c382-499e-8a9c-9b3206081bb2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\"\n }" + string: "{\n \"name\": \"c5eb3601-82c3-9e49-8a9c-9b3206081bb2\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T07:19:54.66Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 19 May 2022 01:12:47 GMT + - Thu, 19 May 2022 07:22:55 GMT expires: - '-1' pragma: @@ -680,26 +441,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/b8b942a0-ce47-4729-8919-d3dfc2e23d11?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0136ebc5-c382-499e-8a9c-9b3206081bb2?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"a042b9b8-47ce-2947-8919-d3dfc2e23d11\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-19T01:07:15.2733333Z\",\n \"endTime\": - \"2022-05-19T01:13:12.6796718Z\"\n }" + string: "{\n \"name\": \"c5eb3601-82c3-9e49-8a9c-9b3206081bb2\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-19T07:19:54.66Z\",\n \"endTime\": + \"2022-05-19T07:23:21.7415121Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Thu, 19 May 2022 01:13:18 GMT + - Thu, 19 May 2022 07:23:25 GMT expires: - '-1' pragma: @@ -729,7 +490,7 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources --generate-ssh-keys + - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) @@ -742,8 +503,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestuu6cxpbbb-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestuu6cxpbbb-1bfbb5-1a629010.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestuu6cxpbbb-1bfbb5-1a629010.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitesth7egpbgtw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesth7egpbgtw-1bfbb5-5179a5c4.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesth7egpbgtw-1bfbb5-5179a5c4.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -756,13 +517,14 @@ interactions: \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"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/25d2208a-f98b-4552-be5c-cf5b73b1db3a\"\n + 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 \"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/11462491-35b3-4ccb-b478-0f70debdcaf5\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -781,11 +543,11 @@ interactions: cache-control: - no-cache content-length: - - '3731' + - '4094' content-type: - application/json date: - - Thu, 19 May 2022 01:13:18 GMT + - Thu, 19 May 2022 07:23:26 GMT expires: - '-1' pragma: @@ -838,7 +600,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 May 2022 01:14:20 GMT + - Thu, 19 May 2022 07:24:27 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml index fecc1ad1723..380e1fe2d7b 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml @@ -11,14 +11,14 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T01:25:20Z","Created":"20220519"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T06:53:04Z","Created":"20220519"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 May 2022 01:25:23 GMT + - Thu, 19 May 2022 06:53:06 GMT expires: - '-1' pragma: @@ -43,19 +43,19 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesttclbkgrtc-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestwnymbmwxa-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ"}]}}, - "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": - {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", - "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": - "loadBalancer", "loadBalancerSku": "standard"}, "disableLocalAccounts": false, - "storageProfile": {}}}' + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": + false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": + "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, + "disableLocalAccounts": false, "storageProfile": {}}}' headers: Accept: - application/json @@ -66,11 +66,11 @@ interactions: Connection: - keep-alive Content-Length: - - '1407' + - '1770' Content-Type: - application/json ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) @@ -83,8 +83,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesttclbkgrtc-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestwnymbmwxa-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -97,33 +97,33 @@ interactions: \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"networkProfile\": - {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n - \ \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": - 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n \"storageProfile\": - {},\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + 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 \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": + \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": + \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": + \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": + [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n + \ },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": + {},\n \"storageProfile\": {},\n \"oidcIssuerProfile\": {\n \"enabled\": + false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3041' + - '3404' content-type: - application/json date: - - Thu, 19 May 2022 01:25:30 GMT + - Thu, 19 May 2022 06:53:13 GMT expires: - '-1' pragma: @@ -151,16 +151,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b196c449-4b6d-7f4d-b3d6-9890099aefcf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:25:30.8866666Z\"\n }" + string: "{\n \"name\": \"e73c6cff-18c7-4148-93b5-d84ed610db29\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:53:13.1633333Z\"\n }" headers: cache-control: - no-cache @@ -169,7 +169,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 01:26:00 GMT + - Thu, 19 May 2022 06:53:43 GMT expires: - '-1' pragma: @@ -199,16 +199,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b196c449-4b6d-7f4d-b3d6-9890099aefcf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:25:30.8866666Z\"\n }" + string: "{\n \"name\": \"e73c6cff-18c7-4148-93b5-d84ed610db29\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:53:13.1633333Z\"\n }" headers: cache-control: - no-cache @@ -217,7 +217,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 01:26:30 GMT + - Thu, 19 May 2022 06:54:14 GMT expires: - '-1' pragma: @@ -247,16 +247,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b196c449-4b6d-7f4d-b3d6-9890099aefcf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:25:30.8866666Z\"\n }" + string: "{\n \"name\": \"e73c6cff-18c7-4148-93b5-d84ed610db29\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:53:13.1633333Z\"\n }" headers: cache-control: - no-cache @@ -265,7 +265,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 01:27:01 GMT + - Thu, 19 May 2022 06:54:44 GMT expires: - '-1' pragma: @@ -295,16 +295,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b196c449-4b6d-7f4d-b3d6-9890099aefcf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:25:30.8866666Z\"\n }" + string: "{\n \"name\": \"e73c6cff-18c7-4148-93b5-d84ed610db29\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:53:13.1633333Z\"\n }" headers: cache-control: - no-cache @@ -313,7 +313,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 01:27:31 GMT + - Thu, 19 May 2022 06:55:14 GMT expires: - '-1' pragma: @@ -343,16 +343,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b196c449-4b6d-7f4d-b3d6-9890099aefcf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:25:30.8866666Z\"\n }" + string: "{\n \"name\": \"e73c6cff-18c7-4148-93b5-d84ed610db29\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:53:13.1633333Z\"\n }" headers: cache-control: - no-cache @@ -361,7 +361,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 01:28:01 GMT + - Thu, 19 May 2022 06:55:43 GMT expires: - '-1' pragma: @@ -391,16 +391,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b196c449-4b6d-7f4d-b3d6-9890099aefcf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:25:30.8866666Z\"\n }" + string: "{\n \"name\": \"e73c6cff-18c7-4148-93b5-d84ed610db29\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:53:13.1633333Z\"\n }" headers: cache-control: - no-cache @@ -409,7 +409,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 01:28:31 GMT + - Thu, 19 May 2022 06:56:13 GMT expires: - '-1' pragma: @@ -439,16 +439,16 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b196c449-4b6d-7f4d-b3d6-9890099aefcf\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:25:30.8866666Z\"\n }" + string: "{\n \"name\": \"e73c6cff-18c7-4148-93b5-d84ed610db29\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:53:13.1633333Z\"\n }" headers: cache-control: - no-cache @@ -457,7 +457,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 01:29:02 GMT + - Thu, 19 May 2022 06:56:43 GMT expires: - '-1' pragma: @@ -487,17 +487,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/49c496b1-6d4b-4d7f-b3d6-9890099aefcf?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"b196c449-4b6d-7f4d-b3d6-9890099aefcf\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-19T01:25:30.8866666Z\",\n \"endTime\": - \"2022-05-19T01:29:16.4420409Z\"\n }" + string: "{\n \"name\": \"e73c6cff-18c7-4148-93b5-d84ed610db29\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-19T06:53:13.1633333Z\",\n \"endTime\": + \"2022-05-19T06:56:55.5694406Z\"\n }" headers: cache-control: - no-cache @@ -506,7 +506,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 01:29:32 GMT + - Thu, 19 May 2022 06:57:14 GMT expires: - '-1' pragma: @@ -536,7 +536,7 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --generate-ssh-keys + - --resource-group --name --ssh-key-value User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) @@ -549,8 +549,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesttclbkgrtc-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestwnymbmwxa-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -563,13 +563,14 @@ interactions: \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"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/765b6d4d-33dc-4df2-8a8f-cbe9d1ed834c\"\n + 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 \"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/dbbfb492-f262-4f61-af96-b43d8a3db767\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -587,11 +588,11 @@ interactions: cache-control: - no-cache content-length: - - '3694' + - '4057' content-type: - application/json date: - - Thu, 19 May 2022 01:29:32 GMT + - Thu, 19 May 2022 06:57:15 GMT expires: - '-1' pragma: @@ -634,8 +635,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesttclbkgrtc-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestwnymbmwxa-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -648,13 +649,14 @@ interactions: \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"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/765b6d4d-33dc-4df2-8a8f-cbe9d1ed834c\"\n + 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 \"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/dbbfb492-f262-4f61-af96-b43d8a3db767\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -672,11 +674,11 @@ interactions: cache-control: - no-cache content-length: - - '3694' + - '4057' content-type: - application/json date: - - Thu, 19 May 2022 01:29:35 GMT + - Thu, 19 May 2022 06:57:16 GMT expires: - '-1' pragma: @@ -697,21 +699,21 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.22.6", "dnsPrefix": - "cliakstest-clitesttclbkgrtc-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestwnymbmwxa-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.22.6", "powerState": {"code": "Running"}, "enableNodePublicIP": false, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ"}]}}, - "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": true, "enablePodSecurityPolicy": false, "enableNamespaceResources": true, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/765b6d4d-33dc-4df2-8a8f-cbe9d1ed834c"}]}, + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/dbbfb492-f262-4f61-af96-b43d8a3db767"}]}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -726,7 +728,7 @@ interactions: Connection: - keep-alive Content-Length: - - '2472' + - '2835' Content-Type: - application/json ParameterSetName: @@ -743,8 +745,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesttclbkgrtc-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestwnymbmwxa-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -757,13 +759,14 @@ interactions: \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"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/765b6d4d-33dc-4df2-8a8f-cbe9d1ed834c\"\n + 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 \"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/dbbfb492-f262-4f61-af96-b43d8a3db767\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -780,15 +783,15 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/406400d8-9ff7-46b6-b3f6-4eb52f50b784?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3e2acc43-81e9-4426-9170-99a610f7de21?api-version=2016-03-30 cache-control: - no-cache content-length: - - '3729' + - '4092' content-type: - application/json date: - - Thu, 19 May 2022 01:29:40 GMT + - Thu, 19 May 2022 06:57:21 GMT expires: - '-1' pragma: @@ -825,20 +828,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/406400d8-9ff7-46b6-b3f6-4eb52f50b784?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3e2acc43-81e9-4426-9170-99a610f7de21?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d8006440-f79f-b646-b3f6-4eb52f50b784\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:29:39.2Z\"\n }" + string: "{\n \"name\": \"43cc2a3e-e981-2644-9170-99a610f7de21\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:57:20.5433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Thu, 19 May 2022 01:30:10 GMT + - Thu, 19 May 2022 06:57:51 GMT expires: - '-1' pragma: @@ -873,20 +876,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/406400d8-9ff7-46b6-b3f6-4eb52f50b784?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3e2acc43-81e9-4426-9170-99a610f7de21?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d8006440-f79f-b646-b3f6-4eb52f50b784\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T01:29:39.2Z\"\n }" + string: "{\n \"name\": \"43cc2a3e-e981-2644-9170-99a610f7de21\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-19T06:57:20.5433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '120' + - '126' content-type: - application/json date: - - Thu, 19 May 2022 01:30:40 GMT + - Thu, 19 May 2022 06:58:21 GMT expires: - '-1' pragma: @@ -921,21 +924,21 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/406400d8-9ff7-46b6-b3f6-4eb52f50b784?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3e2acc43-81e9-4426-9170-99a610f7de21?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"d8006440-f79f-b646-b3f6-4eb52f50b784\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-19T01:29:39.2Z\",\n \"endTime\": - \"2022-05-19T01:30:52.816161Z\"\n }" + string: "{\n \"name\": \"43cc2a3e-e981-2644-9170-99a610f7de21\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-19T06:57:20.5433333Z\",\n \"endTime\": + \"2022-05-19T06:58:45.1524395Z\"\n }" headers: cache-control: - no-cache content-length: - - '163' + - '170' content-type: - application/json date: - - Thu, 19 May 2022 01:31:10 GMT + - Thu, 19 May 2022 06:58:52 GMT expires: - '-1' pragma: @@ -978,8 +981,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesttclbkgrtc-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesttclbkgrtc-1bfbb5-fdf5f433.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestwnymbmwxa-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -992,13 +995,14 @@ interactions: \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAABAQDlTOQb3iBkpZt33jpe/yQ4Pp4kfJW+qfFLKrRz7VrF/wGMbV8jhgyltyliS2V3kbbxWEjbi5JysoYZeQKjYxRuis7wcd10XawXGqlfzlHrFNFE1C18bEUogzSNGOZcSaKuu/2cUIqUfO4lxSMdROTwFeAlK4gxFYTRNyggGCKmo0+7vJgwZR9n6kRRClgA3qhpnd48W6qC3rFusZKj2BxWchd4IZLL2TnZE0ZMwgPGR+mSRyDdOuE0/aSOg9xwrTdAES1aPm0fJTyFBBTPgHKtdmjMCSadBpyj77WJdmtu+sP2aRzlxnAbYml/DX0S+I3O6GPicKlTC56qwfBCN4vJ\"\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 \"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/765b6d4d-33dc-4df2-8a8f-cbe9d1ed834c\"\n + 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 \"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/dbbfb492-f262-4f61-af96-b43d8a3db767\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -1017,11 +1021,11 @@ interactions: cache-control: - no-cache content-length: - - '3731' + - '4094' content-type: - application/json date: - - Thu, 19 May 2022 01:31:11 GMT + - Thu, 19 May 2022 06:58:52 GMT expires: - '-1' pragma: From e628697253e1c40eb53b1edbfd7099229082051f Mon Sep 17 00:00:00 2001 From: KarthikK123 Date: Fri, 20 May 2022 06:53:39 +0000 Subject: [PATCH 33/52] Updated test recordings --- ...est_aks_create_with_namespace_enabled.yaml | 96 ++++----- ...ks_get_credentials_at_namespace_scope.yaml | 130 +++++++++---- .../test_aks_update_enable_namespace.yaml | 184 +++++++----------- 3 files changed, 205 insertions(+), 205 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml index 81809510dfe..4f4181ff885 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T06:47:59Z","Created":"20220519"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-20T06:07:08Z","Created":"20220520"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 May 2022 06:48:00 GMT + - Fri, 20 May 2022 06:07:10 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestvvpq6orzg-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest6oi47eixs-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -84,8 +84,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestvvpq6orzg-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestvvpq6orzg-1bfbb5-ecb29bb5.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestvvpq6orzg-1bfbb5-ecb29bb5.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitest6oi47eixs-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest6oi47eixs-1bfbb5-278e1e21.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest6oi47eixs-1bfbb5-278e1e21.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -117,7 +117,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -125,7 +125,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:48:08 GMT + - Fri, 20 May 2022 06:07:18 GMT expires: - '-1' pragma: @@ -158,11 +158,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\"\n }" + string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\"\n }" headers: cache-control: - no-cache @@ -171,7 +171,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:48:38 GMT + - Fri, 20 May 2022 06:07:47 GMT expires: - '-1' pragma: @@ -206,11 +206,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\"\n }" + string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\"\n }" headers: cache-control: - no-cache @@ -219,7 +219,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:49:09 GMT + - Fri, 20 May 2022 06:08:18 GMT expires: - '-1' pragma: @@ -254,11 +254,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\"\n }" + string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\"\n }" headers: cache-control: - no-cache @@ -267,7 +267,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:49:38 GMT + - Fri, 20 May 2022 06:08:48 GMT expires: - '-1' pragma: @@ -302,11 +302,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\"\n }" + string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\"\n }" headers: cache-control: - no-cache @@ -315,7 +315,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:50:08 GMT + - Fri, 20 May 2022 06:09:19 GMT expires: - '-1' pragma: @@ -350,11 +350,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\"\n }" + string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\"\n }" headers: cache-control: - no-cache @@ -363,7 +363,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:50:38 GMT + - Fri, 20 May 2022 06:09:49 GMT expires: - '-1' pragma: @@ -398,11 +398,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\"\n }" + string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\"\n }" headers: cache-control: - no-cache @@ -411,7 +411,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:51:09 GMT + - Fri, 20 May 2022 06:10:19 GMT expires: - '-1' pragma: @@ -446,11 +446,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\"\n }" + string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\"\n }" headers: cache-control: - no-cache @@ -459,7 +459,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:51:39 GMT + - Fri, 20 May 2022 06:10:48 GMT expires: - '-1' pragma: @@ -494,11 +494,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\"\n }" + string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\"\n }" headers: cache-control: - no-cache @@ -507,7 +507,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:52:09 GMT + - Fri, 20 May 2022 06:11:19 GMT expires: - '-1' pragma: @@ -542,12 +542,12 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/89ec464d-5b3c-43c7-a0c8-4c5db652bca3?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"4d46ec89-3c5b-c743-a0c8-4c5db652bca3\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-19T06:48:08.36Z\",\n \"endTime\": - \"2022-05-19T06:52:20.1407901Z\"\n }" + string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\",\n \"endTime\": + \"2022-05-20T06:11:30.2365187Z\"\n }" headers: cache-control: - no-cache @@ -556,7 +556,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:52:39 GMT + - Fri, 20 May 2022 06:11:49 GMT expires: - '-1' pragma: @@ -599,8 +599,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestvvpq6orzg-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestvvpq6orzg-1bfbb5-ecb29bb5.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestvvpq6orzg-1bfbb5-ecb29bb5.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitest6oi47eixs-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest6oi47eixs-1bfbb5-278e1e21.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest6oi47eixs-1bfbb5-278e1e21.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -620,7 +620,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/16fa5eb3-04a3-47b1-ba34-b162939d74de\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/c4b5a572-45f1-4b46-a628-c3d9e013ea43\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -643,7 +643,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:52:40 GMT + - Fri, 20 May 2022 06:11:50 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml index b2673b2590f..2132160a6d2 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T07:19:45Z","Created":"20220519"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-20T06:43:42Z","Created":"20220520"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 May 2022 07:19:47 GMT + - Fri, 20 May 2022 06:43:43 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesth7egpbgtw-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestvzuw67lqm-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -84,8 +84,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesth7egpbgtw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesth7egpbgtw-1bfbb5-5179a5c4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesth7egpbgtw-1bfbb5-5179a5c4.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestvzuw67lqm-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestvzuw67lqm-1bfbb5-0b260f3b.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestvzuw67lqm-1bfbb5-0b260f3b.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -117,7 +117,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/0136ebc5-c382-499e-8a9c-9b3206081bb2?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -125,7 +125,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 07:19:55 GMT + - Fri, 20 May 2022 06:43:53 GMT expires: - '-1' pragma: @@ -158,11 +158,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/0136ebc5-c382-499e-8a9c-9b3206081bb2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c5eb3601-82c3-9e49-8a9c-9b3206081bb2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T07:19:54.66Z\"\n }" + string: "{\n \"name\": \"e887539d-5492-3f44-abfa-55ee8c3e1d81\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:43:52.84Z\"\n }" headers: cache-control: - no-cache @@ -171,7 +171,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 07:20:24 GMT + - Fri, 20 May 2022 06:44:23 GMT expires: - '-1' pragma: @@ -206,11 +206,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/0136ebc5-c382-499e-8a9c-9b3206081bb2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c5eb3601-82c3-9e49-8a9c-9b3206081bb2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T07:19:54.66Z\"\n }" + string: "{\n \"name\": \"e887539d-5492-3f44-abfa-55ee8c3e1d81\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:43:52.84Z\"\n }" headers: cache-control: - no-cache @@ -219,7 +219,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 07:20:55 GMT + - Fri, 20 May 2022 06:44:53 GMT expires: - '-1' pragma: @@ -254,11 +254,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/0136ebc5-c382-499e-8a9c-9b3206081bb2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c5eb3601-82c3-9e49-8a9c-9b3206081bb2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T07:19:54.66Z\"\n }" + string: "{\n \"name\": \"e887539d-5492-3f44-abfa-55ee8c3e1d81\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:43:52.84Z\"\n }" headers: cache-control: - no-cache @@ -267,7 +267,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 07:21:25 GMT + - Fri, 20 May 2022 06:45:23 GMT expires: - '-1' pragma: @@ -302,11 +302,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/0136ebc5-c382-499e-8a9c-9b3206081bb2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c5eb3601-82c3-9e49-8a9c-9b3206081bb2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T07:19:54.66Z\"\n }" + string: "{\n \"name\": \"e887539d-5492-3f44-abfa-55ee8c3e1d81\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:43:52.84Z\"\n }" headers: cache-control: - no-cache @@ -315,7 +315,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 07:21:54 GMT + - Fri, 20 May 2022 06:45:53 GMT expires: - '-1' pragma: @@ -350,11 +350,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/0136ebc5-c382-499e-8a9c-9b3206081bb2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c5eb3601-82c3-9e49-8a9c-9b3206081bb2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T07:19:54.66Z\"\n }" + string: "{\n \"name\": \"e887539d-5492-3f44-abfa-55ee8c3e1d81\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:43:52.84Z\"\n }" headers: cache-control: - no-cache @@ -363,7 +363,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 07:22:25 GMT + - Fri, 20 May 2022 06:46:23 GMT expires: - '-1' pragma: @@ -398,11 +398,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/0136ebc5-c382-499e-8a9c-9b3206081bb2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c5eb3601-82c3-9e49-8a9c-9b3206081bb2\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T07:19:54.66Z\"\n }" + string: "{\n \"name\": \"e887539d-5492-3f44-abfa-55ee8c3e1d81\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:43:52.84Z\"\n }" headers: cache-control: - no-cache @@ -411,7 +411,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 07:22:55 GMT + - Fri, 20 May 2022 06:46:53 GMT expires: - '-1' pragma: @@ -446,12 +446,60 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/0136ebc5-c382-499e-8a9c-9b3206081bb2?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"c5eb3601-82c3-9e49-8a9c-9b3206081bb2\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-19T07:19:54.66Z\",\n \"endTime\": - \"2022-05-19T07:23:21.7415121Z\"\n }" + string: "{\n \"name\": \"e887539d-5492-3f44-abfa-55ee8c3e1d81\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:43:52.84Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Fri, 20 May 2022 06:47:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --ssh-key-value + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"e887539d-5492-3f44-abfa-55ee8c3e1d81\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-20T06:43:52.84Z\",\n \"endTime\": + \"2022-05-20T06:47:36.3963188Z\"\n }" headers: cache-control: - no-cache @@ -460,7 +508,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 07:23:25 GMT + - Fri, 20 May 2022 06:47:53 GMT expires: - '-1' pragma: @@ -503,8 +551,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesth7egpbgtw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesth7egpbgtw-1bfbb5-5179a5c4.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesth7egpbgtw-1bfbb5-5179a5c4.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestvzuw67lqm-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestvzuw67lqm-1bfbb5-0b260f3b.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestvzuw67lqm-1bfbb5-0b260f3b.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -524,7 +572,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/11462491-35b3-4ccb-b478-0f70debdcaf5\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/4a5da07e-21ae-424c-945a-b1fd29f6054a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -547,7 +595,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 07:23:26 GMT + - Fri, 20 May 2022 06:47:54 GMT expires: - '-1' pragma: @@ -600,7 +648,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 May 2022 07:24:27 GMT + - Fri, 20 May 2022 06:48:56 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml index 380e1fe2d7b..352dc7cb60a 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T06:53:04Z","Created":"20220519"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-20T06:12:16Z","Created":"20220520"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 19 May 2022 06:53:06 GMT + - Fri, 20 May 2022 06:12:17 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestwnymbmwxa-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestafvtrkkfi-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -83,8 +83,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestwnymbmwxa-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestafvtrkkfi-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -115,7 +115,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7acfeae8-552c-4490-ac30-54fcb1ab162c?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -123,7 +123,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:53:13 GMT + - Fri, 20 May 2022 06:12:26 GMT expires: - '-1' pragma: @@ -156,11 +156,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7acfeae8-552c-4490-ac30-54fcb1ab162c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e73c6cff-18c7-4148-93b5-d84ed610db29\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:53:13.1633333Z\"\n }" + string: "{\n \"name\": \"e8eacf7a-2c55-9044-ac30-54fcb1ab162c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:12:26.7666666Z\"\n }" headers: cache-control: - no-cache @@ -169,7 +169,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:53:43 GMT + - Fri, 20 May 2022 06:12:56 GMT expires: - '-1' pragma: @@ -204,11 +204,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7acfeae8-552c-4490-ac30-54fcb1ab162c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e73c6cff-18c7-4148-93b5-d84ed610db29\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:53:13.1633333Z\"\n }" + string: "{\n \"name\": \"e8eacf7a-2c55-9044-ac30-54fcb1ab162c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:12:26.7666666Z\"\n }" headers: cache-control: - no-cache @@ -217,7 +217,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:54:14 GMT + - Fri, 20 May 2022 06:13:27 GMT expires: - '-1' pragma: @@ -252,11 +252,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7acfeae8-552c-4490-ac30-54fcb1ab162c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e73c6cff-18c7-4148-93b5-d84ed610db29\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:53:13.1633333Z\"\n }" + string: "{\n \"name\": \"e8eacf7a-2c55-9044-ac30-54fcb1ab162c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:12:26.7666666Z\"\n }" headers: cache-control: - no-cache @@ -265,7 +265,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:54:44 GMT + - Fri, 20 May 2022 06:13:57 GMT expires: - '-1' pragma: @@ -300,11 +300,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7acfeae8-552c-4490-ac30-54fcb1ab162c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e73c6cff-18c7-4148-93b5-d84ed610db29\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:53:13.1633333Z\"\n }" + string: "{\n \"name\": \"e8eacf7a-2c55-9044-ac30-54fcb1ab162c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:12:26.7666666Z\"\n }" headers: cache-control: - no-cache @@ -313,7 +313,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:55:14 GMT + - Fri, 20 May 2022 06:14:27 GMT expires: - '-1' pragma: @@ -348,11 +348,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7acfeae8-552c-4490-ac30-54fcb1ab162c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e73c6cff-18c7-4148-93b5-d84ed610db29\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:53:13.1633333Z\"\n }" + string: "{\n \"name\": \"e8eacf7a-2c55-9044-ac30-54fcb1ab162c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:12:26.7666666Z\"\n }" headers: cache-control: - no-cache @@ -361,7 +361,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:55:43 GMT + - Fri, 20 May 2022 06:14:58 GMT expires: - '-1' pragma: @@ -396,11 +396,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7acfeae8-552c-4490-ac30-54fcb1ab162c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e73c6cff-18c7-4148-93b5-d84ed610db29\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:53:13.1633333Z\"\n }" + string: "{\n \"name\": \"e8eacf7a-2c55-9044-ac30-54fcb1ab162c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:12:26.7666666Z\"\n }" headers: cache-control: - no-cache @@ -409,7 +409,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:56:13 GMT + - Fri, 20 May 2022 06:15:27 GMT expires: - '-1' pragma: @@ -444,60 +444,12 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7acfeae8-552c-4490-ac30-54fcb1ab162c?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e73c6cff-18c7-4148-93b5-d84ed610db29\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:53:13.1633333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 19 May 2022 06:56:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/ff6c3ce7-c718-4841-93b5-d84ed610db29?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"e73c6cff-18c7-4148-93b5-d84ed610db29\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-19T06:53:13.1633333Z\",\n \"endTime\": - \"2022-05-19T06:56:55.5694406Z\"\n }" + string: "{\n \"name\": \"e8eacf7a-2c55-9044-ac30-54fcb1ab162c\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-20T06:12:26.7666666Z\",\n \"endTime\": + \"2022-05-20T06:15:54.0545157Z\"\n }" headers: cache-control: - no-cache @@ -506,7 +458,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:57:14 GMT + - Fri, 20 May 2022 06:15:57 GMT expires: - '-1' pragma: @@ -549,8 +501,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestwnymbmwxa-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestafvtrkkfi-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -570,7 +522,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/dbbfb492-f262-4f61-af96-b43d8a3db767\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/fe46780d-52e6-4756-9a7b-20454ef85e63\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -592,7 +544,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:57:15 GMT + - Fri, 20 May 2022 06:15:58 GMT expires: - '-1' pragma: @@ -635,8 +587,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestwnymbmwxa-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestafvtrkkfi-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -656,7 +608,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/dbbfb492-f262-4f61-af96-b43d8a3db767\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/fe46780d-52e6-4756-9a7b-20454ef85e63\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -678,7 +630,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:57:16 GMT + - Fri, 20 May 2022 06:15:59 GMT expires: - '-1' pragma: @@ -699,7 +651,7 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.22.6", "dnsPrefix": - "cliakstest-clitestwnymbmwxa-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestafvtrkkfi-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", @@ -713,7 +665,7 @@ interactions: {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/dbbfb492-f262-4f61-af96-b43d8a3db767"}]}, + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/fe46780d-52e6-4756-9a7b-20454ef85e63"}]}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -745,8 +697,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestwnymbmwxa-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestafvtrkkfi-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -766,7 +718,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/dbbfb492-f262-4f61-af96-b43d8a3db767\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/fe46780d-52e6-4756-9a7b-20454ef85e63\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -783,7 +735,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/3e2acc43-81e9-4426-9170-99a610f7de21?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7dd391bc-25bc-4701-8745-27141650a0ba?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -791,7 +743,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:57:21 GMT + - Fri, 20 May 2022 06:16:04 GMT expires: - '-1' pragma: @@ -828,11 +780,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/3e2acc43-81e9-4426-9170-99a610f7de21?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7dd391bc-25bc-4701-8745-27141650a0ba?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"43cc2a3e-e981-2644-9170-99a610f7de21\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:57:20.5433333Z\"\n }" + string: "{\n \"name\": \"bc91d37d-bc25-0147-8745-27141650a0ba\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:16:03.9733333Z\"\n }" headers: cache-control: - no-cache @@ -841,7 +793,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:57:51 GMT + - Fri, 20 May 2022 06:16:34 GMT expires: - '-1' pragma: @@ -876,11 +828,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/3e2acc43-81e9-4426-9170-99a610f7de21?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7dd391bc-25bc-4701-8745-27141650a0ba?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"43cc2a3e-e981-2644-9170-99a610f7de21\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-19T06:57:20.5433333Z\"\n }" + string: "{\n \"name\": \"bc91d37d-bc25-0147-8745-27141650a0ba\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T06:16:03.9733333Z\"\n }" headers: cache-control: - no-cache @@ -889,7 +841,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:58:21 GMT + - Fri, 20 May 2022 06:17:05 GMT expires: - '-1' pragma: @@ -924,12 +876,12 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/3e2acc43-81e9-4426-9170-99a610f7de21?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7dd391bc-25bc-4701-8745-27141650a0ba?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"43cc2a3e-e981-2644-9170-99a610f7de21\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-19T06:57:20.5433333Z\",\n \"endTime\": - \"2022-05-19T06:58:45.1524395Z\"\n }" + string: "{\n \"name\": \"bc91d37d-bc25-0147-8745-27141650a0ba\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-20T06:16:03.9733333Z\",\n \"endTime\": + \"2022-05-20T06:17:17.9376755Z\"\n }" headers: cache-control: - no-cache @@ -938,7 +890,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:58:52 GMT + - Fri, 20 May 2022 06:17:35 GMT expires: - '-1' pragma: @@ -981,8 +933,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestwnymbmwxa-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestwnymbmwxa-1bfbb5-40ef1fcc.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestafvtrkkfi-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -1002,7 +954,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/dbbfb492-f262-4f61-af96-b43d8a3db767\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/fe46780d-52e6-4756-9a7b-20454ef85e63\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -1025,7 +977,7 @@ interactions: content-type: - application/json date: - - Thu, 19 May 2022 06:58:52 GMT + - Fri, 20 May 2022 06:17:35 GMT expires: - '-1' pragma: From fc3482b63534476b42d760ce3d8f008273e84b3e Mon Sep 17 00:00:00 2001 From: KarthikK123 Date: Fri, 20 May 2022 09:16:05 +0000 Subject: [PATCH 34/52] Updated test recordings --- ...est_aks_create_with_namespace_enabled.yaml | 152 ++---- ...ks_get_credentials_at_namespace_scope.yaml | 130 ++--- .../test_aks_update_enable_namespace.yaml | 478 +++++++++++++++--- 3 files changed, 500 insertions(+), 260 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml index 4f4181ff885..2101c2958e5 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-20T06:07:08Z","Created":"20220520"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-20T08:36:03Z","Created":"20220520"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 May 2022 06:07:10 GMT + - Fri, 20 May 2022 08:36:05 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest6oi47eixs-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestr54wcpuha-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -84,8 +84,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitest6oi47eixs-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest6oi47eixs-1bfbb5-278e1e21.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest6oi47eixs-1bfbb5-278e1e21.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestr54wcpuha-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestr54wcpuha-1bfbb5-7ce38705.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestr54wcpuha-1bfbb5-7ce38705.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -117,7 +117,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -125,7 +125,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:07:18 GMT + - Fri, 20 May 2022 08:36:14 GMT expires: - '-1' pragma: @@ -158,20 +158,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\"\n }" + string: "{\n \"name\": \"90ba1d70-b23d-dd46-b094-c1f3aefa24ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:36:14.1133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 May 2022 06:07:47 GMT + - Fri, 20 May 2022 08:36:44 GMT expires: - '-1' pragma: @@ -206,20 +206,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\"\n }" + string: "{\n \"name\": \"90ba1d70-b23d-dd46-b094-c1f3aefa24ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:36:14.1133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 May 2022 06:08:18 GMT + - Fri, 20 May 2022 08:37:14 GMT expires: - '-1' pragma: @@ -254,20 +254,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\"\n }" + string: "{\n \"name\": \"90ba1d70-b23d-dd46-b094-c1f3aefa24ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:36:14.1133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 May 2022 06:08:48 GMT + - Fri, 20 May 2022 08:37:44 GMT expires: - '-1' pragma: @@ -302,20 +302,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\"\n }" + string: "{\n \"name\": \"90ba1d70-b23d-dd46-b094-c1f3aefa24ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:36:14.1133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 May 2022 06:09:19 GMT + - Fri, 20 May 2022 08:38:15 GMT expires: - '-1' pragma: @@ -350,20 +350,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\"\n }" + string: "{\n \"name\": \"90ba1d70-b23d-dd46-b094-c1f3aefa24ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:36:14.1133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 May 2022 06:09:49 GMT + - Fri, 20 May 2022 08:38:45 GMT expires: - '-1' pragma: @@ -398,20 +398,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\"\n }" + string: "{\n \"name\": \"90ba1d70-b23d-dd46-b094-c1f3aefa24ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:36:14.1133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 May 2022 06:10:19 GMT + - Fri, 20 May 2022 08:39:15 GMT expires: - '-1' pragma: @@ -446,20 +446,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\"\n }" + string: "{\n \"name\": \"90ba1d70-b23d-dd46-b094-c1f3aefa24ae\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:36:14.1133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 May 2022 06:10:48 GMT + - Fri, 20 May 2022 08:39:44 GMT expires: - '-1' pragma: @@ -494,69 +494,21 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\"\n }" + string: "{\n \"name\": \"90ba1d70-b23d-dd46-b094-c1f3aefa24ae\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-20T08:36:14.1133333Z\",\n \"endTime\": + \"2022-05-20T08:40:06.3866049Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '170' content-type: - application/json date: - - Fri, 20 May 2022 06:11:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-namespace-resources --ssh-key-value - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/396ec38c-9f66-46b7-aca1-7c988b1b622f?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"8cc36e39-669f-b746-aca1-7c988b1b622f\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-20T06:07:18.09Z\",\n \"endTime\": - \"2022-05-20T06:11:30.2365187Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '165' - content-type: - - application/json - date: - - Fri, 20 May 2022 06:11:49 GMT + - Fri, 20 May 2022 08:40:15 GMT expires: - '-1' pragma: @@ -599,8 +551,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitest6oi47eixs-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest6oi47eixs-1bfbb5-278e1e21.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest6oi47eixs-1bfbb5-278e1e21.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestr54wcpuha-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestr54wcpuha-1bfbb5-7ce38705.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestr54wcpuha-1bfbb5-7ce38705.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -620,7 +572,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/c4b5a572-45f1-4b46-a628-c3d9e013ea43\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/be3fae27-1182-4da7-8258-4e53ad9a4caf\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -643,7 +595,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:11:50 GMT + - Fri, 20 May 2022 08:40:16 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml index 2132160a6d2..dc00994cba1 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-20T06:43:42Z","Created":"20220520"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-20T09:02:34Z","Created":"20220520"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 May 2022 06:43:43 GMT + - Fri, 20 May 2022 09:02:36 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestvzuw67lqm-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestn6t2c7nrq-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -84,8 +84,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestvzuw67lqm-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestvzuw67lqm-1bfbb5-0b260f3b.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestvzuw67lqm-1bfbb5-0b260f3b.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestn6t2c7nrq-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestn6t2c7nrq-1bfbb5-ed229118.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestn6t2c7nrq-1bfbb5-ed229118.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -117,7 +117,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5a8e9781-7257-4c29-ae25-22cb0432b18b?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -125,7 +125,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:43:53 GMT + - Fri, 20 May 2022 09:02:43 GMT expires: - '-1' pragma: @@ -158,11 +158,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5a8e9781-7257-4c29-ae25-22cb0432b18b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e887539d-5492-3f44-abfa-55ee8c3e1d81\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:43:52.84Z\"\n }" + string: "{\n \"name\": \"81978e5a-5772-294c-ae25-22cb0432b18b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T09:02:43.81Z\"\n }" headers: cache-control: - no-cache @@ -171,7 +171,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:44:23 GMT + - Fri, 20 May 2022 09:03:14 GMT expires: - '-1' pragma: @@ -206,11 +206,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5a8e9781-7257-4c29-ae25-22cb0432b18b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e887539d-5492-3f44-abfa-55ee8c3e1d81\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:43:52.84Z\"\n }" + string: "{\n \"name\": \"81978e5a-5772-294c-ae25-22cb0432b18b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T09:02:43.81Z\"\n }" headers: cache-control: - no-cache @@ -219,7 +219,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:44:53 GMT + - Fri, 20 May 2022 09:03:44 GMT expires: - '-1' pragma: @@ -254,11 +254,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5a8e9781-7257-4c29-ae25-22cb0432b18b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e887539d-5492-3f44-abfa-55ee8c3e1d81\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:43:52.84Z\"\n }" + string: "{\n \"name\": \"81978e5a-5772-294c-ae25-22cb0432b18b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T09:02:43.81Z\"\n }" headers: cache-control: - no-cache @@ -267,7 +267,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:45:23 GMT + - Fri, 20 May 2022 09:04:14 GMT expires: - '-1' pragma: @@ -302,11 +302,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5a8e9781-7257-4c29-ae25-22cb0432b18b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e887539d-5492-3f44-abfa-55ee8c3e1d81\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:43:52.84Z\"\n }" + string: "{\n \"name\": \"81978e5a-5772-294c-ae25-22cb0432b18b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T09:02:43.81Z\"\n }" headers: cache-control: - no-cache @@ -315,7 +315,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:45:53 GMT + - Fri, 20 May 2022 09:04:44 GMT expires: - '-1' pragma: @@ -350,11 +350,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5a8e9781-7257-4c29-ae25-22cb0432b18b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e887539d-5492-3f44-abfa-55ee8c3e1d81\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:43:52.84Z\"\n }" + string: "{\n \"name\": \"81978e5a-5772-294c-ae25-22cb0432b18b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T09:02:43.81Z\"\n }" headers: cache-control: - no-cache @@ -363,7 +363,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:46:23 GMT + - Fri, 20 May 2022 09:05:14 GMT expires: - '-1' pragma: @@ -398,11 +398,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5a8e9781-7257-4c29-ae25-22cb0432b18b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e887539d-5492-3f44-abfa-55ee8c3e1d81\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:43:52.84Z\"\n }" + string: "{\n \"name\": \"81978e5a-5772-294c-ae25-22cb0432b18b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T09:02:43.81Z\"\n }" headers: cache-control: - no-cache @@ -411,7 +411,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:46:53 GMT + - Fri, 20 May 2022 09:05:44 GMT expires: - '-1' pragma: @@ -446,60 +446,12 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5a8e9781-7257-4c29-ae25-22cb0432b18b?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e887539d-5492-3f44-abfa-55ee8c3e1d81\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:43:52.84Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Fri, 20 May 2022 06:47:24 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-namespace-resources --ssh-key-value - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/9d5387e8-9254-443f-abfa-55ee8c3e1d81?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"e887539d-5492-3f44-abfa-55ee8c3e1d81\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-20T06:43:52.84Z\",\n \"endTime\": - \"2022-05-20T06:47:36.3963188Z\"\n }" + string: "{\n \"name\": \"81978e5a-5772-294c-ae25-22cb0432b18b\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-20T09:02:43.81Z\",\n \"endTime\": + \"2022-05-20T09:06:04.3025651Z\"\n }" headers: cache-control: - no-cache @@ -508,7 +460,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:47:53 GMT + - Fri, 20 May 2022 09:06:15 GMT expires: - '-1' pragma: @@ -551,8 +503,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestvzuw67lqm-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestvzuw67lqm-1bfbb5-0b260f3b.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestvzuw67lqm-1bfbb5-0b260f3b.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestn6t2c7nrq-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestn6t2c7nrq-1bfbb5-ed229118.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestn6t2c7nrq-1bfbb5-ed229118.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -572,7 +524,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/4a5da07e-21ae-424c-945a-b1fd29f6054a\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/a667d7c3-8a34-41c4-a59f-2fb75266709c\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -595,7 +547,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:47:54 GMT + - Fri, 20 May 2022 09:06:15 GMT expires: - '-1' pragma: @@ -648,7 +600,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 May 2022 06:48:56 GMT + - Fri, 20 May 2022 09:07:18 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml index 352dc7cb60a..78f38daa945 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-20T06:12:16Z","Created":"20220520"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-20T08:45:46Z","Created":"20220520"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 May 2022 06:12:17 GMT + - Fri, 20 May 2022 08:45:47 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestafvtrkkfi-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestcaesftzfw-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", @@ -83,8 +83,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestafvtrkkfi-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestcaesftzfw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -115,7 +115,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7acfeae8-552c-4490-ac30-54fcb1ab162c?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -123,7 +123,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:12:26 GMT + - Fri, 20 May 2022 08:45:56 GMT expires: - '-1' pragma: @@ -156,11 +156,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7acfeae8-552c-4490-ac30-54fcb1ab162c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e8eacf7a-2c55-9044-ac30-54fcb1ab162c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:12:26.7666666Z\"\n }" + string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" headers: cache-control: - no-cache @@ -169,7 +169,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:12:56 GMT + - Fri, 20 May 2022 08:46:25 GMT expires: - '-1' pragma: @@ -204,11 +204,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7acfeae8-552c-4490-ac30-54fcb1ab162c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e8eacf7a-2c55-9044-ac30-54fcb1ab162c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:12:26.7666666Z\"\n }" + string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" headers: cache-control: - no-cache @@ -217,7 +217,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:13:27 GMT + - Fri, 20 May 2022 08:46:56 GMT expires: - '-1' pragma: @@ -252,11 +252,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7acfeae8-552c-4490-ac30-54fcb1ab162c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e8eacf7a-2c55-9044-ac30-54fcb1ab162c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:12:26.7666666Z\"\n }" + string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" headers: cache-control: - no-cache @@ -265,7 +265,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:13:57 GMT + - Fri, 20 May 2022 08:47:26 GMT expires: - '-1' pragma: @@ -300,11 +300,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7acfeae8-552c-4490-ac30-54fcb1ab162c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e8eacf7a-2c55-9044-ac30-54fcb1ab162c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:12:26.7666666Z\"\n }" + string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" headers: cache-control: - no-cache @@ -313,7 +313,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:14:27 GMT + - Fri, 20 May 2022 08:47:56 GMT expires: - '-1' pragma: @@ -348,11 +348,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7acfeae8-552c-4490-ac30-54fcb1ab162c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e8eacf7a-2c55-9044-ac30-54fcb1ab162c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:12:26.7666666Z\"\n }" + string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" headers: cache-control: - no-cache @@ -361,7 +361,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:14:58 GMT + - Fri, 20 May 2022 08:48:26 GMT expires: - '-1' pragma: @@ -396,11 +396,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7acfeae8-552c-4490-ac30-54fcb1ab162c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e8eacf7a-2c55-9044-ac30-54fcb1ab162c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:12:26.7666666Z\"\n }" + string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" headers: cache-control: - no-cache @@ -409,7 +409,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:15:27 GMT + - Fri, 20 May 2022 08:48:57 GMT expires: - '-1' pragma: @@ -444,12 +444,348 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7acfeae8-552c-4490-ac30-54fcb1ab162c?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"e8eacf7a-2c55-9044-ac30-54fcb1ab162c\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-20T06:12:26.7666666Z\",\n \"endTime\": - \"2022-05-20T06:15:54.0545157Z\"\n }" + string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 20 May 2022 08:49:26 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 --ssh-key-value + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 20 May 2022 08:49:57 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 --ssh-key-value + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 20 May 2022 08:50:27 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 --ssh-key-value + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 20 May 2022 08:50:57 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 --ssh-key-value + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 20 May 2022 08:51:27 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 --ssh-key-value + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 20 May 2022 08:51:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Fri, 20 May 2022 08:52:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 + response: + body: + string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\",\n \"endTime\": + \"2022-05-20T08:52:52.3393937Z\"\n }" headers: cache-control: - no-cache @@ -458,7 +794,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:15:57 GMT + - Fri, 20 May 2022 08:52:58 GMT expires: - '-1' pragma: @@ -501,8 +837,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestafvtrkkfi-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestcaesftzfw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -522,7 +858,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/fe46780d-52e6-4756-9a7b-20454ef85e63\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/868fa464-8e87-41b9-983a-dd0a2d7ae688\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -544,7 +880,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:15:58 GMT + - Fri, 20 May 2022 08:52:58 GMT expires: - '-1' pragma: @@ -587,8 +923,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestafvtrkkfi-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestcaesftzfw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -608,7 +944,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/fe46780d-52e6-4756-9a7b-20454ef85e63\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/868fa464-8e87-41b9-983a-dd0a2d7ae688\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -630,7 +966,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:15:59 GMT + - Fri, 20 May 2022 08:53:00 GMT expires: - '-1' pragma: @@ -651,7 +987,7 @@ interactions: - request: body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.22.6", "dnsPrefix": - "cliakstest-clitestafvtrkkfi-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestcaesftzfw-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", @@ -665,7 +1001,7 @@ interactions: {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/fe46780d-52e6-4756-9a7b-20454ef85e63"}]}, + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/868fa464-8e87-41b9-983a-dd0a2d7ae688"}]}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -697,8 +1033,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestafvtrkkfi-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestcaesftzfw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -718,7 +1054,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/fe46780d-52e6-4756-9a7b-20454ef85e63\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/868fa464-8e87-41b9-983a-dd0a2d7ae688\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -735,7 +1071,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/7dd391bc-25bc-4701-8745-27141650a0ba?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d81e813d-91d8-474f-802a-a07c32f0fca1?api-version=2016-03-30 cache-control: - no-cache content-length: @@ -743,7 +1079,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:16:04 GMT + - Fri, 20 May 2022 08:53:05 GMT expires: - '-1' pragma: @@ -780,20 +1116,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7dd391bc-25bc-4701-8745-27141650a0ba?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d81e813d-91d8-474f-802a-a07c32f0fca1?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bc91d37d-bc25-0147-8745-27141650a0ba\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:16:03.9733333Z\"\n }" + string: "{\n \"name\": \"3d811ed8-d891-4f47-802a-a07c32f0fca1\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:53:04.81Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 May 2022 06:16:34 GMT + - Fri, 20 May 2022 08:53:36 GMT expires: - '-1' pragma: @@ -828,20 +1164,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7dd391bc-25bc-4701-8745-27141650a0ba?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d81e813d-91d8-474f-802a-a07c32f0fca1?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bc91d37d-bc25-0147-8745-27141650a0ba\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T06:16:03.9733333Z\"\n }" + string: "{\n \"name\": \"3d811ed8-d891-4f47-802a-a07c32f0fca1\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-05-20T08:53:04.81Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 May 2022 06:17:05 GMT + - Fri, 20 May 2022 08:54:05 GMT expires: - '-1' pragma: @@ -876,21 +1212,21 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 (Linux-5.13.0-1022-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/7dd391bc-25bc-4701-8745-27141650a0ba?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d81e813d-91d8-474f-802a-a07c32f0fca1?api-version=2016-03-30 response: body: - string: "{\n \"name\": \"bc91d37d-bc25-0147-8745-27141650a0ba\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-20T06:16:03.9733333Z\",\n \"endTime\": - \"2022-05-20T06:17:17.9376755Z\"\n }" + string: "{\n \"name\": \"3d811ed8-d891-4f47-802a-a07c32f0fca1\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-05-20T08:53:04.81Z\",\n \"endTime\": + \"2022-05-20T08:54:24.2642252Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Fri, 20 May 2022 06:17:35 GMT + - Fri, 20 May 2022 08:54:35 GMT expires: - '-1' pragma: @@ -933,8 +1269,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestafvtrkkfi-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestafvtrkkfi-1bfbb5-4fce4a34.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestcaesftzfw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.hcp.westus2.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.portal.hcp.westus2.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -954,7 +1290,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/fe46780d-52e6-4756-9a7b-20454ef85e63\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/868fa464-8e87-41b9-983a-dd0a2d7ae688\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -977,7 +1313,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 06:17:35 GMT + - Fri, 20 May 2022 08:54:36 GMT expires: - '-1' pragma: From b2ac00a7338f1c8cf42912b142843f675cf9a158 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Mon, 6 Jun 2022 16:56:57 +0530 Subject: [PATCH 35/52] Added option to disable namespace resource --- src/aks-preview/azext_aks_preview/_params.py | 1 + src/aks-preview/azext_aks_preview/custom.py | 3 ++- src/aks-preview/azext_aks_preview/decorator.py | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index 3e396c3ddcd..444c1c864c9 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -381,6 +381,7 @@ def load_arguments(self, _): c.argument('enable_azure_keyvault_kms', action='store_true', is_preview=True) c.argument('azure_keyvault_kms_key_id', validator=validate_azure_keyvault_kms_key_id, is_preview=True) c.argument('enable_namespace_resources', help='Enables namespace as an ARM resource') + c.argument('disable_namespace_resources', help='Disables namespace as an ARM resource') c.argument('enable_apiserver_vnet_integration', action='store_true', is_preview=True) c.argument('apiserver_subnet_id', validator=validate_apiserver_subnet_id, is_preview=True) c.argument('enable_keda', action='store_true', is_preview=True) diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index 7b2c03d2dcc..efcda089965 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -915,7 +915,8 @@ def aks_update(cmd, # pylint: disable=too-many-statements,too-many-branches, apiserver_subnet_id=None, enable_keda=False, disable_keda=False, - enable_namespace_resources=False + enable_namespace_resources=False, + disable_namespace_resources=False ): # DO NOT MOVE: get all the original parameters and save them as a dictionary raw_parameters = locals() diff --git a/src/aks-preview/azext_aks_preview/decorator.py b/src/aks-preview/azext_aks_preview/decorator.py index b3b5e4d33cc..def556ca0d0 100644 --- a/src/aks-preview/azext_aks_preview/decorator.py +++ b/src/aks-preview/azext_aks_preview/decorator.py @@ -3048,6 +3048,8 @@ def update_enable_namespace_resources(self, mc: ManagedCluster) -> ManagedCluste """ if self.context.raw_param.get("enable_namespace_resources"): mc.enable_namespace_resources = True + elif self.context.raw_param.get("disable_namespace_resources"): + mc.enable_namespace_resources = False return mc def update_storage_profile(self, mc: ManagedCluster) -> ManagedCluster: From 764ccbdab00ec21c733545c092090b9a299da517 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Mon, 6 Jun 2022 17:02:48 +0530 Subject: [PATCH 36/52] Fixed linter issue --- src/aks-preview/linter_exclusions.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/aks-preview/linter_exclusions.yml b/src/aks-preview/linter_exclusions.yml index 392821fc679..f38cadc7d31 100644 --- a/src/aks-preview/linter_exclusions.yml +++ b/src/aks-preview/linter_exclusions.yml @@ -57,6 +57,9 @@ aks update: enable_namespace_resources: rule_exclusions: - option_length_too_long + disable_namespace_resources: + rule_exclusions: + - option_length_too_long enable_snapshot_controller: rule_exclusions: - option_length_too_long From 3e681b9ea2bc6bbd5c824d6213c6ab94db24d3a2 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Mon, 6 Jun 2022 17:04:40 +0530 Subject: [PATCH 37/52] Removed accidental changes --- src/aks-preview/linter_exclusions.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/aks-preview/linter_exclusions.yml b/src/aks-preview/linter_exclusions.yml index f38cadc7d31..014928eb1a1 100644 --- a/src/aks-preview/linter_exclusions.yml +++ b/src/aks-preview/linter_exclusions.yml @@ -51,9 +51,6 @@ aks update: enable_workload_identity: rule_exclusions: - option_length_too_long - disable_workload_identity: - rule_exclusions: - - option_length_too_long enable_namespace_resources: rule_exclusions: - option_length_too_long From c62d51e9d93c5107bdb38b41110057f20694ae49 Mon Sep 17 00:00:00 2001 From: KarthikK123 Date: Tue, 7 Jun 2022 05:10:42 +0000 Subject: [PATCH 38/52] updated test recordings --- ...est_aks_create_with_namespace_enabled.yaml | 242 ++++--- ...ks_get_credentials_at_namespace_scope.yaml | 362 +++++++--- .../test_aks_update_enable_namespace.yaml | 669 ++++++------------ 3 files changed, 655 insertions(+), 618 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml index 2101c2958e5..f7cfd38c706 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml @@ -18,16 +18,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-20T08:36:03Z","Created":"20220520"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T04:36:48Z","Created":"20220607"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '326' + - '325' content-type: - application/json; charset=utf-8 date: - - Fri, 20 May 2022 08:36:05 GMT + - Tue, 07 Jun 2022 04:36:49 GMT expires: - '-1' pragma: @@ -42,15 +42,15 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestr54wcpuha-1bfbb5", + body: '{"location": "eastus", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestzambex4wk-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + "mode": "System", "enableNodePublicIP": false, "enableCustomCATrust": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "enableNamespaceResources": true, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": @@ -67,41 +67,42 @@ interactions: Connection: - keep-alive Content-Length: - - '1804' + - '1833' Content-Type: - application/json ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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=2022-04-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-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\": + \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestr54wcpuha-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestr54wcpuha-1bfbb5-7ce38705.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestr54wcpuha-1bfbb5-7ce38705.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestzambex4wk-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestzambex4wk-1bfbb5-f68caa57.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestzambex4wk-1bfbb5-f68caa57.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": @@ -110,22 +111,25 @@ interactions: \"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 \"enableNamespaceResources\": true,\n - \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + {},\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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n + \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": + \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 cache-control: - no-cache content-length: - - '3441' + - '3700' content-type: - application/json date: - - Fri, 20 May 2022 08:36:14 GMT + - Tue, 07 Jun 2022 04:36:57 GMT expires: - '-1' pragma: @@ -155,23 +159,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"90ba1d70-b23d-dd46-b094-c1f3aefa24ae\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:36:14.1133333Z\"\n }" + string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 May 2022 08:36:44 GMT + - Tue, 07 Jun 2022 04:37:27 GMT expires: - '-1' pragma: @@ -203,23 +207,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"90ba1d70-b23d-dd46-b094-c1f3aefa24ae\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:36:14.1133333Z\"\n }" + string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 May 2022 08:37:14 GMT + - Tue, 07 Jun 2022 04:37:58 GMT expires: - '-1' pragma: @@ -251,23 +255,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"90ba1d70-b23d-dd46-b094-c1f3aefa24ae\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:36:14.1133333Z\"\n }" + string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 May 2022 08:37:44 GMT + - Tue, 07 Jun 2022 04:38:28 GMT expires: - '-1' pragma: @@ -299,23 +303,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"90ba1d70-b23d-dd46-b094-c1f3aefa24ae\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:36:14.1133333Z\"\n }" + string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 May 2022 08:38:15 GMT + - Tue, 07 Jun 2022 04:38:57 GMT expires: - '-1' pragma: @@ -347,23 +351,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"90ba1d70-b23d-dd46-b094-c1f3aefa24ae\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:36:14.1133333Z\"\n }" + string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 May 2022 08:38:45 GMT + - Tue, 07 Jun 2022 04:39:27 GMT expires: - '-1' pragma: @@ -395,23 +399,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"90ba1d70-b23d-dd46-b094-c1f3aefa24ae\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:36:14.1133333Z\"\n }" + string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 May 2022 08:39:15 GMT + - Tue, 07 Jun 2022 04:39:58 GMT expires: - '-1' pragma: @@ -443,23 +447,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"90ba1d70-b23d-dd46-b094-c1f3aefa24ae\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:36:14.1133333Z\"\n }" + string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Fri, 20 May 2022 08:39:44 GMT + - Tue, 07 Jun 2022 04:40:29 GMT expires: - '-1' pragma: @@ -491,24 +495,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/701dba90-3db2-46dd-b094-c1f3aefa24ae?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"90ba1d70-b23d-dd46-b094-c1f3aefa24ae\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-20T08:36:14.1133333Z\",\n \"endTime\": - \"2022-05-20T08:40:06.3866049Z\"\n }" + string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '121' content-type: - application/json date: - - Fri, 20 May 2022 08:40:15 GMT + - Tue, 07 Jun 2022 04:40:59 GMT expires: - '-1' pragma: @@ -540,62 +543,115 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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=2022-04-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\",\n \"endTime\": + \"2022-06-07T04:41:00.2401884Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '165' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 04:41:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --ssh-key-value + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 + (Linux-5.13.0-1022-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=2022-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\": + \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestr54wcpuha-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestr54wcpuha-1bfbb5-7ce38705.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestr54wcpuha-1bfbb5-7ce38705.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitestzambex4wk-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestzambex4wk-1bfbb5-f68caa57.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestzambex4wk-1bfbb5-f68caa57.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/be3fae27-1182-4da7-8258-4e53ad9a4caf\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/66627a19-4863-4527-b5b6-d6149d5c3ec2\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": true,\n - \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + {},\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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n + \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": + \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4094' + - '4351' content-type: - application/json date: - - Fri, 20 May 2022 08:40:16 GMT + - Tue, 07 Jun 2022 04:41:29 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml index dc00994cba1..c0585b49add 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml @@ -18,16 +18,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-20T09:02:34Z","Created":"20220520"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T04:59:57Z","Created":"20220607"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '326' + - '325' content-type: - application/json; charset=utf-8 date: - - Fri, 20 May 2022 09:02:36 GMT + - Tue, 07 Jun 2022 04:59:57 GMT expires: - '-1' pragma: @@ -42,15 +42,15 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestn6t2c7nrq-1bfbb5", + body: '{"location": "eastus", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesteovdyfra6-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + "mode": "System", "enableNodePublicIP": false, "enableCustomCATrust": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "enableNamespaceResources": true, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": @@ -67,41 +67,42 @@ interactions: Connection: - keep-alive Content-Length: - - '1804' + - '1833' Content-Type: - application/json ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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=2022-04-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-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\": + \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestn6t2c7nrq-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestn6t2c7nrq-1bfbb5-ed229118.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestn6t2c7nrq-1bfbb5-ed229118.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitesteovdyfra6-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesteovdyfra6-1bfbb5-6d7a674f.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesteovdyfra6-1bfbb5-6d7a674f.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": @@ -110,22 +111,25 @@ interactions: \"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 \"enableNamespaceResources\": true,\n - \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + {},\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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n + \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": + \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/5a8e9781-7257-4c29-ae25-22cb0432b18b?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 cache-control: - no-cache content-length: - - '3441' + - '3700' content-type: - application/json date: - - Fri, 20 May 2022 09:02:43 GMT + - Tue, 07 Jun 2022 05:00:03 GMT expires: - '-1' pragma: @@ -155,14 +159,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/5a8e9781-7257-4c29-ae25-22cb0432b18b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"81978e5a-5772-294c-ae25-22cb0432b18b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T09:02:43.81Z\"\n }" + string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" headers: cache-control: - no-cache @@ -171,7 +175,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 09:03:14 GMT + - Tue, 07 Jun 2022 05:00:33 GMT expires: - '-1' pragma: @@ -203,14 +207,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/5a8e9781-7257-4c29-ae25-22cb0432b18b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"81978e5a-5772-294c-ae25-22cb0432b18b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T09:02:43.81Z\"\n }" + string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" headers: cache-control: - no-cache @@ -219,7 +223,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 09:03:44 GMT + - Tue, 07 Jun 2022 05:01:03 GMT expires: - '-1' pragma: @@ -251,14 +255,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/5a8e9781-7257-4c29-ae25-22cb0432b18b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"81978e5a-5772-294c-ae25-22cb0432b18b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T09:02:43.81Z\"\n }" + string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" headers: cache-control: - no-cache @@ -267,7 +271,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 09:04:14 GMT + - Tue, 07 Jun 2022 05:01:33 GMT expires: - '-1' pragma: @@ -299,14 +303,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/5a8e9781-7257-4c29-ae25-22cb0432b18b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"81978e5a-5772-294c-ae25-22cb0432b18b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T09:02:43.81Z\"\n }" + string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" headers: cache-control: - no-cache @@ -315,7 +319,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 09:04:44 GMT + - Tue, 07 Jun 2022 05:02:04 GMT expires: - '-1' pragma: @@ -347,14 +351,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/5a8e9781-7257-4c29-ae25-22cb0432b18b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"81978e5a-5772-294c-ae25-22cb0432b18b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T09:02:43.81Z\"\n }" + string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" headers: cache-control: - no-cache @@ -363,7 +367,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 09:05:14 GMT + - Tue, 07 Jun 2022 05:02:35 GMT expires: - '-1' pragma: @@ -395,14 +399,14 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/5a8e9781-7257-4c29-ae25-22cb0432b18b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"81978e5a-5772-294c-ae25-22cb0432b18b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T09:02:43.81Z\"\n }" + string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" headers: cache-control: - no-cache @@ -411,7 +415,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 09:05:44 GMT + - Tue, 07 Jun 2022 05:03:05 GMT expires: - '-1' pragma: @@ -443,15 +447,207 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/5a8e9781-7257-4c29-ae25-22cb0432b18b?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"81978e5a-5772-294c-ae25-22cb0432b18b\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-20T09:02:43.81Z\",\n \"endTime\": - \"2022-05-20T09:06:04.3025651Z\"\n }" + string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 05:03:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --ssh-key-value + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 + (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 05:04:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --ssh-key-value + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 + (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 05:04:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --ssh-key-value + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 + (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 05:05:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --ssh-key-value + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 + (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\",\n \"endTime\": + \"2022-06-07T05:05:07.7748877Z\"\n }" headers: cache-control: - no-cache @@ -460,7 +656,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 09:06:15 GMT + - Tue, 07 Jun 2022 05:05:36 GMT expires: - '-1' pragma: @@ -492,62 +688,66 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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=2022-04-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-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\": + \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestn6t2c7nrq-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestn6t2c7nrq-1bfbb5-ed229118.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestn6t2c7nrq-1bfbb5-ed229118.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitesteovdyfra6-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesteovdyfra6-1bfbb5-6d7a674f.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesteovdyfra6-1bfbb5-6d7a674f.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/a667d7c3-8a34-41c4-a59f-2fb75266709c\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/da017989-33c5-4e85-b61c-bb6e227c3ec8\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": true,\n - \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + {},\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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n + \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": + \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4094' + - '4351' content-type: - application/json date: - - Fri, 20 May 2022 09:06:15 GMT + - Tue, 07 Jun 2022 05:05:36 GMT expires: - '-1' pragma: @@ -600,7 +800,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 20 May 2022 09:07:18 GMT + - Tue, 07 Jun 2022 05:06:37 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml index 78f38daa945..048a5275f4e 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml @@ -18,16 +18,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"westus2","tags":{"product":"azurecli","cause":"automation","date":"2022-05-20T08:45:46Z","Created":"20220520"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T04:44:25Z","Created":"20220607"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '326' + - '325' content-type: - application/json; charset=utf-8 date: - - Fri, 20 May 2022 08:45:47 GMT + - Tue, 07 Jun 2022 04:44:26 GMT expires: - '-1' pragma: @@ -42,15 +42,15 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestcaesftzfw-1bfbb5", + body: '{"location": "eastus", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesthpnkfrrbl-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", - "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + "mode": "System", "enableNodePublicIP": false, "enableCustomCATrust": false, + "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": + false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", + "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": @@ -66,41 +66,42 @@ interactions: Connection: - keep-alive Content-Length: - - '1770' + - '1799' Content-Type: - application/json ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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=2022-04-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-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\": + \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestcaesftzfw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitesthpnkfrrbl-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": @@ -109,21 +110,24 @@ interactions: \"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 \"oidcIssuerProfile\": {\n \"enabled\": - false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + {},\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 },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 cache-control: - no-cache content-length: - - '3404' + - '3663' content-type: - application/json date: - - Fri, 20 May 2022 08:45:56 GMT + - Tue, 07 Jun 2022 04:44:32 GMT expires: - '-1' pragma: @@ -153,158 +157,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Fri, 20 May 2022 08:46:25 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 --ssh-key-value - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Fri, 20 May 2022 08:46:56 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 --ssh-key-value - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Fri, 20 May 2022 08:47:26 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 --ssh-key-value - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" + string: "{\n \"name\": \"c37330da-1c68-bc43-9e44-5178029908bc\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:44:32.0466666Z\"\n }" headers: cache-control: - no-cache @@ -313,7 +173,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 08:47:56 GMT + - Tue, 07 Jun 2022 04:45:02 GMT expires: - '-1' pragma: @@ -345,14 +205,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" + string: "{\n \"name\": \"c37330da-1c68-bc43-9e44-5178029908bc\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:44:32.0466666Z\"\n }" headers: cache-control: - no-cache @@ -361,7 +221,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 08:48:26 GMT + - Tue, 07 Jun 2022 04:45:32 GMT expires: - '-1' pragma: @@ -393,14 +253,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" + string: "{\n \"name\": \"c37330da-1c68-bc43-9e44-5178029908bc\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:44:32.0466666Z\"\n }" headers: cache-control: - no-cache @@ -409,7 +269,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 08:48:57 GMT + - Tue, 07 Jun 2022 04:46:02 GMT expires: - '-1' pragma: @@ -441,14 +301,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" + string: "{\n \"name\": \"c37330da-1c68-bc43-9e44-5178029908bc\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:44:32.0466666Z\"\n }" headers: cache-control: - no-cache @@ -457,7 +317,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 08:49:26 GMT + - Tue, 07 Jun 2022 04:46:32 GMT expires: - '-1' pragma: @@ -489,14 +349,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" + string: "{\n \"name\": \"c37330da-1c68-bc43-9e44-5178029908bc\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:44:32.0466666Z\"\n }" headers: cache-control: - no-cache @@ -505,7 +365,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 08:49:57 GMT + - Tue, 07 Jun 2022 04:47:02 GMT expires: - '-1' pragma: @@ -537,14 +397,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" + string: "{\n \"name\": \"c37330da-1c68-bc43-9e44-5178029908bc\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:44:32.0466666Z\"\n }" headers: cache-control: - no-cache @@ -553,7 +413,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 08:50:27 GMT + - Tue, 07 Jun 2022 04:47:33 GMT expires: - '-1' pragma: @@ -585,14 +445,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" + string: "{\n \"name\": \"c37330da-1c68-bc43-9e44-5178029908bc\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:44:32.0466666Z\"\n }" headers: cache-control: - no-cache @@ -601,7 +461,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 08:50:57 GMT + - Tue, 07 Jun 2022 04:48:03 GMT expires: - '-1' pragma: @@ -633,159 +493,15 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Fri, 20 May 2022 08:51:27 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 --ssh-key-value - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Fri, 20 May 2022 08:51:58 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Fri, 20 May 2022 08:52:28 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 - (Linux-5.13.0-1022-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/29d9b221-9e66-42c0-9033-da07cf507707?api-version=2016-03-30 - response: - body: - string: "{\n \"name\": \"21b2d929-669e-c042-9033-da07cf507707\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-20T08:45:55.7933333Z\",\n \"endTime\": - \"2022-05-20T08:52:52.3393937Z\"\n }" + string: "{\n \"name\": \"c37330da-1c68-bc43-9e44-5178029908bc\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-06-07T04:44:32.0466666Z\",\n \"endTime\": + \"2022-06-07T04:48:08.0688115Z\"\n }" headers: cache-control: - no-cache @@ -794,7 +510,7 @@ interactions: content-type: - application/json date: - - Fri, 20 May 2022 08:52:58 GMT + - Tue, 07 Jun 2022 04:48:33 GMT expires: - '-1' pragma: @@ -826,61 +542,65 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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=2022-04-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-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\": + \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestcaesftzfw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitesthpnkfrrbl-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/868fa464-8e87-41b9-983a-dd0a2d7ae688\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/4e0fdeb7-dfbb-4897-9a15-99006cfd91ee\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"oidcIssuerProfile\": {\n \"enabled\": - false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + {},\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 },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4057' + - '4314' content-type: - application/json date: - - Fri, 20 May 2022 08:52:58 GMT + - Tue, 07 Jun 2022 04:48:33 GMT expires: - '-1' pragma: @@ -912,61 +632,65 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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=2022-04-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-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\": + \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestcaesftzfw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitesthpnkfrrbl-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/868fa464-8e87-41b9-983a-dd0a2d7ae688\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/4e0fdeb7-dfbb-4897-9a15-99006cfd91ee\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"oidcIssuerProfile\": {\n \"enabled\": - false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n + {},\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 },\n \"identity\": + {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4057' + - '4314' content-type: - application/json date: - - Fri, 20 May 2022 08:53:00 GMT + - Tue, 07 Jun 2022 04:48:34 GMT expires: - '-1' pragma: @@ -985,25 +709,26 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus2", "sku": {"name": "Basic", "tier": "Free"}, "identity": + body: '{"location": "eastus", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.22.6", "dnsPrefix": - "cliakstest-clitestcaesftzfw-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitesthpnkfrrbl-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": "1.22.6", "powerState": {"code": "Running"}, - "enableNodePublicIP": false, "enableEncryptionAtHost": false, "enableUltraSSD": - false, "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + "enableNodePublicIP": false, "enableCustomCATrust": false, "enableEncryptionAtHost": + false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], + "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, - "nodeResourceGroup": "MC_clitest000001_cliakstest000002_westus2", "enableRBAC": + "nodeResourceGroup": "MC_clitest000001_cliakstest000002_eastus", "enableRBAC": true, "enablePodSecurityPolicy": false, "enableNamespaceResources": true, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/868fa464-8e87-41b9-983a-dd0a2d7ae688"}]}, + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/4e0fdeb7-dfbb-4897-9a15-99006cfd91ee"}]}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": - ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", + ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, "disableLocalAccounts": false, "securityProfile": {}, "storageProfile": {}}}' headers: @@ -1016,70 +741,74 @@ interactions: Connection: - keep-alive Content-Length: - - '2835' + - '2861' Content-Type: - application/json ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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=2022-04-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-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\": + \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestcaesftzfw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitesthpnkfrrbl-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/868fa464-8e87-41b9-983a-dd0a2d7ae688\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/4e0fdeb7-dfbb-4897-9a15-99006cfd91ee\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": true,\n - \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + {},\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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n + \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": + \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/d81e813d-91d8-474f-802a-a07c32f0fca1?api-version=2016-03-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/45695047-77a3-4384-8ab7-2f92494c7f16?api-version=2017-08-31 cache-control: - no-cache content-length: - - '4092' + - '4349' content-type: - application/json date: - - Fri, 20 May 2022 08:53:05 GMT + - Tue, 07 Jun 2022 04:48:38 GMT expires: - '-1' pragma: @@ -1113,23 +842,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/d81e813d-91d8-474f-802a-a07c32f0fca1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/45695047-77a3-4384-8ab7-2f92494c7f16?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"3d811ed8-d891-4f47-802a-a07c32f0fca1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:53:04.81Z\"\n }" + string: "{\n \"name\": \"47506945-a377-8443-8ab7-2f92494c7f16\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:48:38.5166666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 May 2022 08:53:36 GMT + - Tue, 07 Jun 2022 04:49:09 GMT expires: - '-1' pragma: @@ -1161,23 +890,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/d81e813d-91d8-474f-802a-a07c32f0fca1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/45695047-77a3-4384-8ab7-2f92494c7f16?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"3d811ed8-d891-4f47-802a-a07c32f0fca1\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-05-20T08:53:04.81Z\"\n }" + string: "{\n \"name\": \"47506945-a377-8443-8ab7-2f92494c7f16\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:48:38.5166666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Fri, 20 May 2022 08:54:05 GMT + - Tue, 07 Jun 2022 04:49:39 GMT expires: - '-1' pragma: @@ -1209,24 +938,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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/d81e813d-91d8-474f-802a-a07c32f0fca1?api-version=2016-03-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/45695047-77a3-4384-8ab7-2f92494c7f16?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"3d811ed8-d891-4f47-802a-a07c32f0fca1\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-05-20T08:53:04.81Z\",\n \"endTime\": - \"2022-05-20T08:54:24.2642252Z\"\n }" + string: "{\n \"name\": \"47506945-a377-8443-8ab7-2f92494c7f16\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T04:48:38.5166666Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '126' content-type: - application/json date: - - Fri, 20 May 2022 08:54:35 GMT + - Tue, 07 Jun 2022 04:50:09 GMT expires: - '-1' pragma: @@ -1258,62 +986,115 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.0.0b Python/3.8.10 + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-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=2022-04-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/45695047-77a3-4384-8ab7-2f92494c7f16?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"47506945-a377-8443-8ab7-2f92494c7f16\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-06-07T04:48:38.5166666Z\",\n \"endTime\": + \"2022-06-07T04:50:22.2063316Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 04:50: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-namespace-resources + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 + (Linux-5.13.0-1022-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=2022-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\": + \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestcaesftzfw-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.hcp.westus2.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestcaesftzfw-1bfbb5-d58ac849.portal.hcp.westus2.azmk8s.io\",\n + \"cliakstest-clitesthpnkfrrbl-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"enableNodePublicIP\": false,\n \"mode\": \"System\",\n + \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.04.27\",\n \"enableFIPS\": false\n + \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_westus2\",\n \"enableRBAC\": true,\n + \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.Network/publicIPAddresses/868fa464-8e87-41b9-983a-dd0a2d7ae688\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/4e0fdeb7-dfbb-4897-9a15-99006cfd91ee\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_westus2/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool\",\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": true,\n - \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + {},\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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n + \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": + \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4094' + - '4351' content-type: - application/json date: - - Fri, 20 May 2022 08:54:36 GMT + - Tue, 07 Jun 2022 04:50:39 GMT expires: - '-1' pragma: From d0bc4b1dc436738311fbfebdf96a3bb5b3927025 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Tue, 7 Jun 2022 11:40:38 +0530 Subject: [PATCH 39/52] Updated test to cover disable-namespace command --- .../azext_aks_preview/tests/latest/test_aks_commands.py | 5 +++++ 1 file changed, 5 insertions(+) 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 a606e613ee0..ac905bb8499 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 @@ -317,6 +317,11 @@ def test_aks_update_enable_namespace(self, resource_group, resource_group_locati self.check('enableNamespaceResources', True) ]) + update_cmd = 'aks update --resource-group={resource_group} --name={name} --disable-namespace-resources' + self.cmd(update_cmd, checks=[ + self.check('enableNamespaceResources', False) + ]) + @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') def test_aks_get_credentials_at_namespace_scope(self, resource_group): aks_name = self.create_random_name('cliakstest', 16) From ead3b59b472c41011a29e6b0a96a92db7aa58af8 Mon Sep 17 00:00:00 2001 From: KarthikK123 Date: Tue, 7 Jun 2022 06:54:07 +0000 Subject: [PATCH 40/52] Updated test recordings --- ...est_aks_create_with_namespace_enabled.yaml | 98 +-- ...ks_get_credentials_at_namespace_scope.yaml | 234 ++----- .../test_aks_update_enable_namespace.yaml | 579 +++++++++++++++--- 3 files changed, 583 insertions(+), 328 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml index f7cfd38c706..855bece1c6c 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T04:36:48Z","Created":"20220607"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T06:13:30Z","Created":"20220607"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:36:49 GMT + - Tue, 07 Jun 2022 06:13:32 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestzambex4wk-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest6stoo45rh-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "enableCustomCATrust": false, @@ -84,8 +84,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestzambex4wk-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestzambex4wk-1bfbb5-f68caa57.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestzambex4wk-1bfbb5-f68caa57.portal.hcp.eastus.azmk8s.io\",\n + \"cliakstest-clitest6stoo45rh-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest6stoo45rh-1bfbb5-8ba3d018.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest6stoo45rh-1bfbb5-8ba3d018.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -121,7 +121,7 @@ interactions: \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 cache-control: - no-cache content-length: @@ -129,7 +129,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 04:36:57 GMT + - Tue, 07 Jun 2022 06:13:37 GMT expires: - '-1' pragma: @@ -162,11 +162,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\"\n }" + string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\"\n }" headers: cache-control: - no-cache @@ -175,7 +175,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 04:37:27 GMT + - Tue, 07 Jun 2022 06:14:07 GMT expires: - '-1' pragma: @@ -210,11 +210,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\"\n }" + string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\"\n }" headers: cache-control: - no-cache @@ -223,7 +223,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 04:37:58 GMT + - Tue, 07 Jun 2022 06:14:38 GMT expires: - '-1' pragma: @@ -258,11 +258,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\"\n }" + string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\"\n }" headers: cache-control: - no-cache @@ -271,7 +271,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 04:38:28 GMT + - Tue, 07 Jun 2022 06:15:08 GMT expires: - '-1' pragma: @@ -306,11 +306,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\"\n }" + string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\"\n }" headers: cache-control: - no-cache @@ -319,7 +319,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 04:38:57 GMT + - Tue, 07 Jun 2022 06:15:37 GMT expires: - '-1' pragma: @@ -354,11 +354,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\"\n }" + string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\"\n }" headers: cache-control: - no-cache @@ -367,7 +367,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 04:39:27 GMT + - Tue, 07 Jun 2022 06:16:07 GMT expires: - '-1' pragma: @@ -402,11 +402,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\"\n }" + string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\"\n }" headers: cache-control: - no-cache @@ -415,7 +415,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 04:39:58 GMT + - Tue, 07 Jun 2022 06:16:38 GMT expires: - '-1' pragma: @@ -450,11 +450,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\"\n }" + string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\"\n }" headers: cache-control: - no-cache @@ -463,7 +463,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 04:40:29 GMT + - Tue, 07 Jun 2022 06:17:08 GMT expires: - '-1' pragma: @@ -498,11 +498,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\"\n }" + string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\"\n }" headers: cache-control: - no-cache @@ -511,7 +511,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 04:40:59 GMT + - Tue, 07 Jun 2022 06:17:38 GMT expires: - '-1' pragma: @@ -546,21 +546,21 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/91a043a4-f6be-4685-ac81-7c0df517051b?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a443a091-bef6-8546-ac81-7c0df517051b\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-06-07T04:36:57.26Z\",\n \"endTime\": - \"2022-06-07T04:41:00.2401884Z\"\n }" + string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\",\n \"endTime\": + \"2022-06-07T06:17:46.249219Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '164' content-type: - application/json date: - - Tue, 07 Jun 2022 04:41:28 GMT + - Tue, 07 Jun 2022 06:18:08 GMT expires: - '-1' pragma: @@ -603,8 +603,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestzambex4wk-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestzambex4wk-1bfbb5-f68caa57.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestzambex4wk-1bfbb5-f68caa57.portal.hcp.eastus.azmk8s.io\",\n + \"cliakstest-clitest6stoo45rh-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest6stoo45rh-1bfbb5-8ba3d018.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitest6stoo45rh-1bfbb5-8ba3d018.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -625,7 +625,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/66627a19-4863-4527-b5b6-d6149d5c3ec2\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/4f151a10-9a65-487f-acf1-d8260142471a\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -651,7 +651,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 04:41:29 GMT + - Tue, 07 Jun 2022 06:18:08 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml index c0585b49add..987dedef44c 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T04:59:57Z","Created":"20220607"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T06:47:10Z","Created":"20220607"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:59:57 GMT + - Tue, 07 Jun 2022 06:47:10 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesteovdyfra6-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestlc5umewap-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "enableCustomCATrust": false, @@ -84,8 +84,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesteovdyfra6-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesteovdyfra6-1bfbb5-6d7a674f.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesteovdyfra6-1bfbb5-6d7a674f.portal.hcp.eastus.azmk8s.io\",\n + \"cliakstest-clitestlc5umewap-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestlc5umewap-1bfbb5-e3fff863.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestlc5umewap-1bfbb5-e3fff863.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -121,7 +121,7 @@ interactions: \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 cache-control: - no-cache content-length: @@ -129,7 +129,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 05:00:03 GMT + - Tue, 07 Jun 2022 06:47:15 GMT expires: - '-1' pragma: @@ -162,11 +162,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" + string: "{\n \"name\": \"d773f94c-9f60-d944-b4de-be42a4a22d1c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:47:15.65Z\"\n }" headers: cache-control: - no-cache @@ -175,7 +175,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 05:00:33 GMT + - Tue, 07 Jun 2022 06:47:45 GMT expires: - '-1' pragma: @@ -210,11 +210,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" + string: "{\n \"name\": \"d773f94c-9f60-d944-b4de-be42a4a22d1c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:47:15.65Z\"\n }" headers: cache-control: - no-cache @@ -223,7 +223,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 05:01:03 GMT + - Tue, 07 Jun 2022 06:48:15 GMT expires: - '-1' pragma: @@ -258,11 +258,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" + string: "{\n \"name\": \"d773f94c-9f60-d944-b4de-be42a4a22d1c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:47:15.65Z\"\n }" headers: cache-control: - no-cache @@ -271,7 +271,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 05:01:33 GMT + - Tue, 07 Jun 2022 06:48:45 GMT expires: - '-1' pragma: @@ -306,11 +306,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" + string: "{\n \"name\": \"d773f94c-9f60-d944-b4de-be42a4a22d1c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:47:15.65Z\"\n }" headers: cache-control: - no-cache @@ -319,7 +319,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 05:02:04 GMT + - Tue, 07 Jun 2022 06:49:16 GMT expires: - '-1' pragma: @@ -354,11 +354,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" + string: "{\n \"name\": \"d773f94c-9f60-d944-b4de-be42a4a22d1c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:47:15.65Z\"\n }" headers: cache-control: - no-cache @@ -367,7 +367,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 05:02:35 GMT + - Tue, 07 Jun 2022 06:49:46 GMT expires: - '-1' pragma: @@ -402,11 +402,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" + string: "{\n \"name\": \"d773f94c-9f60-d944-b4de-be42a4a22d1c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:47:15.65Z\"\n }" headers: cache-control: - no-cache @@ -415,7 +415,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 05:03:05 GMT + - Tue, 07 Jun 2022 06:50:16 GMT expires: - '-1' pragma: @@ -450,11 +450,11 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" + string: "{\n \"name\": \"d773f94c-9f60-d944-b4de-be42a4a22d1c\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:47:15.65Z\"\n }" headers: cache-control: - no-cache @@ -463,7 +463,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 05:03:35 GMT + - Tue, 07 Jun 2022 06:50:46 GMT expires: - '-1' pragma: @@ -498,156 +498,12 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Tue, 07 Jun 2022 05:04:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-namespace-resources --ssh-key-value - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Tue, 07 Jun 2022 05:04:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-namespace-resources --ssh-key-value - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '121' - content-type: - - application/json - date: - - Tue, 07 Jun 2022 05:05:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-namespace-resources --ssh-key-value - User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2c04b68f-34f3-4a3d-883e-faf4b8e9cd19?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"8fb6042c-f334-3d4a-883e-faf4b8e9cd19\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-06-07T05:00:03.32Z\",\n \"endTime\": - \"2022-06-07T05:05:07.7748877Z\"\n }" + string: "{\n \"name\": \"d773f94c-9f60-d944-b4de-be42a4a22d1c\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-06-07T06:47:15.65Z\",\n \"endTime\": + \"2022-06-07T06:51:04.7220284Z\"\n }" headers: cache-control: - no-cache @@ -656,7 +512,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 05:05:36 GMT + - Tue, 07 Jun 2022 06:51:16 GMT expires: - '-1' pragma: @@ -699,8 +555,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesteovdyfra6-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesteovdyfra6-1bfbb5-6d7a674f.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesteovdyfra6-1bfbb5-6d7a674f.portal.hcp.eastus.azmk8s.io\",\n + \"cliakstest-clitestlc5umewap-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestlc5umewap-1bfbb5-e3fff863.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestlc5umewap-1bfbb5-e3fff863.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -721,7 +577,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/da017989-33c5-4e85-b61c-bb6e227c3ec8\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/fac85207-a681-49dc-b9ff-076fcac3e77d\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -747,7 +603,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 05:05:36 GMT + - Tue, 07 Jun 2022 06:51:17 GMT expires: - '-1' pragma: @@ -800,7 +656,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 05:06:37 GMT + - Tue, 07 Jun 2022 06:52:19 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml index 048a5275f4e..d665f26e13e 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml @@ -18,7 +18,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T04:44:25Z","Created":"20220607"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T06:37:46Z","Created":"20220607"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 04:44:26 GMT + - Tue, 07 Jun 2022 06:37:47 GMT expires: - '-1' pragma: @@ -43,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesthpnkfrrbl-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestyvr77g4r4-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": false, "enableCustomCATrust": false, @@ -83,8 +83,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesthpnkfrrbl-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.portal.hcp.eastus.azmk8s.io\",\n + \"cliakstest-clitestyvr77g4r4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -119,7 +119,7 @@ interactions: {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 cache-control: - no-cache content-length: @@ -127,7 +127,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 04:44:32 GMT + - Tue, 07 Jun 2022 06:37:53 GMT expires: - '-1' pragma: @@ -160,20 +160,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"c37330da-1c68-bc43-9e44-5178029908bc\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:44:32.0466666Z\"\n }" + string: "{\n \"name\": \"e58cd725-f412-674b-87ef-6b0ddb261fed\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:37:53.24Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 07 Jun 2022 04:45:02 GMT + - Tue, 07 Jun 2022 06:38:23 GMT expires: - '-1' pragma: @@ -208,20 +208,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"c37330da-1c68-bc43-9e44-5178029908bc\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:44:32.0466666Z\"\n }" + string: "{\n \"name\": \"e58cd725-f412-674b-87ef-6b0ddb261fed\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:37:53.24Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 07 Jun 2022 04:45:32 GMT + - Tue, 07 Jun 2022 06:38:52 GMT expires: - '-1' pragma: @@ -256,20 +256,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"c37330da-1c68-bc43-9e44-5178029908bc\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:44:32.0466666Z\"\n }" + string: "{\n \"name\": \"e58cd725-f412-674b-87ef-6b0ddb261fed\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:37:53.24Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 07 Jun 2022 04:46:02 GMT + - Tue, 07 Jun 2022 06:39:23 GMT expires: - '-1' pragma: @@ -304,20 +304,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"c37330da-1c68-bc43-9e44-5178029908bc\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:44:32.0466666Z\"\n }" + string: "{\n \"name\": \"e58cd725-f412-674b-87ef-6b0ddb261fed\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:37:53.24Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 07 Jun 2022 04:46:32 GMT + - Tue, 07 Jun 2022 06:39:53 GMT expires: - '-1' pragma: @@ -352,20 +352,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"c37330da-1c68-bc43-9e44-5178029908bc\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:44:32.0466666Z\"\n }" + string: "{\n \"name\": \"e58cd725-f412-674b-87ef-6b0ddb261fed\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:37:53.24Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 07 Jun 2022 04:47:02 GMT + - Tue, 07 Jun 2022 06:40:23 GMT expires: - '-1' pragma: @@ -400,20 +400,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"c37330da-1c68-bc43-9e44-5178029908bc\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:44:32.0466666Z\"\n }" + string: "{\n \"name\": \"e58cd725-f412-674b-87ef-6b0ddb261fed\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:37:53.24Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 07 Jun 2022 04:47:33 GMT + - Tue, 07 Jun 2022 06:40:53 GMT expires: - '-1' pragma: @@ -448,20 +448,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"c37330da-1c68-bc43-9e44-5178029908bc\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:44:32.0466666Z\"\n }" + string: "{\n \"name\": \"e58cd725-f412-674b-87ef-6b0ddb261fed\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:37:53.24Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 07 Jun 2022 04:48:03 GMT + - Tue, 07 Jun 2022 06:41:23 GMT expires: - '-1' pragma: @@ -496,21 +496,21 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/da3073c3-681c-43bc-9e44-5178029908bc?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"c37330da-1c68-bc43-9e44-5178029908bc\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-06-07T04:44:32.0466666Z\",\n \"endTime\": - \"2022-06-07T04:48:08.0688115Z\"\n }" + string: "{\n \"name\": \"e58cd725-f412-674b-87ef-6b0ddb261fed\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-06-07T06:37:53.24Z\",\n \"endTime\": + \"2022-06-07T06:41:43.4461419Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Tue, 07 Jun 2022 04:48:33 GMT + - Tue, 07 Jun 2022 06:41:54 GMT expires: - '-1' pragma: @@ -553,8 +553,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesthpnkfrrbl-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.portal.hcp.eastus.azmk8s.io\",\n + \"cliakstest-clitestyvr77g4r4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -575,7 +575,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/4e0fdeb7-dfbb-4897-9a15-99006cfd91ee\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -600,7 +600,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 04:48:33 GMT + - Tue, 07 Jun 2022 06:41:54 GMT expires: - '-1' pragma: @@ -643,8 +643,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesthpnkfrrbl-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.portal.hcp.eastus.azmk8s.io\",\n + \"cliakstest-clitestyvr77g4r4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -665,7 +665,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/4e0fdeb7-dfbb-4897-9a15-99006cfd91ee\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -690,7 +690,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 04:48:34 GMT + - Tue, 07 Jun 2022 06:41:55 GMT expires: - '-1' pragma: @@ -711,7 +711,7 @@ interactions: - request: body: '{"location": "eastus", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.22.6", "dnsPrefix": - "cliakstest-clitesthpnkfrrbl-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestyvr77g4r4-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", @@ -726,7 +726,7 @@ interactions: {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/4e0fdeb7-dfbb-4897-9a15-99006cfd91ee"}]}, + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21"}]}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -758,8 +758,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesthpnkfrrbl-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.portal.hcp.eastus.azmk8s.io\",\n + \"cliakstest-clitestyvr77g4r4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -780,7 +780,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/4e0fdeb7-dfbb-4897-9a15-99006cfd91ee\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -800,7 +800,7 @@ interactions: \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/45695047-77a3-4384-8ab7-2f92494c7f16?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e785333-658f-4aa5-b2d4-c5fcc4ab8534?api-version=2017-08-31 cache-control: - no-cache content-length: @@ -808,7 +808,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 04:48:38 GMT + - Tue, 07 Jun 2022 06:41:58 GMT expires: - '-1' pragma: @@ -845,20 +845,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/45695047-77a3-4384-8ab7-2f92494c7f16?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e785333-658f-4aa5-b2d4-c5fcc4ab8534?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"47506945-a377-8443-8ab7-2f92494c7f16\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:48:38.5166666Z\"\n }" + string: "{\n \"name\": \"3353782e-8f65-a54a-b2d4-c5fcc4ab8534\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:41:58.93Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 07 Jun 2022 04:49:09 GMT + - Tue, 07 Jun 2022 06:42:28 GMT expires: - '-1' pragma: @@ -893,20 +893,20 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/45695047-77a3-4384-8ab7-2f92494c7f16?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e785333-658f-4aa5-b2d4-c5fcc4ab8534?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"47506945-a377-8443-8ab7-2f92494c7f16\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:48:38.5166666Z\"\n }" + string: "{\n \"name\": \"3353782e-8f65-a54a-b2d4-c5fcc4ab8534\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:41:58.93Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Tue, 07 Jun 2022 04:49:39 GMT + - Tue, 07 Jun 2022 06:42:58 GMT expires: - '-1' pragma: @@ -941,20 +941,21 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/45695047-77a3-4384-8ab7-2f92494c7f16?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e785333-658f-4aa5-b2d4-c5fcc4ab8534?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"47506945-a377-8443-8ab7-2f92494c7f16\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T04:48:38.5166666Z\"\n }" + string: "{\n \"name\": \"3353782e-8f65-a54a-b2d4-c5fcc4ab8534\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-06-07T06:41:58.93Z\",\n \"endTime\": + \"2022-06-07T06:43:14.6181835Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '165' content-type: - application/json date: - - Tue, 07 Jun 2022 04:50:09 GMT + - Tue, 07 Jun 2022 06:43:29 GMT expires: - '-1' pragma: @@ -989,21 +990,63 @@ interactions: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/45695047-77a3-4384-8ab7-2f92494c7f16?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002?api-version=2022-05-02-preview response: body: - string: "{\n \"name\": \"47506945-a377-8443-8ab7-2f92494c7f16\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-06-07T04:48:38.5166666Z\",\n \"endTime\": - \"2022-06-07T04:50:22.2063316Z\"\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n + \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": + \"cliakstest-clitestyvr77g4r4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.portal.hcp.eastus.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21\"\n + \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": + [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n + \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": + 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n + \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": + \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '170' + - '4351' content-type: - application/json date: - - Tue, 07 Jun 2022 04:50:39 GMT + - Tue, 07 Jun 2022 06:43:30 GMT expires: - '-1' pragma: @@ -1025,7 +1068,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -1033,7 +1076,7 @@ interactions: Connection: - keep-alive ParameterSetName: - - --resource-group --name --enable-namespace-resources + - --resource-group --name --disable-namespace-resources User-Agent: - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) @@ -1046,8 +1089,8 @@ interactions: \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitesthpnkfrrbl-1bfbb5\",\n \"fqdn\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitesthpnkfrrbl-1bfbb5-3c2d1657.portal.hcp.eastus.azmk8s.io\",\n + \"cliakstest-clitestyvr77g4r4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.portal.hcp.eastus.azmk8s.io\",\n \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": @@ -1068,7 +1111,7 @@ interactions: \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/4e0fdeb7-dfbb-4897-9a15-99006cfd91ee\"\n + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21\"\n \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": @@ -1094,7 +1137,363 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 04:50:39 GMT + - Tue, 07 Jun 2022 06:43: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: '{"location": "eastus", "sku": {"name": "Basic", "tier": "Free"}, "identity": + {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.22.6", "dnsPrefix": + "cliakstest-clitestyvr77g4r4-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": + "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": + "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", + "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", + "mode": "System", "orchestratorVersion": "1.22.6", "powerState": {"code": "Running"}, + "enableNodePublicIP": false, "enableCustomCATrust": false, "enableEncryptionAtHost": + false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], + "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, + "nodeResourceGroup": "MC_clitest000001_cliakstest000002_eastus", "enableRBAC": + true, "enablePodSecurityPolicy": false, "enableNamespaceResources": false, "networkProfile": + {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", + "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": + "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21"}]}, + "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": + ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", + "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, + "disableLocalAccounts": false, "securityProfile": {}, "storageProfile": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + Content-Length: + - '2862' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --disable-namespace-resources + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 + (Linux-5.13.0-1022-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=2022-05-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n + \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": + \"cliakstest-clitestyvr77g4r4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.portal.hcp.eastus.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21\"\n + \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": + [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n + \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": + 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": false,\n \"oidcIssuerProfile\": + {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": + \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/4507ab1c-5a22-4467-9a02-e4e8a8b75c69?api-version=2017-08-31 + cache-control: + - no-cache + content-length: + - '4350' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 06:43: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 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --disable-namespace-resources + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 + (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/4507ab1c-5a22-4467-9a02-e4e8a8b75c69?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"1cab0745-225a-6744-9a02-e4e8a8b75c69\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:43:33.5066666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 06:44:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --disable-namespace-resources + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 + (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/4507ab1c-5a22-4467-9a02-e4e8a8b75c69?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"1cab0745-225a-6744-9a02-e4e8a8b75c69\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T06:43:33.5066666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 06:44:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --disable-namespace-resources + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 + (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/4507ab1c-5a22-4467-9a02-e4e8a8b75c69?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"1cab0745-225a-6744-9a02-e4e8a8b75c69\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-06-07T06:43:33.5066666Z\",\n \"endTime\": + \"2022-06-07T06:44:55.6302552Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 06:45:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --disable-namespace-resources + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 + (Linux-5.13.0-1022-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=2022-05-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n + \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": + \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": + \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": + \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": + \"cliakstest-clitestyvr77g4r4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.hcp.eastus.azmk8s.io\",\n + \ \"azurePortalFQDN\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.portal.hcp.eastus.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": + \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n + \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n + \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": + \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": + false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n + \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": + \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": + \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n + \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": + \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": + {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": + [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21\"\n + \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": + \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": + \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": + [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n + \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": + 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": false,\n \"oidcIssuerProfile\": + {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": + \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": + \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '4352' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 06:45:04 GMT expires: - '-1' pragma: From f5ce8b17775e82875bc1dd50c5de31d5b87be5ed Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Wed, 8 Jun 2022 11:58:50 +0530 Subject: [PATCH 41/52] Updated help messages --- src/aks-preview/azext_aks_preview/_params.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index 444c1c864c9..5146de23834 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -301,7 +301,7 @@ def load_arguments(self, _): c.argument('message_of_the_day') c.argument('gpu_instance_profile', arg_type=get_enum_type(gpu_instance_profiles)) c.argument('workload_runtime', arg_type=get_enum_type(workload_runtimes), default=CONST_WORKLOAD_RUNTIME_OCI_CONTAINER) - c.argument('enable_namespace_resources', help='Enables namespace as an ARM resource') + c.argument('enable_namespace_resources', help='Enables sync of namespaces as Azure Resource Manager resources') c.argument('enable_apiserver_vnet_integration', action='store_true', is_preview=True) c.argument('apiserver_subnet_id', validator=validate_apiserver_subnet_id, is_preview=True) c.argument('dns-zone-resource-id') @@ -380,8 +380,8 @@ def load_arguments(self, _): c.argument('enable_oidc_issuer', action='store_true', is_preview=True) c.argument('enable_azure_keyvault_kms', action='store_true', is_preview=True) c.argument('azure_keyvault_kms_key_id', validator=validate_azure_keyvault_kms_key_id, is_preview=True) - c.argument('enable_namespace_resources', help='Enables namespace as an ARM resource') - c.argument('disable_namespace_resources', help='Disables namespace as an ARM resource') + c.argument('enable_namespace_resources', help='Enables sync of namespaces as Azure Resource Manager resources') + c.argument('disable_namespace_resources', help='Disables sync of namespaces as Azure Resource Manager resources') c.argument('enable_apiserver_vnet_integration', action='store_true', is_preview=True) c.argument('apiserver_subnet_id', validator=validate_apiserver_subnet_id, is_preview=True) c.argument('enable_keda', action='store_true', is_preview=True) From d038834ddf323efc09601ebb5d5119980f8aedbc Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Wed, 8 Jun 2022 14:53:25 +0530 Subject: [PATCH 42/52] Updated help message --- src/aks-preview/azext_aks_preview/_params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index 5146de23834..a5c97450d4b 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -599,7 +599,7 @@ def load_arguments(self, _): default=os.path.join(os.path.expanduser('~'), '.kube', 'config')) c.argument('public_fqdn', default=False, action='store_true') c.argument('credential_format', options_list=['--format'], arg_type=get_enum_type(credential_formats)) - c.argument('namespace_name', options_list=['--namespace'], help='If specified, the credentials are returned at the namespace scope, assuming the user has access to the ARM resource for that namespace.') + c.argument('namespace_name', options_list=['--namespace'], help='User only having access to namespace resource can use this parameter to specify the namespace name.') with self.argument_context('aks pod-identity') as c: c.argument('cluster_name', help='The cluster name.') From 63733c5a90757227a196714560ddcef29899f859 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Thu, 7 Jul 2022 11:39:54 +0530 Subject: [PATCH 43/52] Addressed review comments --- src/aks-preview/azext_aks_preview/_params.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index 68bbedab54e..19e2f7c1829 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -308,7 +308,7 @@ def load_arguments(self, _): c.argument('message_of_the_day') c.argument('gpu_instance_profile', arg_type=get_enum_type(gpu_instance_profiles)) c.argument('workload_runtime', arg_type=get_enum_type(workload_runtimes), default=CONST_WORKLOAD_RUNTIME_OCI_CONTAINER) - c.argument('enable_namespace_resources', help='Enables sync of namespaces as Azure Resource Manager resources') + c.argument('enable_namespace_resources', action="store_true", help='Enable sync of namespaces as Azure Resource Manager resources') # no validation for aks create because it already only supports Linux. c.argument('enable_custom_ca_trust', action='store_true') @@ -384,8 +384,8 @@ def load_arguments(self, _): c.argument('disk_driver_version', arg_type=get_enum_type(disk_driver_versions)) c.argument('disable_disk_driver', action='store_true') c.argument('enable_file_driver', action='store_true') - c.argument('enable_namespace_resources', help='Enables sync of namespaces as Azure Resource Manager resources') - c.argument('disable_namespace_resources', help='Disables sync of namespaces as Azure Resource Manager resources') + c.argument('enable_namespace_resources', action='store_true', help='Enable sync of namespaces as Azure Resource Manager resources') + c.argument('disable_namespace_resources', action='store_true', help='Disable sync of namespaces as Azure Resource Manager resources') c.argument('disable_file_driver', action='store_true') c.argument('enable_snapshot_controller', action='store_true') c.argument('disable_snapshot_controller', action='store_true') From bbdb72f7e4767457572ae1b6e9315949dd1b3d92 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Thu, 7 Jul 2022 16:57:51 +0530 Subject: [PATCH 44/52] Updated test recordings --- .../managed_cluster_decorator.py | 22 + ...est_aks_create_with_namespace_enabled.yaml | 590 +++++--- ...ks_get_credentials_at_namespace_scope.yaml | 483 ++++-- .../test_aks_update_enable_namespace.yaml | 1325 ++++++++++------- .../tests/latest/test_aks_commands.py | 4 +- 5 files changed, 1542 insertions(+), 882 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py index a98c745cd39..9fbbf882187 100644 --- a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py +++ b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py @@ -1621,6 +1621,14 @@ def set_up_workload_auto_scaler_profile(self, mc: ManagedCluster) -> ManagedClus return mc + def set_up_enable_namespace_resource(self, mc: ManagedCluster) -> ManagedCluster: + """Sets the property to enable namespace as an ARM resource + :return: the ManagedCluster object + """ + if self.context.raw_param.get("enable_namespace_resources"): + mc.enable_namespace_resources = True + return mc + def construct_mc_profile_preview(self, bypass_restore_defaults: bool = False) -> ManagedCluster: """The overall controller used to construct the default ManagedCluster profile. @@ -1657,6 +1665,8 @@ def construct_mc_profile_preview(self, bypass_restore_defaults: bool = False) -> mc = self.set_up_ingress_web_app_routing(mc) # set up workload auto scaler profile mc = self.set_up_workload_auto_scaler_profile(mc) + # set up the enableNamespaceResources properties + mc = self.set_up_enable_namespace_resource(mc) # DO NOT MOVE: keep this at the bottom, restore defaults mc = self._restore_defaults_in_mc(mc) @@ -1930,6 +1940,16 @@ def update_workload_auto_scaler_profile(self, mc: ManagedCluster) -> ManagedClus return mc + def update_enable_namespace_resources(self, mc: ManagedCluster) -> ManagedCluster: + """Sets the property to enable namespace as an ARM resource + :return: the ManagedCluster object + """ + if self.context.raw_param.get("enable_namespace_resources"): + mc.enable_namespace_resources = True + elif self.context.raw_param.get("disable_namespace_resources"): + mc.enable_namespace_resources = False + return mc + def update_mc_profile_preview(self) -> ManagedCluster: """The overall controller used to update the preview ManagedCluster profile. @@ -1962,5 +1982,7 @@ def update_mc_profile_preview(self) -> ManagedCluster: mc = self.update_storage_profile(mc) # update workload auto scaler profile mc = self.update_workload_auto_scaler_profile(mc) + # update the enbaleNamespaceResources property + mc = self.update_enable_namespace_resources(mc) return mc diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml index 855bece1c6c..e0ba4ee1d07 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml @@ -13,12 +13,13 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.4 + (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?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T06:13:30Z","Created":"20220607"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-07-07T10:06:44Z","Created":"20220707"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 06:13:32 GMT + - Thu, 07 Jul 2022 10:06:59 GMT expires: - '-1' pragma: @@ -43,14 +44,15 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitest6stoo45rh-1bfbb5", - "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": - "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "enableCustomCATrust": false, - "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": - -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": - false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesttnrs4ppqy-1bfbb5", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": + 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": + false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": + "", "upgradeSettings": {}, "enableNodePublicIP": false, "enableCustomCATrust": + false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "enableNamespaceResources": true, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": @@ -67,69 +69,72 @@ interactions: Connection: - keep-alive Content-Length: - - '1833' + - '1920' Content-Type: - application/json ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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=2022-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitest6stoo45rh-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest6stoo45rh-1bfbb5-8ba3d018.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest6stoo45rh-1bfbb5-8ba3d018.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": - \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": - \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": - \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": - [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n - \ },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": - true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n - \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitesttnrs4ppqy-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitesttnrs4ppqy-1bfbb5-56182f6d.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitesttnrs4ppqy-1bfbb5-56182f6d.portal.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ + \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ + : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ + \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ + : 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n\ + \ \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true,\n\ + \ \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\"\ + : true\n },\n \"snapshotController\": {\n \"enabled\": true\n \ + \ }\n },\n \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\"\ + : {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"\ + SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 cache-control: - no-cache content-length: - - '3700' + - '3728' content-type: - application/json date: - - Tue, 07 Jun 2022 06:13:37 GMT + - Thu, 07 Jul 2022 10:07:14 GMT expires: - '-1' pragma: @@ -141,7 +146,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -159,23 +164,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\"\n }" + string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:14:07 GMT + - Thu, 07 Jul 2022 10:07:44 GMT expires: - '-1' pragma: @@ -207,23 +212,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\"\n }" + string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:14:38 GMT + - Thu, 07 Jul 2022 10:08:16 GMT expires: - '-1' pragma: @@ -255,23 +260,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\"\n }" + string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:15:08 GMT + - Thu, 07 Jul 2022 10:08:46 GMT expires: - '-1' pragma: @@ -303,23 +308,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\"\n }" + string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:15:37 GMT + - Thu, 07 Jul 2022 10:09:16 GMT expires: - '-1' pragma: @@ -351,23 +356,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\"\n }" + string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:16:07 GMT + - Thu, 07 Jul 2022 10:09:48 GMT expires: - '-1' pragma: @@ -399,23 +404,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\"\n }" + string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:16:38 GMT + - Thu, 07 Jul 2022 10:10:18 GMT expires: - '-1' pragma: @@ -447,23 +452,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\"\n }" + string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:17:08 GMT + - Thu, 07 Jul 2022 10:10:48 GMT expires: - '-1' pragma: @@ -495,23 +500,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\"\n }" + string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:17:38 GMT + - Thu, 07 Jul 2022 10:11:19 GMT expires: - '-1' pragma: @@ -543,24 +548,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/c498d467-4eeb-40de-a997-83987d29990c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"67d498c4-eb4e-de40-a997-83987d29990c\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-06-07T06:13:37.76Z\",\n \"endTime\": - \"2022-06-07T06:17:46.249219Z\"\n }" + string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" headers: cache-control: - no-cache content-length: - - '164' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:18:08 GMT + - Thu, 07 Jul 2022 10:11:49 GMT expires: - '-1' pragma: @@ -592,66 +596,310 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 07 Jul 2022 10:12:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --ssh-key-value + User-Agent: + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 07 Jul 2022 10:12:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --ssh-key-value + User-Agent: + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 07 Jul 2022 10:13:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --ssh-key-value + User-Agent: + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 07 Jul 2022 10:13:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --ssh-key-value + User-Agent: + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\",\n \"\ + endTime\": \"2022-07-07T10:14:15.6429791Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Thu, 07 Jul 2022 10:14:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --ssh-key-value + User-Agent: + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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=2022-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitest6stoo45rh-1bfbb5\",\n \"fqdn\": \"cliakstest-clitest6stoo45rh-1bfbb5-8ba3d018.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitest6stoo45rh-1bfbb5-8ba3d018.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/4f151a10-9a65-487f-acf1-d8260142471a\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n - \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitesttnrs4ppqy-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitesttnrs4ppqy-1bfbb5-56182f6d.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitesttnrs4ppqy-1bfbb5-56182f6d.portal.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ + \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/f679b2be-6321-4ebd-b805-c1afb35612ca\"\ + \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ + : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ + \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ + : 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": true,\n \ + \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4351' + - '4379' content-type: - application/json date: - - Tue, 07 Jun 2022 06:18:08 GMT + - Thu, 07 Jul 2022 10:14:23 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml index 987dedef44c..2f71e7af44e 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml @@ -13,12 +13,13 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.4 + (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?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T06:47:10Z","Created":"20220607"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-07-07T11:07:41Z","Created":"20220707"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 06:47:10 GMT + - Thu, 07 Jul 2022 11:07:58 GMT expires: - '-1' pragma: @@ -43,14 +44,15 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestlc5umewap-1bfbb5", - "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": - "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "enableCustomCATrust": false, - "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": - -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": - false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestr4kf3lwnc-1bfbb5", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": + 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": + false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": + "", "upgradeSettings": {}, "enableNodePublicIP": false, "enableCustomCATrust": + false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "enableNamespaceResources": true, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": @@ -67,69 +69,72 @@ interactions: Connection: - keep-alive Content-Length: - - '1833' + - '1920' Content-Type: - application/json ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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=2022-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestlc5umewap-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestlc5umewap-1bfbb5-e3fff863.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestlc5umewap-1bfbb5-e3fff863.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": - \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": - \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": - \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": - [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n - \ },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": - true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n - \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestr4kf3lwnc-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestr4kf3lwnc-1bfbb5-3eb29678.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestr4kf3lwnc-1bfbb5-3eb29678.portal.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ + \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ + : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ + \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ + : 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n\ + \ \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true,\n\ + \ \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\"\ + : true\n },\n \"snapshotController\": {\n \"enabled\": true\n \ + \ }\n },\n \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\"\ + : {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"\ + SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 cache-control: - no-cache content-length: - - '3700' + - '3728' content-type: - application/json date: - - Tue, 07 Jun 2022 06:47:15 GMT + - Thu, 07 Jul 2022 11:08:10 GMT expires: - '-1' pragma: @@ -159,23 +164,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"d773f94c-9f60-d944-b4de-be42a4a22d1c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:47:15.65Z\"\n }" + string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:47:45 GMT + - Thu, 07 Jul 2022 11:08:40 GMT expires: - '-1' pragma: @@ -207,23 +212,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"d773f94c-9f60-d944-b4de-be42a4a22d1c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:47:15.65Z\"\n }" + string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:48:15 GMT + - Thu, 07 Jul 2022 11:09:11 GMT expires: - '-1' pragma: @@ -255,23 +260,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"d773f94c-9f60-d944-b4de-be42a4a22d1c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:47:15.65Z\"\n }" + string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:48:45 GMT + - Thu, 07 Jul 2022 11:09:41 GMT expires: - '-1' pragma: @@ -303,23 +308,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"d773f94c-9f60-d944-b4de-be42a4a22d1c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:47:15.65Z\"\n }" + string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:49:16 GMT + - Thu, 07 Jul 2022 11:10:12 GMT expires: - '-1' pragma: @@ -351,23 +356,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"d773f94c-9f60-d944-b4de-be42a4a22d1c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:47:15.65Z\"\n }" + string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:49:46 GMT + - Thu, 07 Jul 2022 11:10:43 GMT expires: - '-1' pragma: @@ -399,23 +404,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"d773f94c-9f60-d944-b4de-be42a4a22d1c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:47:15.65Z\"\n }" + string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:50:16 GMT + - Thu, 07 Jul 2022 11:11:13 GMT expires: - '-1' pragma: @@ -447,23 +452,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"d773f94c-9f60-d944-b4de-be42a4a22d1c\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:47:15.65Z\"\n }" + string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:50:46 GMT + - Thu, 07 Jul 2022 11:11:44 GMT expires: - '-1' pragma: @@ -495,24 +500,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/4cf973d7-609f-44d9-b4de-be42a4a22d1c?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"d773f94c-9f60-d944-b4de-be42a4a22d1c\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-06-07T06:47:15.65Z\",\n \"endTime\": - \"2022-06-07T06:51:04.7220284Z\"\n }" + string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:51:16 GMT + - Thu, 07 Jul 2022 11:12:15 GMT expires: - '-1' pragma: @@ -544,66 +548,214 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 07 Jul 2022 11:12:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --ssh-key-value + User-Agent: + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 07 Jul 2022 11:13:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --ssh-key-value + User-Agent: + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\",\n \"\ + endTime\": \"2022-07-07T11:13:24.8674689Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Thu, 07 Jul 2022 11:13:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --ssh-key-value + User-Agent: + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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=2022-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestlc5umewap-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestlc5umewap-1bfbb5-e3fff863.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestlc5umewap-1bfbb5-e3fff863.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/fac85207-a681-49dc-b9ff-076fcac3e77d\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n - \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestr4kf3lwnc-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestr4kf3lwnc-1bfbb5-3eb29678.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestr4kf3lwnc-1bfbb5-3eb29678.portal.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ + \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/6bb0c86f-7e1c-4654-9d43-ba1225269ceb\"\ + \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ + : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ + \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ + : 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": true,\n \ + \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4351' + - '4379' content-type: - application/json date: - - Tue, 07 Jun 2022 06:51:17 GMT + - Thu, 07 Jul 2022 11:13:47 GMT expires: - '-1' pragma: @@ -639,7 +791,8 @@ interactions: ParameterSetName: - --resource-group --name --namespace User-Agent: - - AZURECLI/2.36.0 azsdk-python-namespaceclient/unknown Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-namespaceclient/unknown Python/3.10.4 + (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.KubernetesConfiguration/namespaces/default/listUserCredential?api-version=2021-12-01-preview response: @@ -656,7 +809,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 06:52:19 GMT + - Thu, 07 Jul 2022 11:18:57 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml index d665f26e13e..31a6f6a3b0a 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml @@ -13,12 +13,13 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.8.10 (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.4 + (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?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-06-07T06:37:46Z","Created":"20220607"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-07-07T10:25:40Z","Created":"20220707"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 06:37:47 GMT + - Thu, 07 Jul 2022 10:25:57 GMT expires: - '-1' pragma: @@ -43,14 +44,15 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestyvr77g4r4-1bfbb5", - "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "workloadRuntime": - "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", - "mode": "System", "enableNodePublicIP": false, "enableCustomCATrust": false, - "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": - -1.0, "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": - false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", - "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestsepbmbwxt-1bfbb5", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": + 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": + false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": + "", "upgradeSettings": {}, "enableNodePublicIP": false, "enableCustomCATrust": + false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": @@ -66,68 +68,72 @@ interactions: Connection: - keep-alive Content-Length: - - '1799' + - '1886' Content-Type: - application/json ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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=2022-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestyvr77g4r4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Creating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n }\n },\n \"podCidr\": - \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": - \"10.0.0.10\",\n \"dockerBridgeCidr\": \"172.17.0.1/16\",\n \"outboundType\": - \"loadBalancer\",\n \"podCidrs\": [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": - [\n \"10.0.0.0/16\"\n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n - \ },\n \"maxAgentPools\": 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": - {},\n \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": - true,\n \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\": - true\n },\n \"snapshotController\": {\n \"enabled\": true\n }\n - \ },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestsepbmbwxt-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.portal.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ + \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ + : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ + \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ + : 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n\ + \ \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true,\n\ + \ \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\"\ + : true\n },\n \"snapshotController\": {\n \"enabled\": true\n \ + \ }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n \ + \ },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\"\ + :\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\ + \n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n\ + \ }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 cache-control: - no-cache content-length: - - '3663' + - '3691' content-type: - application/json date: - - Tue, 07 Jun 2022 06:37:53 GMT + - Thu, 07 Jul 2022 10:26:10 GMT expires: - '-1' pragma: @@ -139,7 +145,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -157,23 +163,71 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e58cd725-f412-674b-87ef-6b0ddb261fed\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:37:53.24Z\"\n }" + string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' + content-type: + - application/json + date: + - Thu, 07 Jul 2022 10:26:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:38:23 GMT + - Thu, 07 Jul 2022 10:27:11 GMT expires: - '-1' pragma: @@ -205,23 +259,23 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e58cd725-f412-674b-87ef-6b0ddb261fed\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:37:53.24Z\"\n }" + string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:38:52 GMT + - Thu, 07 Jul 2022 10:27:41 GMT expires: - '-1' pragma: @@ -253,23 +307,23 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e58cd725-f412-674b-87ef-6b0ddb261fed\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:37:53.24Z\"\n }" + string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:39:23 GMT + - Thu, 07 Jul 2022 10:28:12 GMT expires: - '-1' pragma: @@ -301,23 +355,23 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e58cd725-f412-674b-87ef-6b0ddb261fed\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:37:53.24Z\"\n }" + string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:39:53 GMT + - Thu, 07 Jul 2022 10:28:44 GMT expires: - '-1' pragma: @@ -349,23 +403,23 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e58cd725-f412-674b-87ef-6b0ddb261fed\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:37:53.24Z\"\n }" + string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:40:23 GMT + - Thu, 07 Jul 2022 10:29:14 GMT expires: - '-1' pragma: @@ -397,23 +451,23 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e58cd725-f412-674b-87ef-6b0ddb261fed\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:37:53.24Z\"\n }" + string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:40:53 GMT + - Thu, 07 Jul 2022 10:29:44 GMT expires: - '-1' pragma: @@ -445,23 +499,23 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e58cd725-f412-674b-87ef-6b0ddb261fed\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:37:53.24Z\"\n }" + string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:41:23 GMT + - Thu, 07 Jul 2022 10:30:15 GMT expires: - '-1' pragma: @@ -493,24 +547,23 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/25d78ce5-12f4-4b67-87ef-6b0ddb261fed?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e58cd725-f412-674b-87ef-6b0ddb261fed\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-06-07T06:37:53.24Z\",\n \"endTime\": - \"2022-06-07T06:41:43.4461419Z\"\n }" + string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:41:54 GMT + - Thu, 07 Jul 2022 10:30:46 GMT expires: - '-1' pragma: @@ -542,65 +595,214 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 07 Jul 2022 10:31:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Thu, 07 Jul 2022 10:31:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\",\n \"\ + endTime\": \"2022-07-07T10:31:53.1391443Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Thu, 07 Jul 2022 10:32:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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=2022-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestyvr77g4r4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestsepbmbwxt-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.portal.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ + \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65\"\ + \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ + : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ + \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ + : 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n\ + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\"\ + : \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\"\ + : \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4314' + - '4342' content-type: - application/json date: - - Tue, 07 Jun 2022 06:41:54 GMT + - Thu, 07 Jul 2022 10:32:19 GMT expires: - '-1' pragma: @@ -632,65 +834,69 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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=2022-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestyvr77g4r4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n - \ \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": - {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestsepbmbwxt-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.portal.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ + \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65\"\ + \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ + : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ + \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ + : 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n\ + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\"\ + : \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\"\ + : \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4314' + - '4342' content-type: - application/json date: - - Tue, 07 Jun 2022 06:41:55 GMT + - Thu, 07 Jul 2022 10:32:27 GMT expires: - '-1' pragma: @@ -711,22 +917,22 @@ interactions: - request: body: '{"location": "eastus", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.22.6", "dnsPrefix": - "cliakstest-clitestyvr77g4r4-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestsepbmbwxt-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", - "mode": "System", "orchestratorVersion": "1.22.6", "powerState": {"code": "Running"}, - "enableNodePublicIP": false, "enableCustomCATrust": false, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + "mode": "System", "orchestratorVersion": "1.22.6", "upgradeSettings": {}, "powerState": + {"code": "Running"}, "enableNodePublicIP": false, "enableCustomCATrust": false, + "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, + "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_eastus", "enableRBAC": true, "enablePodSecurityPolicy": false, "enableNamespaceResources": true, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21"}]}, + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65"}]}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -741,74 +947,77 @@ interactions: Connection: - keep-alive Content-Length: - - '2861' + - '2884' Content-Type: - application/json ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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=2022-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestyvr77g4r4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n - \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestsepbmbwxt-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.portal.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ + \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65\"\ + \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ + : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ + \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ + : 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": true,\n \ + \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2e785333-658f-4aa5-b2d4-c5fcc4ab8534?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/e0ea1c3c-4eef-48ad-adb9-43a3430d08ba?api-version=2017-08-31 cache-control: - no-cache content-length: - - '4349' + - '4377' content-type: - application/json date: - - Tue, 07 Jun 2022 06:41:58 GMT + - Thu, 07 Jul 2022 10:32:36 GMT expires: - '-1' pragma: @@ -824,7 +1033,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 200 message: OK @@ -842,23 +1051,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/2e785333-658f-4aa5-b2d4-c5fcc4ab8534?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/e0ea1c3c-4eef-48ad-adb9-43a3430d08ba?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"3353782e-8f65-a54a-b2d4-c5fcc4ab8534\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:41:58.93Z\"\n }" + string: "{\n \"name\": \"3c1ceae0-ef4e-ad48-adb9-43a3430d08ba\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:32:35.1033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:42:28 GMT + - Thu, 07 Jul 2022 10:33:06 GMT expires: - '-1' pragma: @@ -890,23 +1099,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/2e785333-658f-4aa5-b2d4-c5fcc4ab8534?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/e0ea1c3c-4eef-48ad-adb9-43a3430d08ba?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"3353782e-8f65-a54a-b2d4-c5fcc4ab8534\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:41:58.93Z\"\n }" + string: "{\n \"name\": \"3c1ceae0-ef4e-ad48-adb9-43a3430d08ba\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:32:35.1033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:42:58 GMT + - Thu, 07 Jul 2022 10:33:37 GMT expires: - '-1' pragma: @@ -938,24 +1147,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/2e785333-658f-4aa5-b2d4-c5fcc4ab8534?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/e0ea1c3c-4eef-48ad-adb9-43a3430d08ba?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"3353782e-8f65-a54a-b2d4-c5fcc4ab8534\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-06-07T06:41:58.93Z\",\n \"endTime\": - \"2022-06-07T06:43:14.6181835Z\"\n }" + string: "{\n \"name\": \"3c1ceae0-ef4e-ad48-adb9-43a3430d08ba\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:32:35.1033333Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '126' content-type: - application/json date: - - Tue, 07 Jun 2022 06:43:29 GMT + - Thu, 07 Jul 2022 10:34:08 GMT expires: - '-1' pragma: @@ -987,66 +1195,114 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/e0ea1c3c-4eef-48ad-adb9-43a3430d08ba?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"3c1ceae0-ef4e-ad48-adb9-43a3430d08ba\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-07-07T10:32:35.1033333Z\",\n \"\ + endTime\": \"2022-07-07T10:34:13.8475024Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Thu, 07 Jul 2022 10:34:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + 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-namespace-resources + User-Agent: + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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=2022-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestyvr77g4r4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n - \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestsepbmbwxt-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.portal.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ + \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65\"\ + \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ + : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ + \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ + : 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": true,\n \ + \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4351' + - '4379' content-type: - application/json date: - - Tue, 07 Jun 2022 06:43:30 GMT + - Thu, 07 Jul 2022 10:34:40 GMT expires: - '-1' pragma: @@ -1055,10 +1311,6 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: @@ -1078,66 +1330,69 @@ interactions: ParameterSetName: - --resource-group --name --disable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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=2022-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestyvr77g4r4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": true,\n \"oidcIssuerProfile\": {\n - \ \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestsepbmbwxt-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.portal.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ + \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65\"\ + \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ + : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ + \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ + : 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": true,\n \ + \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4351' + - '4379' content-type: - application/json date: - - Tue, 07 Jun 2022 06:43:30 GMT + - Thu, 07 Jul 2022 10:34:48 GMT expires: - '-1' pragma: @@ -1146,10 +1401,6 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: @@ -1158,22 +1409,22 @@ interactions: - request: body: '{"location": "eastus", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.22.6", "dnsPrefix": - "cliakstest-clitestyvr77g4r4-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitestsepbmbwxt-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", - "mode": "System", "orchestratorVersion": "1.22.6", "powerState": {"code": "Running"}, - "enableNodePublicIP": false, "enableCustomCATrust": false, "enableEncryptionAtHost": - false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], - "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + "mode": "System", "orchestratorVersion": "1.22.6", "upgradeSettings": {}, "powerState": + {"code": "Running"}, "enableNodePublicIP": false, "enableCustomCATrust": false, + "enableEncryptionAtHost": false, "enableUltraSSD": false, "enableFIPS": false, + "name": "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": + {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\n"}]}}, "servicePrincipalProfile": {"clientId":"00000000-0000-0000-0000-000000000001"}, "nodeResourceGroup": "MC_clitest000001_cliakstest000002_eastus", "enableRBAC": true, "enablePodSecurityPolicy": false, "enableNamespaceResources": false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21"}]}, + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65"}]}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -1188,74 +1439,77 @@ interactions: Connection: - keep-alive Content-Length: - - '2862' + - '2885' Content-Type: - application/json ParameterSetName: - --resource-group --name --disable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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=2022-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Updating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestyvr77g4r4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Updating\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": false,\n \"oidcIssuerProfile\": - {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestsepbmbwxt-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.portal.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ + \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65\"\ + \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ + : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ + \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ + : 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": false,\n \ + \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/4507ab1c-5a22-4467-9a02-e4e8a8b75c69?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c15f4936-2c2c-4269-aad4-f4d7ba31f036?api-version=2017-08-31 cache-control: - no-cache content-length: - - '4350' + - '4378' content-type: - application/json date: - - Tue, 07 Jun 2022 06:43:33 GMT + - Thu, 07 Jul 2022 10:34:57 GMT expires: - '-1' pragma: @@ -1264,14 +1518,10 @@ 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' + - '1198' status: code: 200 message: OK @@ -1289,14 +1539,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/4507ab1c-5a22-4467-9a02-e4e8a8b75c69?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c15f4936-2c2c-4269-aad4-f4d7ba31f036?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"1cab0745-225a-6744-9a02-e4e8a8b75c69\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:43:33.5066666Z\"\n }" + string: "{\n \"name\": \"36495fc1-2c2c-6942-aad4-f4d7ba31f036\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:34:55.8766666Z\"\n }" headers: cache-control: - no-cache @@ -1305,7 +1555,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 06:44:03 GMT + - Thu, 07 Jul 2022 10:35:28 GMT expires: - '-1' pragma: @@ -1314,10 +1564,6 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: @@ -1337,14 +1583,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/4507ab1c-5a22-4467-9a02-e4e8a8b75c69?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c15f4936-2c2c-4269-aad4-f4d7ba31f036?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"1cab0745-225a-6744-9a02-e4e8a8b75c69\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2022-06-07T06:43:33.5066666Z\"\n }" + string: "{\n \"name\": \"36495fc1-2c2c-6942-aad4-f4d7ba31f036\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-07T10:34:55.8766666Z\"\n }" headers: cache-control: - no-cache @@ -1353,7 +1599,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 06:44:33 GMT + - Thu, 07 Jul 2022 10:35:58 GMT expires: - '-1' pragma: @@ -1362,10 +1608,6 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: @@ -1385,15 +1627,15 @@ interactions: ParameterSetName: - --resource-group --name --disable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/4507ab1c-5a22-4467-9a02-e4e8a8b75c69?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c15f4936-2c2c-4269-aad4-f4d7ba31f036?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"1cab0745-225a-6744-9a02-e4e8a8b75c69\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2022-06-07T06:43:33.5066666Z\",\n \"endTime\": - \"2022-06-07T06:44:55.6302552Z\"\n }" + string: "{\n \"name\": \"36495fc1-2c2c-6942-aad4-f4d7ba31f036\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-07-07T10:34:55.8766666Z\",\n \"\ + endTime\": \"2022-07-07T10:36:24.4198744Z\"\n }" headers: cache-control: - no-cache @@ -1402,7 +1644,7 @@ interactions: content-type: - application/json date: - - Tue, 07 Jun 2022 06:45:03 GMT + - Thu, 07 Jul 2022 10:36:28 GMT expires: - '-1' pragma: @@ -1411,10 +1653,6 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: @@ -1434,66 +1672,69 @@ interactions: ParameterSetName: - --resource-group --name --disable-namespace-resources User-Agent: - - AZURECLI/2.36.0 azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.8.10 - (Linux-5.13.0-1022-azure-x86_64-with-glibc2.29) + - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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=2022-05-02-preview response: body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n - \ \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\": - \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.22.6\",\n \"currentKubernetesVersion\": \"1.22.6\",\n \"dnsPrefix\": - \"cliakstest-clitestyvr77g4r4-1bfbb5\",\n \"fqdn\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.hcp.eastus.azmk8s.io\",\n - \ \"azurePortalFQDN\": \"cliakstest-clitestyvr77g4r4-1bfbb5-a5e76fee.portal.hcp.eastus.azmk8s.io\",\n - \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": - 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": - \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"workloadRuntime\": - \"OCIContainer\",\n \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n - \ \"enableAutoScaling\": false,\n \"provisioningState\": \"Succeeded\",\n - \ \"powerState\": {\n \"code\": \"Running\"\n },\n \"orchestratorVersion\": - \"1.22.6\",\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\": - false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\",\n - \ \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\": - \"AKSUbuntu-1804gen2containerd-2022.05.24\",\n \"enableFIPS\": false\n - \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n - \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": - {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \"nodeResourceGroup\": - \"MC_clitest000001_cliakstest000002_eastus\",\n \"enableRBAC\": true,\n - \ \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": - \"kubenet\",\n \"loadBalancerSku\": \"Standard\",\n \"loadBalancerProfile\": - {\n \"managedOutboundIPs\": {\n \"count\": 1\n },\n \"effectiveOutboundIPs\": - [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3e4b9b6d-a3b8-4c12-b987-d7c47404dc21\"\n - \ }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": - \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\": - \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\": - [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\n - \ ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\": - 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": false,\n \"oidcIssuerProfile\": - {\n \"enabled\": false\n }\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": - \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\": - \"Basic\",\n \"tier\": \"Free\"\n }\n }" + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestsepbmbwxt-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.portal.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ + \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65\"\ + \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ + : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ + \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ + : 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 \"enableNamespaceResources\": false,\n \ + \ \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n },\n \"identity\"\ + : {\n \"type\": \"SystemAssigned\",\n \"principalId\":\"00000000-0000-0000-0000-000000000001\"\ + ,\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\"\ + : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: cache-control: - no-cache content-length: - - '4352' + - '4380' content-type: - application/json date: - - Tue, 07 Jun 2022 06:45:04 GMT + - Thu, 07 Jul 2022 10:36:29 GMT expires: - '-1' pragma: @@ -1502,10 +1743,6 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: 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 ab063178f99..03a8c1be55d 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 @@ -331,8 +331,8 @@ def test_aks_get_credentials_at_namespace_scope(self, resource_group): }) create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-namespace-resources --ssh-key-value={ssh_key_value}' self.cmd(create_cmd) - print("Cluster created, sleeping for 60 seconds") - sleep(60) # Sleep for 60 seconds to allow hydration of namespaces + print("Cluster created, sleeping for 300 seconds") + sleep(300) # Sleep for 300 seconds to allow hydration of namespaces get_credentials_command = 'aks get-credentials --resource-group={resource_group} --name={name} --namespace default' with self.assertRaisesRegexp(HttpResponseError, ".* ListUserCredentials for Namespaces is not supported for non AAD clusters.*"): # ListUserCredential will fail for non-aad clusters. By verifying this error, we can verify that the call has reached the RP. self.cmd(get_credentials_command) From cbf966ae09506772b114be15cff781ff55c63eb2 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Fri, 8 Jul 2022 15:50:30 +0530 Subject: [PATCH 45/52] Updated test to allow mocking of sleep --- .../azext_aks_preview/tests/latest/test_aks_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 03a8c1be55d..65b2fe03d82 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 @@ -7,7 +7,7 @@ import pty import subprocess import tempfile -from time import sleep +import time from azext_aks_preview.tests.latest.custom_preparers import ( AKSCustomResourceGroupPreparer, @@ -332,7 +332,7 @@ def test_aks_get_credentials_at_namespace_scope(self, resource_group): create_cmd = 'aks create --resource-group={resource_group} --name={name} --enable-namespace-resources --ssh-key-value={ssh_key_value}' self.cmd(create_cmd) print("Cluster created, sleeping for 300 seconds") - sleep(300) # Sleep for 300 seconds to allow hydration of namespaces + time.sleep(300) # Sleep for 300 seconds to allow hydration of namespaces get_credentials_command = 'aks get-credentials --resource-group={resource_group} --name={name} --namespace default' with self.assertRaisesRegexp(HttpResponseError, ".* ListUserCredentials for Namespaces is not supported for non AAD clusters.*"): # ListUserCredential will fail for non-aad clusters. By verifying this error, we can verify that the call has reached the RP. self.cmd(get_credentials_command) From 2224f0e500981b68f29fa68656fcedbf0d490aca Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Mon, 11 Jul 2022 10:51:03 +0530 Subject: [PATCH 46/52] Added validation for mutually exclusive parameters --- .../managed_cluster_decorator.py | 68 ++++++++++++++++++- 1 file changed, 66 insertions(+), 2 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py index 9fbbf882187..8a64c627e88 100644 --- a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py +++ b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py @@ -1333,6 +1333,67 @@ def get_disable_keda(self) -> bool: """ return self._get_disable_keda(enable_validation=True) + def _get_enable_namespace_resources(self, enable_validation: bool = False) -> bool: + """Internal function to obtain the value of enable_namespace_resources. + + This function supports the option of enable_validation. When enabled, if both enable_namespace_resources and disable_namespace_resources are + specified, raise a MutuallyExclusiveArgumentError. + + :return: bool + """ + # Read the original value passed by the command. + enable_namespace_resources = self.raw_param.get("enable_namespace_resources") + + # This parameter does not need dynamic completion. + if enable_validation: + if enable_namespace_resources and self._get_disable_namespace_resources(enable_validation=False): + raise MutuallyExclusiveArgumentError( + "Cannot specify --enable-namespace-resources and --disable-namespace-resources at the same time." + ) + + return enable_namespace_resources + + def get_enable_namespace_resources(self) -> bool: + """Obtain the value of enable_namespace_resources. + + This function will verify the parameter by default. If both enable_namespace_resources and disable_namespace_resources are specified, raise a + MutuallyExclusiveArgumentError. + + :return: bool + """ + return self._get_enable_namespace_resources(enable_validation=True) + + def _get_disable_namespace_resources(self, enable_validation: bool = False) -> bool: + """Internal function to obtain the value of disable_namespace_resources. + + This function supports the option of enable_validation. When enabled, if both enable_namespace_resources and disable_namespace_resources are + specified, raise a MutuallyExclusiveArgumentError. + + :return: bool + """ + # Read the original value passed by the command. + disable_namespace_resources = self.raw_param.get("disable_namespace_resources") + + # This option is not supported in create mode, hence we do not read the property value from the `mc` object. + # This parameter does not need dynamic completion. + if enable_validation: + if disable_namespace_resources and self._get_enable_namespace_resources(enable_validation=False): + raise MutuallyExclusiveArgumentError( + "Cannot specify --enable-namespace-resources and --disable-namespace-resources at the same time." + ) + + return disable_namespace_resources + + def get_disable_namespace_resources(self) -> bool: + """Obtain the value of disable_namespace_resources. + + This function will verify the parameter by default. If both enable_namespace_resources and disable_namespace_resources are specified, raise a + MutuallyExclusiveArgumentError. + + :return: bool + """ + return self._get_disable_namespace_resources(enable_validation=True) + class AKSPreviewManagedClusterCreateDecorator(AKSManagedClusterCreateDecorator): def __init__( @@ -1944,9 +2005,12 @@ def update_enable_namespace_resources(self, mc: ManagedCluster) -> ManagedCluste """Sets the property to enable namespace as an ARM resource :return: the ManagedCluster object """ - if self.context.raw_param.get("enable_namespace_resources"): + self._ensure_mc(mc) + + if self.context.get_enable_namespace_resources(): mc.enable_namespace_resources = True - elif self.context.raw_param.get("disable_namespace_resources"): + + if self.context.get_disable_namespace_resources(): mc.enable_namespace_resources = False return mc From c2815dee14265bd72478602391d110060c662575 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Mon, 11 Jul 2022 12:28:28 +0530 Subject: [PATCH 47/52] Updated tests --- ..._aks_update_enable_disable_namespaces.yaml | 917 ++++++++++++++++++ .../tests/latest/test_aks_commands.py | 21 +- 2 files changed, 937 insertions(+), 1 deletion(-) create mode 100644 src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_disable_namespaces.yaml diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_disable_namespaces.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_disable_namespaces.yaml new file mode 100644 index 00000000000..9d9f16d8dcf --- /dev/null +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_disable_namespaces.yaml @@ -0,0 +1,917 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.4 + (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?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-07-11T06:50:04Z","Created":"20220711"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '325' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 11 Jul 2022 06:50: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": "eastus", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestf4iabnp52-1bfbb5", + "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": + 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": + false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": + "", "upgradeSettings": {}, "enableNodePublicIP": false, "enableCustomCATrust": + false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": + -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false, + "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": + "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": + false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", + "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": + "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, + "disableLocalAccounts": false, "storageProfile": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + Content-Length: + - '1886' + Content-Type: + - application/json + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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=2022-05-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestf4iabnp52-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestf4iabnp52-1bfbb5-29485819.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestf4iabnp52-1bfbb5-29485819.portal.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ + \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ + : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ + \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ + : 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n\ + \ \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true,\n\ + \ \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\"\ + : true\n },\n \"snapshotController\": {\n \"enabled\": true\n \ + \ }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n \ + \ },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\"\ + :\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\ + \n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n\ + \ }" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + cache-control: + - no-cache + content-length: + - '3691' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 06:50:38 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 --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 06:51:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 06:51:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 06:52:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 06:52:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 06:53:12 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 06:53:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 06: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: + - 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 --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 06:54:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 06:55:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 06:55:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '121' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 06:56:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\",\n \"endTime\"\ + : \"2022-07-11T06:56:29.8226904Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '165' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 06:56:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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=2022-05-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestf4iabnp52-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestf4iabnp52-1bfbb5-29485819.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestf4iabnp52-1bfbb5-29485819.portal.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ + \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/bab75fdb-9088-444d-95f1-c0df2f658a99\"\ + \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ + : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ + \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ + : 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n\ + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\"\ + : \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\"\ + : \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '4342' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 06:56:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --enable-namespace-resources --disable-namespace-resources + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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=2022-05-02-preview + response: + body: + string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ + ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ + : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ + : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestf4iabnp52-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestf4iabnp52-1bfbb5-29485819.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestf4iabnp52-1bfbb5-29485819.portal.hcp.eastus.azmk8s.io\"\ + ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ + \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ + : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ + ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ + \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ + \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ + \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ + ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ + : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ + ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ + \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ + : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ + \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ + \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ + : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ + \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ + : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ + \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ + \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ + : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ + ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ + count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/bab75fdb-9088-444d-95f1-c0df2f658a99\"\ + \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ + : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ + : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ + : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ + \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ + : 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n\ + \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\"\ + : \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\"\ + : \"Basic\",\n \"tier\": \"Free\"\n }\n }" + headers: + cache-control: + - no-cache + content-length: + - '4342' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 06:56:57 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 65b2fe03d82..0f9a283cc31 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 @@ -14,7 +14,7 @@ ) from azext_aks_preview.tests.latest.recording_processors import KeyReplacer from azure.cli.command_modules.acs._format import version_to_tuple -from azure.cli.core.azclierror import AzureInternalError, BadRequestError +from azure.cli.core.azclierror import AzureInternalError, BadRequestError, MutuallyExclusiveArgumentError from azure.cli.testsdk import CliTestError, ScenarioTest, live_only from azure.cli.testsdk.scenario_tests import AllowLargeResponse from azure.core.exceptions import HttpResponseError @@ -320,6 +320,25 @@ def test_aks_update_enable_namespace(self, resource_group, resource_group_locati self.cmd(update_cmd, checks=[ self.check('enableNamespaceResources', False) ]) + + @AllowLargeResponse() + @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='eastus') + def test_aks_update_enable_disable_namespaces(self, resource_group, resource_group_location="eastus"): + 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} --ssh-key-value={ssh_key_value}' + self.cmd(create_cmd, checks=[ + self.check('provisioningState', 'Succeeded'), + ]) + + update_cmd = 'aks update --resource-group={resource_group} --name={name} --enable-namespace-resources --disable-namespace-resources' + with self.assertRaises(MutuallyExclusiveArgumentError): + self.cmd(update_cmd) @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') def test_aks_get_credentials_at_namespace_scope(self, resource_group): From eeb650bc923ce5a7979b1a9a8193b9ff917228f5 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Mon, 11 Jul 2022 17:17:07 +0530 Subject: [PATCH 48/52] Updated test recordings --- ...est_aks_create_with_namespace_enabled.yaml | 240 ++++----- ...ks_get_credentials_at_namespace_scope.yaml | 244 +++------ ..._aks_update_enable_disable_namespaces.yaml | 302 ++++++++--- .../test_aks_update_enable_namespace.yaml | 490 ++++++++++-------- 4 files changed, 678 insertions(+), 598 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml index e0ba4ee1d07..381b9d3be62 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_namespace_enabled.yaml @@ -13,13 +13,13 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.4 + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.4 (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?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-07-07T10:06:44Z","Created":"20220707"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-07-11T09:38:48Z","Created":"20220711"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 07 Jul 2022 10:06:59 GMT + - Mon, 11 Jul 2022 09:39:07 GMT expires: - '-1' pragma: @@ -44,7 +44,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesttnrs4ppqy-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestquwiltuwl-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": @@ -75,7 +75,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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=2022-05-02-preview @@ -86,9 +86,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitesttnrs4ppqy-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitesttnrs4ppqy-1bfbb5-56182f6d.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitesttnrs4ppqy-1bfbb5-56182f6d.portal.hcp.eastus.azmk8s.io\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestquwiltuwl-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestquwiltuwl-1bfbb5-b59bb474.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestquwiltuwl-1bfbb5-b59bb474.portal.hcp.eastus.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -126,7 +126,7 @@ interactions: : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/31240b61-ce67-4237-ba7d-dfb0bfd896db?api-version=2017-08-31 cache-control: - no-cache content-length: @@ -134,7 +134,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:07:14 GMT + - Mon, 11 Jul 2022 09:39:14 GMT expires: - '-1' pragma: @@ -146,7 +146,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1196' status: code: 201 message: Created @@ -164,23 +164,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/31240b61-ce67-4237-ba7d-dfb0bfd896db?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + string: "{\n \"name\": \"610b2431-67ce-3742-ba7d-dfb0bfd896db\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T09:39:14Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Thu, 07 Jul 2022 10:07:44 GMT + - Mon, 11 Jul 2022 09:39:45 GMT expires: - '-1' pragma: @@ -212,23 +212,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/31240b61-ce67-4237-ba7d-dfb0bfd896db?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + string: "{\n \"name\": \"610b2431-67ce-3742-ba7d-dfb0bfd896db\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T09:39:14Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Thu, 07 Jul 2022 10:08:16 GMT + - Mon, 11 Jul 2022 09:40:16 GMT expires: - '-1' pragma: @@ -260,23 +260,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/31240b61-ce67-4237-ba7d-dfb0bfd896db?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + string: "{\n \"name\": \"610b2431-67ce-3742-ba7d-dfb0bfd896db\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T09:39:14Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Thu, 07 Jul 2022 10:08:46 GMT + - Mon, 11 Jul 2022 09:40:47 GMT expires: - '-1' pragma: @@ -308,23 +308,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/31240b61-ce67-4237-ba7d-dfb0bfd896db?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + string: "{\n \"name\": \"610b2431-67ce-3742-ba7d-dfb0bfd896db\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T09:39:14Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Thu, 07 Jul 2022 10:09:16 GMT + - Mon, 11 Jul 2022 09:41:17 GMT expires: - '-1' pragma: @@ -356,23 +356,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/31240b61-ce67-4237-ba7d-dfb0bfd896db?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + string: "{\n \"name\": \"610b2431-67ce-3742-ba7d-dfb0bfd896db\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T09:39:14Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Thu, 07 Jul 2022 10:09:48 GMT + - Mon, 11 Jul 2022 09:41:48 GMT expires: - '-1' pragma: @@ -404,23 +404,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/31240b61-ce67-4237-ba7d-dfb0bfd896db?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + string: "{\n \"name\": \"610b2431-67ce-3742-ba7d-dfb0bfd896db\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T09:39:14Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Thu, 07 Jul 2022 10:10:18 GMT + - Mon, 11 Jul 2022 09:42:18 GMT expires: - '-1' pragma: @@ -452,23 +452,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/31240b61-ce67-4237-ba7d-dfb0bfd896db?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + string: "{\n \"name\": \"610b2431-67ce-3742-ba7d-dfb0bfd896db\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T09:39:14Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Thu, 07 Jul 2022 10:10:48 GMT + - Mon, 11 Jul 2022 09:42:48 GMT expires: - '-1' pragma: @@ -500,23 +500,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/31240b61-ce67-4237-ba7d-dfb0bfd896db?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + string: "{\n \"name\": \"610b2431-67ce-3742-ba7d-dfb0bfd896db\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T09:39:14Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Thu, 07 Jul 2022 10:11:19 GMT + - Mon, 11 Jul 2022 09:43:19 GMT expires: - '-1' pragma: @@ -548,23 +548,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/31240b61-ce67-4237-ba7d-dfb0bfd896db?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + string: "{\n \"name\": \"610b2431-67ce-3742-ba7d-dfb0bfd896db\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T09:39:14Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Thu, 07 Jul 2022 10:11:49 GMT + - Mon, 11 Jul 2022 09:43:50 GMT expires: - '-1' pragma: @@ -596,23 +596,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/31240b61-ce67-4237-ba7d-dfb0bfd896db?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + string: "{\n \"name\": \"610b2431-67ce-3742-ba7d-dfb0bfd896db\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T09:39:14Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Thu, 07 Jul 2022 10:12:20 GMT + - Mon, 11 Jul 2022 09:44:22 GMT expires: - '-1' pragma: @@ -644,23 +644,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/31240b61-ce67-4237-ba7d-dfb0bfd896db?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + string: "{\n \"name\": \"610b2431-67ce-3742-ba7d-dfb0bfd896db\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T09:39:14Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Thu, 07 Jul 2022 10:12:51 GMT + - Mon, 11 Jul 2022 09:44:52 GMT expires: - '-1' pragma: @@ -692,23 +692,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/31240b61-ce67-4237-ba7d-dfb0bfd896db?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + string: "{\n \"name\": \"610b2431-67ce-3742-ba7d-dfb0bfd896db\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T09:39:14Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '118' content-type: - application/json date: - - Thu, 07 Jul 2022 10:13:21 GMT + - Mon, 11 Jul 2022 09:45:23 GMT expires: - '-1' pragma: @@ -740,23 +740,24 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/31240b61-ce67-4237-ba7d-dfb0bfd896db?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\"\n }" + string: "{\n \"name\": \"610b2431-67ce-3742-ba7d-dfb0bfd896db\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-07-11T09:39:14Z\",\n \"endTime\"\ + : \"2022-07-11T09:45:36.1676359Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '162' content-type: - application/json date: - - Thu, 07 Jul 2022 10:13:52 GMT + - Mon, 11 Jul 2022 09:45:53 GMT expires: - '-1' pragma: @@ -788,56 +789,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/2b15b18b-6462-44e0-a2b7-674e24920782?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"8bb1152b-6264-e044-a2b7-674e24920782\",\n \"status\"\ - : \"Succeeded\",\n \"startTime\": \"2022-07-07T10:07:11.4433333Z\",\n \"\ - endTime\": \"2022-07-07T10:14:15.6429791Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '170' - content-type: - - application/json - date: - - Thu, 07 Jul 2022 10:14:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-namespace-resources --ssh-key-value - User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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=2022-05-02-preview @@ -848,9 +800,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitesttnrs4ppqy-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitesttnrs4ppqy-1bfbb5-56182f6d.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitesttnrs4ppqy-1bfbb5-56182f6d.portal.hcp.eastus.azmk8s.io\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestquwiltuwl-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestquwiltuwl-1bfbb5-b59bb474.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestquwiltuwl-1bfbb5-b59bb474.portal.hcp.eastus.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -873,7 +825,7 @@ interactions: : {\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_eastus/providers/Microsoft.Network/publicIPAddresses/f679b2be-6321-4ebd-b805-c1afb35612ca\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/3dd8fa71-88a1-4796-b644-081d6456c08f\"\ \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ @@ -899,7 +851,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:14:23 GMT + - Mon, 11 Jul 2022 09:45:57 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml index 2f71e7af44e..8c2e7efb730 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_get_credentials_at_namespace_scope.yaml @@ -13,13 +13,13 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.4 + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.4 (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?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-07-07T11:07:41Z","Created":"20220707"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-07-11T11:21:31Z","Created":"20220711"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 07 Jul 2022 11:07:58 GMT + - Mon, 11 Jul 2022 11:21:49 GMT expires: - '-1' pragma: @@ -44,7 +44,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestr4kf3lwnc-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestfktc4rldf-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": @@ -75,7 +75,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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=2022-05-02-preview @@ -86,9 +86,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestr4kf3lwnc-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitestr4kf3lwnc-1bfbb5-3eb29678.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestr4kf3lwnc-1bfbb5-3eb29678.portal.hcp.eastus.azmk8s.io\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestfktc4rldf-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestfktc4rldf-1bfbb5-7c6c7a60.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestfktc4rldf-1bfbb5-7c6c7a60.portal.hcp.eastus.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -126,7 +126,7 @@ interactions: : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/22ece45e-11ed-4d53-afdd-3c07cda5a2d0?api-version=2017-08-31 cache-control: - no-cache content-length: @@ -134,7 +134,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 11:08:10 GMT + - Mon, 11 Jul 2022 11:22:05 GMT expires: - '-1' pragma: @@ -146,7 +146,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 201 message: Created @@ -164,119 +164,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 07 Jul 2022 11:08:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-namespace-resources --ssh-key-value - User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 07 Jul 2022 11:09:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --enable-namespace-resources --ssh-key-value - User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/22ece45e-11ed-4d53-afdd-3c07cda5a2d0?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" + string: "{\n \"name\": \"5ee4ec22-ed11-534d-afdd-3c07cda5a2d0\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:22:01.09Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 07 Jul 2022 11:09:41 GMT + - Mon, 11 Jul 2022 11:22:36 GMT expires: - '-1' pragma: @@ -308,23 +212,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/22ece45e-11ed-4d53-afdd-3c07cda5a2d0?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" + string: "{\n \"name\": \"5ee4ec22-ed11-534d-afdd-3c07cda5a2d0\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:22:01.09Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 07 Jul 2022 11:10:12 GMT + - Mon, 11 Jul 2022 11:23:07 GMT expires: - '-1' pragma: @@ -356,23 +260,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/22ece45e-11ed-4d53-afdd-3c07cda5a2d0?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" + string: "{\n \"name\": \"5ee4ec22-ed11-534d-afdd-3c07cda5a2d0\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:22:01.09Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 07 Jul 2022 11:10:43 GMT + - Mon, 11 Jul 2022 11:23:37 GMT expires: - '-1' pragma: @@ -404,23 +308,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/22ece45e-11ed-4d53-afdd-3c07cda5a2d0?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" + string: "{\n \"name\": \"5ee4ec22-ed11-534d-afdd-3c07cda5a2d0\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:22:01.09Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 07 Jul 2022 11:11:13 GMT + - Mon, 11 Jul 2022 11:24:08 GMT expires: - '-1' pragma: @@ -452,23 +356,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/22ece45e-11ed-4d53-afdd-3c07cda5a2d0?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" + string: "{\n \"name\": \"5ee4ec22-ed11-534d-afdd-3c07cda5a2d0\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:22:01.09Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 07 Jul 2022 11:11:44 GMT + - Mon, 11 Jul 2022 11:24:39 GMT expires: - '-1' pragma: @@ -500,23 +404,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/22ece45e-11ed-4d53-afdd-3c07cda5a2d0?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" + string: "{\n \"name\": \"5ee4ec22-ed11-534d-afdd-3c07cda5a2d0\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:22:01.09Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 07 Jul 2022 11:12:15 GMT + - Mon, 11 Jul 2022 11:25:11 GMT expires: - '-1' pragma: @@ -548,23 +452,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/22ece45e-11ed-4d53-afdd-3c07cda5a2d0?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" + string: "{\n \"name\": \"5ee4ec22-ed11-534d-afdd-3c07cda5a2d0\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:22:01.09Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 07 Jul 2022 11:12:46 GMT + - Mon, 11 Jul 2022 11:25:41 GMT expires: - '-1' pragma: @@ -596,23 +500,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/22ece45e-11ed-4d53-afdd-3c07cda5a2d0?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\"\n }" + string: "{\n \"name\": \"5ee4ec22-ed11-534d-afdd-3c07cda5a2d0\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:22:01.09Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 07 Jul 2022 11:13:17 GMT + - Mon, 11 Jul 2022 11:26:12 GMT expires: - '-1' pragma: @@ -644,24 +548,24 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/c6959f39-9133-4aac-96c6-a62a8e7e1956?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/22ece45e-11ed-4d53-afdd-3c07cda5a2d0?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"399f95c6-3391-ac4a-96c6-a62a8e7e1956\",\n \"status\"\ - : \"Succeeded\",\n \"startTime\": \"2022-07-07T11:08:08.6133333Z\",\n \"\ - endTime\": \"2022-07-07T11:13:24.8674689Z\"\n }" + string: "{\n \"name\": \"5ee4ec22-ed11-534d-afdd-3c07cda5a2d0\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-07-11T11:22:01.09Z\",\n \"endTime\"\ + : \"2022-07-11T11:26:35.4727509Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Thu, 07 Jul 2022 11:13:46 GMT + - Mon, 11 Jul 2022 11:26:42 GMT expires: - '-1' pragma: @@ -693,7 +597,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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=2022-05-02-preview @@ -704,9 +608,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestr4kf3lwnc-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitestr4kf3lwnc-1bfbb5-3eb29678.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestr4kf3lwnc-1bfbb5-3eb29678.portal.hcp.eastus.azmk8s.io\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestfktc4rldf-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestfktc4rldf-1bfbb5-7c6c7a60.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestfktc4rldf-1bfbb5-7c6c7a60.portal.hcp.eastus.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -729,7 +633,7 @@ interactions: : {\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_eastus/providers/Microsoft.Network/publicIPAddresses/6bb0c86f-7e1c-4654-9d43-ba1225269ceb\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/a634c48c-13a8-44f7-a8b0-e99af771b379\"\ \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ @@ -755,7 +659,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 11:13:47 GMT + - Mon, 11 Jul 2022 11:26:43 GMT expires: - '-1' pragma: @@ -791,7 +695,7 @@ interactions: ParameterSetName: - --resource-group --name --namespace User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-namespaceclient/unknown Python/3.10.4 + - AZURECLI/2.37.0 (DOCKER) azsdk-python-namespaceclient/unknown Python/3.10.4 (Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/providers/Microsoft.KubernetesConfiguration/namespaces/default/listUserCredential?api-version=2021-12-01-preview @@ -809,7 +713,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 07 Jul 2022 11:18:57 GMT + - Mon, 11 Jul 2022 11:31:52 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_disable_namespaces.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_disable_namespaces.yaml index 9d9f16d8dcf..1fe64f624d5 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_disable_namespaces.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_disable_namespaces.yaml @@ -19,7 +19,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-07-11T06:50:04Z","Created":"20220711"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-07-11T11:00:36Z","Created":"20220711"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 11 Jul 2022 06:50:24 GMT + - Mon, 11 Jul 2022 11:00:57 GMT expires: - '-1' pragma: @@ -44,7 +44,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestf4iabnp52-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestw4svvbevd-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": @@ -85,9 +85,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestf4iabnp52-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitestf4iabnp52-1bfbb5-29485819.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestf4iabnp52-1bfbb5-29485819.portal.hcp.eastus.azmk8s.io\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestw4svvbevd-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestw4svvbevd-1bfbb5-1de859df.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestw4svvbevd-1bfbb5-1de859df.portal.hcp.eastus.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -125,7 +125,7 @@ interactions: \ }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 cache-control: - no-cache content-length: @@ -133,7 +133,7 @@ interactions: content-type: - application/json date: - - Mon, 11 Jul 2022 06:50:38 GMT + - Mon, 11 Jul 2022 11:01:12 GMT expires: - '-1' pragma: @@ -166,20 +166,20 @@ interactions: - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Mon, 11 Jul 2022 06:51:09 GMT + - Mon, 11 Jul 2022 11:01:42 GMT expires: - '-1' pragma: @@ -214,20 +214,20 @@ interactions: - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Mon, 11 Jul 2022 06:51:40 GMT + - Mon, 11 Jul 2022 11:02:13 GMT expires: - '-1' pragma: @@ -262,20 +262,20 @@ interactions: - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Mon, 11 Jul 2022 06:52:11 GMT + - Mon, 11 Jul 2022 11:02:43 GMT expires: - '-1' pragma: @@ -310,20 +310,20 @@ interactions: - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Mon, 11 Jul 2022 06:52:41 GMT + - Mon, 11 Jul 2022 11:03:13 GMT expires: - '-1' pragma: @@ -358,20 +358,20 @@ interactions: - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Mon, 11 Jul 2022 06:53:12 GMT + - Mon, 11 Jul 2022 11:03:44 GMT expires: - '-1' pragma: @@ -406,20 +406,20 @@ interactions: - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Mon, 11 Jul 2022 06:53:42 GMT + - Mon, 11 Jul 2022 11:04:14 GMT expires: - '-1' pragma: @@ -454,20 +454,20 @@ interactions: - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Mon, 11 Jul 2022 06:54:12 GMT + - Mon, 11 Jul 2022 11:04:45 GMT expires: - '-1' pragma: @@ -502,20 +502,20 @@ interactions: - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Mon, 11 Jul 2022 06:54:44 GMT + - Mon, 11 Jul 2022 11:05:16 GMT expires: - '-1' pragma: @@ -550,20 +550,20 @@ interactions: - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Mon, 11 Jul 2022 06:55:14 GMT + - Mon, 11 Jul 2022 11:05:47 GMT expires: - '-1' pragma: @@ -598,20 +598,20 @@ interactions: - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Mon, 11 Jul 2022 06:55:45 GMT + - Mon, 11 Jul 2022 11:06:17 GMT expires: - '-1' pragma: @@ -646,20 +646,20 @@ interactions: - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\"\n }" + string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Mon, 11 Jul 2022 06:56:15 GMT + - Mon, 11 Jul 2022 11:06:47 GMT expires: - '-1' pragma: @@ -694,21 +694,165 @@ interactions: - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/5e50bea2-ab11-4990-aae6-031b83bc5737?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"a2be505e-11ab-9049-aae6-031b83bc5737\",\n \"status\"\ - : \"Succeeded\",\n \"startTime\": \"2022-07-11T06:50:37.17Z\",\n \"endTime\"\ - : \"2022-07-11T06:56:29.8226904Z\"\n }" + string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" headers: cache-control: - no-cache content-length: - - '165' + - '126' content-type: - application/json date: - - Mon, 11 Jul 2022 06:56:45 GMT + - Mon, 11 Jul 2022 11:07:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 11:07:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 11:08:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --ssh-key-value + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\",\n \"\ + endTime\": \"2022-07-11T11:08:36.7118682Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '170' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 11:08:50 GMT expires: - '-1' pragma: @@ -751,9 +895,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestf4iabnp52-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitestf4iabnp52-1bfbb5-29485819.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestf4iabnp52-1bfbb5-29485819.portal.hcp.eastus.azmk8s.io\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestw4svvbevd-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestw4svvbevd-1bfbb5-1de859df.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestw4svvbevd-1bfbb5-1de859df.portal.hcp.eastus.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -776,7 +920,7 @@ interactions: : {\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_eastus/providers/Microsoft.Network/publicIPAddresses/bab75fdb-9088-444d-95f1-c0df2f658a99\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/ec6dadb1-0ba5-4137-9ee5-e38597d1c917\"\ \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ @@ -802,7 +946,7 @@ interactions: content-type: - application/json date: - - Mon, 11 Jul 2022 06:56:46 GMT + - Mon, 11 Jul 2022 11:08:56 GMT expires: - '-1' pragma: @@ -845,9 +989,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestf4iabnp52-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitestf4iabnp52-1bfbb5-29485819.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestf4iabnp52-1bfbb5-29485819.portal.hcp.eastus.azmk8s.io\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestw4svvbevd-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitestw4svvbevd-1bfbb5-1de859df.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitestw4svvbevd-1bfbb5-1de859df.portal.hcp.eastus.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -870,7 +1014,7 @@ interactions: : {\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_eastus/providers/Microsoft.Network/publicIPAddresses/bab75fdb-9088-444d-95f1-c0df2f658a99\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/ec6dadb1-0ba5-4137-9ee5-e38597d1c917\"\ \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ @@ -896,7 +1040,7 @@ interactions: content-type: - application/json date: - - Mon, 11 Jul 2022 06:56:57 GMT + - Mon, 11 Jul 2022 11:09:05 GMT expires: - '-1' pragma: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml index 31a6f6a3b0a..f705cf52feb 100644 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml +++ b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_namespace.yaml @@ -13,13 +13,13 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.4 + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.4 (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?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-07-07T10:25:40Z","Created":"20220707"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-07-11T10:25:46Z","Created":"20220711"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -28,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 07 Jul 2022 10:25:57 GMT + - Mon, 11 Jul 2022 10:26:04 GMT expires: - '-1' pragma: @@ -44,7 +44,7 @@ interactions: message: OK - request: body: '{"location": "eastus", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestsepbmbwxt-1bfbb5", + {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitesttnflbbdak-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": @@ -74,7 +74,7 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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=2022-05-02-preview @@ -85,9 +85,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestsepbmbwxt-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.portal.hcp.eastus.azmk8s.io\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitesttnflbbdak-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitesttnflbbdak-1bfbb5-0a12a5b3.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitesttnflbbdak-1bfbb5-0a12a5b3.portal.hcp.eastus.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -125,7 +125,7 @@ interactions: \ }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/53f47db5-7779-44ed-b134-60fc5ca5873f?api-version=2017-08-31 cache-control: - no-cache content-length: @@ -133,7 +133,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:26:10 GMT + - Mon, 11 Jul 2022 10:26:15 GMT expires: - '-1' pragma: @@ -145,7 +145,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -163,14 +163,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/53f47db5-7779-44ed-b134-60fc5ca5873f?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" + string: "{\n \"name\": \"b57df453-7977-ed44-b134-60fc5ca5873f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:26:14.8033333Z\"\n }" headers: cache-control: - no-cache @@ -179,7 +179,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:26:40 GMT + - Mon, 11 Jul 2022 10:26:45 GMT expires: - '-1' pragma: @@ -211,14 +211,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/53f47db5-7779-44ed-b134-60fc5ca5873f?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" + string: "{\n \"name\": \"b57df453-7977-ed44-b134-60fc5ca5873f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:26:14.8033333Z\"\n }" headers: cache-control: - no-cache @@ -227,7 +227,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:27:11 GMT + - Mon, 11 Jul 2022 10:27:16 GMT expires: - '-1' pragma: @@ -259,14 +259,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/53f47db5-7779-44ed-b134-60fc5ca5873f?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" + string: "{\n \"name\": \"b57df453-7977-ed44-b134-60fc5ca5873f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:26:14.8033333Z\"\n }" headers: cache-control: - no-cache @@ -275,7 +275,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:27:41 GMT + - Mon, 11 Jul 2022 10:27:53 GMT expires: - '-1' pragma: @@ -307,14 +307,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/53f47db5-7779-44ed-b134-60fc5ca5873f?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" + string: "{\n \"name\": \"b57df453-7977-ed44-b134-60fc5ca5873f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:26:14.8033333Z\"\n }" headers: cache-control: - no-cache @@ -323,7 +323,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:28:12 GMT + - Mon, 11 Jul 2022 10:28:23 GMT expires: - '-1' pragma: @@ -355,14 +355,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/53f47db5-7779-44ed-b134-60fc5ca5873f?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" + string: "{\n \"name\": \"b57df453-7977-ed44-b134-60fc5ca5873f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:26:14.8033333Z\"\n }" headers: cache-control: - no-cache @@ -371,7 +371,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:28:44 GMT + - Mon, 11 Jul 2022 10:28:54 GMT expires: - '-1' pragma: @@ -403,14 +403,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/53f47db5-7779-44ed-b134-60fc5ca5873f?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" + string: "{\n \"name\": \"b57df453-7977-ed44-b134-60fc5ca5873f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:26:14.8033333Z\"\n }" headers: cache-control: - no-cache @@ -419,7 +419,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:29:14 GMT + - Mon, 11 Jul 2022 10:29:25 GMT expires: - '-1' pragma: @@ -451,14 +451,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/53f47db5-7779-44ed-b134-60fc5ca5873f?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" + string: "{\n \"name\": \"b57df453-7977-ed44-b134-60fc5ca5873f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:26:14.8033333Z\"\n }" headers: cache-control: - no-cache @@ -467,7 +467,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:29:44 GMT + - Mon, 11 Jul 2022 10:29:55 GMT expires: - '-1' pragma: @@ -499,14 +499,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/53f47db5-7779-44ed-b134-60fc5ca5873f?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" + string: "{\n \"name\": \"b57df453-7977-ed44-b134-60fc5ca5873f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:26:14.8033333Z\"\n }" headers: cache-control: - no-cache @@ -515,7 +515,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:30:15 GMT + - Mon, 11 Jul 2022 10:30:26 GMT expires: - '-1' pragma: @@ -547,14 +547,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/53f47db5-7779-44ed-b134-60fc5ca5873f?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" + string: "{\n \"name\": \"b57df453-7977-ed44-b134-60fc5ca5873f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:26:14.8033333Z\"\n }" headers: cache-control: - no-cache @@ -563,7 +563,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:30:46 GMT + - Mon, 11 Jul 2022 10:30:56 GMT expires: - '-1' pragma: @@ -595,14 +595,14 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/53f47db5-7779-44ed-b134-60fc5ca5873f?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" + string: "{\n \"name\": \"b57df453-7977-ed44-b134-60fc5ca5873f\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:26:14.8033333Z\"\n }" headers: cache-control: - no-cache @@ -611,7 +611,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:31:16 GMT + - Mon, 11 Jul 2022 10:31:26 GMT expires: - '-1' pragma: @@ -643,63 +643,15 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/53f47db5-7779-44ed-b134-60fc5ca5873f?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Thu, 07 Jul 2022 10:31:47 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/7e3daae4-22c0-4663-a00c-431884f6aa2e?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"e4aa3d7e-c022-6346-a00c-431884f6aa2e\",\n \"status\"\ - : \"Succeeded\",\n \"startTime\": \"2022-07-07T10:26:08.9733333Z\",\n \"\ - endTime\": \"2022-07-07T10:31:53.1391443Z\"\n }" + string: "{\n \"name\": \"b57df453-7977-ed44-b134-60fc5ca5873f\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-07-11T10:26:14.8033333Z\",\n \"\ + endTime\": \"2022-07-11T10:31:33.0018476Z\"\n }" headers: cache-control: - no-cache @@ -708,7 +660,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:32:18 GMT + - Mon, 11 Jul 2022 10:31:57 GMT expires: - '-1' pragma: @@ -740,7 +692,7 @@ interactions: ParameterSetName: - --resource-group --name --ssh-key-value User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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=2022-05-02-preview @@ -751,9 +703,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestsepbmbwxt-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.portal.hcp.eastus.azmk8s.io\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitesttnflbbdak-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitesttnflbbdak-1bfbb5-0a12a5b3.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitesttnflbbdak-1bfbb5-0a12a5b3.portal.hcp.eastus.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -776,7 +728,7 @@ interactions: : {\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_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/61fe398d-efa2-4253-9f63-be522702845c\"\ \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ @@ -802,7 +754,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:32:19 GMT + - Mon, 11 Jul 2022 10:31:59 GMT expires: - '-1' pragma: @@ -834,7 +786,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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=2022-05-02-preview @@ -845,9 +797,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestsepbmbwxt-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.portal.hcp.eastus.azmk8s.io\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitesttnflbbdak-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitesttnflbbdak-1bfbb5-0a12a5b3.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitesttnflbbdak-1bfbb5-0a12a5b3.portal.hcp.eastus.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -870,7 +822,7 @@ interactions: : {\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_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/61fe398d-efa2-4253-9f63-be522702845c\"\ \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ @@ -896,7 +848,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:32:27 GMT + - Mon, 11 Jul 2022 10:32:09 GMT expires: - '-1' pragma: @@ -917,7 +869,7 @@ interactions: - request: body: '{"location": "eastus", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.22.6", "dnsPrefix": - "cliakstest-clitestsepbmbwxt-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitesttnflbbdak-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", @@ -932,7 +884,7 @@ interactions: {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65"}]}, + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/61fe398d-efa2-4253-9f63-be522702845c"}]}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -953,7 +905,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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=2022-05-02-preview @@ -964,9 +916,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestsepbmbwxt-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.portal.hcp.eastus.azmk8s.io\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitesttnflbbdak-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitesttnflbbdak-1bfbb5-0a12a5b3.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitesttnflbbdak-1bfbb5-0a12a5b3.portal.hcp.eastus.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -989,7 +941,7 @@ interactions: : {\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_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/61fe398d-efa2-4253-9f63-be522702845c\"\ \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ @@ -1009,7 +961,7 @@ interactions: : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/e0ea1c3c-4eef-48ad-adb9-43a3430d08ba?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/229beec5-3760-4788-b8c2-0a78620249e4?api-version=2017-08-31 cache-control: - no-cache content-length: @@ -1017,7 +969,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:32:36 GMT + - Mon, 11 Jul 2022 10:32:19 GMT expires: - '-1' pragma: @@ -1051,23 +1003,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/e0ea1c3c-4eef-48ad-adb9-43a3430d08ba?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/229beec5-3760-4788-b8c2-0a78620249e4?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"3c1ceae0-ef4e-ad48-adb9-43a3430d08ba\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:32:35.1033333Z\"\n }" + string: "{\n \"name\": \"c5ee9b22-6037-8847-b8c2-0a78620249e4\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:32:16.99Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 07 Jul 2022 10:33:06 GMT + - Mon, 11 Jul 2022 10:32:49 GMT expires: - '-1' pragma: @@ -1099,23 +1051,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/e0ea1c3c-4eef-48ad-adb9-43a3430d08ba?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/229beec5-3760-4788-b8c2-0a78620249e4?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"3c1ceae0-ef4e-ad48-adb9-43a3430d08ba\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:32:35.1033333Z\"\n }" + string: "{\n \"name\": \"c5ee9b22-6037-8847-b8c2-0a78620249e4\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:32:16.99Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 07 Jul 2022 10:33:37 GMT + - Mon, 11 Jul 2022 10:33:20 GMT expires: - '-1' pragma: @@ -1147,23 +1099,23 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/e0ea1c3c-4eef-48ad-adb9-43a3430d08ba?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/229beec5-3760-4788-b8c2-0a78620249e4?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"3c1ceae0-ef4e-ad48-adb9-43a3430d08ba\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:32:35.1033333Z\"\n }" + string: "{\n \"name\": \"c5ee9b22-6037-8847-b8c2-0a78620249e4\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:32:16.99Z\"\n }" headers: cache-control: - no-cache content-length: - - '126' + - '121' content-type: - application/json date: - - Thu, 07 Jul 2022 10:34:08 GMT + - Mon, 11 Jul 2022 10:33:50 GMT expires: - '-1' pragma: @@ -1195,24 +1147,24 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/e0ea1c3c-4eef-48ad-adb9-43a3430d08ba?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/229beec5-3760-4788-b8c2-0a78620249e4?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"3c1ceae0-ef4e-ad48-adb9-43a3430d08ba\",\n \"status\"\ - : \"Succeeded\",\n \"startTime\": \"2022-07-07T10:32:35.1033333Z\",\n \"\ - endTime\": \"2022-07-07T10:34:13.8475024Z\"\n }" + string: "{\n \"name\": \"c5ee9b22-6037-8847-b8c2-0a78620249e4\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-07-11T10:32:16.99Z\",\n \"endTime\"\ + : \"2022-07-11T10:34:15.7910008Z\"\n }" headers: cache-control: - no-cache content-length: - - '170' + - '165' content-type: - application/json date: - - Thu, 07 Jul 2022 10:34:39 GMT + - Mon, 11 Jul 2022 10:34:21 GMT expires: - '-1' pragma: @@ -1221,6 +1173,10 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -1240,7 +1196,7 @@ interactions: ParameterSetName: - --resource-group --name --enable-namespace-resources User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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=2022-05-02-preview @@ -1251,9 +1207,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestsepbmbwxt-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.portal.hcp.eastus.azmk8s.io\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitesttnflbbdak-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitesttnflbbdak-1bfbb5-0a12a5b3.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitesttnflbbdak-1bfbb5-0a12a5b3.portal.hcp.eastus.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -1276,7 +1232,7 @@ interactions: : {\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_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/61fe398d-efa2-4253-9f63-be522702845c\"\ \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ @@ -1302,7 +1258,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:34:40 GMT + - Mon, 11 Jul 2022 10:34:22 GMT expires: - '-1' pragma: @@ -1311,6 +1267,10 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -1330,7 +1290,7 @@ interactions: ParameterSetName: - --resource-group --name --disable-namespace-resources User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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=2022-05-02-preview @@ -1341,9 +1301,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestsepbmbwxt-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.portal.hcp.eastus.azmk8s.io\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitesttnflbbdak-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitesttnflbbdak-1bfbb5-0a12a5b3.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitesttnflbbdak-1bfbb5-0a12a5b3.portal.hcp.eastus.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -1366,7 +1326,7 @@ interactions: : {\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_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/61fe398d-efa2-4253-9f63-be522702845c\"\ \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ @@ -1392,7 +1352,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:34:48 GMT + - Mon, 11 Jul 2022 10:34:30 GMT expires: - '-1' pragma: @@ -1401,6 +1361,10 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -1409,7 +1373,7 @@ interactions: - request: body: '{"location": "eastus", "sku": {"name": "Basic", "tier": "Free"}, "identity": {"type": "SystemAssigned"}, "properties": {"kubernetesVersion": "1.22.6", "dnsPrefix": - "cliakstest-clitestsepbmbwxt-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": + "cliakstest-clitesttnflbbdak-1bfbb5", "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": 128, "osDiskType": "Managed", "kubeletDiskType": "OS", "workloadRuntime": "OCIContainer", "maxPods": 110, "osType": "Linux", "osSKU": "Ubuntu", "enableAutoScaling": false, "type": "VirtualMachineScaleSets", @@ -1424,7 +1388,7 @@ interactions: {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "Standard", "loadBalancerProfile": {"managedOutboundIPs": - {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65"}]}, + {"count": 1, "countIPv6": 0}, "effectiveOutboundIPs": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/61fe398d-efa2-4253-9f63-be522702845c"}]}, "podCidrs": ["10.244.0.0/16"], "serviceCidrs": ["10.0.0.0/16"], "ipFamilies": ["IPv4"]}, "identityProfile": {"kubeletidentity": {"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cliakstest000002-agentpool", "clientId":"00000000-0000-0000-0000-000000000001", "objectId":"00000000-0000-0000-0000-000000000001"}}, @@ -1445,7 +1409,7 @@ interactions: ParameterSetName: - --resource-group --name --disable-namespace-resources User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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=2022-05-02-preview @@ -1456,9 +1420,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Updating\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestsepbmbwxt-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.portal.hcp.eastus.azmk8s.io\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitesttnflbbdak-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitesttnflbbdak-1bfbb5-0a12a5b3.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitesttnflbbdak-1bfbb5-0a12a5b3.portal.hcp.eastus.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -1481,7 +1445,7 @@ interactions: : {\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_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/61fe398d-efa2-4253-9f63-be522702845c\"\ \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ @@ -1501,7 +1465,7 @@ interactions: : {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n }" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/c15f4936-2c2c-4269-aad4-f4d7ba31f036?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/20725249-fb40-442e-9038-51a5de8650ca?api-version=2017-08-31 cache-control: - no-cache content-length: @@ -1509,7 +1473,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:34:57 GMT + - Mon, 11 Jul 2022 10:34:39 GMT expires: - '-1' pragma: @@ -1518,10 +1482,14 @@ 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: - - '1198' + - '1199' status: code: 200 message: OK @@ -1539,14 +1507,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-namespace-resources User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/c15f4936-2c2c-4269-aad4-f4d7ba31f036?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/20725249-fb40-442e-9038-51a5de8650ca?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"36495fc1-2c2c-6942-aad4-f4d7ba31f036\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:34:55.8766666Z\"\n }" + string: "{\n \"name\": \"49527220-40fb-2e44-9038-51a5de8650ca\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:34:36.0666666Z\"\n }" headers: cache-control: - no-cache @@ -1555,7 +1523,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:35:28 GMT + - Mon, 11 Jul 2022 10:35:10 GMT expires: - '-1' pragma: @@ -1564,6 +1532,10 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -1583,14 +1555,14 @@ interactions: ParameterSetName: - --resource-group --name --disable-namespace-resources User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/c15f4936-2c2c-4269-aad4-f4d7ba31f036?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/20725249-fb40-442e-9038-51a5de8650ca?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"36495fc1-2c2c-6942-aad4-f4d7ba31f036\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-07T10:34:55.8766666Z\"\n }" + string: "{\n \"name\": \"49527220-40fb-2e44-9038-51a5de8650ca\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:34:36.0666666Z\"\n }" headers: cache-control: - no-cache @@ -1599,7 +1571,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:35:58 GMT + - Mon, 11 Jul 2022 10:35:40 GMT expires: - '-1' pragma: @@ -1608,6 +1580,10 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -1627,15 +1603,111 @@ interactions: ParameterSetName: - --resource-group --name --disable-namespace-resources User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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/eastus/operations/c15f4936-2c2c-4269-aad4-f4d7ba31f036?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/20725249-fb40-442e-9038-51a5de8650ca?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"36495fc1-2c2c-6942-aad4-f4d7ba31f036\",\n \"status\"\ - : \"Succeeded\",\n \"startTime\": \"2022-07-07T10:34:55.8766666Z\",\n \"\ - endTime\": \"2022-07-07T10:36:24.4198744Z\"\n }" + string: "{\n \"name\": \"49527220-40fb-2e44-9038-51a5de8650ca\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:34:36.0666666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 10:36:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --disable-namespace-resources + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/20725249-fb40-442e-9038-51a5de8650ca?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"49527220-40fb-2e44-9038-51a5de8650ca\",\n \"status\"\ + : \"InProgress\",\n \"startTime\": \"2022-07-11T10:34:36.0666666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: + - application/json + date: + - Mon, 11 Jul 2022 10:36:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks update + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --disable-namespace-resources + User-Agent: + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + Python/3.10.4 (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/eastus/operations/20725249-fb40-442e-9038-51a5de8650ca?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"49527220-40fb-2e44-9038-51a5de8650ca\",\n \"status\"\ + : \"Succeeded\",\n \"startTime\": \"2022-07-11T10:34:36.0666666Z\",\n \"\ + endTime\": \"2022-07-11T10:36:52.3673165Z\"\n }" headers: cache-control: - no-cache @@ -1644,7 +1716,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:36:28 GMT + - Mon, 11 Jul 2022 10:37:13 GMT expires: - '-1' pragma: @@ -1653,6 +1725,10 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -1672,7 +1748,7 @@ interactions: ParameterSetName: - --resource-group --name --disable-namespace-resources User-Agent: - - AZURECLI/2.38.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b + - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b Python/3.10.4 (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=2022-05-02-preview @@ -1683,9 +1759,9 @@ interactions: : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestsepbmbwxt-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestsepbmbwxt-1bfbb5-08460138.portal.hcp.eastus.azmk8s.io\"\ + : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitesttnflbbdak-1bfbb5\",\n\ + \ \"fqdn\": \"cliakstest-clitesttnflbbdak-1bfbb5-0a12a5b3.hcp.eastus.azmk8s.io\"\ + ,\n \"azurePortalFQDN\": \"cliakstest-clitesttnflbbdak-1bfbb5-0a12a5b3.portal.hcp.eastus.azmk8s.io\"\ ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ @@ -1708,7 +1784,7 @@ interactions: : {\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_eastus/providers/Microsoft.Network/publicIPAddresses/1c79a64d-eda7-4e8c-8b8e-8678aca5fc65\"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/61fe398d-efa2-4253-9f63-be522702845c\"\ \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ @@ -1734,7 +1810,7 @@ interactions: content-type: - application/json date: - - Thu, 07 Jul 2022 10:36:29 GMT + - Mon, 11 Jul 2022 10:37:17 GMT expires: - '-1' pragma: @@ -1743,6 +1819,10 @@ interactions: - nginx strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: From 282ca45229e3218b7cef12c0fdf03970772de7ba Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Tue, 12 Jul 2022 10:45:50 +0530 Subject: [PATCH 49/52] Moved validation to validators.py --- src/aks-preview/azext_aks_preview/_params.py | 3 +- .../azext_aks_preview/_validators.py | 4 + .../managed_cluster_decorator.py | 65 +- ..._aks_update_enable_disable_namespaces.yaml | 1061 ----------------- .../tests/latest/test_aks_commands.py | 29 +- 5 files changed, 14 insertions(+), 1148 deletions(-) delete mode 100644 src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_disable_namespaces.yaml diff --git a/src/aks-preview/azext_aks_preview/_params.py b/src/aks-preview/azext_aks_preview/_params.py index 937ea0e2a89..e57c4c1c966 100644 --- a/src/aks-preview/azext_aks_preview/_params.py +++ b/src/aks-preview/azext_aks_preview/_params.py @@ -118,6 +118,7 @@ validate_enable_custom_ca_trust, validate_defender_config_parameter, validate_defender_disable_and_enable_parameters, + validate_enable_disable_namespace_resources, ) # candidates for enumeration @@ -397,7 +398,7 @@ def load_arguments(self, _): c.argument('disk_driver_version', arg_type=get_enum_type(disk_driver_versions)) c.argument('disable_disk_driver', action='store_true') c.argument('enable_file_driver', action='store_true') - c.argument('enable_namespace_resources', action='store_true', help='Enable sync of namespaces as Azure Resource Manager resources') + c.argument('enable_namespace_resources', action='store_true', help='Enable sync of namespaces as Azure Resource Manager resources', validator=validate_enable_disable_namespace_resources) c.argument('disable_namespace_resources', action='store_true', help='Disable sync of namespaces as Azure Resource Manager resources') c.argument('disable_file_driver', action='store_true') c.argument('enable_blob_driver', action='store_true') diff --git a/src/aks-preview/azext_aks_preview/_validators.py b/src/aks-preview/azext_aks_preview/_validators.py index 2a314a69396..1375654e33b 100644 --- a/src/aks-preview/azext_aks_preview/_validators.py +++ b/src/aks-preview/azext_aks_preview/_validators.py @@ -615,3 +615,7 @@ def validate_defender_config_parameter(namespace): def validate_defender_disable_and_enable_parameters(namespace): if namespace.disable_defender and namespace.enable_defender: raise ArgumentUsageError('Providing both --disable-defender and --enable-defender flags is invalid') + +def validate_enable_disable_namespace_resources(namespace): + if namespace.enable_namespace_resources and namespace.disable_namespace_resources: + raise ArgumentUsageError("Providing both --enable-namespace-resources and --disable-namespace-resources is invalid") \ No newline at end of file diff --git a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py index 8a64c627e88..3c7a7a98199 100644 --- a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py +++ b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py @@ -1333,66 +1333,6 @@ def get_disable_keda(self) -> bool: """ return self._get_disable_keda(enable_validation=True) - def _get_enable_namespace_resources(self, enable_validation: bool = False) -> bool: - """Internal function to obtain the value of enable_namespace_resources. - - This function supports the option of enable_validation. When enabled, if both enable_namespace_resources and disable_namespace_resources are - specified, raise a MutuallyExclusiveArgumentError. - - :return: bool - """ - # Read the original value passed by the command. - enable_namespace_resources = self.raw_param.get("enable_namespace_resources") - - # This parameter does not need dynamic completion. - if enable_validation: - if enable_namespace_resources and self._get_disable_namespace_resources(enable_validation=False): - raise MutuallyExclusiveArgumentError( - "Cannot specify --enable-namespace-resources and --disable-namespace-resources at the same time." - ) - - return enable_namespace_resources - - def get_enable_namespace_resources(self) -> bool: - """Obtain the value of enable_namespace_resources. - - This function will verify the parameter by default. If both enable_namespace_resources and disable_namespace_resources are specified, raise a - MutuallyExclusiveArgumentError. - - :return: bool - """ - return self._get_enable_namespace_resources(enable_validation=True) - - def _get_disable_namespace_resources(self, enable_validation: bool = False) -> bool: - """Internal function to obtain the value of disable_namespace_resources. - - This function supports the option of enable_validation. When enabled, if both enable_namespace_resources and disable_namespace_resources are - specified, raise a MutuallyExclusiveArgumentError. - - :return: bool - """ - # Read the original value passed by the command. - disable_namespace_resources = self.raw_param.get("disable_namespace_resources") - - # This option is not supported in create mode, hence we do not read the property value from the `mc` object. - # This parameter does not need dynamic completion. - if enable_validation: - if disable_namespace_resources and self._get_enable_namespace_resources(enable_validation=False): - raise MutuallyExclusiveArgumentError( - "Cannot specify --enable-namespace-resources and --disable-namespace-resources at the same time." - ) - - return disable_namespace_resources - - def get_disable_namespace_resources(self) -> bool: - """Obtain the value of disable_namespace_resources. - - This function will verify the parameter by default. If both enable_namespace_resources and disable_namespace_resources are specified, raise a - MutuallyExclusiveArgumentError. - - :return: bool - """ - return self._get_disable_namespace_resources(enable_validation=True) class AKSPreviewManagedClusterCreateDecorator(AKSManagedClusterCreateDecorator): @@ -2007,11 +1947,12 @@ def update_enable_namespace_resources(self, mc: ManagedCluster) -> ManagedCluste """ self._ensure_mc(mc) - if self.context.get_enable_namespace_resources(): + if self.context.raw_param.get("enable_namespace_resources"): mc.enable_namespace_resources = True - if self.context.get_disable_namespace_resources(): + elif self.context.raw_param.get("disable_namespace_resources"): mc.enable_namespace_resources = False + return mc def update_mc_profile_preview(self) -> ManagedCluster: diff --git a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_disable_namespaces.yaml b/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_disable_namespaces.yaml deleted file mode 100644 index 1fe64f624d5..00000000000 --- a/src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_enable_disable_namespaces.yaml +++ /dev/null @@ -1,1061 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.10.4 - (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?api-version=2021-04-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001","name":"clitest000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2022-07-11T11:00:36Z","Created":"20220711"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '325' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 11 Jul 2022 11:00:57 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": "eastus", "identity": {"type": "SystemAssigned"}, "properties": - {"kubernetesVersion": "", "dnsPrefix": "cliakstest-clitestw4svvbevd-1bfbb5", - "agentPoolProfiles": [{"count": 3, "vmSize": "Standard_DS2_v2", "osDiskSizeGB": - 0, "workloadRuntime": "OCIContainer", "osType": "Linux", "enableAutoScaling": - false, "type": "VirtualMachineScaleSets", "mode": "System", "orchestratorVersion": - "", "upgradeSettings": {}, "enableNodePublicIP": false, "enableCustomCATrust": - false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": - -1.0, "nodeTaints": [], "enableEncryptionAtHost": false, "enableUltraSSD": false, - "enableFIPS": false, "name": "nodepool1"}], "linuxProfile": {"adminUsername": - "azureuser", "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\n"}]}}, "addonProfiles": {}, "enableRBAC": true, "enablePodSecurityPolicy": - false, "networkProfile": {"networkPlugin": "kubenet", "podCidr": "10.244.0.0/16", - "serviceCidr": "10.0.0.0/16", "dnsServiceIP": "10.0.0.10", "dockerBridgeCidr": - "172.17.0.1/16", "outboundType": "loadBalancer", "loadBalancerSku": "standard"}, - "disableLocalAccounts": false, "storageProfile": {}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - Content-Length: - - '1886' - Content-Type: - - application/json - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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=2022-05-02-preview - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ - ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ - : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ - \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\"\ - : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestw4svvbevd-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitestw4svvbevd-1bfbb5-1de859df.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestw4svvbevd-1bfbb5-1de859df.portal.hcp.eastus.azmk8s.io\"\ - ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ - \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ - : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ - ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ - \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ - \ \"provisioningState\": \"Creating\",\n \"powerState\": {\n \ - \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ - ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ - : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ - ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ - : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ - \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ - \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ - : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ - : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ - \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ - : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\"\ - ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ - count\": 1\n }\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ - : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ - : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ - : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ - \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ - : 100,\n \"disableLocalAccounts\": false,\n \"securityProfile\": {},\n\ - \ \"storageProfile\": {\n \"diskCSIDriver\": {\n \"enabled\": true,\n\ - \ \"version\": \"v1\"\n },\n \"fileCSIDriver\": {\n \"enabled\"\ - : true\n },\n \"snapshotController\": {\n \"enabled\": true\n \ - \ }\n },\n \"oidcIssuerProfile\": {\n \"enabled\": false\n }\n \ - \ },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\"\ - :\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\ - \n },\n \"sku\": {\n \"name\": \"Basic\",\n \"tier\": \"Free\"\n }\n\ - \ }" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 - cache-control: - - no-cache - content-length: - - '3691' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:01:12 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 --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:01:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:02:13 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 --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:02:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:03:13 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 --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:03:44 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:04:14 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:04:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:05:16 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:05:47 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:06:17 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:06:47 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:07:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:07:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ - : \"InProgress\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '126' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:08:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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/eastus/operations/bb251fe9-d02a-4b9e-91d4-6859014859ad?api-version=2017-08-31 - response: - body: - string: "{\n \"name\": \"e91f25bb-2ad0-9e4b-91d4-6859014859ad\",\n \"status\"\ - : \"Succeeded\",\n \"startTime\": \"2022-07-11T11:01:10.6766666Z\",\n \"\ - endTime\": \"2022-07-11T11:08:36.7118682Z\"\n }" - headers: - cache-control: - - no-cache - content-length: - - '170' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:08:50 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - aks create - Connection: - - keep-alive - ParameterSetName: - - --resource-group --name --ssh-key-value - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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=2022-05-02-preview - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ - ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ - : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ - : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestw4svvbevd-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitestw4svvbevd-1bfbb5-1de859df.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestw4svvbevd-1bfbb5-1de859df.portal.hcp.eastus.azmk8s.io\"\ - ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ - \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ - : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ - ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ - \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ - \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ - ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ - : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ - ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ - : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ - \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ - \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ - : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ - : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ - \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ - : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ - ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ - count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/ec6dadb1-0ba5-4137-9ee5-e38597d1c917\"\ - \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ - : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ - : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ - : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ - \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ - : 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n\ - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\"\ - : \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\"\ - : \"Basic\",\n \"tier\": \"Free\"\n }\n }" - headers: - cache-control: - - no-cache - content-length: - - '4342' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:08:56 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-namespace-resources --disable-namespace-resources - User-Agent: - - AZURECLI/2.37.0 (DOCKER) azsdk-python-azure-mgmt-containerservice/19.1.0b - Python/3.10.4 (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=2022-05-02-preview - response: - body: - string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\"\ - ,\n \"location\": \"eastus\",\n \"name\": \"cliakstest000002\",\n \"type\"\ - : \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\"\ - : \"Running\"\n },\n \"kubernetesVersion\": \"1.22.6\",\n \"currentKubernetesVersion\"\ - : \"1.22.6\",\n \"dnsPrefix\": \"cliakstest-clitestw4svvbevd-1bfbb5\",\n\ - \ \"fqdn\": \"cliakstest-clitestw4svvbevd-1bfbb5-1de859df.hcp.eastus.azmk8s.io\"\ - ,\n \"azurePortalFQDN\": \"cliakstest-clitestw4svvbevd-1bfbb5-1de859df.portal.hcp.eastus.azmk8s.io\"\ - ,\n \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \ - \ \"count\": 3,\n \"vmSize\": \"Standard_DS2_v2\",\n \"osDiskSizeGB\"\ - : 128,\n \"osDiskType\": \"Managed\",\n \"kubeletDiskType\": \"OS\"\ - ,\n \"workloadRuntime\": \"OCIContainer\",\n \"maxPods\": 110,\n \ - \ \"type\": \"VirtualMachineScaleSets\",\n \"enableAutoScaling\": false,\n\ - \ \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \ - \ \"code\": \"Running\"\n },\n \"orchestratorVersion\": \"1.22.6\"\ - ,\n \"currentOrchestratorVersion\": \"1.22.6\",\n \"enableNodePublicIP\"\ - : false,\n \"enableCustomCATrust\": false,\n \"mode\": \"System\"\ - ,\n \"enableEncryptionAtHost\": false,\n \"enableUltraSSD\": false,\n\ - \ \"osType\": \"Linux\",\n \"osSKU\": \"Ubuntu\",\n \"nodeImageVersion\"\ - : \"AKSUbuntu-1804gen2containerd-2022.06.22\",\n \"upgradeSettings\":\ - \ {},\n \"enableFIPS\": false\n }\n ],\n \"linuxProfile\": {\n\ - \ \"adminUsername\": \"azureuser\",\n \"ssh\": {\n \"publicKeys\"\ - : [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\"\ - : {\n \"clientId\":\"00000000-0000-0000-0000-000000000001\"\n },\n \ - \ \"nodeResourceGroup\": \"MC_clitest000001_cliakstest000002_eastus\",\n \ - \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\"\ - : {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"Standard\"\ - ,\n \"loadBalancerProfile\": {\n \"managedOutboundIPs\": {\n \"\ - count\": 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitest000001_cliakstest000002_eastus/providers/Microsoft.Network/publicIPAddresses/ec6dadb1-0ba5-4137-9ee5-e38597d1c917\"\ - \n }\n ]\n },\n \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\"\ - : \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\",\n \"dockerBridgeCidr\"\ - : \"172.17.0.1/16\",\n \"outboundType\": \"loadBalancer\",\n \"podCidrs\"\ - : [\n \"10.244.0.0/16\"\n ],\n \"serviceCidrs\": [\n \"10.0.0.0/16\"\ - \n ],\n \"ipFamilies\": [\n \"IPv4\"\n ]\n },\n \"maxAgentPools\"\ - : 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_clitest000001_cliakstest000002_eastus/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 },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n\ - \ \"principalId\":\"00000000-0000-0000-0000-000000000001\",\n \"tenantId\"\ - : \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\n },\n \"sku\": {\n \"name\"\ - : \"Basic\",\n \"tier\": \"Free\"\n }\n }" - headers: - cache-control: - - no-cache - content-length: - - '4342' - content-type: - - application/json - date: - - Mon, 11 Jul 2022 11:09:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - nginx - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -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 0f9a283cc31..349adf42b43 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 @@ -282,8 +282,8 @@ def test_aks_create_with_ingress_appgw_addon(self, resource_group, resource_grou ]) @AllowLargeResponse() - @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') - def test_aks_create_with_namespace_enabled(self, resource_group, resource_group_location="westus2"): + @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='eastus') + def test_aks_create_with_namespace_enabled(self, resource_group, resource_group_location="eastus"): aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, @@ -297,8 +297,8 @@ def test_aks_create_with_namespace_enabled(self, resource_group, resource_group_ ]) @AllowLargeResponse() - @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') - def test_aks_update_enable_namespace(self, resource_group, resource_group_location="westus2"): + @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='eastus') + def test_aks_update_enable_namespace(self, resource_group, resource_group_location="eastus"): aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ 'resource_group': resource_group, @@ -320,27 +320,8 @@ def test_aks_update_enable_namespace(self, resource_group, resource_group_locati self.cmd(update_cmd, checks=[ self.check('enableNamespaceResources', False) ]) - - @AllowLargeResponse() - @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='eastus') - def test_aks_update_enable_disable_namespaces(self, resource_group, resource_group_location="eastus"): - 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} --ssh-key-value={ssh_key_value}' - self.cmd(create_cmd, checks=[ - self.check('provisioningState', 'Succeeded'), - ]) - - update_cmd = 'aks update --resource-group={resource_group} --name={name} --enable-namespace-resources --disable-namespace-resources' - with self.assertRaises(MutuallyExclusiveArgumentError): - self.cmd(update_cmd) - @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='westus2') + @AKSCustomResourceGroupPreparer(random_name_length=17, name_prefix='clitest', location='eastus') def test_aks_get_credentials_at_namespace_scope(self, resource_group): aks_name = self.create_random_name('cliakstest', 16) self.kwargs.update({ From 8746571a0cb7980fd4520903d1b40dfa2a10fa19 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Tue, 12 Jul 2022 10:54:23 +0530 Subject: [PATCH 50/52] Fixed static analysis error --- src/aks-preview/azext_aks_preview/_validators.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/aks-preview/azext_aks_preview/_validators.py b/src/aks-preview/azext_aks_preview/_validators.py index 1375654e33b..439f94a02d6 100644 --- a/src/aks-preview/azext_aks_preview/_validators.py +++ b/src/aks-preview/azext_aks_preview/_validators.py @@ -616,6 +616,7 @@ def validate_defender_disable_and_enable_parameters(namespace): if namespace.disable_defender and namespace.enable_defender: raise ArgumentUsageError('Providing both --disable-defender and --enable-defender flags is invalid') + def validate_enable_disable_namespace_resources(namespace): if namespace.enable_namespace_resources and namespace.disable_namespace_resources: - raise ArgumentUsageError("Providing both --enable-namespace-resources and --disable-namespace-resources is invalid") \ No newline at end of file + raise ArgumentUsageError("Providing both --enable-namespace-resources and --disable-namespace-resources is invalid") From 8da5bcac54235d2e4830f7831b691891dc36b597 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Tue, 12 Jul 2022 10:56:59 +0530 Subject: [PATCH 51/52] Fixed static analysis error --- src/aks-preview/azext_aks_preview/managed_cluster_decorator.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py index 3c7a7a98199..921ed5ef9bc 100644 --- a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py +++ b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py @@ -1333,8 +1333,6 @@ def get_disable_keda(self) -> bool: """ return self._get_disable_keda(enable_validation=True) - - class AKSPreviewManagedClusterCreateDecorator(AKSManagedClusterCreateDecorator): def __init__( self, cmd: AzCliCommand, client: ContainerServiceClient, raw_parameters: Dict, resource_type: ResourceType From ea89244f962d10760ede26b0b4ae0b941e83a731 Mon Sep 17 00:00:00 2001 From: Karthik Kanukollu Date: Tue, 12 Jul 2022 11:04:35 +0530 Subject: [PATCH 52/52] Fixed static analysis error --- src/aks-preview/azext_aks_preview/managed_cluster_decorator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py index 921ed5ef9bc..017c799bda7 100644 --- a/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py +++ b/src/aks-preview/azext_aks_preview/managed_cluster_decorator.py @@ -1333,6 +1333,7 @@ def get_disable_keda(self) -> bool: """ return self._get_disable_keda(enable_validation=True) + class AKSPreviewManagedClusterCreateDecorator(AKSManagedClusterCreateDecorator): def __init__( self, cmd: AzCliCommand, client: ContainerServiceClient, raw_parameters: Dict, resource_type: ResourceType