diff --git a/src/connectedk8s/HISTORY.rst b/src/connectedk8s/HISTORY.rst index a89778fb8e6..849ec0d54c7 100644 --- a/src/connectedk8s/HISTORY.rst +++ b/src/connectedk8s/HISTORY.rst @@ -2,6 +2,11 @@ Release History =============== +1.3.0 +++++++ + +* Added private link support + 1.2.11 ++++++ diff --git a/src/connectedk8s/azext_connectedk8s/_client_factory.py b/src/connectedk8s/azext_connectedk8s/_client_factory.py index b9f31b0a29a..9a86b9d5ad9 100644 --- a/src/connectedk8s/azext_connectedk8s/_client_factory.py +++ b/src/connectedk8s/azext_connectedk8s/_client_factory.py @@ -19,13 +19,18 @@ def cf_connected_cluster(cli_ctx, _): return cf_connectedk8s(cli_ctx).connected_cluster -def cf_connectedk8s_prev_2021_04_01(cli_ctx, *_): - from azext_connectedk8s.vendored_sdks.preview_2021_04_01 import ConnectedKubernetesClient +def cf_connectedk8s_prev_2022_05_01(cli_ctx, *_): + from azext_connectedk8s.vendored_sdks.preview_2022_05_01 import ConnectedKubernetesClient return get_mgmt_service_client(cli_ctx, ConnectedKubernetesClient) -def cf_connected_cluster_prev_2021_04_01(cli_ctx, _): - return cf_connectedk8s_prev_2021_04_01(cli_ctx).connected_cluster +def cf_connected_cluster_prev_2022_05_01(cli_ctx, _): + return cf_connectedk8s_prev_2022_05_01(cli_ctx).connected_cluster + + +def cf_connectedmachine(cli_ctx, subscription_id): + from azure.mgmt.hybridcompute import HybridComputeManagementClient + return get_mgmt_service_client(cli_ctx, HybridComputeManagementClient, subscription_id=subscription_id).private_link_scopes def cf_resource_groups(cli_ctx, subscription_id=None): diff --git a/src/connectedk8s/azext_connectedk8s/_constants.py b/src/connectedk8s/azext_connectedk8s/_constants.py index 8fd72d65ad3..fb28a3410f8 100644 --- a/src/connectedk8s/azext_connectedk8s/_constants.py +++ b/src/connectedk8s/azext_connectedk8s/_constants.py @@ -27,11 +27,14 @@ Default_Onboarding_Source_Tracking_Guid = "77ade16b-0f55-403b-b7d2-739554a897f2" Helm_Environment_File_Fault_Type = 'helm-environment-file-error' Invalid_Location_Fault_Type = 'location-validation-error' +Pls_Location_Mismatch_Fault_Type = 'pls-location-mismatch-error' +Invalid_Argument_Fault_Type = 'argument-validation-error' Load_Kubeconfig_Fault_Type = 'kubeconfig-load-error' Read_ConfigMap_Fault_Type = 'configmap-read-error' Get_ResourceProvider_Fault_Type = 'resource-provider-fetch-error' Get_ConnectedCluster_Fault_Type = 'connected-cluster-fetch-error' Create_ConnectedCluster_Fault_Type = 'connected-cluster-create-error' +Update_ConnectedCluster_Fault_Type = 'connected-cluster-update-error' Delete_ConnectedCluster_Fault_Type = 'connected-cluster-delete-error' Bad_DeleteRequest_Fault_Type = 'bad-delete-request-error' Cluster_Already_Onboarded_Fault_Type = 'cluster-already-onboarded-error' diff --git a/src/connectedk8s/azext_connectedk8s/_help.py b/src/connectedk8s/azext_connectedk8s/_help.py index d6dc41f5095..2fbb29b112b 100644 --- a/src/connectedk8s/azext_connectedk8s/_help.py +++ b/src/connectedk8s/azext_connectedk8s/_help.py @@ -26,6 +26,8 @@ text: az connectedk8s connect -g resourceGroupName -n connectedClusterName --proxy-https https://proxy-url --proxy-http http://proxy-url --proxy-skip-range excludedIP,excludedCIDR,exampleCIDRfollowed,10.0.0.0/24 - name: Onboard a connected kubernetes cluster by specifying the https proxy, http proxy, no proxy with cert settings. text: az connectedk8s connect -g resourceGroupName -n connectedClusterName --proxy-cert /path/to/crt --proxy-https https://proxy-url --proxy-http http://proxy-url --proxy-skip-range excludedIP,excludedCIDR,exampleCIDRfollowed,10.0.0.0/24 + - name: Onboard a connected kubernetes cluster with private link feature enabled by specifying private link parameters. + text: az connectedk8s connect -g resourceGroupName -n connectedClusterName --enable-private-link true --private-link-scope-resource-id pls/resource/arm/id - name: Onboard a connected kubernetes cluster with custom onboarding timeout. text: az connectedk8s connect -g resourceGroupName -n connectedClusterName --onboarding-timeout 600 @@ -33,7 +35,7 @@ helps['connectedk8s update'] = """ type: command - short-summary: Update properties of the onboarded agents. + short-summary: Update properties of the arc onboarded kubernetes cluster. examples: - name: Update proxy values for the agents text: az connectedk8s update -g resourceGroupName -n connectedClusterName --proxy-cert /path/to/crt --proxy-https https://proxy-url --proxy-http http://proxy-url --proxy-skip-range excludedIP,excludedCIDR,exampleCIDRfollowed,10.0.0.0/24 diff --git a/src/connectedk8s/azext_connectedk8s/_params.py b/src/connectedk8s/azext_connectedk8s/_params.py index 07312bfa6d9..ea6f229ee2f 100644 --- a/src/connectedk8s/azext_connectedk8s/_params.py +++ b/src/connectedk8s/azext_connectedk8s/_params.py @@ -7,11 +7,12 @@ import os.path from ._validators import override_client_request_id_header from argcomplete.completers import FilesCompleter -from azure.cli.core.commands.parameters import get_location_type, get_enum_type, file_type, tags_type +from azure.cli.core.commands.parameters import get_location_type, get_enum_type, file_type, tags_type, get_three_state_flag from azure.cli.core.commands.validators import get_default_location_from_resource_group from azext_connectedk8s._constants import Distribution_Enum_Values, Infrastructure_Enum_Values, Feature_Values from knack.arguments import (CLIArgumentType, CaseInsensitiveList) +from._validators import validate_private_link_properties features_types = CLIArgumentType( nargs='+', @@ -21,6 +22,8 @@ def load_arguments(self, _): + pls_arm_id_type = CLIArgumentType(options_list=['--private-link-scope-resource-id', '--pls-arm-id'], arg_group='PrivateLink', help='ARM resource id of the private link scope resource to which this connected cluster is associated.', is_preview=True) + with self.argument_context('connectedk8s connect') as c: c.argument('tags', tags_type) c.argument('location', arg_type=get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) @@ -35,11 +38,14 @@ def load_arguments(self, _): c.argument('infrastructure', options_list=['--infrastructure'], help='The infrastructure on which the Kubernetes cluster represented by this connected cluster will be running on.', arg_type=get_enum_type(Infrastructure_Enum_Values)) c.argument('disable_auto_upgrade', options_list=['--disable-auto-upgrade'], action='store_true', help='Flag to disable auto upgrade of arc agents.') c.argument('cl_oid', options_list=['--custom-locations-oid'], help="OID of 'custom-locations' app") + c.argument('enable_private_link', arg_type=get_three_state_flag(), arg_group='PrivateLink', help='Flag to enable/disable private link support on a connected cluster resource. Allowed values: false, true.', is_preview=True, validator=validate_private_link_properties) + c.argument('private_link_scope_resource_id', pls_arm_id_type) c.argument('onboarding_timeout', options_list=['--onboarding-timeout'], arg_group='Timeout', help='Time required (in seconds) for the arc-agent pods to be installed on the kubernetes cluster. Override this value if the hardware/network constraints on your cluster requires more time for installing the arc-agent pods.') c.argument('no_wait', options_list=['--no-wait'], arg_group='Timeout', help="Do not wait for the long-running operation to finish.") c.argument('correlation_id', options_list=['--correlation-id'], help='A guid that is used to internally track the source of cluster onboarding. Please do not modify it unless advised', validator=override_client_request_id_header) with self.argument_context('connectedk8s update') as c: + c.argument('tags', tags_type) c.argument('cluster_name', options_list=['--name', '-n'], id_part='name', help='The name of the connected cluster.') c.argument('kube_config', options_list=['--kube-config'], help='Path to the kube config file.') c.argument('kube_context', options_list=['--kube-context'], help='Kubconfig context from current machine.') diff --git a/src/connectedk8s/azext_connectedk8s/_utils.py b/src/connectedk8s/azext_connectedk8s/_utils.py index 22ffe52c5e8..f0ebb454284 100644 --- a/src/connectedk8s/azext_connectedk8s/_utils.py +++ b/src/connectedk8s/azext_connectedk8s/_utils.py @@ -291,7 +291,7 @@ def delete_arc_agents(release_namespace, kube_config, kube_context, configuratio def helm_install_release(chart_path, subscription_id, kubernetes_distro, kubernetes_infra, resource_group_name, cluster_name, location, onboarding_tenant_id, http_proxy, https_proxy, no_proxy, proxy_cert, private_key_pem, kube_config, kube_context, no_wait, values_file_provided, values_file, cloud_name, disable_auto_upgrade, - enable_custom_locations, custom_locations_oid, helm_client_location, onboarding_timeout="600"): + enable_custom_locations, custom_locations_oid, helm_client_location, enable_private_link, onboarding_timeout="600"): cmd_helm_install = [helm_client_location, "upgrade", "--install", "azure-arc", chart_path, "--set", "global.subscriptionId={}".format(subscription_id), "--set", "global.kubernetesDistro={}".format(kubernetes_distro), @@ -306,9 +306,12 @@ def helm_install_release(chart_path, subscription_id, kubernetes_distro, kuberne "--set", "systemDefaultValues.clusterconnect-agent.enabled=true", "--output", "json"] # Add custom-locations related params - if enable_custom_locations: + if enable_custom_locations and not enable_private_link: cmd_helm_install.extend(["--set", "systemDefaultValues.customLocations.enabled=true"]) cmd_helm_install.extend(["--set", "systemDefaultValues.customLocations.oid={}".format(custom_locations_oid)]) + # Disable cluster connect if private link is enabled + if enable_private_link is True: + cmd_helm_install.extend(["--set", "systemDefaultValues.clusterconnect-agent.enabled=false"]) # To set some other helm parameters through file if values_file_provided: cmd_helm_install.extend(["-f", values_file]) diff --git a/src/connectedk8s/azext_connectedk8s/_validators.py b/src/connectedk8s/azext_connectedk8s/_validators.py index b21f7d8f035..c3ba6bb6e66 100644 --- a/src/connectedk8s/azext_connectedk8s/_validators.py +++ b/src/connectedk8s/azext_connectedk8s/_validators.py @@ -5,6 +5,10 @@ import azext_connectedk8s._constants as consts +from os import name +from azure.cli.core.azclierror import ArgumentUsageError + + def example_name_or_id_validator(cmd, namespace): # Example of a storage account name or ID validator. from azure.cli.core.commands.client_factory import get_subscription_id @@ -20,6 +24,13 @@ def example_name_or_id_validator(cmd, namespace): ) +def validate_private_link_properties(namespace): + if not namespace.enable_private_link and namespace.private_link_scope_resource_id: + raise ArgumentUsageError("Conflicting private link parameters received. The parameter '--private-link-scope-resource-id' should not be set if '--enable-private-link' is passed as null or False.") + if namespace.enable_private_link is True and not namespace.private_link_scope_resource_id: + raise ArgumentUsageError("The parameter '--private-link-scope-resource-id' was not provided. It is mandatory to pass this parameter for enabling private link on the connected cluster resource.") + + def override_client_request_id_header(cmd, namespace): if namespace.correlation_id is not None: cmd.cli_ctx.data['headers'][consts.Client_Request_Id_Header] = namespace.correlation_id diff --git a/src/connectedk8s/azext_connectedk8s/commands.py b/src/connectedk8s/azext_connectedk8s/commands.py index f6074c98bd8..bbdac1ee589 100644 --- a/src/connectedk8s/azext_connectedk8s/commands.py +++ b/src/connectedk8s/azext_connectedk8s/commands.py @@ -5,7 +5,7 @@ # pylint: disable=line-too-long from azure.cli.core.commands import CliCommandType -from azext_connectedk8s._client_factory import (cf_connectedk8s, cf_connected_cluster, cf_connectedk8s_prev_2021_04_01, cf_connected_cluster_prev_2021_04_01) +from azext_connectedk8s._client_factory import (cf_connectedk8s, cf_connected_cluster, cf_connectedk8s_prev_2022_05_01, cf_connected_cluster_prev_2022_05_01) from ._format import connectedk8s_show_table_format from ._format import connectedk8s_list_table_format @@ -17,12 +17,12 @@ def load_command_table(self, _): client_factory=cf_connectedk8s ) connectedk8s_sdk_prev = CliCommandType( - operations_tmpl='azext_connectedk8s.vendored_sdks.preview_2021_04_01.operations#ConnectedClusterOperations.{}', - client_factory=cf_connectedk8s_prev_2021_04_01 + operations_tmpl='azext_connectedk8s.vendored_sdks.preview_2022_05_01.operations#ConnectedClusterOperations.{}', + client_factory=cf_connectedk8s_prev_2022_05_01 ) with self.command_group('connectedk8s', connectedk8s_sdk, client_factory=cf_connected_cluster) as g: g.custom_command('connect', 'create_connectedk8s', supports_no_wait=True) - g.custom_command('update', 'update_agents') + g.custom_command('update', 'update_connected_cluster') g.custom_command('upgrade', 'upgrade_agents') g.custom_command('delete', 'delete_connectedk8s', confirmation=True, supports_no_wait=True) g.custom_command('enable-features', 'enable_features', is_preview=True) @@ -32,6 +32,6 @@ def load_command_table(self, _): g.custom_command('proxy', 'client_side_proxy_wrapper') g.custom_command('troubleshoot', 'troubleshoot', is_preview=True) - with self.command_group('connectedk8s', connectedk8s_sdk_prev, client_factory=cf_connected_cluster_prev_2021_04_01) as g: + with self.command_group('connectedk8s', connectedk8s_sdk_prev, client_factory=cf_connected_cluster_prev_2022_05_01) as g: pass # use this block for using preview sdk client for a command diff --git a/src/connectedk8s/azext_connectedk8s/custom.py b/src/connectedk8s/azext_connectedk8s/custom.py index f17a761e001..20e92fcf4a1 100644 --- a/src/connectedk8s/azext_connectedk8s/custom.py +++ b/src/connectedk8s/azext_connectedk8s/custom.py @@ -40,12 +40,16 @@ from azext_connectedk8s._client_factory import _resource_client_factory from azext_connectedk8s._client_factory import _resource_providers_client from azext_connectedk8s._client_factory import get_graph_client_service_principals +from azext_connectedk8s._client_factory import cf_connected_cluster_prev_2022_05_01 +from azext_connectedk8s._client_factory import cf_connectedmachine import azext_connectedk8s._constants as consts import azext_connectedk8s._utils as utils import azext_connectedk8s._clientproxyutils as clientproxyutils import azext_connectedk8s._troubleshootutils as troubleshootutils from glob import glob -from .vendored_sdks.models import ConnectedCluster, ConnectedClusterIdentity, ListClusterUserCredentialProperties +from .vendored_sdks.models import ConnectedCluster, ConnectedClusterIdentity, ConnectedClusterPatch, ListClusterUserCredentialProperties +from .vendored_sdks.preview_2022_05_01.models import ConnectedCluster as ConnectedClusterPreview +from .vendored_sdks.preview_2022_05_01.models import ConnectedClusterPatch as ConnectedClusterPatchPreview from threading import Timer, Thread import sys import hashlib @@ -60,7 +64,7 @@ def create_connectedk8s(cmd, client, resource_group_name, cluster_name, correlation_id=None, https_proxy="", http_proxy="", no_proxy="", proxy_cert="", location=None, kube_config=None, kube_context=None, no_wait=False, tags=None, distribution='auto', infrastructure='auto', - disable_auto_upgrade=False, cl_oid=None, onboarding_timeout="600"): + disable_auto_upgrade=False, cl_oid=None, onboarding_timeout="600", enable_private_link=None, private_link_scope_resource_id=None): logger.warning("This operation might take a while...\n") # Setting subscription id and tenant Id @@ -94,6 +98,18 @@ def create_connectedk8s(cmd, client, resource_group_name, cluster_name, correlat proxy_cert = proxy_cert.replace('\\', r'\\\\') + # Prompt if private link is getting enabled + if enable_private_link is True: + if os.getenv('SKIP_PROMPT') != "true": + if not prompt_y_n("The Cluster Connect and Custom Location features are not supported by Private Link at this time. Enabling Private Link will disable these features. Are you sure you want to continue?"): + return + if cl_oid: + logger.warning("Private Link is being enabled, and Custom Location is not supported by Private Link at this time, so the '--custom-locations-oid' parameter will be ignored.") + + # Set preview client if private link properties are provided. + if enable_private_link is not None: + client = cf_connected_cluster_prev_2022_05_01(cmd.cli_ctx, None) + # Checking whether optional extra values file has been provided. values_file_provided, values_file = utils.get_values_file() @@ -161,6 +177,22 @@ def create_connectedk8s(cmd, client, resource_group_name, cluster_name, correlat utils.validate_location(cmd, location) resourceClient = _resource_client_factory(cmd.cli_ctx, subscription_id=subscription_id) + # Validate location of private link scope resource. Throws error only if there is a location mismatch + if enable_private_link is True: + try: + pls_arm_id_arr = private_link_scope_resource_id.split('/') + hc_client = cf_connectedmachine(cmd.cli_ctx, pls_arm_id_arr[2]) + pls_get_result = hc_client.get(pls_arm_id_arr[4], pls_arm_id_arr[8]) + pls_location = pls_get_result.location.lower() + if pls_location != location.lower(): + telemetry.set_exception(exception='Connected cluster resource and Private link scope resource are present in different locations', + fault_type=consts.Pls_Location_Mismatch_Fault_Type, summary='Pls resource location mismatch') + raise ArgumentUsageError("The location of the private link scope resource does not match the location of connected cluster resource. Please ensure that both the resources are in the same azure location.") + except ArgumentUsageError as argex: + raise(argex) + except Exception as ex: + logger.warning("Error occured while checking the private link scope resource location: %s\n", ex) + # Check Release Existance release_namespace = get_release_namespace(kube_config, kube_context, helm_client_location) @@ -184,8 +216,11 @@ def create_connectedk8s(cmd, client, resource_group_name, cluster_name, correlat configmap_cluster_name).agent_public_key_certificate except Exception as e: # pylint: disable=broad-except utils.arm_exception_handler(e, consts.Get_ConnectedCluster_Fault_Type, 'Failed to check if connected cluster resource already exists.') - cc = generate_request_payload(configuration, location, public_key, tags, kubernetes_distro, kubernetes_infra) + cc = generate_request_payload(configuration, location, public_key, tags, kubernetes_distro, kubernetes_infra, enable_private_link, private_link_scope_resource_id) cc_response = create_cc_resource(client, resource_group_name, cluster_name, cc, no_wait).result() + # Disabling cluster-connect if private link is getting enabled + if enable_private_link is True: + disable_cluster_connect(cmd, client, resource_group_name, cluster_name, kube_config, kube_context, values_file, values_file_provided, dp_endpoint_dogfood, release_train_dogfood, release_namespace, helm_client_location) return cc_response else: telemetry.set_exception(exception='The kubernetes cluster is already onboarded', fault_type=consts.Cluster_Already_Onboarded_Fault_Type, @@ -282,7 +317,7 @@ def create_connectedk8s(cmd, client, resource_group_name, cluster_name, correlat raise CLIInternalError("Failed to export private key." + str(e)) # Generate request payload - cc = generate_request_payload(configuration, location, public_key, tags, kubernetes_distro, kubernetes_infra) + cc = generate_request_payload(configuration, location, public_key, tags, kubernetes_distro, kubernetes_infra, enable_private_link, private_link_scope_resource_id) # Create connected cluster resource put_cc_response = create_cc_resource(client, resource_group_name, cluster_name, cc, no_wait).result() @@ -294,7 +329,7 @@ def create_connectedk8s(cmd, client, resource_group_name, cluster_name, correlat utils.helm_install_release(chart_path, subscription_id, kubernetes_distro, kubernetes_infra, resource_group_name, cluster_name, location, onboarding_tenant_id, http_proxy, https_proxy, no_proxy, proxy_cert, private_key_pem, kube_config, kube_context, no_wait, values_file_provided, values_file, azure_cloud, disable_auto_upgrade, enable_custom_locations, - custom_locations_oid, helm_client_location, onboarding_timeout) + custom_locations_oid, helm_client_location, enable_private_link, onboarding_timeout) return put_cc_response @@ -568,7 +603,7 @@ def check_linux_amd64_node(api_response): return False -def generate_request_payload(configuration, location, public_key, tags, kubernetes_distro, kubernetes_infra): +def generate_request_payload(configuration, location, public_key, tags, kubernetes_distro, kubernetes_infra, enable_private_link, private_link_scope_resource_id): # Create connected cluster resource object identity = ConnectedClusterIdentity( type="SystemAssigned" @@ -583,6 +618,26 @@ def generate_request_payload(configuration, location, public_key, tags, kubernet distribution=kubernetes_distro, infrastructure=kubernetes_infra ) + + if enable_private_link is not None: + private_link_state = "Enabled" if enable_private_link is True else "Disabled" + cc = ConnectedClusterPreview( + location=location, + identity=identity, + agent_public_key_certificate=public_key, + tags=tags, + distribution=kubernetes_distro, + infrastructure=kubernetes_infra, + private_link_scope_resource_id=private_link_scope_resource_id, + private_link_state=private_link_state + ) + return cc + + +def generate_patch_payload(tags): + cc = ConnectedClusterPatch( + tags=tags + ) return cc @@ -648,10 +703,14 @@ def get_server_address(kube_config, kube_context): def get_connectedk8s(cmd, client, resource_group_name, cluster_name): + # Override preview client to show private link properties to customers + client = cf_connected_cluster_prev_2022_05_01(cmd.cli_ctx, None) return client.get(resource_group_name, cluster_name) def list_connectedk8s(cmd, client, resource_group_name=None): + # Override preview client to show private link properties to customers + client = cf_connected_cluster_prev_2022_05_01(cmd.cli_ctx, None) if not resource_group_name: return client.list_by_subscription() return client.list_by_resource_group(resource_group_name) @@ -754,6 +813,14 @@ def create_cc_resource(client, resource_group_name, cluster_name, cc, no_wait): utils.arm_exception_handler(e, consts.Create_ConnectedCluster_Fault_Type, 'Unable to create connected cluster resource') +def patch_cc_resource(client, resource_group_name, cluster_name, cc): + try: + return client.update(resource_group_name=resource_group_name, + cluster_name=cluster_name, connected_cluster_patch=cc) + except Exception as e: + utils.arm_exception_handler(e, consts.Update_ConnectedCluster_Fault_Type, 'Unable to update connected cluster resource') + + def delete_cc_resource(client, resource_group_name, cluster_name, no_wait): try: return sdk_no_wait(no_wait, client.begin_delete, @@ -763,10 +830,10 @@ def delete_cc_resource(client, resource_group_name, cluster_name, no_wait): utils.arm_exception_handler(e, consts.Delete_ConnectedCluster_Fault_Type, 'Unable to delete connected cluster resource') -def update_connectedk8s(cmd, instance, tags=None): - with cmd.update_context(instance) as c: - c.set_param('tags', tags) - return instance +def update_connected_cluster_internal(client, resource_group_name, cluster_name, tags=None): + cc = generate_patch_payload(tags) + return patch_cc_resource(client, resource_group_name, cluster_name, cc) + # pylint:disable=unused-argument # pylint: disable=too-many-locals @@ -775,9 +842,8 @@ def update_connectedk8s(cmd, instance, tags=None): # pylint: disable=line-too-long -def update_agents(cmd, client, resource_group_name, cluster_name, https_proxy="", http_proxy="", no_proxy="", proxy_cert="", - disable_proxy=False, kube_config=None, kube_context=None, auto_upgrade=None): - logger.warning("This operation might take a while...\n") +def update_connected_cluster(cmd, client, resource_group_name, cluster_name, https_proxy="", http_proxy="", no_proxy="", proxy_cert="", + disable_proxy=False, kube_config=None, kube_context=None, auto_upgrade=None, tags=None): # Send cloud information to telemetry send_cloud_telemetry(cmd) @@ -802,7 +868,16 @@ def update_agents(cmd, client, resource_group_name, cluster_name, https_proxy="" proxy_cert = proxy_cert.replace('\\', r'\\\\') - if https_proxy == "" and http_proxy == "" and no_proxy == "" and proxy_cert == "" and not disable_proxy and not auto_upgrade: + # Set preview client if cluster is private link enabled. + connected_cluster = get_connectedk8s(cmd, client, resource_group_name, cluster_name) + if connected_cluster.private_link_state.lower() == "enabled": + client = cf_connected_cluster_prev_2022_05_01(cmd.cli_ctx, None) + + # Patching the connected cluster ARM resource + patch_cc_response = update_connected_cluster_internal(client, resource_group_name, cluster_name, tags) + + proxy_params_unset = (https_proxy == "" and http_proxy == "" and no_proxy == "" and proxy_cert == "" and not disable_proxy) + if proxy_params_unset and not auto_upgrade and not tags: raise RequiredArgumentMissingError(consts.No_Param_Error) if (https_proxy or http_proxy or no_proxy) and disable_proxy: @@ -837,7 +912,6 @@ def update_agents(cmd, client, resource_group_name, cluster_name, https_proxy="" release_namespace = validate_release_namespace(client, cluster_name, resource_group_name, configuration, kube_config, kube_context, helm_client_location) # Fetch Connected Cluster for agent version - connected_cluster = get_connectedk8s(cmd, client, resource_group_name, cluster_name) api_instance = kube_client.CoreV1Api(kube_client.ApiClient(configuration)) node_api_response = None @@ -936,11 +1010,13 @@ def update_agents(cmd, client, resource_group_name, cluster_name, https_proxy="" except OSError: pass raise CLIInternalError(str.format(consts.Update_Agent_Failure, error_helm_upgrade.decode("ascii"))) + + logger.info(str.format(consts.Update_Agent_Success, connected_cluster.name)) try: os.remove(user_values_location) except OSError: pass - return str.format(consts.Update_Agent_Success, connected_cluster.name) + return patch_cc_response def upgrade_agents(cmd, client, resource_group_name, cluster_name, kube_config=None, kube_context=None, arc_agent_version=None, upgrade_timeout="600"): @@ -1204,6 +1280,13 @@ def enable_features(cmd, client, resource_group_name, cluster_name, features, ku features = [x.lower() for x in features] enable_cluster_connect, enable_azure_rbac, enable_cl = utils.check_features_to_update(features) + # Check if cluster is private link enabled + connected_cluster = get_connectedk8s(cmd, client, resource_group_name, cluster_name) + if connected_cluster.private_link_state.lower() == "enabled" and (enable_cluster_connect or enable_cl): + telemetry.set_exception(exception='Invalid arguments provided', fault_type=consts.Invalid_Argument_Fault_Type, + summary='Invalid arguments provided') + raise InvalidArgumentValueError("The features 'cluster-connect' and 'custom-locations' cannot be enabled for a private link enabled connected cluster.") + if enable_azure_rbac: if (azrbac_client_id is None) or (azrbac_client_secret is None): telemetry.set_exception(exception='Application ID or secret is not provided for Azure RBAC', fault_type=consts.Application_Details_Not_Provided_For_Azure_RBAC_Fault, @@ -1421,6 +1504,16 @@ def disable_features(cmd, client, resource_group_name, cluster_name, features, k if os.getenv('HELMREPONAME') and os.getenv('HELMREPOURL'): utils.add_helm_repo(kube_config, kube_context, helm_client_location) + get_chart_and_disable_features(cmd, connected_cluster, dp_endpoint_dogfood, release_train_dogfood, kube_config, kube_context, + helm_client_location, release_namespace, values_file_provided, values_file, disable_azure_rbac, + disable_cluster_connect, disable_cl) + + return str.format(consts.Successfully_Disabled_Features, features, connected_cluster.name) + + +def get_chart_and_disable_features(cmd, connected_cluster, dp_endpoint_dogfood, release_train_dogfood, kube_config, kube_context, + helm_client_location, release_namespace, values_file_provided, values_file, disable_azure_rbac=False, + disable_cluster_connect=False, disable_cl=False): # Setting the config dataplane endpoint config_dp_endpoint = get_config_dp_endpoint(cmd, connected_cluster.location) @@ -1466,7 +1559,14 @@ def disable_features(cmd, client, resource_group_name, cluster_name, features, k summary='Unable to install helm release') raise CLIInternalError(str.format(consts.Error_disabling_Features, error_helm_upgrade.decode("ascii"))) - return str.format(consts.Successfully_Disabled_Features, features, connected_cluster.name) + +def disable_cluster_connect(cmd, client, resource_group_name, cluster_name, kube_config, kube_context, values_file, values_file_provided, dp_endpoint_dogfood, release_train_dogfood, release_namespace, helm_client_location): + # Fetch Connected Cluster for agent version + connected_cluster = get_connectedk8s(cmd, client, resource_group_name, cluster_name) + + get_chart_and_disable_features(cmd, connected_cluster, dp_endpoint_dogfood, release_train_dogfood, kube_config, kube_context, + helm_client_location, release_namespace, values_file_provided, values_file, False, + True, True) def load_kubernetes_configuration(filename): diff --git a/src/connectedk8s/azext_connectedk8s/tests/latest/recordings/test_connectedk8s.yaml b/src/connectedk8s/azext_connectedk8s/tests/latest/recordings/test_connectedk8s.yaml index e34ebef566c..4a8e4d9744e 100644 --- a/src/connectedk8s/azext_connectedk8s/tests/latest/recordings/test_connectedk8s.yaml +++ b/src/connectedk8s/azext_connectedk8s/tests/latest/recordings/test_connectedk8s.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - -g -n -s -l -c --generate-ssh-keys User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar?api-version=2021-04-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar","name":"akkeshar","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"Created":"20210721"},"properties":{"provisioningState":"Succeeded"}}' @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 01 Aug 2021 13:00:17 GMT + - Tue, 07 Jun 2022 17:45:29 GMT expires: - '-1' pragma: @@ -42,17 +42,19 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westeurope", "properties": {"kubernetesVersion": "", "dnsPrefix": - "cli-test-a-akkeshar-1bfbb5", "agentPoolProfiles": [{"count": 1, "vmSize": "Standard_B2s", - "osType": "Linux", "type": "VirtualMachineScaleSets", "mode": "System", "enableNodePublicIP": - false, "scaleSetPriority": "Regular", "scaleSetEvictionPolicy": "Delete", "name": - "nodepool1"}], "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": - [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDaIV6uD+Mhm1JWF662S7fLWlkbdZODE8TuLUsKdkJoC+rWZVpXy1u4t/jCne6ZloWfdaHmF/99DOoIT9rLcWesXicBQCtPuZeQC3fHB6WQkVo7STwxrSGNKxVMelJ7D/YzJmsX/b9834uDUwvYSXc1xfRUJRMZR+5kajHus/NqfbpcBnSiG5WZhwXDGpEwA2YxuKQkYqSR+bcs/XaxI6t3iITOVe/QVzkrm4DT5n+bZzUfdSrrPHwTS3OQr788URnF48lcNDVpSEeQdDVC5B7RjD1U83yp7uvZ6GHSoxpIS8uStbaZKGWl8aV+dBFkjx6Fl2mGa0u8R86DUepdcO8T - akkesharlinux@AkashLaptop\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"}}, - "identity": {"type": "SystemAssigned"}}' + body: '{"location": "westeurope", "identity": {"type": "SystemAssigned"}, "properties": + {"kubernetesVersion": "", "dnsPrefix": "cli-test-a-akkeshar-1bfbb5", "agentPoolProfiles": + [{"count": 1, "vmSize": "Standard_B2s", "osType": "Linux", "type": "VirtualMachineScaleSets", + "mode": "System", "enableNodePublicIP": false, "scaleSetPriority": "Regular", + "scaleSetEvictionPolicy": "Delete", "spotMaxPrice": -1.0, "enableEncryptionAtHost": + false, "enableUltraSSD": false, "enableFIPS": false, "name": "nodepool1"}], + "linuxProfile": {"adminUsername": "azureuser", "ssh": {"publicKeys": [{"keyData": + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDknmXRBGa/GuPCkpyydwCNedhfwINfrO674LWcBih2UjjJc5yULl9cD9LsYMWOzHVqM7H7RFxaONyq46h9vgxB/1XAeJUGc2jS8GS+vsS83bXX6vVrwa8wVeD380SJcF87oH3xf7/v2hlKv3drXi7xPE2JBjTHIOJJ6OxX+bAFXBqd1dPvnX1X7kEyX6vvjvuQrp7rFDbLq/eRpmng7kykodASQkUFZlt5+gH/U/z/a/DRoTocgzNqGl9RmesNtslQJs17Vn/JIJMM55qcRCEKoJ3Fq/Osnx3tHNA3G/vTs/+sVgh0tZmM6oIMRfTKzJskSZkMZOd8KtK/7ROCZO72izRmzwTFwFvRe/I7iHQ4PrjeKAqKDvgHJ/0LlaHmIYysZI21OTo6HcoX4HmA4RsIybNAM5SWeMMGiGe94/LYPk9sgB3o8aMv/nI/hr6vA28c2nso7itOuNcH1GZalAnbCObNv7QqVZ23FPlCjV9GXWCDCnQeCoIispJCrf68N5s= + fareast\\akkeshar@AkashLaptop\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}}' headers: Accept: - application/json @@ -63,36 +65,38 @@ interactions: Connection: - keep-alive Content-Length: - - '1210' + - '1518' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n -s -l -c --generate-ssh-keys User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-containerservice/4.4.6 Azure-SDK-For-Python AZURECLI/2.26.1 - accept-language: - - en-US + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/16.2.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.ContainerService/managedClusters/cli-test-aks-000001?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.ContainerService/managedClusters/cli-test-aks-000001?api-version=2021-08-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar/providers/Microsoft.ContainerService/managedClusters/cli-test-aks-000001\",\n \ \"location\": \"westeurope\",\n \"name\": \"cli-test-aks-000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cli-test-a-akkeshar-1bfbb5\",\n \"fqdn\": - \"cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io\",\n \"agentPoolProfiles\": - [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": - \"Standard_B2s\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n - \ \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": - \"Creating\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n - \ \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n - \ \"nodeLabels\": {},\n \"mode\": \"System\",\n \"osType\": \"Linux\",\n - \ \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.10\"\n }\n - \ ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDaIV6uD+Mhm1JWF662S7fLWlkbdZODE8TuLUsKdkJoC+rWZVpXy1u4t/jCne6ZloWfdaHmF/99DOoIT9rLcWesXicBQCtPuZeQC3fHB6WQkVo7STwxrSGNKxVMelJ7D/YzJmsX/b9834uDUwvYSXc1xfRUJRMZR+5kajHus/NqfbpcBnSiG5WZhwXDGpEwA2YxuKQkYqSR+bcs/XaxI6t3iITOVe/QVzkrm4DT5n+bZzUfdSrrPHwTS3OQr788URnF48lcNDVpSEeQdDVC5B7RjD1U83yp7uvZ6GHSoxpIS8uStbaZKGWl8aV+dBFkjx6Fl2mGa0u8R86DUepdcO8T - akkesharlinux@AkashLaptop\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + \"1.22.6\",\n \"dnsPrefix\": \"cli-test-a-akkeshar-1bfbb5\",\n \"fqdn\": + \"cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io\",\n \"azurePortalFQDN\": + \"cli-test-a-akkeshar-1bfbb5-7c7ab37f.portal.hcp.westeurope.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 1,\n \"vmSize\": \"Standard_B2s\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n + \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Creating\",\n + \ \"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.05.16\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABgQDknmXRBGa/GuPCkpyydwCNedhfwINfrO674LWcBih2UjjJc5yULl9cD9LsYMWOzHVqM7H7RFxaONyq46h9vgxB/1XAeJUGc2jS8GS+vsS83bXX6vVrwa8wVeD380SJcF87oH3xf7/v2hlKv3drXi7xPE2JBjTHIOJJ6OxX+bAFXBqd1dPvnX1X7kEyX6vvjvuQrp7rFDbLq/eRpmng7kykodASQkUFZlt5+gH/U/z/a/DRoTocgzNqGl9RmesNtslQJs17Vn/JIJMM55qcRCEKoJ3Fq/Osnx3tHNA3G/vTs/+sVgh0tZmM6oIMRfTKzJskSZkMZOd8KtK/7ROCZO72izRmzwTFwFvRe/I7iHQ4PrjeKAqKDvgHJ/0LlaHmIYysZI21OTo6HcoX4HmA4RsIybNAM5SWeMMGiGe94/LYPk9sgB3o8aMv/nI/hr6vA28c2nso7itOuNcH1GZalAnbCObNv7QqVZ23FPlCjV9GXWCDCnQeCoIispJCrf68N5s= + fareast\\\\akkeshar@AkashLaptop\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\": \"msi\"\n },\n \"nodeResourceGroup\": \"MC_akkeshar_cli-test-aks-000001_westeurope\",\n \ \"enableRBAC\": true,\n \"enablePodSecurityPolicy\": false,\n \"networkProfile\": {\n \"networkPlugin\": \"kubenet\",\n \"loadBalancerSku\": \"standard\",\n @@ -100,21 +104,21 @@ interactions: 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 },\n \"maxAgentPools\": - 100\n },\n \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\": - \"48ef5996-8142-4b50-a07f-8787200d8692\",\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 },\n + \ \"identity\": {\n \"type\": \"SystemAssigned\",\n \"principalId\": \"f8ee3c52-6a28-4d30-966b-51ab5e28f9c7\",\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/westeurope/operations/d5845aff-d82e-4de9-aa5f-698d7f3a90ec?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/38488217-069d-4745-ad8d-18497861a715?api-version=2017-08-31 cache-control: - no-cache content-length: - - '2434' + - '2888' content-type: - application/json date: - - Sun, 01 Aug 2021 13:00:31 GMT + - Tue, 07 Jun 2022 17:45:45 GMT expires: - '-1' pragma: @@ -134,7 +138,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -144,14 +148,14 @@ interactions: ParameterSetName: - -g -n -s -l -c --generate-ssh-keys User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-containerservice/4.4.6 Azure-SDK-For-Python AZURECLI/2.26.1 + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/16.2.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/d5845aff-d82e-4de9-aa5f-698d7f3a90ec?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/38488217-069d-4745-ad8d-18497861a715?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"ff5a84d5-2ed8-e94d-aa5f-698d7f3a90ec\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:00:30.3266666Z\"\n }" + string: "{\n \"name\": \"17824838-9d06-4547-ad8d-18497861a715\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:45:45.2466666Z\"\n }" headers: cache-control: - no-cache @@ -160,7 +164,7 @@ interactions: content-type: - application/json date: - - Sun, 01 Aug 2021 13:01:02 GMT + - Tue, 07 Jun 2022 17:46:16 GMT expires: - '-1' pragma: @@ -182,7 +186,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -192,14 +196,14 @@ interactions: ParameterSetName: - -g -n -s -l -c --generate-ssh-keys User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-containerservice/4.4.6 Azure-SDK-For-Python AZURECLI/2.26.1 + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/16.2.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/d5845aff-d82e-4de9-aa5f-698d7f3a90ec?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/38488217-069d-4745-ad8d-18497861a715?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"ff5a84d5-2ed8-e94d-aa5f-698d7f3a90ec\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:00:30.3266666Z\"\n }" + string: "{\n \"name\": \"17824838-9d06-4547-ad8d-18497861a715\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:45:45.2466666Z\"\n }" headers: cache-control: - no-cache @@ -208,7 +212,7 @@ interactions: content-type: - application/json date: - - Sun, 01 Aug 2021 13:01:33 GMT + - Tue, 07 Jun 2022 17:46:46 GMT expires: - '-1' pragma: @@ -230,7 +234,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -240,14 +244,14 @@ interactions: ParameterSetName: - -g -n -s -l -c --generate-ssh-keys User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-containerservice/4.4.6 Azure-SDK-For-Python AZURECLI/2.26.1 + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/16.2.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/d5845aff-d82e-4de9-aa5f-698d7f3a90ec?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/38488217-069d-4745-ad8d-18497861a715?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"ff5a84d5-2ed8-e94d-aa5f-698d7f3a90ec\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:00:30.3266666Z\"\n }" + string: "{\n \"name\": \"17824838-9d06-4547-ad8d-18497861a715\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:45:45.2466666Z\"\n }" headers: cache-control: - no-cache @@ -256,7 +260,7 @@ interactions: content-type: - application/json date: - - Sun, 01 Aug 2021 13:02:03 GMT + - Tue, 07 Jun 2022 17:47:17 GMT expires: - '-1' pragma: @@ -278,7 +282,55 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - -g -n -s -l -c --generate-ssh-keys + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/16.2.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/38488217-069d-4745-ad8d-18497861a715?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"17824838-9d06-4547-ad8d-18497861a715\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:45:45.2466666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: - application/json + date: + - Tue, 07 Jun 2022 17:47: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: @@ -288,14 +340,14 @@ interactions: ParameterSetName: - -g -n -s -l -c --generate-ssh-keys User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-containerservice/4.4.6 Azure-SDK-For-Python AZURECLI/2.26.1 + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/16.2.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/d5845aff-d82e-4de9-aa5f-698d7f3a90ec?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/38488217-069d-4745-ad8d-18497861a715?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"ff5a84d5-2ed8-e94d-aa5f-698d7f3a90ec\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:00:30.3266666Z\"\n }" + string: "{\n \"name\": \"17824838-9d06-4547-ad8d-18497861a715\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:45:45.2466666Z\"\n }" headers: cache-control: - no-cache @@ -304,7 +356,7 @@ interactions: content-type: - application/json date: - - Sun, 01 Aug 2021 13:02:34 GMT + - Tue, 07 Jun 2022 17:48:17 GMT expires: - '-1' pragma: @@ -326,7 +378,55 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - -g -n -s -l -c --generate-ssh-keys + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/16.2.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/38488217-069d-4745-ad8d-18497861a715?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"17824838-9d06-4547-ad8d-18497861a715\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:45:45.2466666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: - application/json + date: + - Tue, 07 Jun 2022 17:48:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - nginx + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -336,14 +436,14 @@ interactions: ParameterSetName: - -g -n -s -l -c --generate-ssh-keys User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-containerservice/4.4.6 Azure-SDK-For-Python AZURECLI/2.26.1 + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/16.2.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/d5845aff-d82e-4de9-aa5f-698d7f3a90ec?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/38488217-069d-4745-ad8d-18497861a715?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"ff5a84d5-2ed8-e94d-aa5f-698d7f3a90ec\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:00:30.3266666Z\"\n }" + string: "{\n \"name\": \"17824838-9d06-4547-ad8d-18497861a715\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:45:45.2466666Z\"\n }" headers: cache-control: - no-cache @@ -352,7 +452,7 @@ interactions: content-type: - application/json date: - - Sun, 01 Aug 2021 13:03:05 GMT + - Tue, 07 Jun 2022 17:49:18 GMT expires: - '-1' pragma: @@ -374,7 +474,55 @@ interactions: body: null headers: Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - aks create + Connection: + - keep-alive + ParameterSetName: + - -g -n -s -l -c --generate-ssh-keys + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/16.2.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/38488217-069d-4745-ad8d-18497861a715?api-version=2017-08-31 + response: + body: + string: "{\n \"name\": \"17824838-9d06-4547-ad8d-18497861a715\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:45:45.2466666Z\"\n }" + headers: + cache-control: + - no-cache + content-length: + - '126' + content-type: - application/json + date: + - Tue, 07 Jun 2022 17:49: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: @@ -384,15 +532,15 @@ interactions: ParameterSetName: - -g -n -s -l -c --generate-ssh-keys User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-containerservice/4.4.6 Azure-SDK-For-Python AZURECLI/2.26.1 + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/16.2.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/d5845aff-d82e-4de9-aa5f-698d7f3a90ec?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/38488217-069d-4745-ad8d-18497861a715?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"ff5a84d5-2ed8-e94d-aa5f-698d7f3a90ec\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-01T13:00:30.3266666Z\",\n \"endTime\": - \"2021-08-01T13:03:33.8851728Z\"\n }" + string: "{\n \"name\": \"17824838-9d06-4547-ad8d-18497861a715\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-06-07T17:45:45.2466666Z\",\n \"endTime\": + \"2022-06-07T17:49:58.3252923Z\"\n }" headers: cache-control: - no-cache @@ -401,7 +549,7 @@ interactions: content-type: - application/json date: - - Sun, 01 Aug 2021 13:03:36 GMT + - Tue, 07 Jun 2022 17:50:20 GMT expires: - '-1' pragma: @@ -423,7 +571,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -433,52 +581,57 @@ interactions: ParameterSetName: - -g -n -s -l -c --generate-ssh-keys User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-containerservice/4.4.6 Azure-SDK-For-Python AZURECLI/2.26.1 + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/16.2.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.ContainerService/managedClusters/cli-test-aks-000001?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.ContainerService/managedClusters/cli-test-aks-000001?api-version=2021-08-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar/providers/Microsoft.ContainerService/managedClusters/cli-test-aks-000001\",\n \ \"location\": \"westeurope\",\n \"name\": \"cli-test-aks-000001\",\n \"type\": \"Microsoft.ContainerService/ManagedClusters\",\n \"properties\": {\n \"provisioningState\": \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n \"kubernetesVersion\": - \"1.20.7\",\n \"dnsPrefix\": \"cli-test-a-akkeshar-1bfbb5\",\n \"fqdn\": - \"cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io\",\n \"agentPoolProfiles\": - [\n {\n \"name\": \"nodepool1\",\n \"count\": 1,\n \"vmSize\": - \"Standard_B2s\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": \"Managed\",\n - \ \"maxPods\": 110,\n \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": - \"Succeeded\",\n \"powerState\": {\n \"code\": \"Running\"\n },\n - \ \"orchestratorVersion\": \"1.20.7\",\n \"enableNodePublicIP\": false,\n - \ \"nodeLabels\": {},\n \"mode\": \"System\",\n \"osType\": \"Linux\",\n - \ \"nodeImageVersion\": \"AKSUbuntu-1804gen2containerd-2021.07.10\"\n }\n - \ ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n \"ssh\": - {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDaIV6uD+Mhm1JWF662S7fLWlkbdZODE8TuLUsKdkJoC+rWZVpXy1u4t/jCne6ZloWfdaHmF/99DOoIT9rLcWesXicBQCtPuZeQC3fHB6WQkVo7STwxrSGNKxVMelJ7D/YzJmsX/b9834uDUwvYSXc1xfRUJRMZR+5kajHus/NqfbpcBnSiG5WZhwXDGpEwA2YxuKQkYqSR+bcs/XaxI6t3iITOVe/QVzkrm4DT5n+bZzUfdSrrPHwTS3OQr788URnF48lcNDVpSEeQdDVC5B7RjD1U83yp7uvZ6GHSoxpIS8uStbaZKGWl8aV+dBFkjx6Fl2mGa0u8R86DUepdcO8T - akkesharlinux@AkashLaptop\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": + \"1.22.6\",\n \"dnsPrefix\": \"cli-test-a-akkeshar-1bfbb5\",\n \"fqdn\": + \"cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io\",\n \"azurePortalFQDN\": + \"cli-test-a-akkeshar-1bfbb5-7c7ab37f.portal.hcp.westeurope.azmk8s.io\",\n + \ \"agentPoolProfiles\": [\n {\n \"name\": \"nodepool1\",\n \"count\": + 1,\n \"vmSize\": \"Standard_B2s\",\n \"osDiskSizeGB\": 128,\n \"osDiskType\": + \"Managed\",\n \"kubeletDiskType\": \"OS\",\n \"maxPods\": 110,\n + \ \"type\": \"VirtualMachineScaleSets\",\n \"provisioningState\": \"Succeeded\",\n + \ \"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.05.16\",\n \"enableFIPS\": false\n + \ }\n ],\n \"linuxProfile\": {\n \"adminUsername\": \"azureuser\",\n + \ \"ssh\": {\n \"publicKeys\": [\n {\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAABgQDknmXRBGa/GuPCkpyydwCNedhfwINfrO674LWcBih2UjjJc5yULl9cD9LsYMWOzHVqM7H7RFxaONyq46h9vgxB/1XAeJUGc2jS8GS+vsS83bXX6vVrwa8wVeD380SJcF87oH3xf7/v2hlKv3drXi7xPE2JBjTHIOJJ6OxX+bAFXBqd1dPvnX1X7kEyX6vvjvuQrp7rFDbLq/eRpmng7kykodASQkUFZlt5+gH/U/z/a/DRoTocgzNqGl9RmesNtslQJs17Vn/JIJMM55qcRCEKoJ3Fq/Osnx3tHNA3G/vTs/+sVgh0tZmM6oIMRfTKzJskSZkMZOd8KtK/7ROCZO72izRmzwTFwFvRe/I7iHQ4PrjeKAqKDvgHJ/0LlaHmIYysZI21OTo6HcoX4HmA4RsIybNAM5SWeMMGiGe94/LYPk9sgB3o8aMv/nI/hr6vA28c2nso7itOuNcH1GZalAnbCObNv7QqVZ23FPlCjV9GXWCDCnQeCoIispJCrf68N5s= + fareast\\\\akkeshar@AkashLaptop\\n\"\n }\n ]\n }\n },\n \"servicePrincipalProfile\": {\n \"clientId\": \"msi\"\n },\n \"nodeResourceGroup\": \"MC_akkeshar_cli-test-aks-000001_westeurope\",\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_akkeshar_cli-test-aks-000001_westeurope/providers/Microsoft.Network/publicIPAddresses/fef3c094-9bf0-468b-833b-0c9814ea7906\"\n + 1\n },\n \"effectiveOutboundIPs\": [\n {\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_akkeshar_cli-test-aks-000001_westeurope/providers/Microsoft.Network/publicIPAddresses/d48755d8-258e-408d-a294-a3d463e6903f\"\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 },\n \"maxAgentPools\": 100,\n \"identityProfile\": {\n \"kubeletidentity\": {\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MC_akkeshar_cli-test-aks-000001_westeurope/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli-test-aks-000001-agentpool\",\n - \ \"clientId\": \"def4b342-5ffd-4376-b8e2-ec13e85bca86\",\n \"objectId\": - \"69073422-b598-4ec4-9123-1a35c33d9c22\"\n }\n }\n },\n \"identity\": - {\n \"type\": \"SystemAssigned\",\n \"principalId\": \"48ef5996-8142-4b50-a07f-8787200d8692\",\n + \ \"clientId\": \"3926865b-4b7f-4402-912d-70b38f92b999\",\n \"objectId\": + \"5837020f-4cc8-4b33-a42a-47eef1a590ce\"\n }\n },\n \"disableLocalAccounts\": + false,\n \"securityProfile\": {}\n },\n \"identity\": {\n \"type\": + \"SystemAssigned\",\n \"principalId\": \"f8ee3c52-6a28-4d30-966b-51ab5e28f9c7\",\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: - - '3109' + - '3563' content-type: - application/json date: - - Sun, 01 Aug 2021 13:03:36 GMT + - Tue, 07 Jun 2022 17:50:21 GMT expires: - '-1' pragma: @@ -512,26 +665,24 @@ interactions: ParameterSetName: - -g -n -f User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-mgmt-containerservice/4.4.6 Azure-SDK-For-Python AZURECLI/2.26.1 - accept-language: - - en-US + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/16.2.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.ContainerService/managedClusters/cli-test-aks-000001/listClusterUserCredential?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.ContainerService/managedClusters/cli-test-aks-000001/listClusterUserCredential?api-version=2021-08-01 response: body: string: "{\n \"kubeconfigs\": [\n {\n \"name\": \"clusterUser\",\n \"value\":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DNCNVJXOVNZMVpOY2xONVdUQkxOakV6YTFOTlNHZHZjSGRwZWs5b0x3cFFVM3BUU0hrMldtRnNiSFJrTVhaaVREa3hSbEowVDJwSVJIUTFla1pLUkhGclNrOHJlRXBRTW5Zd2JuVkdTMWRxTkV4dFNUSjBiWGRTVkVkUFFuZEdDbTlaVTJGV2FHbDRUV0ppWkM5ekwwVkRlbkpQUzBkaFQyeFBkMjk1VGxkUk0zZ3lXVE13YW1KMFMzaHdORVVyZG0xcmRuazFPRzFJUlVzNWRYVlhXbG9LUVdRNFVrcDRTbE5UTkhwSmF6UlZPVXhKYVhWdFMwbE1LMFJhTW5GVGMybDJUVmh0Wm5kVVNtMXJNbWxDUkZCU1JqQTFXWEpZUTBSd2VVRXJXV1Z1UkFwQ1FXVndlblkzVEVwV2RuZzRPSGcwUm5oTlNXWndjVkZhTnpaNmMwWTRaMlpUY0ZFNFRXSnhZV2g2ZFVKdFRYZ3djMjVOYkRsWVduaHRlVEVLTFMwdExTMUZUa1FnVWxOQklGQlNTVlpCVkVVZ1MwVlpMUzB0TFMwSwogICAgdG9rZW46IDNhNzdlOTI0MTI2NDIwZjZmZTNiZDM0ZjVhMjUyZGEwYTFjNDc0OTk3ZjZlYzk3MmI5NTcxNzJiY2YyNTVkOGZmMGU2ZTVhYWY1NGQwYjlhY2I4ZTk2Yjg2MDZiZGNlMmE5OTNmMDVjMzE4Yjc1ZWNlNDkyNzAxZGNlMzkzZjAwCg==\"\n \ }\n ]\n }" headers: cache-control: - no-cache content-length: - - '13140' + - '13132' content-type: - application/json date: - - Sun, 01 Aug 2021 13:03:38 GMT + - Tue, 07 Jun 2022 17:50:22 GMT expires: - '-1' pragma: @@ -556,32 +707,118 @@ interactions: headers: Accept: - application/json - Content-Type: - - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connectedk8s connect + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --kube-config User-Agent: - - OpenAPI-Generator/11.0.0/python + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/apis/networking.k8s.io/v1/ + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Kubernetes?api-version=2021-04-01 response: body: - string: '{"kind":"APIResourceList","apiVersion":"v1","groupVersion":"networking.k8s.io/v1","resources":[{"name":"ingressclasses","singularName":"","namespaced":false,"kind":"IngressClass","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"storageVersionHash":"6upRfBq0FOI="},{"name":"ingresses","singularName":"","namespaced":true,"kind":"Ingress","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ing"],"storageVersionHash":"ZOAfGflaKd0="},{"name":"ingresses/status","singularName":"","namespaced":true,"kind":"Ingress","verbs":["get","patch","update"]},{"name":"networkpolicies","singularName":"","namespaced":true,"kind":"NetworkPolicy","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["netpol"],"storageVersionHash":"YpfwF18m1G8="}]} - - ' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Kubernetes","namespace":"Microsoft.Kubernetes","authorizations":[{"applicationId":"64b12d6e-6549-484c-8cc6-6281839ba394","roleDefinitionId":"1d1d44cf-68a1-4def-a2b6-cd7efc3515af"},{"applicationId":"359431ad-ece5-496b-8768-be4bbfd82f36","roleDefinitionId":"1b5c71b7-9814-4b40-b62a-23018af874d8"},{"applicationId":"0000dab9-8b21-4ba2-807f-1743968cef00","roleDefinitionId":"1b5c71b7-9814-4b40-b62a-23018af874d8"},{"applicationId":"8edd93e1-2103-40b4-bd70-6e34e586362d","roleDefinitionId":"eb67887a-31e8-4e4e-bf5b-14ff79351a6f"}],"resourceTypes":[{"resourceType":"connectedClusters","locations":["West + Europe","East US","West Central US","South Central US","Southeast Asia","UK + South","East US 2","West US 2","Australia East","North Europe","France Central","Central + US","West US","North Central US","Korea Central","Japan East","West US 3","East + Asia","East US 2 EUAP","Canada East","Canada Central"],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"SystemAssignedResourceIdentity, + SupportsTags, SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US 2 EUAP","West Europe","East US","West Central US","South Central US","Southeast + Asia","UK South","East US 2","West US 2","Australia East","North Europe","France + Central","Central US","West US","North Central US","Korea Central","Japan + East","East Asia","West US 3","Canada East","Canada Central"],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"registeredSubscriptions","locations":[],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"Operations","locations":[],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview","2019-11-01-preview","2019-09-01-privatepreview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: - audit-id: - - d59febd9-c766-41e7-815b-795e7f8937be cache-control: - - no-cache, private + - no-cache content-length: - - '864' + - '2311' content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 17:50:25 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: null + headers: + Accept: - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connectedk8s connect + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --kube-config + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KubernetesConfiguration?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KubernetesConfiguration","namespace":"Microsoft.KubernetesConfiguration","authorizations":[{"applicationId":"c699bf69-fb1d-4eaf-999b-99e6b2ae4d85","roleDefinitionId":"90155430-a360-410f-af5d-89dc284d85c6"},{"applicationId":"03db181c-e9d3-4868-9097-f0b728327182","roleDefinitionId":"DE2ADB97-42D8-49C8-8FCF-DBB53EF936AC"},{"applicationId":"a0f92522-89de-4c5e-9a75-0044ccf66efd","roleDefinitionId":"b3429810-7d5c-420e-8605-cf280f3099f2"},{"applicationId":"bd9b7cd5-dac1-495f-b013-ac871e98fa5f","roleDefinitionId":"0d44c8f0-08b9-44d4-9f59-e51c83f95200"},{"applicationId":"585fc3c3-9a59-4720-8319-53cce041a605","roleDefinitionId":"4a9ce2ee-6de2-43ba-a7bd-8f316de763a7"}],"resourceTypes":[{"resourceType":"sourceControlConfigurations","locations":["East + US","West Europe","West Central US","West US 2","West US 3","South Central + US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France + Central","Central US","North Central US","West US","Korea Central","East Asia","Japan + East","Canada East","Canada Central","Norway East","Germany West Central","Sweden + Central","Switzerland North","Australia Southeast","Central India","East US + 2 EUAP","Central US EUAP"],"apiVersions":["2022-03-01","2021-03-01","2020-10-01-preview","2020-07-01-preview","2019-11-01-preview"],"defaultApiVersion":"2022-03-01","capabilities":"SupportsExtension"},{"resourceType":"extensions","locations":["East + US","West Europe","West Central US","West US 2","West US 3","South Central + US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France + Central","Central US","North Central US","West US","Korea Central","East Asia","Japan + East","Canada East","Canada Central","Norway East","Germany West Central","Sweden + Central","Switzerland North","Australia Southeast","Central India","East US + 2 EUAP","Central US EUAP"],"apiVersions":["2022-04-02-preview","2022-03-01","2021-09-01","2021-05-01-preview","2020-07-01-preview"],"defaultApiVersion":"2022-03-01","capabilities":"SystemAssignedResourceIdentity, + SupportsExtension"},{"resourceType":"fluxConfigurations","locations":["East + US","West Europe","West Central US","West US 2","West US 3","South Central + US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France + Central","Central US","North Central US","West US","Korea Central","East Asia","Japan + East","Canada East","Canada Central","Norway East","Germany West Central","Sweden + Central","Switzerland North","Australia Southeast","Central India","East US + 2 EUAP","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview","2021-11-01-preview","2021-06-01-preview"],"defaultApiVersion":"2022-03-01","capabilities":"SupportsExtension"},{"resourceType":"operations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview","2021-12-01-preview","2021-11-01-preview","2021-09-01","2021-06-01-preview","2021-05-01-preview","2021-03-01","2020-10-01-preview","2020-07-01-preview","2019-11-01-preview"],"capabilities":"None"},{"resourceType":"namespaces","locations":["East + US 2 EUAP","West US 2","East US","West Europe","West Central US","West US + 3","South Central US","East US 2","North Europe","UK South","Southeast Asia","Australia + East","France Central","Central US","North Central US","West US","Korea Central","East + Asia","Japan East"],"apiVersions":["2021-12-01-preview"],"defaultApiVersion":"2021-12-01-preview","capabilities":"SupportsExtension"},{"resourceType":"privateLinkScopes","locations":["East + US 2 EUAP"],"apiVersions":["2022-04-02-preview"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"privateLinkScopes/privateEndpointConnections","locations":["East + US 2 EUAP"],"apiVersions":["2022-04-02-preview"],"capabilities":"None"},{"resourceType":"privateLinkScopes/privateEndpointConnectionProxies","locations":["East + US 2 EUAP"],"apiVersions":["2022-04-02-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '4029' + content-type: + - application/json; charset=utf-8 date: - - Sun, 01 Aug 2021 13:03:40 GMT - x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf - x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 + - Tue, 07 Jun 2022 17:50:25 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 @@ -595,33 +832,27 @@ interactions: User-Agent: - OpenAPI-Generator/11.0.0/python method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/api/v1/nodes + uri: https://cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io/apis/networking.k8s.io/v1/ response: body: - string: '{"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"750"},"items":[{"metadata":{"name":"aks-nodepool1-41590460-vmss000000","uid":"a09e1e08-74ac-4441-abc4-34289ba2630a","resourceVersion":"718","creationTimestamp":"2021-08-01T13:03:01Z","labels":{"agentpool":"nodepool1","beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"Standard_B2s","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"westeurope","failure-domain.beta.kubernetes.io/zone":"0","kubernetes.azure.com/cluster":"MC_akkeshar_cli-test-aks-000001_westeurope","kubernetes.azure.com/mode":"system","kubernetes.azure.com/node-image-version":"AKSUbuntu-1804gen2containerd-2021.07.10","kubernetes.azure.com/os-sku":"Ubuntu","kubernetes.azure.com/role":"agent","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"aks-nodepool1-41590460-vmss000000","kubernetes.io/os":"linux","kubernetes.io/role":"agent","node-role.kubernetes.io/agent":"","node.kubernetes.io/instance-type":"Standard_B2s","storageprofile":"managed","storagetier":"Premium_LRS","topology.kubernetes.io/region":"westeurope","topology.kubernetes.io/zone":"0"},"annotations":{"node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:03:13Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:agentpool":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/instance-type":{},"f:beta.kubernetes.io/os":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:failure-domain.beta.kubernetes.io/zone":{},"f:kubernetes.azure.com/cluster":{},"f:kubernetes.azure.com/mode":{},"f:kubernetes.azure.com/node-image-version":{},"f:kubernetes.azure.com/os-sku":{},"f:kubernetes.azure.com/role":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{},"f:node.kubernetes.io/instance-type":{},"f:storageprofile":{},"f:storagetier":{},"f:topology.kubernetes.io/region":{},"f:topology.kubernetes.io/zone":{}}},"f:spec":{"f:providerID":{}},"f:status":{"f:addresses":{".":{},"k:{\"type\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}},"f:allocatable":{".":{},"f:attachable-volumes-azure-disk":{},"f:cpu":{},"f:ephemeral-storage":{},"f:hugepages-1Gi":{},"f:hugepages-2Mi":{},"f:memory":{},"f:pods":{}},"f:capacity":{".":{},"f:attachable-volumes-azure-disk":{},"f:cpu":{},"f:ephemeral-storage":{},"f:hugepages-1Gi":{},"f:hugepages-2Mi":{},"f:memory":{},"f:pods":{}},"f:conditions":{".":{},"k:{\"type\":\"DiskPressure\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"MemoryPressure\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"PIDPressure\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"Ready\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}},"f:config":{},"f:daemonEndpoints":{"f:kubeletEndpoint":{"f:Port":{}}},"f:images":{},"f:nodeInfo":{"f:architecture":{},"f:bootID":{},"f:containerRuntimeVersion":{},"f:kernelVersion":{},"f:kubeProxyVersion":{},"f:kubeletVersion":{},"f:machineID":{},"f:operatingSystem":{},"f:osImage":{},"f:systemUUID":{}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:03:20Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.244.0.0/24\"":{}}},"f:status":{"f:conditions":{"k:{\"type\":\"NetworkUnavailable\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:03:26Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:kubernetes.io/role":{},"f:node-role.kubernetes.io/agent":{}}}}}]},"spec":{"podCIDR":"10.244.0.0/24","podCIDRs":["10.244.0.0/24"],"providerID":"azure:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mc_akkeshar_cli-test-aks-000001_westeurope/providers/Microsoft.Compute/virtualMachineScaleSets/aks-nodepool1-41590460-vmss/virtualMachines/0"},"status":{"capacity":{"attachable-volumes-azure-disk":"4","cpu":"2","ephemeral-storage":"129900528Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4030184Ki","pods":"110"},"allocatable":{"attachable-volumes-azure-disk":"4","cpu":"1900m","ephemeral-storage":"119716326407","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2213608Ki","pods":"110"},"conditions":[{"type":"NetworkUnavailable","status":"False","lastHeartbeatTime":"2021-08-01T13:03:20Z","lastTransitionTime":"2021-08-01T13:03:20Z","reason":"RouteCreated","message":"RouteController - created a route"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2021-08-01T13:03:11Z","lastTransitionTime":"2021-08-01T13:03:01Z","reason":"KubeletHasSufficientMemory","message":"kubelet - has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2021-08-01T13:03:11Z","lastTransitionTime":"2021-08-01T13:03:01Z","reason":"KubeletHasNoDiskPressure","message":"kubelet - has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2021-08-01T13:03:11Z","lastTransitionTime":"2021-08-01T13:03:01Z","reason":"KubeletHasSufficientPID","message":"kubelet - has sufficient PID available"},{"type":"Ready","status":"True","lastHeartbeatTime":"2021-08-01T13:03:11Z","lastTransitionTime":"2021-08-01T13:03:11Z","reason":"KubeletReady","message":"kubelet - is posting ready status. AppArmor enabled"}],"addresses":[{"type":"Hostname","address":"aks-nodepool1-41590460-vmss000000"},{"type":"InternalIP","address":"10.240.0.4"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"3ec81fd0e2164eb7ab266da6be3f219e","systemUUID":"703bc8f8-8e75-4a53-8d7c-55c60441e625","bootID":"b39a4b92-5c7e-40c0-984c-a4aaf7e5a325","kernelVersion":"5.4.0-1051-azure","osImage":"Ubuntu - 18.04.5 LTS","containerRuntimeVersion":"containerd://1.4.4+azure","kubeletVersion":"v1.20.7","kubeProxyVersion":"v1.20.7","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod06112021-1"],"sizeBytes":331689060},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod06112021"],"sizeBytes":330099815},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod05202021-hotfix"],"sizeBytes":271471426},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod05202021"],"sizeBytes":269703297},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod03262021"],"sizeBytes":264732875},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:0.19.0"],"sizeBytes":166352383},{"names":["mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.210623.2"],"sizeBytes":147750148},{"names":["mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.210524.1"],"sizeBytes":146446618},{"names":["mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.210427.1"],"sizeBytes":136242776},{"names":["mcr.microsoft.com/oss/calico/node:v3.8.9.5"],"sizeBytes":101794833},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:0.47.0"],"sizeBytes":101445696},{"names":["mcr.microsoft.com/oss/kubernetes/autoscaler/cluster-proportional-autoscaler:1.3.0_v0.0.5"],"sizeBytes":101194562},{"names":["mcr.microsoft.com/aks/hcp/tunnel-openvpn:master.210623.2"],"sizeBytes":96125176},{"names":["mcr.microsoft.com/aks/hcp/tunnel-openvpn:master.210524.1"],"sizeBytes":95879501},{"names":["mcr.microsoft.com/oss/kubernetes/exechealthz:1.2_v0.0.5"],"sizeBytes":94348102},{"names":["mcr.microsoft.com/oss/calico/node:v3.8.9.2"],"sizeBytes":93537927},{"names":["mcr.microsoft.com/aks/acc/sgx-attestation:2.0"],"sizeBytes":91841669},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.4.0"],"sizeBytes":91324193},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.2.0"],"sizeBytes":89103171},{"names":["mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.0.1-rc3"],"sizeBytes":86839805},{"names":["mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.2.0"],"sizeBytes":86488586},{"names":["mcr.microsoft.com/aks/hcp/tunnel-openvpn:master.210427.1"],"sizeBytes":86120048},{"names":["mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.3.0"],"sizeBytes":81252495},{"names":["mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.4.0"],"sizeBytes":79586703},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.4.0"],"sizeBytes":78795016},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.2.0"],"sizeBytes":76527179},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.1.8"],"sizeBytes":75025803},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.2.2_hotfix"],"sizeBytes":73533889},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.3.1"],"sizeBytes":72242894},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.2.8"],"sizeBytes":70622822},{"names":["mcr.microsoft.com/oss/nvidia/k8s-device-plugin:v0.9.0"],"sizeBytes":67291599},{"names":["mcr.microsoft.com/oss/kubernetes/dashboard:v2.0.1"],"sizeBytes":66415836},{"names":["mcr.microsoft.com/oss/kubernetes/dashboard:v2.0.0-rc7"],"sizeBytes":65965658},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.1-hotfix.20200923.1"],"sizeBytes":64999326},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.6-hotfix.20210310.1"],"sizeBytes":64915481},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.2.1"],"sizeBytes":64123775},{"names":["mcr.microsoft.com/oss/calico/cni:v3.8.9.3"],"sizeBytes":63581323},{"names":["mcr.microsoft.com/containernetworking/networkmonitor:v1.1.8"],"sizeBytes":63154716},{"names":["mcr.microsoft.com/oss/calico/cni:v3.8.9.2"],"sizeBytes":61626312},{"names":["mcr.microsoft.com/oss/calico/node:v3.18.1"],"sizeBytes":60500885},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.3"],"sizeBytes":59852415},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.1-hotfix.20200923"],"sizeBytes":59847980},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.6-hotfix.20210118"],"sizeBytes":59764779},{"names":["mcr.microsoft.com/oss/calico/node:v3.17.2"],"sizeBytes":58419768},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:95ff1ad22cc745b41ed4479f0a97f47d11eaf6470fb47d06a08c5e50cf6abeea","mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.20.7-hotfix.20210603.2"],"sizeBytes":56450658},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.20.5-hotfix.20210603.2"],"sizeBytes":56448919},{"names":["mcr.microsoft.com/containernetworking/networkmonitor:v1.1.8_hotfix","mcr.microsoft.com/containernetworking/networkmonitor:v1.1.8post2"],"sizeBytes":56368756},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.11-hotfix.20210526.2"],"sizeBytes":56310724},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.9-hotfix.20210526.2"],"sizeBytes":56309165},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.1-hotfix.20210603.2"],"sizeBytes":55749900}],"config":{}}}]} + string: '{"kind":"APIResourceList","apiVersion":"v1","groupVersion":"networking.k8s.io/v1","resources":[{"name":"ingressclasses","singularName":"","namespaced":false,"kind":"IngressClass","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"storageVersionHash":"l/iqIbDgFyQ="},{"name":"ingresses","singularName":"","namespaced":true,"kind":"Ingress","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ing"],"storageVersionHash":"39NQlfNR+bo="},{"name":"ingresses/status","singularName":"","namespaced":true,"kind":"Ingress","verbs":["get","patch","update"]},{"name":"networkpolicies","singularName":"","namespaced":true,"kind":"NetworkPolicy","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["netpol"],"storageVersionHash":"YpfwF18m1G8="}]} ' headers: audit-id: - - ffa82a37-2dbd-4194-afff-2b14669aaf7b + - e41ddc88-0413-4b98-af8d-9d4dc373e490 cache-control: - no-cache, private + content-length: + - '864' content-type: - application/json date: - - Sun, 01 Aug 2021 13:03:41 GMT - transfer-encoding: - - chunked + - Tue, 07 Jun 2022 17:50:27 GMT x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf + - 3b9ec461-e128-4d99-abcc-65ad56c2f58e x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 + - 93094910-4d9a-46c6-b59b-961811b7418b status: code: 200 message: OK @@ -635,33 +866,39 @@ interactions: User-Agent: - OpenAPI-Generator/11.0.0/python method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/version/ + uri: https://cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io/api/v1/nodes response: body: - string: "{\n \"major\": \"1\",\n \"minor\": \"20\",\n \"gitVersion\": \"v1.20.7\",\n - \ \"gitCommit\": \"e1d093448d0ed9b9b1a48f49833ff1ee64c05ba5\",\n \"gitTreeState\": - \"clean\",\n \"buildDate\": \"2021-06-03T00:20:57Z\",\n \"goVersion\": \"go1.15.12\",\n - \ \"compiler\": \"gc\",\n \"platform\": \"linux/amd64\"\n}" + string: '{"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"1421"},"items":[{"metadata":{"name":"aks-nodepool1-33510725-vmss000000","uid":"13b68016-9d4d-49e7-869e-b3a3926b41b2","resourceVersion":"1208","creationTimestamp":"2022-06-07T17:48:53Z","labels":{"agentpool":"nodepool1","beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"Standard_B2s","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"westeurope","failure-domain.beta.kubernetes.io/zone":"0","kubernetes.azure.com/agentpool":"nodepool1","kubernetes.azure.com/cluster":"MC_akkeshar_cli-test-aks-000001_westeurope","kubernetes.azure.com/kubelet-identity-client-id":"3926865b-4b7f-4402-912d-70b38f92b999","kubernetes.azure.com/mode":"system","kubernetes.azure.com/node-image-version":"AKSUbuntu-1804gen2containerd-2022.05.16","kubernetes.azure.com/os-sku":"Ubuntu","kubernetes.azure.com/role":"agent","kubernetes.azure.com/storageprofile":"managed","kubernetes.azure.com/storagetier":"Premium_LRS","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"aks-nodepool1-33510725-vmss000000","kubernetes.io/os":"linux","kubernetes.io/role":"agent","node-role.kubernetes.io/agent":"","node.kubernetes.io/instance-type":"Standard_B2s","storageprofile":"managed","storagetier":"Premium_LRS","topology.disk.csi.azure.com/zone":"","topology.kubernetes.io/region":"westeurope","topology.kubernetes.io/zone":"0"},"annotations":{"csi.volume.kubernetes.io/nodeid":"{\"disk.csi.azure.com\":\"aks-nodepool1-33510725-vmss000000\",\"file.csi.azure.com\":\"aks-nodepool1-33510725-vmss000000\"}","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"cloud-controller-manager","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:48:53Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.244.0.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:48:53Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:agentpool":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.azure.com/agentpool":{},"f:kubernetes.azure.com/cluster":{},"f:kubernetes.azure.com/kubelet-identity-client-id":{},"f:kubernetes.azure.com/mode":{},"f:kubernetes.azure.com/node-image-version":{},"f:kubernetes.azure.com/os-sku":{},"f:kubernetes.azure.com/role":{},"f:kubernetes.azure.com/storageprofile":{},"f:kubernetes.azure.com/storagetier":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{},"f:storageprofile":{},"f:storagetier":{}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:48:54Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}}}},{"manager":"cloud-node-manager","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:49:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:failure-domain.beta.kubernetes.io/zone":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{},"f:topology.kubernetes.io/zone":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"cloud-node-manager","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:49:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"NetworkUnavailable\"}":{".":{},"f:type":{}}}}},"subresource":"status"},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:49:09Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:kubernetes.io/role":{},"f:node-role.kubernetes.io/agent":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:49:09Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:csi.volume.kubernetes.io/nodeid":{}},"f:labels":{"f:topology.disk.csi.azure.com/zone":{}}},"f:status":{"f:allocatable":{"f:ephemeral-storage":{}},"f:capacity":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}}}}},"subresource":"status"},{"manager":"cloud-controller-manager","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:49:52Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"NetworkUnavailable\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.244.0.0/24","podCIDRs":["10.244.0.0/24"],"providerID":"azure:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mc_akkeshar_cli-test-aks-000001_westeurope/providers/Microsoft.Compute/virtualMachineScaleSets/aks-nodepool1-33510725-vmss/virtualMachines/0"},"status":{"capacity":{"cpu":"2","ephemeral-storage":"129900528Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4025880Ki","pods":"110"},"allocatable":{"cpu":"1900m","ephemeral-storage":"119716326407","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2209304Ki","pods":"110"},"conditions":[{"type":"NetworkUnavailable","status":"False","lastHeartbeatTime":"2022-06-07T17:49:52Z","lastTransitionTime":"2022-06-07T17:49:52Z","reason":"RouteCreated","message":"RouteController + created a route"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2022-06-07T17:48:54Z","lastTransitionTime":"2022-06-07T17:48:52Z","reason":"KubeletHasSufficientMemory","message":"kubelet + has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2022-06-07T17:48:54Z","lastTransitionTime":"2022-06-07T17:48:52Z","reason":"KubeletHasNoDiskPressure","message":"kubelet + has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2022-06-07T17:48:54Z","lastTransitionTime":"2022-06-07T17:48:52Z","reason":"KubeletHasSufficientPID","message":"kubelet + has sufficient PID available"},{"type":"Ready","status":"True","lastHeartbeatTime":"2022-06-07T17:48:54Z","lastTransitionTime":"2022-06-07T17:48:54Z","reason":"KubeletReady","message":"kubelet + is posting ready status. AppArmor enabled"}],"addresses":[{"type":"InternalIP","address":"10.224.0.4"},{"type":"Hostname","address":"aks-nodepool1-33510725-vmss000000"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"9bbe79ac4ad54a968725aabda4e46788","systemUUID":"d3e47a54-7866-49dd-868b-253629a9ba3d","bootID":"548b49eb-6966-44f6-977f-b8c46df72397","kernelVersion":"5.4.0-1078-azure","osImage":"Ubuntu + 18.04.6 LTS","containerRuntimeVersion":"containerd://1.5.11+azure-1","kubeletVersion":"v1.22.6","kubeProxyVersion":"v1.22.6","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod03172022"],"sizeBytes":315764812},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:0.49.3"],"sizeBytes":287741913},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:1.0.4"],"sizeBytes":287652512},{"names":["mcr.microsoft.com/oss/calico/cni:v3.21.4"],"sizeBytes":236345866},{"names":["mcr.microsoft.com/oss/kubernetes/dashboard:v2.4.0"],"sizeBytes":224434239},{"names":["mcr.microsoft.com/oss/calico/node:v3.21.4"],"sizeBytes":216363503},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:0.19.0"],"sizeBytes":166352383},{"names":["mcr.microsoft.com/oss/cilium/cilium:1.10.5.7"],"sizeBytes":165359164},{"names":["mcr.microsoft.com/oss/cilium/cilium:1.10.5.6"],"sizeBytes":164390850},{"names":["mcr.microsoft.com/oss/cilium/cilium:1.10.3.5"],"sizeBytes":161199925},{"names":["mcr.microsoft.com/oss/cilium/cilium:1.10.3.4"],"sizeBytes":158659329},{"names":["mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.211104.1"],"sizeBytes":149514464},{"names":["mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.211013.1"],"sizeBytes":149493900},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.24.2"],"sizeBytes":128711964},{"names":["mcr.microsoft.com/oss/calico/typha:v3.21.4"],"sizeBytes":128235133},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.23.5-hotfix.20220331.2"],"sizeBytes":127091344},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.23.3-hotfix.20220401.2"],"sizeBytes":127087159},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.23.5-hotfix.20220331.1"],"sizeBytes":126890132},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.23.3-hotfix.20220401.1"],"sizeBytes":126885957},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:03292b1004372db01558a1430619572b046ad639a06e12412a9a62c568daa89d","mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.22.6-hotfix.20220330.3"],"sizeBytes":114386479},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.22.4-hotfix.20220330.3"],"sizeBytes":114374705},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.9-hotfix.20220420.1"],"sizeBytes":114204240},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.22.6-hotfix.20220330.2"],"sizeBytes":114189342},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.7-hotfix.20220420.1"],"sizeBytes":114188361},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.22.4-hotfix.20220330.2"],"sizeBytes":114177579},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.9-hotfix.20220330.2"],"sizeBytes":114099742},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.7-hotfix.20220330.2"],"sizeBytes":114082872},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.24.0.1"],"sizeBytes":112109269},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.8.0.2"],"sizeBytes":107814602},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:1.2.0"],"sizeBytes":104400458},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:1.1.3"],"sizeBytes":103821981},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:1.0.5"],"sizeBytes":103502273},{"names":["mcr.microsoft.com/oss/calico/node:v3.8.9.5"],"sizeBytes":101794833},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.2.0.6"],"sizeBytes":100397012},{"names":["mcr.microsoft.com/oss/cilium/operator:1.10.3"],"sizeBytes":98395697},{"names":["mcr.microsoft.com/aks/hcp/tunnel-openvpn:master.210623.2"],"sizeBytes":96125176},{"names":["mcr.microsoft.com/oss/kubernetes/exechealthz:1.2_v0.0.5"],"sizeBytes":94348102},{"names":["mcr.microsoft.com/aks/acc/sgx-attestation:2.0"],"sizeBytes":91841669},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.2.0"],"sizeBytes":89103171},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.18.0"],"sizeBytes":85633800},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.17.0"],"sizeBytes":85541532},{"names":["mcr.microsoft.com/aks/command/runtime:master.220211.1"],"sizeBytes":82792811},{"names":["mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.5.1"],"sizeBytes":76884289},{"names":["mcr.microsoft.com/oss/kubernetes/external-dns:v0.10.1"],"sizeBytes":76044900},{"names":["mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.4.0"],"sizeBytes":73895290},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.17.0"],"sizeBytes":73276358},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.16.0"],"sizeBytes":73275071},{"names":["mcr.microsoft.com/oss/azure/aad-pod-identity/nmi:v1.7.5.8"],"sizeBytes":68080333},{"names":["mcr.microsoft.com/oss/azure/aad-pod-identity/nmi:v1.7.5.7"],"sizeBytes":67882077},{"names":["mcr.microsoft.com/oss/nvidia/k8s-device-plugin:v0.9.0"],"sizeBytes":67291599}]}}]} + + ' headers: audit-id: - - bda36c47-93bc-4443-82db-dcad7a7d15fe + - 43cf4d76-2351-4f12-91a5-05035849e6e8 cache-control: - no-cache, private - content-length: - - '264' content-type: - application/json date: - - Sun, 01 Aug 2021 13:03:41 GMT + - Tue, 07 Jun 2022 17:50:27 GMT + transfer-encoding: + - chunked x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf + - 3b9ec461-e128-4d99-abcc-65ad56c2f58e x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 + - 93094910-4d9a-46c6-b59b-961811b7418b status: code: 200 message: OK - request: - body: null + body: '{"spec": {"resourceAttributes": {"verb": "create", "resource": "clusterrolebindings", + "group": "rbac.authorization.k8s.io"}}}' headers: Accept: - application/json @@ -669,37 +906,31 @@ interactions: - application/json User-Agent: - OpenAPI-Generator/11.0.0/python - method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/api/v1/nodes + method: POST + uri: https://cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io/apis/authorization.k8s.io/v1/selfsubjectaccessreviews response: body: - string: '{"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"752"},"items":[{"metadata":{"name":"aks-nodepool1-41590460-vmss000000","uid":"a09e1e08-74ac-4441-abc4-34289ba2630a","resourceVersion":"718","creationTimestamp":"2021-08-01T13:03:01Z","labels":{"agentpool":"nodepool1","beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"Standard_B2s","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"westeurope","failure-domain.beta.kubernetes.io/zone":"0","kubernetes.azure.com/cluster":"MC_akkeshar_cli-test-aks-000001_westeurope","kubernetes.azure.com/mode":"system","kubernetes.azure.com/node-image-version":"AKSUbuntu-1804gen2containerd-2021.07.10","kubernetes.azure.com/os-sku":"Ubuntu","kubernetes.azure.com/role":"agent","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"aks-nodepool1-41590460-vmss000000","kubernetes.io/os":"linux","kubernetes.io/role":"agent","node-role.kubernetes.io/agent":"","node.kubernetes.io/instance-type":"Standard_B2s","storageprofile":"managed","storagetier":"Premium_LRS","topology.kubernetes.io/region":"westeurope","topology.kubernetes.io/zone":"0"},"annotations":{"node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:03:13Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:agentpool":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/instance-type":{},"f:beta.kubernetes.io/os":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:failure-domain.beta.kubernetes.io/zone":{},"f:kubernetes.azure.com/cluster":{},"f:kubernetes.azure.com/mode":{},"f:kubernetes.azure.com/node-image-version":{},"f:kubernetes.azure.com/os-sku":{},"f:kubernetes.azure.com/role":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{},"f:node.kubernetes.io/instance-type":{},"f:storageprofile":{},"f:storagetier":{},"f:topology.kubernetes.io/region":{},"f:topology.kubernetes.io/zone":{}}},"f:spec":{"f:providerID":{}},"f:status":{"f:addresses":{".":{},"k:{\"type\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}},"f:allocatable":{".":{},"f:attachable-volumes-azure-disk":{},"f:cpu":{},"f:ephemeral-storage":{},"f:hugepages-1Gi":{},"f:hugepages-2Mi":{},"f:memory":{},"f:pods":{}},"f:capacity":{".":{},"f:attachable-volumes-azure-disk":{},"f:cpu":{},"f:ephemeral-storage":{},"f:hugepages-1Gi":{},"f:hugepages-2Mi":{},"f:memory":{},"f:pods":{}},"f:conditions":{".":{},"k:{\"type\":\"DiskPressure\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"MemoryPressure\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"PIDPressure\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"Ready\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}},"f:config":{},"f:daemonEndpoints":{"f:kubeletEndpoint":{"f:Port":{}}},"f:images":{},"f:nodeInfo":{"f:architecture":{},"f:bootID":{},"f:containerRuntimeVersion":{},"f:kernelVersion":{},"f:kubeProxyVersion":{},"f:kubeletVersion":{},"f:machineID":{},"f:operatingSystem":{},"f:osImage":{},"f:systemUUID":{}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:03:20Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.244.0.0/24\"":{}}},"f:status":{"f:conditions":{"k:{\"type\":\"NetworkUnavailable\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:03:26Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:kubernetes.io/role":{},"f:node-role.kubernetes.io/agent":{}}}}}]},"spec":{"podCIDR":"10.244.0.0/24","podCIDRs":["10.244.0.0/24"],"providerID":"azure:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mc_akkeshar_cli-test-aks-000001_westeurope/providers/Microsoft.Compute/virtualMachineScaleSets/aks-nodepool1-41590460-vmss/virtualMachines/0"},"status":{"capacity":{"attachable-volumes-azure-disk":"4","cpu":"2","ephemeral-storage":"129900528Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4030184Ki","pods":"110"},"allocatable":{"attachable-volumes-azure-disk":"4","cpu":"1900m","ephemeral-storage":"119716326407","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2213608Ki","pods":"110"},"conditions":[{"type":"NetworkUnavailable","status":"False","lastHeartbeatTime":"2021-08-01T13:03:20Z","lastTransitionTime":"2021-08-01T13:03:20Z","reason":"RouteCreated","message":"RouteController - created a route"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2021-08-01T13:03:11Z","lastTransitionTime":"2021-08-01T13:03:01Z","reason":"KubeletHasSufficientMemory","message":"kubelet - has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2021-08-01T13:03:11Z","lastTransitionTime":"2021-08-01T13:03:01Z","reason":"KubeletHasNoDiskPressure","message":"kubelet - has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2021-08-01T13:03:11Z","lastTransitionTime":"2021-08-01T13:03:01Z","reason":"KubeletHasSufficientPID","message":"kubelet - has sufficient PID available"},{"type":"Ready","status":"True","lastHeartbeatTime":"2021-08-01T13:03:11Z","lastTransitionTime":"2021-08-01T13:03:11Z","reason":"KubeletReady","message":"kubelet - is posting ready status. AppArmor enabled"}],"addresses":[{"type":"Hostname","address":"aks-nodepool1-41590460-vmss000000"},{"type":"InternalIP","address":"10.240.0.4"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"3ec81fd0e2164eb7ab266da6be3f219e","systemUUID":"703bc8f8-8e75-4a53-8d7c-55c60441e625","bootID":"b39a4b92-5c7e-40c0-984c-a4aaf7e5a325","kernelVersion":"5.4.0-1051-azure","osImage":"Ubuntu - 18.04.5 LTS","containerRuntimeVersion":"containerd://1.4.4+azure","kubeletVersion":"v1.20.7","kubeProxyVersion":"v1.20.7","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod06112021-1"],"sizeBytes":331689060},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod06112021"],"sizeBytes":330099815},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod05202021-hotfix"],"sizeBytes":271471426},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod05202021"],"sizeBytes":269703297},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod03262021"],"sizeBytes":264732875},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:0.19.0"],"sizeBytes":166352383},{"names":["mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.210623.2"],"sizeBytes":147750148},{"names":["mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.210524.1"],"sizeBytes":146446618},{"names":["mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.210427.1"],"sizeBytes":136242776},{"names":["mcr.microsoft.com/oss/calico/node:v3.8.9.5"],"sizeBytes":101794833},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:0.47.0"],"sizeBytes":101445696},{"names":["mcr.microsoft.com/oss/kubernetes/autoscaler/cluster-proportional-autoscaler:1.3.0_v0.0.5"],"sizeBytes":101194562},{"names":["mcr.microsoft.com/aks/hcp/tunnel-openvpn:master.210623.2"],"sizeBytes":96125176},{"names":["mcr.microsoft.com/aks/hcp/tunnel-openvpn:master.210524.1"],"sizeBytes":95879501},{"names":["mcr.microsoft.com/oss/kubernetes/exechealthz:1.2_v0.0.5"],"sizeBytes":94348102},{"names":["mcr.microsoft.com/oss/calico/node:v3.8.9.2"],"sizeBytes":93537927},{"names":["mcr.microsoft.com/aks/acc/sgx-attestation:2.0"],"sizeBytes":91841669},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.4.0"],"sizeBytes":91324193},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.2.0"],"sizeBytes":89103171},{"names":["mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.0.1-rc3"],"sizeBytes":86839805},{"names":["mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.2.0"],"sizeBytes":86488586},{"names":["mcr.microsoft.com/aks/hcp/tunnel-openvpn:master.210427.1"],"sizeBytes":86120048},{"names":["mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.3.0"],"sizeBytes":81252495},{"names":["mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.4.0"],"sizeBytes":79586703},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.4.0"],"sizeBytes":78795016},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.2.0"],"sizeBytes":76527179},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.1.8"],"sizeBytes":75025803},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.2.2_hotfix"],"sizeBytes":73533889},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.3.1"],"sizeBytes":72242894},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.2.8"],"sizeBytes":70622822},{"names":["mcr.microsoft.com/oss/nvidia/k8s-device-plugin:v0.9.0"],"sizeBytes":67291599},{"names":["mcr.microsoft.com/oss/kubernetes/dashboard:v2.0.1"],"sizeBytes":66415836},{"names":["mcr.microsoft.com/oss/kubernetes/dashboard:v2.0.0-rc7"],"sizeBytes":65965658},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.1-hotfix.20200923.1"],"sizeBytes":64999326},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.6-hotfix.20210310.1"],"sizeBytes":64915481},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.2.1"],"sizeBytes":64123775},{"names":["mcr.microsoft.com/oss/calico/cni:v3.8.9.3"],"sizeBytes":63581323},{"names":["mcr.microsoft.com/containernetworking/networkmonitor:v1.1.8"],"sizeBytes":63154716},{"names":["mcr.microsoft.com/oss/calico/cni:v3.8.9.2"],"sizeBytes":61626312},{"names":["mcr.microsoft.com/oss/calico/node:v3.18.1"],"sizeBytes":60500885},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.3"],"sizeBytes":59852415},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.1-hotfix.20200923"],"sizeBytes":59847980},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.6-hotfix.20210118"],"sizeBytes":59764779},{"names":["mcr.microsoft.com/oss/calico/node:v3.17.2"],"sizeBytes":58419768},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:95ff1ad22cc745b41ed4479f0a97f47d11eaf6470fb47d06a08c5e50cf6abeea","mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.20.7-hotfix.20210603.2"],"sizeBytes":56450658},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.20.5-hotfix.20210603.2"],"sizeBytes":56448919},{"names":["mcr.microsoft.com/containernetworking/networkmonitor:v1.1.8_hotfix","mcr.microsoft.com/containernetworking/networkmonitor:v1.1.8post2"],"sizeBytes":56368756},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.11-hotfix.20210526.2"],"sizeBytes":56310724},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.9-hotfix.20210526.2"],"sizeBytes":56309165},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.1-hotfix.20210603.2"],"sizeBytes":55749900}],"config":{}}}]} + string: '{"kind":"SelfSubjectAccessReview","apiVersion":"authorization.k8s.io/v1","metadata":{"creationTimestamp":null,"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"authorization.k8s.io/v1","time":"2022-06-07T17:50:28Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:resourceAttributes":{".":{},"f:group":{},"f:resource":{},"f:verb":{}}}}}]},"spec":{"resourceAttributes":{"verb":"create","group":"rbac.authorization.k8s.io","resource":"clusterrolebindings"}},"status":{"allowed":true}} ' headers: audit-id: - - f2da5fb7-16d5-4364-8dc5-eca7bb395f9c + - fe975b82-474a-4a60-bd56-d79a9c1ade4d cache-control: - no-cache, private + content-length: + - '516' content-type: - application/json date: - - Sun, 01 Aug 2021 13:03:42 GMT - transfer-encoding: - - chunked + - Tue, 07 Jun 2022 17:50:28 GMT x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf + - 3b9ec461-e128-4d99-abcc-65ad56c2f58e x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 + - 93094910-4d9a-46c6-b59b-961811b7418b status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -710,33 +941,28 @@ interactions: User-Agent: - OpenAPI-Generator/11.0.0/python method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/api/v1/nodes + uri: https://cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io/version/ response: body: - string: '{"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"752"},"items":[{"metadata":{"name":"aks-nodepool1-41590460-vmss000000","uid":"a09e1e08-74ac-4441-abc4-34289ba2630a","resourceVersion":"718","creationTimestamp":"2021-08-01T13:03:01Z","labels":{"agentpool":"nodepool1","beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"Standard_B2s","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"westeurope","failure-domain.beta.kubernetes.io/zone":"0","kubernetes.azure.com/cluster":"MC_akkeshar_cli-test-aks-000001_westeurope","kubernetes.azure.com/mode":"system","kubernetes.azure.com/node-image-version":"AKSUbuntu-1804gen2containerd-2021.07.10","kubernetes.azure.com/os-sku":"Ubuntu","kubernetes.azure.com/role":"agent","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"aks-nodepool1-41590460-vmss000000","kubernetes.io/os":"linux","kubernetes.io/role":"agent","node-role.kubernetes.io/agent":"","node.kubernetes.io/instance-type":"Standard_B2s","storageprofile":"managed","storagetier":"Premium_LRS","topology.kubernetes.io/region":"westeurope","topology.kubernetes.io/zone":"0"},"annotations":{"node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:03:13Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:agentpool":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/instance-type":{},"f:beta.kubernetes.io/os":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:failure-domain.beta.kubernetes.io/zone":{},"f:kubernetes.azure.com/cluster":{},"f:kubernetes.azure.com/mode":{},"f:kubernetes.azure.com/node-image-version":{},"f:kubernetes.azure.com/os-sku":{},"f:kubernetes.azure.com/role":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{},"f:node.kubernetes.io/instance-type":{},"f:storageprofile":{},"f:storagetier":{},"f:topology.kubernetes.io/region":{},"f:topology.kubernetes.io/zone":{}}},"f:spec":{"f:providerID":{}},"f:status":{"f:addresses":{".":{},"k:{\"type\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}},"f:allocatable":{".":{},"f:attachable-volumes-azure-disk":{},"f:cpu":{},"f:ephemeral-storage":{},"f:hugepages-1Gi":{},"f:hugepages-2Mi":{},"f:memory":{},"f:pods":{}},"f:capacity":{".":{},"f:attachable-volumes-azure-disk":{},"f:cpu":{},"f:ephemeral-storage":{},"f:hugepages-1Gi":{},"f:hugepages-2Mi":{},"f:memory":{},"f:pods":{}},"f:conditions":{".":{},"k:{\"type\":\"DiskPressure\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"MemoryPressure\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"PIDPressure\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"Ready\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}},"f:config":{},"f:daemonEndpoints":{"f:kubeletEndpoint":{"f:Port":{}}},"f:images":{},"f:nodeInfo":{"f:architecture":{},"f:bootID":{},"f:containerRuntimeVersion":{},"f:kernelVersion":{},"f:kubeProxyVersion":{},"f:kubeletVersion":{},"f:machineID":{},"f:operatingSystem":{},"f:osImage":{},"f:systemUUID":{}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:03:20Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.244.0.0/24\"":{}}},"f:status":{"f:conditions":{"k:{\"type\":\"NetworkUnavailable\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:03:26Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:kubernetes.io/role":{},"f:node-role.kubernetes.io/agent":{}}}}}]},"spec":{"podCIDR":"10.244.0.0/24","podCIDRs":["10.244.0.0/24"],"providerID":"azure:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mc_akkeshar_cli-test-aks-000001_westeurope/providers/Microsoft.Compute/virtualMachineScaleSets/aks-nodepool1-41590460-vmss/virtualMachines/0"},"status":{"capacity":{"attachable-volumes-azure-disk":"4","cpu":"2","ephemeral-storage":"129900528Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4030184Ki","pods":"110"},"allocatable":{"attachable-volumes-azure-disk":"4","cpu":"1900m","ephemeral-storage":"119716326407","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2213608Ki","pods":"110"},"conditions":[{"type":"NetworkUnavailable","status":"False","lastHeartbeatTime":"2021-08-01T13:03:20Z","lastTransitionTime":"2021-08-01T13:03:20Z","reason":"RouteCreated","message":"RouteController - created a route"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2021-08-01T13:03:11Z","lastTransitionTime":"2021-08-01T13:03:01Z","reason":"KubeletHasSufficientMemory","message":"kubelet - has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2021-08-01T13:03:11Z","lastTransitionTime":"2021-08-01T13:03:01Z","reason":"KubeletHasNoDiskPressure","message":"kubelet - has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2021-08-01T13:03:11Z","lastTransitionTime":"2021-08-01T13:03:01Z","reason":"KubeletHasSufficientPID","message":"kubelet - has sufficient PID available"},{"type":"Ready","status":"True","lastHeartbeatTime":"2021-08-01T13:03:11Z","lastTransitionTime":"2021-08-01T13:03:11Z","reason":"KubeletReady","message":"kubelet - is posting ready status. AppArmor enabled"}],"addresses":[{"type":"Hostname","address":"aks-nodepool1-41590460-vmss000000"},{"type":"InternalIP","address":"10.240.0.4"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"3ec81fd0e2164eb7ab266da6be3f219e","systemUUID":"703bc8f8-8e75-4a53-8d7c-55c60441e625","bootID":"b39a4b92-5c7e-40c0-984c-a4aaf7e5a325","kernelVersion":"5.4.0-1051-azure","osImage":"Ubuntu - 18.04.5 LTS","containerRuntimeVersion":"containerd://1.4.4+azure","kubeletVersion":"v1.20.7","kubeProxyVersion":"v1.20.7","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod06112021-1"],"sizeBytes":331689060},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod06112021"],"sizeBytes":330099815},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod05202021-hotfix"],"sizeBytes":271471426},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod05202021"],"sizeBytes":269703297},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod03262021"],"sizeBytes":264732875},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:0.19.0"],"sizeBytes":166352383},{"names":["mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.210623.2"],"sizeBytes":147750148},{"names":["mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.210524.1"],"sizeBytes":146446618},{"names":["mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.210427.1"],"sizeBytes":136242776},{"names":["mcr.microsoft.com/oss/calico/node:v3.8.9.5"],"sizeBytes":101794833},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:0.47.0"],"sizeBytes":101445696},{"names":["mcr.microsoft.com/oss/kubernetes/autoscaler/cluster-proportional-autoscaler:1.3.0_v0.0.5"],"sizeBytes":101194562},{"names":["mcr.microsoft.com/aks/hcp/tunnel-openvpn:master.210623.2"],"sizeBytes":96125176},{"names":["mcr.microsoft.com/aks/hcp/tunnel-openvpn:master.210524.1"],"sizeBytes":95879501},{"names":["mcr.microsoft.com/oss/kubernetes/exechealthz:1.2_v0.0.5"],"sizeBytes":94348102},{"names":["mcr.microsoft.com/oss/calico/node:v3.8.9.2"],"sizeBytes":93537927},{"names":["mcr.microsoft.com/aks/acc/sgx-attestation:2.0"],"sizeBytes":91841669},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.4.0"],"sizeBytes":91324193},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.2.0"],"sizeBytes":89103171},{"names":["mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.0.1-rc3"],"sizeBytes":86839805},{"names":["mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.2.0"],"sizeBytes":86488586},{"names":["mcr.microsoft.com/aks/hcp/tunnel-openvpn:master.210427.1"],"sizeBytes":86120048},{"names":["mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.3.0"],"sizeBytes":81252495},{"names":["mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.4.0"],"sizeBytes":79586703},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.4.0"],"sizeBytes":78795016},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.2.0"],"sizeBytes":76527179},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.1.8"],"sizeBytes":75025803},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.2.2_hotfix"],"sizeBytes":73533889},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.3.1"],"sizeBytes":72242894},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.2.8"],"sizeBytes":70622822},{"names":["mcr.microsoft.com/oss/nvidia/k8s-device-plugin:v0.9.0"],"sizeBytes":67291599},{"names":["mcr.microsoft.com/oss/kubernetes/dashboard:v2.0.1"],"sizeBytes":66415836},{"names":["mcr.microsoft.com/oss/kubernetes/dashboard:v2.0.0-rc7"],"sizeBytes":65965658},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.1-hotfix.20200923.1"],"sizeBytes":64999326},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.6-hotfix.20210310.1"],"sizeBytes":64915481},{"names":["mcr.microsoft.com/containernetworking/azure-npm:v1.2.1"],"sizeBytes":64123775},{"names":["mcr.microsoft.com/oss/calico/cni:v3.8.9.3"],"sizeBytes":63581323},{"names":["mcr.microsoft.com/containernetworking/networkmonitor:v1.1.8"],"sizeBytes":63154716},{"names":["mcr.microsoft.com/oss/calico/cni:v3.8.9.2"],"sizeBytes":61626312},{"names":["mcr.microsoft.com/oss/calico/node:v3.18.1"],"sizeBytes":60500885},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.3"],"sizeBytes":59852415},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.1-hotfix.20200923"],"sizeBytes":59847980},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.6-hotfix.20210118"],"sizeBytes":59764779},{"names":["mcr.microsoft.com/oss/calico/node:v3.17.2"],"sizeBytes":58419768},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:95ff1ad22cc745b41ed4479f0a97f47d11eaf6470fb47d06a08c5e50cf6abeea","mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.20.7-hotfix.20210603.2"],"sizeBytes":56450658},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.20.5-hotfix.20210603.2"],"sizeBytes":56448919},{"names":["mcr.microsoft.com/containernetworking/networkmonitor:v1.1.8_hotfix","mcr.microsoft.com/containernetworking/networkmonitor:v1.1.8post2"],"sizeBytes":56368756},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.11-hotfix.20210526.2"],"sizeBytes":56310724},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.19.9-hotfix.20210526.2"],"sizeBytes":56309165},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.1-hotfix.20210603.2"],"sizeBytes":55749900}],"config":{}}}]} - - ' + string: "{\n \"major\": \"1\",\n \"minor\": \"22\",\n \"gitVersion\": \"v1.22.6\",\n + \ \"gitCommit\": \"07959215dd83b4ae6317b33c824f845abd578642\",\n \"gitTreeState\": + \"clean\",\n \"buildDate\": \"2022-03-30T18:28:25Z\",\n \"goVersion\": \"go1.16.12\",\n + \ \"compiler\": \"gc\",\n \"platform\": \"linux/amd64\"\n}" headers: audit-id: - - 3c6bf1de-9fef-403a-93ff-01f7c9db0a62 + - 946c3d18-0d69-42b8-a858-b58808359bf1 cache-control: - no-cache, private + content-length: + - '264' content-type: - application/json date: - - Sun, 01 Aug 2021 13:03:42 GMT - transfer-encoding: - - chunked + - Tue, 07 Jun 2022 17:50:29 GMT x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf + - 3b9ec461-e128-4d99-abcc-65ad56c2f58e x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 + - 93094910-4d9a-46c6-b59b-961811b7418b status: code: 200 message: OK @@ -754,30 +980,30 @@ interactions: ParameterSetName: - -g -n -l --tags --kube-config User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Kubernetes?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Kubernetes?api-version=2021-04-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Kubernetes","namespace":"Microsoft.Kubernetes","authorizations":[{"applicationId":"64b12d6e-6549-484c-8cc6-6281839ba394","roleDefinitionId":"1d1d44cf-68a1-4def-a2b6-cd7efc3515af"},{"applicationId":"359431ad-ece5-496b-8768-be4bbfd82f36","roleDefinitionId":"1b5c71b7-9814-4b40-b62a-23018af874d8"},{"applicationId":"0000dab9-8b21-4ba2-807f-1743968cef00","roleDefinitionId":"1b5c71b7-9814-4b40-b62a-23018af874d8"},{"applicationId":"8edd93e1-2103-40b4-bd70-6e34e586362d","roleDefinitionId":"eb67887a-31e8-4e4e-bf5b-14ff79351a6f"}],"resourceTypes":[{"resourceType":"connectedClusters","locations":["West Europe","East US","West Central US","South Central US","Southeast Asia","UK South","East US 2","West US 2","Australia East","North Europe","France Central","Central - US","West US","North Central US","Korea Central","East US 2 EUAP","Japan East","East - Asia"],"apiVersions":["2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"SystemAssignedResourceIdentity, - SupportsTags, SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US","West US","North Central US","Korea Central","Japan East","West US 3","East + Asia","East US 2 EUAP","Canada East","Canada Central"],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"SystemAssignedResourceIdentity, + SupportsTags, SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East US 2 EUAP","West Europe","East US","West Central US","South Central US","Southeast Asia","UK South","East US 2","West US 2","Australia East","North Europe","France Central","Central US","West US","North Central US","Korea Central","Japan - East","East Asia"],"apiVersions":["2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"registeredSubscriptions","locations":[],"apiVersions":["2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"Operations","locations":[],"apiVersions":["2021-04-01-preview","2021-03-01","2020-01-01-preview","2019-11-01-preview","2019-09-01-privatepreview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + East","East Asia","West US 3","Canada East","Canada Central"],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"registeredSubscriptions","locations":[],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"Operations","locations":[],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview","2019-11-01-preview","2019-09-01-privatepreview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '2055' + - '2311' content-type: - application/json; charset=utf-8 date: - - Sun, 01 Aug 2021 13:03:46 GMT + - Tue, 07 Jun 2022 17:50:29 GMT expires: - '-1' pragma: @@ -805,9 +1031,9 @@ interactions: ParameterSetName: - -g -n -l --tags --kube-config User-Agent: - - AZURECLI/2.26.1 azsdk-python-mgmt-hybridkubernetes/1.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002?api-version=2021-10-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Kubernetes/connectedClusters/cc-000002'' @@ -821,7 +1047,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 01 Aug 2021 13:03:48 GMT + - Tue, 07 Jun 2022 17:50:31 GMT expires: - '-1' pragma: @@ -840,21 +1066,55 @@ interactions: headers: Accept: - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connectedk8s connect - Connection: - - keep-alive - ParameterSetName: - - -g -n -l --tags --kube-config + Content-Type: + - application/json User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - OpenAPI-Generator/11.0.0/python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar?api-version=2020-10-01 + uri: https://cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io/api/v1/namespaces response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar","name":"akkeshar","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"Created":"20210721"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"1438"},"items":[{"metadata":{"name":"default","uid":"ab6f9022-2c50-4409-83b7-c4f517badbdb","resourceVersion":"203","creationTimestamp":"2022-06-07T17:47:10Z","labels":{"kubernetes.io/metadata.name":"default"},"managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:47:10Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}},{"metadata":{"name":"kube-node-lease","uid":"89a221c2-aeb8-4ba7-8e43-e950daed55e4","resourceVersion":"41","creationTimestamp":"2022-06-07T17:47:08Z","labels":{"kubernetes.io/metadata.name":"kube-node-lease"},"managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:47:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}},{"metadata":{"name":"kube-public","uid":"c2eaa55a-f05a-41db-98de-54c2abe09937","resourceVersion":"37","creationTimestamp":"2022-06-07T17:47:08Z","labels":{"kubernetes.io/metadata.name":"kube-public"},"managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:47:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}},{"metadata":{"name":"kube-system","uid":"33b24bf2-7255-490c-9ebd-a35f688c29e1","resourceVersion":"491","creationTimestamp":"2022-06-07T17:47:08Z","labels":{"addonmanager.kubernetes.io/mode":"Reconcile","control-plane":"true","kubernetes.io/cluster-service":"true","kubernetes.io/metadata.name":"kube-system"},"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"v1\",\"kind\":\"Namespace\",\"metadata\":{\"annotations\":{},\"labels\":{\"addonmanager.kubernetes.io/mode\":\"Reconcile\",\"control-plane\":\"true\",\"kubernetes.io/cluster-service\":\"true\"},\"name\":\"kube-system\"}}\n"},"managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:47:08Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}},{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:47:26Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}},"f:labels":{"f:addonmanager.kubernetes.io/mode":{},"f:control-plane":{},"f:kubernetes.io/cluster-service":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}}]} + + ' + headers: + audit-id: + - ef57d2f6-4c90-4cb2-9d93-0ded014fe212 + cache-control: + - no-cache, private + content-type: + - application/json + date: + - Tue, 07 Jun 2022 17:50:32 GMT + transfer-encoding: + - chunked + x-kubernetes-pf-flowschema-uid: + - 3b9ec461-e128-4d99-abcc-65ad56c2f58e + x-kubernetes-pf-prioritylevel-uid: + - 93094910-4d9a-46c6-b59b-961811b7418b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connectedk8s connect + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --kube-config + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar","name":"akkeshar","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"Created":"20210721"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -863,7 +1123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 01 Aug 2021 13:03:48 GMT + - Tue, 07 Jun 2022 17:50:33 GMT expires: - '-1' pragma: @@ -893,23 +1153,23 @@ interactions: ParameterSetName: - -g -n -l --tags --kube-config User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) AZURECLI/2.26.1 + - python/3.7.7 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 method: POST - uri: https://eastus2euap.dp.kubernetesconfiguration.azure.com/azure-arc-k8sagents/GetLatestHelmPackagePath?api-version=2019-11-01-preview&releaseTrain=stable + uri: https://eastus.dp.kubernetesconfiguration.azure.com/azure-arc-k8sagents/GetLatestHelmPackagePath?api-version=2019-11-01-preview&releaseTrain=stable response: body: - string: '{"repositoryPath":"mcr.microsoft.com/azurearck8s/canary/stable/azure-arc-k8sagents:1.3.8"}' + string: '{"repositoryPath":"mcr.microsoft.com/azurearck8s/batch1/stable/azure-arc-k8sagents:1.6.16"}' headers: api-supported-versions: - 2019-11-01-Preview connection: - close content-length: - - '90' + - '91' content-type: - application/json; charset=utf-8 date: - - Sun, 01 Aug 2021 13:03:49 GMT + - Tue, 07 Jun 2022 17:50:38 GMT strict-transport-security: - max-age=15724800; includeSubDomains x-content-type-options: @@ -918,8 +1178,8 @@ interactions: code: 200 message: OK - request: - body: '{"tags": {"foo": "doo"}, "location": "eastus2euap", "identity": {"type": - "SystemAssigned"}, "properties": {"agentPublicKeyCertificate": "MIICCgKCAgEAw7a556P1iGTnOffgc46vmftHKgA7bH+mVgRTzYe0g4rM4p1uiA4jQ2Bo/soSCqXQVG+Q0WIqai60rOJu1G49AsXrGuw7WBy7KUv+GTQFl7z5SWuPVW96WMzE0qLBVypMc6ogr44ismanyFhGzLSv+METP73iV1WiQcEf1D9FMgGnWhRlGOrj3eB4H2gBkApYHt5oqm9CwQN/Kfon3K2JY7oxOxowJz3GRVIVtB6h7L+IUbBg1/fRnpW5m8/s6fRyT+1cfJi8A4sfKB0GUs+DyNWGtqJMtO/pYoPJk2SpKm5uSFOgaiKcG6Iw8tXltmEzgy+KuaIX5inyo38ySXBOzIMrx8I2ojx/hYvt1NEdC8pimLE3sactu5B2TfdgRzD+BjLJifdFUnrUSxeOCGgyIfm8OMjPpt1iVRqJJFPqgflUDOb/sHBP+00cqO3K2tyoE1OQJllSWk3UBstY2f8Vhl4CMhpOURjAxKvXdscED8/a7jlqvcThYNXUIg+bYaSXwjv0+ukEtGz8ivwhwCqKQSSIssL/HYRosN+wCMpJT85i1qcl7DBpSzko6cfAL/HWVuPzluGlO2S7kTHHbGWkG3iCKHpBVg74+LRoc7T+GLSKJfgHxDA19zxoYGxNhP/5mO03gBq+WS5fr+yKTOhLf9EgaNtuqOkhaDiJZVKSrzUCAwEAAQ==", + body: '{"tags": {"foo": "doo"}, "location": "eastus", "identity": {"type": "SystemAssigned"}, + "properties": {"agentPublicKeyCertificate": "MIICCgKCAgEAzbx/TbbVmP6r2evvWYQdv4q97wt11GmOhtcpV1pjVQRIDbgWnGtkmTdMylPUe5f9b0g8UEr+mz5xX2tFDu1QoaITDn8dOhTdV+0rx/NAri3SDPRW75sJfsy7fZPI7CXK0KxULltdXMQ6ZA9bcruT54iXKmE2AMn+3un7cHw+MlYWi/ruvQs+Crj5DljYKHfqsjnkqObdZBUmfTj2l/KpZY1aSZFJJ9VWYTojqorR6KrAtjnQFdsXP6Ft4JtKz6U2PoGiDZAGUgTlev3mrSpellKxkQLRu1N9Dz3jIOGtL7dAnyG+wJZ2h56Q6D7R04JXJUkaQVZXyM8UcmN0pA4NU823UcRJROpgnEnhFyKwNzMXejGix3411obLAlKe2yvpbkLLcbwOiZs/iwy8OoU9AdruAB/MZOaKbMM5+7Pad4yPjHrkXKLWzm2JfHQBy0uk+kpYp53mYOx2y+CscpTlKYX34KWkY0rYSjFsEAnO01MhQUM/BRfPZCUUaUV8M9b4P9Ab4We1zbUFo2VaqpEBPFgH2c/Z6OYXDiYrQCWv/9GrxeVqlzF4ZFOh7rMFxILQ9QTFKV8pA654b4ridy85O+8od7t1/VEo3jSjYBpe+KMo6MhtXcux0JfJfbbkx3ZyXgz+Bdmpav8ZsdH1EYph5pJ3KWJGSHi89bUZjZP+5F0CAwEAAQ==", "distribution": "aks", "infrastructure": "azure"}}' headers: Accept: @@ -931,31 +1191,31 @@ interactions: Connection: - keep-alive Content-Length: - - '894' + - '889' Content-Type: - application/json ParameterSetName: - -g -n -l --tags --kube-config User-Agent: - - AZURECLI/2.26.1 azsdk-python-mgmt-hybridkubernetes/1.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002","name":"cc-000002","type":"microsoft.kubernetes/connectedclusters","location":"eastus2euap","tags":{"foo":"doo"},"systemData":{"createdBy":"akkeshar@microsoft.com","createdByType":"User","createdAt":"2021-08-01T13:03:59.1455606Z","lastModifiedBy":"akkeshar@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-08-01T13:03:59.1455606Z"},"identity":{"principalId":"a45968bd-00ac-44c5-a4d8-0a4c8f71603f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","connectivityStatus":"Connecting","agentPublicKeyCertificate":"MIICCgKCAgEAw7a556P1iGTnOffgc46vmftHKgA7bH+mVgRTzYe0g4rM4p1uiA4jQ2Bo/soSCqXQVG+Q0WIqai60rOJu1G49AsXrGuw7WBy7KUv+GTQFl7z5SWuPVW96WMzE0qLBVypMc6ogr44ismanyFhGzLSv+METP73iV1WiQcEf1D9FMgGnWhRlGOrj3eB4H2gBkApYHt5oqm9CwQN/Kfon3K2JY7oxOxowJz3GRVIVtB6h7L+IUbBg1/fRnpW5m8/s6fRyT+1cfJi8A4sfKB0GUs+DyNWGtqJMtO/pYoPJk2SpKm5uSFOgaiKcG6Iw8tXltmEzgy+KuaIX5inyo38ySXBOzIMrx8I2ojx/hYvt1NEdC8pimLE3sactu5B2TfdgRzD+BjLJifdFUnrUSxeOCGgyIfm8OMjPpt1iVRqJJFPqgflUDOb/sHBP+00cqO3K2tyoE1OQJllSWk3UBstY2f8Vhl4CMhpOURjAxKvXdscED8/a7jlqvcThYNXUIg+bYaSXwjv0+ukEtGz8ivwhwCqKQSSIssL/HYRosN+wCMpJT85i1qcl7DBpSzko6cfAL/HWVuPzluGlO2S7kTHHbGWkG3iCKHpBVg74+LRoc7T+GLSKJfgHxDA19zxoYGxNhP/5mO03gBq+WS5fr+yKTOhLf9EgaNtuqOkhaDiJZVKSrzUCAwEAAQ==","distribution":"aks","infrastructure":"azure"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002","name":"cc-000002","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{"foo":"doo"},"systemData":{"createdBy":"akkeshar@microsoft.com","createdByType":"User","createdAt":"2022-06-07T17:50:49.1312914Z","lastModifiedBy":"akkeshar@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-07T17:50:49.1312914Z"},"identity":{"principalId":"e430152b-3c94-43e2-baaf-8c950b609f71","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","connectivityStatus":"Connecting","agentPublicKeyCertificate":"MIICCgKCAgEAzbx/TbbVmP6r2evvWYQdv4q97wt11GmOhtcpV1pjVQRIDbgWnGtkmTdMylPUe5f9b0g8UEr+mz5xX2tFDu1QoaITDn8dOhTdV+0rx/NAri3SDPRW75sJfsy7fZPI7CXK0KxULltdXMQ6ZA9bcruT54iXKmE2AMn+3un7cHw+MlYWi/ruvQs+Crj5DljYKHfqsjnkqObdZBUmfTj2l/KpZY1aSZFJJ9VWYTojqorR6KrAtjnQFdsXP6Ft4JtKz6U2PoGiDZAGUgTlev3mrSpellKxkQLRu1N9Dz3jIOGtL7dAnyG+wJZ2h56Q6D7R04JXJUkaQVZXyM8UcmN0pA4NU823UcRJROpgnEnhFyKwNzMXejGix3411obLAlKe2yvpbkLLcbwOiZs/iwy8OoU9AdruAB/MZOaKbMM5+7Pad4yPjHrkXKLWzm2JfHQBy0uk+kpYp53mYOx2y+CscpTlKYX34KWkY0rYSjFsEAnO01MhQUM/BRfPZCUUaUV8M9b4P9Ab4We1zbUFo2VaqpEBPFgH2c/Z6OYXDiYrQCWv/9GrxeVqlzF4ZFOh7rMFxILQ9QTFKV8pA654b4ridy85O+8od7t1/VEo3jSjYBpe+KMo6MhtXcux0JfJfbbkx3ZyXgz+Bdmpav8ZsdH1EYph5pJ3KWJGSHi89bUZjZP+5F0CAwEAAQ==","distribution":"aks","infrastructure":"azure"}}' headers: azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS2EUAP/operationStatuses/a035924c-8928-4973-a735-69de4e03245a?api-version=2021-03-01 + - https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/9a2fffd3-bbd6-4f3e-ae36-5a918b439706*7223452050D836CBF4609B7634E742DA6FFE9F2162D65CA91DC68BAD8BB10DEB?api-version=2021-10-01 cache-control: - no-cache content-length: - - '1499' + - '1494' content-type: - application/json; charset=utf-8 date: - - Sun, 01 Aug 2021 13:04:04 GMT + - Tue, 07 Jun 2022 17:50:52 GMT etag: - - '"0300b3a5-0000-3400-0000-61069bc30000"' + - '"1e00df99-0000-0400-0000-629f8ffb0000"' expires: - '-1' pragma: @@ -975,7 +1235,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -985,40 +1245,31 @@ interactions: ParameterSetName: - -g -n -l --tags --kube-config User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ExtendedLocation?api-version=2021-04-01 + uri: https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/9a2fffd3-bbd6-4f3e-ae36-5a918b439706*7223452050D836CBF4609B7634E742DA6FFE9F2162D65CA91DC68BAD8BB10DEB?api-version=2021-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ExtendedLocation","namespace":"Microsoft.ExtendedLocation","authorizations":[{"applicationId":"bc313c14-388c-4e7d-a58e-70017303ee3b","roleDefinitionId":"a775b938-2819-4dd0-8067-01f6e3b06392"},{"applicationId":"319f651f-7ddb-4fc6-9857-7aef9250bd05","roleDefinitionId":"0981f4e0-04a7-4e31-bd2b-b2ac2fc6ba4e"}],"resourceTypes":[{"resourceType":"locations","locations":[],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"customLocations","locations":["East - US","West Europe","North Europe","France Central","Southeast Asia","Australia - East","East US 2","West US 2","UK South","Central US","West Central US","West - US","North Central US","South Central US","Korea Central","East US 2 EUAP"],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"CrossResourceGroupResourceMove, - CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"customLocations/enabledResourceTypes","locations":["East - US","West Europe","North Europe","France Central","Southeast Asia","Australia - East","East US 2","West US 2","UK South","Central US","West Central US","West - US","North Central US","South Central US","Korea Central","East US 2 EUAP"],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"locations/operationsstatus","locations":["East - US","West Europe","North Europe","France Central","Southeast Asia","Australia - East","East US 2","West US 2","UK South","Central US","West Central US","West - US","North Central US","South Central US","Korea Central","East US 2 Euap"],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"locations/operationresults","locations":["East - US","West Europe","North Europe","France Central","Southeast Asia","Australia - East","East US 2","West US 2","UK South","Central US","West Central US","West - US","North Central US","South Central US","Korea Central","East US 2 Euap"],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + string: '{"id":"/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/9a2fffd3-bbd6-4f3e-ae36-5a918b439706*7223452050D836CBF4609B7634E742DA6FFE9F2162D65CA91DC68BAD8BB10DEB","name":"9a2fffd3-bbd6-4f3e-ae36-5a918b439706*7223452050D836CBF4609B7634E742DA6FFE9F2162D65CA91DC68BAD8BB10DEB","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002","status":"Succeeded","startTime":"2022-06-07T17:50:50.7759304Z","endTime":"2022-06-07T17:50:56.8730495Z","properties":null}' headers: cache-control: - no-cache content-length: - - '2369' + - '564' content-type: - application/json; charset=utf-8 date: - - Sun, 01 Aug 2021 13:04:05 GMT + - Tue, 07 Jun 2022 17:51:22 GMT + etag: + - '"2d007b48-0000-0100-0000-629f90000000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked vary: - Accept-Encoding x-content-type-options: @@ -1030,7 +1281,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1040,53 +1291,37 @@ interactions: ParameterSetName: - -g -n -l --tags --kube-config User-Agent: - - python/3.7.7 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.26.1 - accept-language: - - en-US + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) method: GET - uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/servicePrincipals?$filter=displayName%20eq%20%27Custom%20Locations%20RP%27&api-version=1.6 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002?api-version=2021-10-01 response: body: - string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.ServicePrincipal","objectType":"ServicePrincipal","objectId":"51dfe1e8-70c6-4de5-a08e-e18aff23d815","deletionTimestamp":null,"accountEnabled":true,"addIns":[],"alternativeNames":[],"appDisplayName":"Custom - Locations RP","appId":"bc313c14-388c-4e7d-a58e-70017303ee3b","applicationTemplateId":null,"appOwnerTenantId":"f8cdef31-a31e-4b4a-93e4-5f571e91255a","appRoleAssignmentRequired":false,"appRoles":[],"displayName":"Custom - Locations RP","errorUrl":null,"homepage":null,"informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"keyCredentials":[],"logoutUrl":null,"notificationEmailAddresses":[],"oauth2Permissions":[],"passwordCredentials":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyEndDateTime":null,"preferredTokenSigningKeyThumbprint":null,"publisherName":"Microsoft - Services","replyUrls":[],"samlMetadataUrl":null,"samlSingleSignOnSettings":null,"servicePrincipalNames":["bc313c14-388c-4e7d-a58e-70017303ee3b"],"servicePrincipalType":"Application","signInAudience":"AzureADMultipleOrgs","tags":[],"tokenEncryptionKeyId":null}]}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002","name":"cc-000002","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{"foo":"doo"},"systemData":{"createdBy":"akkeshar@microsoft.com","createdByType":"User","createdAt":"2022-06-07T17:50:49.1312914Z","lastModifiedBy":"akkeshar@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-07T17:50:49.1312914Z"},"identity":{"principalId":"e430152b-3c94-43e2-baaf-8c950b609f71","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connecting","agentPublicKeyCertificate":"MIICCgKCAgEAzbx/TbbVmP6r2evvWYQdv4q97wt11GmOhtcpV1pjVQRIDbgWnGtkmTdMylPUe5f9b0g8UEr+mz5xX2tFDu1QoaITDn8dOhTdV+0rx/NAri3SDPRW75sJfsy7fZPI7CXK0KxULltdXMQ6ZA9bcruT54iXKmE2AMn+3un7cHw+MlYWi/ruvQs+Crj5DljYKHfqsjnkqObdZBUmfTj2l/KpZY1aSZFJJ9VWYTojqorR6KrAtjnQFdsXP6Ft4JtKz6U2PoGiDZAGUgTlev3mrSpellKxkQLRu1N9Dz3jIOGtL7dAnyG+wJZ2h56Q6D7R04JXJUkaQVZXyM8UcmN0pA4NU823UcRJROpgnEnhFyKwNzMXejGix3411obLAlKe2yvpbkLLcbwOiZs/iwy8OoU9AdruAB/MZOaKbMM5+7Pad4yPjHrkXKLWzm2JfHQBy0uk+kpYp53mYOx2y+CscpTlKYX34KWkY0rYSjFsEAnO01MhQUM/BRfPZCUUaUV8M9b4P9Ab4We1zbUFo2VaqpEBPFgH2c/Z6OYXDiYrQCWv/9GrxeVqlzF4ZFOh7rMFxILQ9QTFKV8pA654b4ridy85O+8od7t1/VEo3jSjYBpe+KMo6MhtXcux0JfJfbbkx3ZyXgz+Bdmpav8ZsdH1EYph5pJ3KWJGSHi89bUZjZP+5F0CAwEAAQ==","distribution":"aks","infrastructure":"azure"}}' headers: - access-control-allow-origin: - - '*' cache-control: - no-cache content-length: - - '1246' + - '1495' content-type: - - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 - dataserviceversion: - - 3.0; + - application/json; charset=utf-8 date: - - Sun, 01 Aug 2021 13:04:06 GMT - duration: - - '1754441' + - Tue, 07 Jun 2022 17:51:23 GMT + etag: + - '"0f012aff-0000-0100-0000-629f90000000"' expires: - '-1' - ocp-aad-diagnostics-server-name: - - V7ZnWAq1pA25vrXQmsRM9mwT5N2oOJoXH21SvGS9qlo= - ocp-aad-session-key: - - OIkQybNtqne3KVtskN7X-7P5cjGXQharVfrHXOuP70fXMAWAgxq2GwjmViwul4RWA6_lduJ_YoczPZZkzg1JR5apn6uhRLf0jHIyIWl4cQHX1w_a3oZS-CnoFT1jdW5p.ZYOmbKE1hjPZGkIMPrLEkrvF9b1OztoZbpPi4EOh9OA pragma: - no-cache - request-id: - - 3059d544-18ab-455d-855a-6da9d6ed8d5d strict-transport-security: - max-age=31536000; includeSubDomains - x-aspnet-version: - - 4.0.30319 - x-ms-dirapi-data-contract-version: - - '1.6' - x-ms-resource-unit: - - '1' - x-powered-by: - - ASP.NET + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' status: code: 200 message: OK @@ -1094,7 +1329,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -1104,31 +1339,49 @@ interactions: ParameterSetName: - -g -n -l --tags --kube-config User-Agent: - - AZURECLI/2.26.1 azsdk-python-mgmt-hybridkubernetes/1.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS2EUAP/operationStatuses/a035924c-8928-4973-a735-69de4e03245a?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ExtendedLocation?api-version=2021-04-01 response: body: - string: '{"id":"/providers/Microsoft.Kubernetes/locations/EASTUS2EUAP/operationStatuses/a035924c-8928-4973-a735-69de4e03245a","name":"a035924c-8928-4973-a735-69de4e03245a","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002","status":"Succeeded","startTime":"2021-08-01T13:04:02.5482188Z","endTime":"2021-08-01T13:04:18.6820103Z","properties":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ExtendedLocation","namespace":"Microsoft.ExtendedLocation","authorizations":[{"applicationId":"bc313c14-388c-4e7d-a58e-70017303ee3b","roleDefinitionId":"a775b938-2819-4dd0-8067-01f6e3b06392"},{"applicationId":"319f651f-7ddb-4fc6-9857-7aef9250bd05","roleDefinitionId":"0981f4e0-04a7-4e31-bd2b-b2ac2fc6ba4e"}],"resourceTypes":[{"resourceType":"locations","locations":[],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"customLocations","locations":["East + US","West Europe","North Europe","France Central","Southeast Asia","Australia + East","East US 2","West US 2","UK South","Central US","West Central US","West + US","North Central US","South Central US","Korea Central","Japan East","East + Asia","West US 3","Canada Central","East US 2 EUAP"],"apiVersions":["2021-08-31-preview","2021-08-15","2021-03-15-preview","2020-07-15-privatepreview"],"defaultApiVersion":"2021-08-15","capabilities":"SystemAssignedResourceIdentity, + SupportsTags, SupportsLocation"},{"resourceType":"customLocations/enabledResourceTypes","locations":["East + US","West Europe","North Europe","France Central","Southeast Asia","Australia + East","East US 2","West US 2","UK South","Central US","West Central US","West + US","North Central US","South Central US","Korea Central","Japan East","East + Asia","West US 3","Canada Central","East US 2 EUAP"],"apiVersions":["2021-08-31-preview","2021-08-15","2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"locations/operationsstatus","locations":["East + US","West Europe","North Europe","France Central","Southeast Asia","Australia + East","East US 2","West US 2","UK South","Central US","West Central US","West + US","North Central US","South Central US","Korea Central","Japan East","East + Asia","West US 3","Canada Central","East US 2 Euap"],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"locations/operationresults","locations":["East + US","West Europe","North Europe","France Central","Southeast Asia","Australia + East","East US 2","West US 2","UK South","Central US","West Central US","West + US","North Central US","South Central US","Korea Central","Japan East","East + Asia","West US 3","Canada Central","East US 2 Euap"],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-08-31-preview","2021-08-15","2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"customLocations/resourceSyncRules","locations":["East + US 2 EUAP","East US","West Europe","North Europe","France Central","Southeast + Asia","Australia East","East US 2","West US 2","UK South","Central US","West + Central US","West US","North Central US","South Central US","Korea Central","Japan + East","East Asia","West US 3","Canada Central"],"apiVersions":["2021-08-31-preview"],"defaultApiVersion":"2021-08-31-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '439' + - '3236' content-type: - application/json; charset=utf-8 date: - - Sun, 01 Aug 2021 13:04:36 GMT - etag: - - '"3a00e105-0000-3400-0000-61069bd20000"' + - Tue, 07 Jun 2022 17:51:24 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding x-content-type-options: @@ -1140,7 +1393,7 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -1150,37 +1403,53 @@ interactions: ParameterSetName: - -g -n -l --tags --kube-config User-Agent: - - AZURECLI/2.26.1 azsdk-python-mgmt-hybridkubernetes/1.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - python/3.7.7 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.37.0 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002?api-version=2021-03-01 + uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/servicePrincipals?$filter=displayName%20eq%20%27Custom%20Locations%20RP%27&api-version=1.6 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002","name":"cc-000002","type":"microsoft.kubernetes/connectedclusters","location":"eastus2euap","tags":{"foo":"doo"},"systemData":{"createdBy":"akkeshar@microsoft.com","createdByType":"User","createdAt":"2021-08-01T13:03:59.1455606Z","lastModifiedBy":"64b12d6e-6549-484c-8cc6-6281839ba394","lastModifiedByType":"Application","lastModifiedAt":"2021-08-01T13:04:09.3764133Z"},"identity":{"principalId":"a45968bd-00ac-44c5-a4d8-0a4c8f71603f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connecting","agentPublicKeyCertificate":"MIICCgKCAgEAw7a556P1iGTnOffgc46vmftHKgA7bH+mVgRTzYe0g4rM4p1uiA4jQ2Bo/soSCqXQVG+Q0WIqai60rOJu1G49AsXrGuw7WBy7KUv+GTQFl7z5SWuPVW96WMzE0qLBVypMc6ogr44ismanyFhGzLSv+METP73iV1WiQcEf1D9FMgGnWhRlGOrj3eB4H2gBkApYHt5oqm9CwQN/Kfon3K2JY7oxOxowJz3GRVIVtB6h7L+IUbBg1/fRnpW5m8/s6fRyT+1cfJi8A4sfKB0GUs+DyNWGtqJMtO/pYoPJk2SpKm5uSFOgaiKcG6Iw8tXltmEzgy+KuaIX5inyo38ySXBOzIMrx8I2ojx/hYvt1NEdC8pimLE3sactu5B2TfdgRzD+BjLJifdFUnrUSxeOCGgyIfm8OMjPpt1iVRqJJFPqgflUDOb/sHBP+00cqO3K2tyoE1OQJllSWk3UBstY2f8Vhl4CMhpOURjAxKvXdscED8/a7jlqvcThYNXUIg+bYaSXwjv0+ukEtGz8ivwhwCqKQSSIssL/HYRosN+wCMpJT85i1qcl7DBpSzko6cfAL/HWVuPzluGlO2S7kTHHbGWkG3iCKHpBVg74+LRoc7T+GLSKJfgHxDA19zxoYGxNhP/5mO03gBq+WS5fr+yKTOhLf9EgaNtuqOkhaDiJZVKSrzUCAwEAAQ==","distribution":"aks","infrastructure":"azure"}}' + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.ServicePrincipal","objectType":"ServicePrincipal","objectId":"51dfe1e8-70c6-4de5-a08e-e18aff23d815","deletionTimestamp":null,"accountEnabled":true,"addIns":[],"alternativeNames":[],"appDisplayName":"Custom + Locations RP","appId":"bc313c14-388c-4e7d-a58e-70017303ee3b","applicationTemplateId":null,"appOwnerTenantId":"f8cdef31-a31e-4b4a-93e4-5f571e91255a","appRoleAssignmentRequired":false,"appRoles":[],"displayName":"Custom + Locations RP","errorUrl":null,"homepage":null,"informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"keyCredentials":[],"logoutUrl":null,"notificationEmailAddresses":[],"oauth2Permissions":[],"passwordCredentials":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyEndDateTime":null,"preferredTokenSigningKeyThumbprint":null,"publisherName":"Microsoft + Services","replyUrls":[],"samlMetadataUrl":null,"samlSingleSignOnSettings":null,"servicePrincipalNames":["bc313c14-388c-4e7d-a58e-70017303ee3b"],"servicePrincipalType":"Application","signInAudience":"AzureADMultipleOrgs","tags":[],"tokenEncryptionKeyId":null}]}' headers: + access-control-allow-origin: + - '*' cache-control: - no-cache content-length: - - '1521' + - '1246' content-type: - - application/json; charset=utf-8 + - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 + dataserviceversion: + - 3.0; date: - - Sun, 01 Aug 2021 13:04:36 GMT - etag: - - '"0300c3a5-0000-3400-0000-61069bd20000"' + - Tue, 07 Jun 2022 17:51:24 GMT + duration: + - '1892064' expires: - '-1' + ocp-aad-diagnostics-server-name: + - frRfQmjwsIzDshn1inmXGupkH+QmybVgokKJazbVaj4= + ocp-aad-session-key: + - cv5Fhhc0lBVZHXY59ovZPi1PBF8wGPobHqLu4KgQ2PiKooF7zZRJzSwBY6_W9SOgHfCwu1EpSPFPbrR70FmS0YwyKk-2teIM_ryAMVx_OgZ4Q51mY7JxpBzaN0RizGHN.bGFRoiYXyHLwjb6cQvgBWE19x_GvX5_3rTHCMIG0sZg pragma: - no-cache + request-id: + - 25328b38-54e8-4b3a-9a46-8d84eaae4579 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' + x-aspnet-version: + - 4.0.30319 + x-ms-dirapi-data-contract-version: + - '1.6' + x-ms-resource-unit: + - '1' + x-powered-by: + - ASP.NET status: code: 200 message: OK @@ -1198,23 +1467,23 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.26.1 azsdk-python-mgmt-hybridkubernetes/1.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002?api-version=2022-05-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002","name":"cc-000002","type":"microsoft.kubernetes/connectedclusters","location":"eastus2euap","tags":{"foo":"doo"},"systemData":{"createdBy":"akkeshar@microsoft.com","createdByType":"User","createdAt":"2021-08-01T13:03:59.1455606Z","lastModifiedBy":"64b12d6e-6549-484c-8cc6-6281839ba394","lastModifiedByType":"Application","lastModifiedAt":"2021-08-01T13:05:05.6129086Z"},"identity":{"principalId":"a45968bd-00ac-44c5-a4d8-0a4c8f71603f","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connected","agentPublicKeyCertificate":"MIICCgKCAgEAw7a556P1iGTnOffgc46vmftHKgA7bH+mVgRTzYe0g4rM4p1uiA4jQ2Bo/soSCqXQVG+Q0WIqai60rOJu1G49AsXrGuw7WBy7KUv+GTQFl7z5SWuPVW96WMzE0qLBVypMc6ogr44ismanyFhGzLSv+METP73iV1WiQcEf1D9FMgGnWhRlGOrj3eB4H2gBkApYHt5oqm9CwQN/Kfon3K2JY7oxOxowJz3GRVIVtB6h7L+IUbBg1/fRnpW5m8/s6fRyT+1cfJi8A4sfKB0GUs+DyNWGtqJMtO/pYoPJk2SpKm5uSFOgaiKcG6Iw8tXltmEzgy+KuaIX5inyo38ySXBOzIMrx8I2ojx/hYvt1NEdC8pimLE3sactu5B2TfdgRzD+BjLJifdFUnrUSxeOCGgyIfm8OMjPpt1iVRqJJFPqgflUDOb/sHBP+00cqO3K2tyoE1OQJllSWk3UBstY2f8Vhl4CMhpOURjAxKvXdscED8/a7jlqvcThYNXUIg+bYaSXwjv0+ukEtGz8ivwhwCqKQSSIssL/HYRosN+wCMpJT85i1qcl7DBpSzko6cfAL/HWVuPzluGlO2S7kTHHbGWkG3iCKHpBVg74+LRoc7T+GLSKJfgHxDA19zxoYGxNhP/5mO03gBq+WS5fr+yKTOhLf9EgaNtuqOkhaDiJZVKSrzUCAwEAAQ==","distribution":"aks","infrastructure":"azure","kubernetesVersion":"1.20.7","totalNodeCount":1,"agentVersion":"1.3.8","totalCoreCount":2,"lastConnectivityTime":"2021-08-01T13:04:56.355Z","managedIdentityCertificateExpirationTime":"2021-10-30T12:59:00Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002","name":"cc-000002","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{"foo":"doo"},"systemData":{"createdBy":"akkeshar@microsoft.com","createdByType":"User","createdAt":"2022-06-07T17:50:49.1312914Z","lastModifiedBy":"64b12d6e-6549-484c-8cc6-6281839ba394","lastModifiedByType":"Application","lastModifiedAt":"2022-06-07T17:52:09.7422401Z"},"identity":{"principalId":"e430152b-3c94-43e2-baaf-8c950b609f71","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connected","privateLinkState":"Disabled","agentPublicKeyCertificate":"MIICCgKCAgEAzbx/TbbVmP6r2evvWYQdv4q97wt11GmOhtcpV1pjVQRIDbgWnGtkmTdMylPUe5f9b0g8UEr+mz5xX2tFDu1QoaITDn8dOhTdV+0rx/NAri3SDPRW75sJfsy7fZPI7CXK0KxULltdXMQ6ZA9bcruT54iXKmE2AMn+3un7cHw+MlYWi/ruvQs+Crj5DljYKHfqsjnkqObdZBUmfTj2l/KpZY1aSZFJJ9VWYTojqorR6KrAtjnQFdsXP6Ft4JtKz6U2PoGiDZAGUgTlev3mrSpellKxkQLRu1N9Dz3jIOGtL7dAnyG+wJZ2h56Q6D7R04JXJUkaQVZXyM8UcmN0pA4NU823UcRJROpgnEnhFyKwNzMXejGix3411obLAlKe2yvpbkLLcbwOiZs/iwy8OoU9AdruAB/MZOaKbMM5+7Pad4yPjHrkXKLWzm2JfHQBy0uk+kpYp53mYOx2y+CscpTlKYX34KWkY0rYSjFsEAnO01MhQUM/BRfPZCUUaUV8M9b4P9Ab4We1zbUFo2VaqpEBPFgH2c/Z6OYXDiYrQCWv/9GrxeVqlzF4ZFOh7rMFxILQ9QTFKV8pA654b4ridy85O+8od7t1/VEo3jSjYBpe+KMo6MhtXcux0JfJfbbkx3ZyXgz+Bdmpav8ZsdH1EYph5pJ3KWJGSHi89bUZjZP+5F0CAwEAAQ==","distribution":"aks","infrastructure":"azure","kubernetesVersion":"1.22.6","totalNodeCount":1,"agentVersion":"1.6.16","totalCoreCount":2,"lastConnectivityTime":"2022-06-07T17:52:00.696Z","managedIdentityCertificateExpirationTime":"2022-09-05T17:45:00Z"}}' headers: cache-control: - no-cache content-length: - - '1726' + - '1752' content-type: - application/json; charset=utf-8 date: - - Sun, 01 Aug 2021 13:05:30 GMT + - Tue, 07 Jun 2022 17:54:19 GMT etag: - - '"0300e7a5-0000-3400-0000-61069c010000"' + - '"7800125e-0000-0200-0000-629f90490000"' expires: - '-1' pragma: @@ -1242,15 +1511,15 @@ interactions: User-Agent: - OpenAPI-Generator/11.0.0/python method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/apis/networking.k8s.io/v1/ + uri: https://cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io/apis/networking.k8s.io/v1/ response: body: - string: '{"kind":"APIResourceList","apiVersion":"v1","groupVersion":"networking.k8s.io/v1","resources":[{"name":"ingressclasses","singularName":"","namespaced":false,"kind":"IngressClass","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"storageVersionHash":"6upRfBq0FOI="},{"name":"ingresses","singularName":"","namespaced":true,"kind":"Ingress","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ing"],"storageVersionHash":"ZOAfGflaKd0="},{"name":"ingresses/status","singularName":"","namespaced":true,"kind":"Ingress","verbs":["get","patch","update"]},{"name":"networkpolicies","singularName":"","namespaced":true,"kind":"NetworkPolicy","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["netpol"],"storageVersionHash":"YpfwF18m1G8="}]} + string: '{"kind":"APIResourceList","apiVersion":"v1","groupVersion":"networking.k8s.io/v1","resources":[{"name":"ingressclasses","singularName":"","namespaced":false,"kind":"IngressClass","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"storageVersionHash":"l/iqIbDgFyQ="},{"name":"ingresses","singularName":"","namespaced":true,"kind":"Ingress","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ing"],"storageVersionHash":"39NQlfNR+bo="},{"name":"ingresses/status","singularName":"","namespaced":true,"kind":"Ingress","verbs":["get","patch","update"]},{"name":"networkpolicies","singularName":"","namespaced":true,"kind":"NetworkPolicy","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["netpol"],"storageVersionHash":"YpfwF18m1G8="}]} ' headers: audit-id: - - 41ea184a-2457-4823-8c34-cbf3280d93c4 + - 228a39f8-5ce4-46a9-9ffd-2a4b1aa3c3c7 cache-control: - no-cache, private content-length: @@ -1258,11 +1527,11 @@ interactions: content-type: - application/json date: - - Sun, 01 Aug 2021 13:05:31 GMT + - Tue, 07 Jun 2022 17:54:20 GMT x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf + - 3b9ec461-e128-4d99-abcc-65ad56c2f58e x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 + - 93094910-4d9a-46c6-b59b-961811b7418b status: code: 200 message: OK @@ -1276,27 +1545,27 @@ interactions: User-Agent: - OpenAPI-Generator/11.0.0/python method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/api/v1/namespaces/azure-arc/configmaps/azure-clusterconfig + uri: https://cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io/api/v1/namespaces/azure-arc/configmaps/azure-clusterconfig response: body: - string: '{"kind":"ConfigMap","apiVersion":"v1","metadata":{"name":"azure-clusterconfig","namespace":"azure-arc","uid":"efd2522c-7327-4c26-9ad0-b6fd6f683d5d","resourceVersion":"815","creationTimestamp":"2021-08-01T13:04:15Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"Go-http-client","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:04:15Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:ARC_AGENT_HELM_CHART_NAME":{},"f:ARC_AGENT_RELEASE_TRAIN":{},"f:AZURE_ARC_AGENT_VERSION":{},"f:AZURE_ARC_AUTOUPDATE":{},"f:AZURE_ARC_HELM_NAMESPACE":{},"f:AZURE_ARC_RELEASE_NAME":{},"f:AZURE_ENVIRONMENT":{},"f:AZURE_REGION":{},"f:AZURE_RESOURCE_GROUP":{},"f:AZURE_RESOURCE_NAME":{},"f:AZURE_SUBSCRIPTION_ID":{},"f:AZURE_TENANT_ID":{},"f:CLUSTER_CONNECT_AGENT_ENABLED":{},"f:CLUSTER_TYPE":{},"f:DEBUG_LOGGING":{},"f:EXTENSION_OPERATOR_ENABLED":{},"f:FLUX_CLIENT_DEFAULT_LOCATION":{},"f:FLUX_UPSTREAM_SERVICE_ENABLED":{},"f:GITOPS_ENABLED":{},"f:HELM_AUTO_UPDATE_CHECK_FREQUENCY_IN_MINUTES":{},"f:IS_CLIENT_SECRET_A_TOKEN":{},"f:KUBERNETES_DISTRO":{},"f:KUBERNETES_INFRA":{},"f:MANAGED_IDENTITY_AUTH":{},"f:NO_AUTH_HEADER_DATA_PLANE":{},"f:ONBOARDING_SECRET_NAME":{},"f:ONBOARDING_SECRET_NAMESPACE":{},"f:TAGS":{}},"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}}]},"data":{"ARC_AGENT_HELM_CHART_NAME":"azure-arc-k8sagents","ARC_AGENT_RELEASE_TRAIN":"stable","AZURE_ARC_AGENT_VERSION":"1.3.8","AZURE_ARC_AUTOUPDATE":"true","AZURE_ARC_HELM_NAMESPACE":"default","AZURE_ARC_RELEASE_NAME":"azure-arc","AZURE_ENVIRONMENT":"AZUREPUBLICCLOUD","AZURE_REGION":"eastus2euap","AZURE_RESOURCE_GROUP":"akkeshar","AZURE_RESOURCE_NAME":"cc-000002","AZURE_SUBSCRIPTION_ID":"1bfbb5d0-917e-4346-9026-1d3b344417f5","AZURE_TENANT_ID":"72f988bf-86f1-41af-91ab-2d7cd011db47","CLUSTER_CONNECT_AGENT_ENABLED":"true","CLUSTER_TYPE":"ConnectedClusters","DEBUG_LOGGING":"false","EXTENSION_OPERATOR_ENABLED":"true","FLUX_CLIENT_DEFAULT_LOCATION":"mcr.microsoft.com/azurearck8s/arc-preview/fluxctl:0.1.17","FLUX_UPSTREAM_SERVICE_ENABLED":"true","GITOPS_ENABLED":"true","HELM_AUTO_UPDATE_CHECK_FREQUENCY_IN_MINUTES":"60","IS_CLIENT_SECRET_A_TOKEN":"false","KUBERNETES_DISTRO":"aks","KUBERNETES_INFRA":"azure","MANAGED_IDENTITY_AUTH":"true","NO_AUTH_HEADER_DATA_PLANE":"false","ONBOARDING_SECRET_NAME":"azure-arc-connect-privatekey","ONBOARDING_SECRET_NAMESPACE":"azure-arc","TAGS":"map[]"}} + string: '{"kind":"ConfigMap","apiVersion":"v1","metadata":{"name":"azure-clusterconfig","namespace":"azure-arc","uid":"19e3f6e5-8be6-4b1b-9d9e-3c39a782d1aa","resourceVersion":"1702","creationTimestamp":"2022-06-07T17:51:40Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:51:40Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:ARC_AGENT_HELM_CHART_NAME":{},"f:ARC_AGENT_RELEASE_TRAIN":{},"f:AZURE_ARC_AGENT_VERSION":{},"f:AZURE_ARC_AUTOUPDATE":{},"f:AZURE_ARC_HELM_NAMESPACE":{},"f:AZURE_ARC_RELEASE_NAME":{},"f:AZURE_ENVIRONMENT":{},"f:AZURE_REGION":{},"f:AZURE_RESOURCE_GROUP":{},"f:AZURE_RESOURCE_NAME":{},"f:AZURE_SUBSCRIPTION_ID":{},"f:AZURE_TENANT_ID":{},"f:CLUSTER_CONNECT_AGENT_ENABLED":{},"f:CLUSTER_TYPE":{},"f:DEBUG_LOGGING":{},"f:EXTENSION_OPERATOR_ENABLED":{},"f:FLUX_CLIENT_DEFAULT_LOCATION":{},"f:FLUX_UPSTREAM_SERVICE_ENABLED":{},"f:GITOPS_ENABLED":{},"f:HELM_AUTO_UPDATE_CHECK_FREQUENCY_IN_MINUTES":{},"f:IS_CLIENT_SECRET_A_TOKEN":{},"f:KUBERNETES_DISTRO":{},"f:KUBERNETES_INFRA":{},"f:MANAGED_IDENTITY_AUTH":{},"f:MAX_ENTRIES_PER_STORE":{},"f:MAX_STORES":{},"f:NO_AUTH_HEADER_DATA_PLANE":{},"f:ONBOARDING_SECRET_NAME":{},"f:ONBOARDING_SECRET_NAMESPACE":{},"f:RESOURCE_SYNC_ENABLE_CHUNKED_SYNC":{},"f:RESOURCE_SYNC_LIST_CHUNK_SIZE":{},"f:RP_NAMESPACE":{},"f:TAGS":{}},"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}}]},"data":{"ARC_AGENT_HELM_CHART_NAME":"azure-arc-k8sagents","ARC_AGENT_RELEASE_TRAIN":"stable","AZURE_ARC_AGENT_VERSION":"1.6.16","AZURE_ARC_AUTOUPDATE":"true","AZURE_ARC_HELM_NAMESPACE":"default","AZURE_ARC_RELEASE_NAME":"azure-arc","AZURE_ENVIRONMENT":"AZUREPUBLICCLOUD","AZURE_REGION":"eastus","AZURE_RESOURCE_GROUP":"akkeshar","AZURE_RESOURCE_NAME":"cc-000002","AZURE_SUBSCRIPTION_ID":"1bfbb5d0-917e-4346-9026-1d3b344417f5","AZURE_TENANT_ID":"72f988bf-86f1-41af-91ab-2d7cd011db47","CLUSTER_CONNECT_AGENT_ENABLED":"true","CLUSTER_TYPE":"ConnectedClusters","DEBUG_LOGGING":"false","EXTENSION_OPERATOR_ENABLED":"true","FLUX_CLIENT_DEFAULT_LOCATION":"mcr.microsoft.com/azurearck8s/arc-preview/fluxctl:0.2.0","FLUX_UPSTREAM_SERVICE_ENABLED":"true","GITOPS_ENABLED":"true","HELM_AUTO_UPDATE_CHECK_FREQUENCY_IN_MINUTES":"60","IS_CLIENT_SECRET_A_TOKEN":"false","KUBERNETES_DISTRO":"aks","KUBERNETES_INFRA":"azure","MANAGED_IDENTITY_AUTH":"true","MAX_ENTRIES_PER_STORE":"680","MAX_STORES":"30","NO_AUTH_HEADER_DATA_PLANE":"false","ONBOARDING_SECRET_NAME":"azure-arc-connect-privatekey","ONBOARDING_SECRET_NAMESPACE":"azure-arc","RESOURCE_SYNC_ENABLE_CHUNKED_SYNC":"false","RESOURCE_SYNC_LIST_CHUNK_SIZE":"200","RP_NAMESPACE":"Microsoft.Kubernetes","TAGS":"map[]"}} ' headers: audit-id: - - 6b16bbf8-69ab-4d8c-b347-d7d2e72a60ca + - 51dc2df3-6a89-4f9b-8734-860544b950ea cache-control: - no-cache, private content-type: - application/json date: - - Sun, 01 Aug 2021 13:05:36 GMT + - Tue, 07 Jun 2022 17:54:22 GMT transfer-encoding: - chunked x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf + - 3b9ec461-e128-4d99-abcc-65ad56c2f58e x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 + - 93094910-4d9a-46c6-b59b-961811b7418b status: code: 200 message: OK @@ -1316,15 +1585,15 @@ interactions: ParameterSetName: - -g -n --kube-config -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-mgmt-hybridkubernetes/1.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002?api-version=2021-10-01 response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS2EUAP/operationStatuses/d3e8ef8b-34ae-4a08-b730-a65d2c12f68a?api-version=2021-03-01 + - https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/4a2e342b-774d-4753-b606-09baf05d09d0*7223452050D836CBF4609B7634E742DA6FFE9F2162D65CA91DC68BAD8BB10DEB?api-version=2021-10-01 cache-control: - no-cache content-length: @@ -1332,13 +1601,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 01 Aug 2021 13:05:39 GMT + - Tue, 07 Jun 2022 17:54:25 GMT etag: - - '"03000da6-0000-3400-0000-61069c230000"' + - '"1e00559d-0000-0400-0000-629f90d10000"' expires: - '-1' location: - - https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS2EUAP/operationStatuses/d3e8ef8b-34ae-4a08-b730-a65d2c12f68a?api-version=2021-03-01 + - https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/4a2e342b-774d-4753-b606-09baf05d09d0*7223452050D836CBF4609B7634E742DA6FFE9F2162D65CA91DC68BAD8BB10DEB?api-version=2021-10-01 pragma: - no-cache strict-transport-security: @@ -1356,33 +1625,45 @@ interactions: body: null headers: Accept: - - application/json - Content-Type: - - application/json + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connectedk8s delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --kube-config -y User-Agent: - - OpenAPI-Generator/11.0.0/python + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + uri: https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/4a2e342b-774d-4753-b606-09baf05d09d0*7223452050D836CBF4609B7634E742DA6FFE9F2162D65CA91DC68BAD8BB10DEB?api-version=2021-10-01 response: body: - string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"1573"},"items":[{"metadata":{"name":"azure-arc","uid":"1ad99091-8ee1-408f-898a-7ec198c6bf95","resourceVersion":"1572","creationTimestamp":"2021-08-01T13:04:15Z","deletionTimestamp":"2021-08-01T13:05:55Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"Go-http-client","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:04:15Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{}}},"f:status":{"f:phase":{}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating"}}]} - - ' + string: '{"id":"/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/4a2e342b-774d-4753-b606-09baf05d09d0*7223452050D836CBF4609B7634E742DA6FFE9F2162D65CA91DC68BAD8BB10DEB","name":"4a2e342b-774d-4753-b606-09baf05d09d0*7223452050D836CBF4609B7634E742DA6FFE9F2162D65CA91DC68BAD8BB10DEB","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002","status":"Succeeded","startTime":"2022-06-07T17:54:24.712864Z","endTime":"2022-06-07T17:54:29.4205957Z","properties":null}' headers: - audit-id: - - fd63b403-a45e-41f6-8315-3e6a1d86d663 cache-control: - - no-cache, private + - no-cache content-length: - - '973' + - '563' content-type: - - application/json + - application/json; charset=utf-8 date: - - Sun, 01 Aug 2021 13:05:56 GMT - x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf - x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 + - Tue, 07 Jun 2022 17:54:55 GMT + etag: + - '"2d003049-0000-0100-0000-629f90d50000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff status: code: 200 message: OK @@ -1396,27 +1677,27 @@ interactions: User-Agent: - OpenAPI-Generator/11.0.0/python method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + uri: https://cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc response: body: - string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"1629"},"items":[{"metadata":{"name":"azure-arc","uid":"1ad99091-8ee1-408f-898a-7ec198c6bf95","resourceVersion":"1572","creationTimestamp":"2021-08-01T13:04:15Z","deletionTimestamp":"2021-08-01T13:05:55Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"Go-http-client","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:04:15Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{}}},"f:status":{"f:phase":{}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating"}}]} + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"2931"},"items":[{"metadata":{"name":"azure-arc","uid":"f21fce18-a772-4bd9-a31c-1fd4b0126469","resourceVersion":"2925","creationTimestamp":"2022-06-07T17:51:38Z","deletionTimestamp":"2022-06-07T17:55:09Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true","kubernetes.io/metadata.name":"azure-arc"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:51:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating"}}]} ' headers: audit-id: - - 4069ae9d-f811-45e5-af0b-fd5a35841cd5 + - e89acdc6-2732-4845-9b69-72f2b0f6abf6 cache-control: - no-cache, private content-length: - - '973' + - '1014' content-type: - application/json date: - - Sun, 01 Aug 2021 13:06:01 GMT + - Tue, 07 Jun 2022 17:55:11 GMT x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf + - 3b9ec461-e128-4d99-abcc-65ad56c2f58e x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 + - 93094910-4d9a-46c6-b59b-961811b7418b status: code: 200 message: OK @@ -1430,117 +1711,27 @@ interactions: User-Agent: - OpenAPI-Generator/11.0.0/python method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + uri: https://cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc response: body: - string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"1747"},"items":[{"metadata":{"name":"azure-arc","uid":"1ad99091-8ee1-408f-898a-7ec198c6bf95","resourceVersion":"1739","creationTimestamp":"2021-08-01T13:04:15Z","deletionTimestamp":"2021-08-01T13:05:55Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"Go-http-client","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:04:15Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{}}},"f:status":{"f:phase":{}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:06:03Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ResourcesDiscovered","message":"All - resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ParsedGroupVersions","message":"All - legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ContentDeleted","message":"All - content successfully deleted, may be waiting on finalization"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"SomeResourcesRemain","message":"Some - resources are remaining: pods. has 10 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ContentHasNoFinalizers","message":"All - content-preserving finalizers finished"}]}}]} + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"3003"},"items":[{"metadata":{"name":"azure-arc","uid":"f21fce18-a772-4bd9-a31c-1fd4b0126469","resourceVersion":"2925","creationTimestamp":"2022-06-07T17:51:38Z","deletionTimestamp":"2022-06-07T17:55:09Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true","kubernetes.io/metadata.name":"azure-arc"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:51:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating"}}]} ' headers: audit-id: - - 1afac4f9-d8cd-48d3-b2de-338bb481a1c2 + - 1d22ef1d-dec2-4c84-9dc6-da25b4113f0e cache-control: - no-cache, private - content-type: - - application/json - date: - - Sun, 01 Aug 2021 13:06:06 GMT - transfer-encoding: - - chunked - x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf - x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - connectedk8s delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --kube-config -y - User-Agent: - - AZURECLI/2.26.1 azsdk-python-mgmt-hybridkubernetes/1.0.0 Python/3.7.7 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS2EUAP/operationStatuses/d3e8ef8b-34ae-4a08-b730-a65d2c12f68a?api-version=2021-03-01 - response: - body: - string: '{"id":"/providers/Microsoft.Kubernetes/locations/EASTUS2EUAP/operationStatuses/d3e8ef8b-34ae-4a08-b730-a65d2c12f68a","name":"d3e8ef8b-34ae-4a08-b730-a65d2c12f68a","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cc-000002","status":"Succeeded","startTime":"2021-08-01T13:05:39.2636047Z","endTime":"2021-08-01T13:05:48.6248515Z","properties":null}' - headers: - cache-control: - - no-cache content-length: - - '439' - content-type: - - application/json; charset=utf-8 - date: - - Sun, 01 Aug 2021 13:06:10 GMT - etag: - - '"3a007e0a-0000-3400-0000-61069c2c0000"' - expires: - - '-1' - pragma: - - no-cache - 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 - Content-Type: - - application/json - User-Agent: - - OpenAPI-Generator/11.0.0/python - method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc - response: - body: - string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"1760"},"items":[{"metadata":{"name":"azure-arc","uid":"1ad99091-8ee1-408f-898a-7ec198c6bf95","resourceVersion":"1752","creationTimestamp":"2021-08-01T13:04:15Z","deletionTimestamp":"2021-08-01T13:05:55Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"Go-http-client","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:04:15Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{}}},"f:status":{"f:phase":{}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:06:03Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ResourcesDiscovered","message":"All - resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ParsedGroupVersions","message":"All - legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ContentDeleted","message":"All - content successfully deleted, may be waiting on finalization"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"SomeResourcesRemain","message":"Some - resources are remaining: pods. has 9 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ContentHasNoFinalizers","message":"All - content-preserving finalizers finished"}]}}]} - - ' - headers: - audit-id: - - 6215c8c3-9203-4d11-a110-821a8a89f7da - cache-control: - - no-cache, private + - '1014' content-type: - application/json date: - - Sun, 01 Aug 2021 13:06:11 GMT - transfer-encoding: - - chunked + - Tue, 07 Jun 2022 17:55:16 GMT x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf + - 3b9ec461-e128-4d99-abcc-65ad56c2f58e x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 + - 93094910-4d9a-46c6-b59b-961811b7418b status: code: 200 message: OK @@ -1554,32 +1745,32 @@ interactions: User-Agent: - OpenAPI-Generator/11.0.0/python method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + uri: https://cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc response: body: - string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"1766"},"items":[{"metadata":{"name":"azure-arc","uid":"1ad99091-8ee1-408f-898a-7ec198c6bf95","resourceVersion":"1763","creationTimestamp":"2021-08-01T13:04:15Z","deletionTimestamp":"2021-08-01T13:05:55Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"Go-http-client","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:04:15Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{}}},"f:status":{"f:phase":{}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:06:03Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ResourcesDiscovered","message":"All - resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ParsedGroupVersions","message":"All - legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ContentDeleted","message":"All - content successfully deleted, may be waiting on finalization"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"SomeResourcesRemain","message":"Some - resources are remaining: pods. has 7 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ContentHasNoFinalizers","message":"All + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"3158"},"items":[{"metadata":{"name":"azure-arc","uid":"f21fce18-a772-4bd9-a31c-1fd4b0126469","resourceVersion":"3139","creationTimestamp":"2022-06-07T17:51:38Z","deletionTimestamp":"2022-06-07T17:55:09Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true","kubernetes.io/metadata.name":"azure-arc"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:51:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{},"f:kubernetes.io/metadata.name":{}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:55:19Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ResourcesDiscovered","message":"All + resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ParsedGroupVersions","message":"All + legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ContentDeleted","message":"All + content successfully deleted, may be waiting on finalization"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"SomeResourcesRemain","message":"Some + resources are remaining: pods. has 10 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ContentHasNoFinalizers","message":"All content-preserving finalizers finished"}]}}]} ' headers: audit-id: - - e6aad6ec-ab86-4308-83d7-62a102b1d90c + - 2c158f3f-6fcf-4637-bff3-9c78c373ac64 cache-control: - no-cache, private content-type: - application/json date: - - Sun, 01 Aug 2021 13:06:16 GMT + - Tue, 07 Jun 2022 17:55:21 GMT transfer-encoding: - chunked x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf + - 3b9ec461-e128-4d99-abcc-65ad56c2f58e x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 + - 93094910-4d9a-46c6-b59b-961811b7418b status: code: 200 message: OK @@ -1593,32 +1784,32 @@ interactions: User-Agent: - OpenAPI-Generator/11.0.0/python method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + uri: https://cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc response: body: - string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"1775"},"items":[{"metadata":{"name":"azure-arc","uid":"1ad99091-8ee1-408f-898a-7ec198c6bf95","resourceVersion":"1763","creationTimestamp":"2021-08-01T13:04:15Z","deletionTimestamp":"2021-08-01T13:05:55Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"Go-http-client","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:04:15Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{}}},"f:status":{"f:phase":{}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:06:03Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ResourcesDiscovered","message":"All - resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ParsedGroupVersions","message":"All - legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ContentDeleted","message":"All - content successfully deleted, may be waiting on finalization"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"SomeResourcesRemain","message":"Some - resources are remaining: pods. has 7 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ContentHasNoFinalizers","message":"All + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"3178"},"items":[{"metadata":{"name":"azure-arc","uid":"f21fce18-a772-4bd9-a31c-1fd4b0126469","resourceVersion":"3171","creationTimestamp":"2022-06-07T17:51:38Z","deletionTimestamp":"2022-06-07T17:55:09Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true","kubernetes.io/metadata.name":"azure-arc"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:51:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{},"f:kubernetes.io/metadata.name":{}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:55:19Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ResourcesDiscovered","message":"All + resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ParsedGroupVersions","message":"All + legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ContentDeleted","message":"All + content successfully deleted, may be waiting on finalization"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"SomeResourcesRemain","message":"Some + resources are remaining: pods. has 7 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ContentHasNoFinalizers","message":"All content-preserving finalizers finished"}]}}]} ' headers: audit-id: - - d7abb30e-0a5d-4ce5-bc95-1cd24a99e7dd + - 0d158e11-9cff-4441-afc5-8d2e0fd37530 cache-control: - no-cache, private content-type: - application/json date: - - Sun, 01 Aug 2021 13:06:22 GMT + - Tue, 07 Jun 2022 17:55:26 GMT transfer-encoding: - chunked x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf + - 3b9ec461-e128-4d99-abcc-65ad56c2f58e x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 + - 93094910-4d9a-46c6-b59b-961811b7418b status: code: 200 message: OK @@ -1632,32 +1823,32 @@ interactions: User-Agent: - OpenAPI-Generator/11.0.0/python method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + uri: https://cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc response: body: - string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"1787"},"items":[{"metadata":{"name":"azure-arc","uid":"1ad99091-8ee1-408f-898a-7ec198c6bf95","resourceVersion":"1763","creationTimestamp":"2021-08-01T13:04:15Z","deletionTimestamp":"2021-08-01T13:05:55Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"Go-http-client","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:04:15Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{}}},"f:status":{"f:phase":{}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:06:03Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ResourcesDiscovered","message":"All - resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ParsedGroupVersions","message":"All - legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ContentDeleted","message":"All - content successfully deleted, may be waiting on finalization"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"SomeResourcesRemain","message":"Some - resources are remaining: pods. has 7 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ContentHasNoFinalizers","message":"All + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"3198"},"items":[{"metadata":{"name":"azure-arc","uid":"f21fce18-a772-4bd9-a31c-1fd4b0126469","resourceVersion":"3171","creationTimestamp":"2022-06-07T17:51:38Z","deletionTimestamp":"2022-06-07T17:55:09Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true","kubernetes.io/metadata.name":"azure-arc"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:51:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{},"f:kubernetes.io/metadata.name":{}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:55:19Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ResourcesDiscovered","message":"All + resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ParsedGroupVersions","message":"All + legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ContentDeleted","message":"All + content successfully deleted, may be waiting on finalization"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"SomeResourcesRemain","message":"Some + resources are remaining: pods. has 7 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ContentHasNoFinalizers","message":"All content-preserving finalizers finished"}]}}]} ' headers: audit-id: - - 2157ceab-7d85-41ea-8a91-5c1486a1885c + - d4a45e7b-f0ee-47d8-a8eb-a9426bc91314 cache-control: - no-cache, private content-type: - application/json date: - - Sun, 01 Aug 2021 13:06:27 GMT + - Tue, 07 Jun 2022 17:55:32 GMT transfer-encoding: - chunked x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf + - 3b9ec461-e128-4d99-abcc-65ad56c2f58e x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 + - 93094910-4d9a-46c6-b59b-961811b7418b status: code: 200 message: OK @@ -1671,32 +1862,32 @@ interactions: User-Agent: - OpenAPI-Generator/11.0.0/python method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + uri: https://cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc response: body: - string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"1806"},"items":[{"metadata":{"name":"azure-arc","uid":"1ad99091-8ee1-408f-898a-7ec198c6bf95","resourceVersion":"1763","creationTimestamp":"2021-08-01T13:04:15Z","deletionTimestamp":"2021-08-01T13:05:55Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"Go-http-client","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:04:15Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{}}},"f:status":{"f:phase":{}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:06:03Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ResourcesDiscovered","message":"All - resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ParsedGroupVersions","message":"All - legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ContentDeleted","message":"All - content successfully deleted, may be waiting on finalization"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"SomeResourcesRemain","message":"Some - resources are remaining: pods. has 7 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ContentHasNoFinalizers","message":"All + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"3214"},"items":[{"metadata":{"name":"azure-arc","uid":"f21fce18-a772-4bd9-a31c-1fd4b0126469","resourceVersion":"3171","creationTimestamp":"2022-06-07T17:51:38Z","deletionTimestamp":"2022-06-07T17:55:09Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true","kubernetes.io/metadata.name":"azure-arc"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:51:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{},"f:kubernetes.io/metadata.name":{}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:55:19Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ResourcesDiscovered","message":"All + resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ParsedGroupVersions","message":"All + legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ContentDeleted","message":"All + content successfully deleted, may be waiting on finalization"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"SomeResourcesRemain","message":"Some + resources are remaining: pods. has 7 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ContentHasNoFinalizers","message":"All content-preserving finalizers finished"}]}}]} ' headers: audit-id: - - a2582bb8-407d-4567-a47a-fc9a1155ebef + - 529af010-c6c2-44de-8d45-dcd802c40542 cache-control: - no-cache, private content-type: - application/json date: - - Sun, 01 Aug 2021 13:06:32 GMT + - Tue, 07 Jun 2022 17:55:37 GMT transfer-encoding: - chunked x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf + - 3b9ec461-e128-4d99-abcc-65ad56c2f58e x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 + - 93094910-4d9a-46c6-b59b-961811b7418b status: code: 200 message: OK @@ -1710,33 +1901,32 @@ interactions: User-Agent: - OpenAPI-Generator/11.0.0/python method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + uri: https://cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc response: body: - string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"1814"},"items":[{"metadata":{"name":"azure-arc","uid":"1ad99091-8ee1-408f-898a-7ec198c6bf95","resourceVersion":"1812","creationTimestamp":"2021-08-01T13:04:15Z","deletionTimestamp":"2021-08-01T13:05:55Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"Go-http-client","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:04:15Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{}}},"f:status":{"f:phase":{}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2021-08-01T13:06:03Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ResourcesDiscovered","message":"All - resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ParsedGroupVersions","message":"All - legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"True","lastTransitionTime":"2021-08-01T13:06:35Z","reason":"ContentDeletionFailed","message":"Failed - to delete all resource types, 1 remaining: unexpected items still remain in - namespace: azure-arc for gvr: /v1, Resource=pods"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"SomeResourcesRemain","message":"Some - resources are remaining: pods. has 1 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2021-08-01T13:06:03Z","reason":"ContentHasNoFinalizers","message":"All + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"3254"},"items":[{"metadata":{"name":"azure-arc","uid":"f21fce18-a772-4bd9-a31c-1fd4b0126469","resourceVersion":"3171","creationTimestamp":"2022-06-07T17:51:38Z","deletionTimestamp":"2022-06-07T17:55:09Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true","kubernetes.io/metadata.name":"azure-arc"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:51:38Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{},"f:kubernetes.io/metadata.name":{}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2022-06-07T17:55:19Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ResourcesDiscovered","message":"All + resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ParsedGroupVersions","message":"All + legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ContentDeleted","message":"All + content successfully deleted, may be waiting on finalization"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"SomeResourcesRemain","message":"Some + resources are remaining: pods. has 7 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2022-06-07T17:55:19Z","reason":"ContentHasNoFinalizers","message":"All content-preserving finalizers finished"}]}}]} ' headers: audit-id: - - 81e16bc6-09aa-4f83-a126-56864f7a50a4 + - 5403cc45-3480-48df-af70-addd983e38c4 cache-control: - no-cache, private content-type: - application/json date: - - Sun, 01 Aug 2021 13:06:37 GMT + - Tue, 07 Jun 2022 17:55:42 GMT transfer-encoding: - chunked x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf + - 3b9ec461-e128-4d99-abcc-65ad56c2f58e x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 + - 93094910-4d9a-46c6-b59b-961811b7418b status: code: 200 message: OK @@ -1750,15 +1940,15 @@ interactions: User-Agent: - OpenAPI-Generator/11.0.0/python method: GET - uri: https://cli-test-a-akkeshar-1bfbb5-864c8a90.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + uri: https://cli-test-a-akkeshar-1bfbb5-7c7ab37f.hcp.westeurope.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc response: body: - string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"1825"},"items":[]} + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"3275"},"items":[]} ' headers: audit-id: - - 94eb20b1-c1d1-4c30-afa4-6e7af4ab3212 + - 460bebce-b8e1-4331-b1d9-b297f1930838 cache-control: - no-cache, private content-length: @@ -1766,11 +1956,11 @@ interactions: content-type: - application/json date: - - Sun, 01 Aug 2021 13:06:42 GMT + - Tue, 07 Jun 2022 17:55:47 GMT x-kubernetes-pf-flowschema-uid: - - 42425a08-be81-4317-a915-f233576debbf + - 3b9ec461-e128-4d99-abcc-65ad56c2f58e x-kubernetes-pf-prioritylevel-uid: - - e660e6bc-f525-4a90-b922-f9dcb6519d33 + - 93094910-4d9a-46c6-b59b-961811b7418b status: code: 200 message: OK @@ -1790,26 +1980,26 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/19.1.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.ContainerService/managedClusters/cli-test-aks-000001?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.ContainerService/managedClusters/cli-test-aks-000001?api-version=2022-04-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 cache-control: - no-cache content-length: - '0' date: - - Sun, 01 Aug 2021 13:06:44 GMT + - Tue, 07 Jun 2022 17:55:49 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operationresults/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operationresults/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 pragma: - no-cache server: @@ -1837,23 +2027,23 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/19.1.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\"\n }" + string: "{\n \"name\": \"9a96717c-1b96-f446-ba67-f234c9ddb743\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:55:50.4466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Sun, 01 Aug 2021 13:07:14 GMT + - Tue, 07 Jun 2022 17:56:20 GMT expires: - '-1' pragma: @@ -1885,23 +2075,23 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/19.1.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\"\n }" + string: "{\n \"name\": \"9a96717c-1b96-f446-ba67-f234c9ddb743\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:55:50.4466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Sun, 01 Aug 2021 13:07:45 GMT + - Tue, 07 Jun 2022 17:56:51 GMT expires: - '-1' pragma: @@ -1933,23 +2123,23 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/19.1.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\"\n }" + string: "{\n \"name\": \"9a96717c-1b96-f446-ba67-f234c9ddb743\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:55:50.4466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Sun, 01 Aug 2021 13:08:15 GMT + - Tue, 07 Jun 2022 17:57:21 GMT expires: - '-1' pragma: @@ -1981,23 +2171,23 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/19.1.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\"\n }" + string: "{\n \"name\": \"9a96717c-1b96-f446-ba67-f234c9ddb743\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:55:50.4466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Sun, 01 Aug 2021 13:08:45 GMT + - Tue, 07 Jun 2022 17:57:51 GMT expires: - '-1' pragma: @@ -2029,23 +2219,23 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/19.1.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\"\n }" + string: "{\n \"name\": \"9a96717c-1b96-f446-ba67-f234c9ddb743\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:55:50.4466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Sun, 01 Aug 2021 13:09:15 GMT + - Tue, 07 Jun 2022 17:58:21 GMT expires: - '-1' pragma: @@ -2077,23 +2267,23 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/19.1.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\"\n }" + string: "{\n \"name\": \"9a96717c-1b96-f446-ba67-f234c9ddb743\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:55:50.4466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Sun, 01 Aug 2021 13:09:45 GMT + - Tue, 07 Jun 2022 17:58:52 GMT expires: - '-1' pragma: @@ -2125,23 +2315,23 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/19.1.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\"\n }" + string: "{\n \"name\": \"9a96717c-1b96-f446-ba67-f234c9ddb743\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:55:50.4466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Sun, 01 Aug 2021 13:10:15 GMT + - Tue, 07 Jun 2022 17:59:22 GMT expires: - '-1' pragma: @@ -2173,23 +2363,23 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/19.1.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\"\n }" + string: "{\n \"name\": \"9a96717c-1b96-f446-ba67-f234c9ddb743\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:55:50.4466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Sun, 01 Aug 2021 13:10:46 GMT + - Tue, 07 Jun 2022 17:59:53 GMT expires: - '-1' pragma: @@ -2221,23 +2411,23 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/19.1.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\"\n }" + string: "{\n \"name\": \"9a96717c-1b96-f446-ba67-f234c9ddb743\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:55:50.4466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Sun, 01 Aug 2021 13:11:17 GMT + - Tue, 07 Jun 2022 18:00:23 GMT expires: - '-1' pragma: @@ -2269,23 +2459,23 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/19.1.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\"\n }" + string: "{\n \"name\": \"9a96717c-1b96-f446-ba67-f234c9ddb743\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:55:50.4466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Sun, 01 Aug 2021 13:11:47 GMT + - Tue, 07 Jun 2022 18:00:54 GMT expires: - '-1' pragma: @@ -2317,23 +2507,23 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/19.1.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\"\n }" + string: "{\n \"name\": \"9a96717c-1b96-f446-ba67-f234c9ddb743\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:55:50.4466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Sun, 01 Aug 2021 13:12:17 GMT + - Tue, 07 Jun 2022 18:01:24 GMT expires: - '-1' pragma: @@ -2365,23 +2555,23 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/19.1.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\"\n }" + string: "{\n \"name\": \"9a96717c-1b96-f446-ba67-f234c9ddb743\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:55:50.4466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Sun, 01 Aug 2021 13:12:48 GMT + - Tue, 07 Jun 2022 18:01:55 GMT expires: - '-1' pragma: @@ -2413,23 +2603,23 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/19.1.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\"\n }" + string: "{\n \"name\": \"9a96717c-1b96-f446-ba67-f234c9ddb743\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:55:50.4466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Sun, 01 Aug 2021 13:13:17 GMT + - Tue, 07 Jun 2022 18:02:25 GMT expires: - '-1' pragma: @@ -2461,23 +2651,23 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/19.1.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\"\n }" + string: "{\n \"name\": \"9a96717c-1b96-f446-ba67-f234c9ddb743\",\n \"status\": + \"InProgress\",\n \"startTime\": \"2022-06-07T17:55:50.4466666Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '126' content-type: - application/json date: - - Sun, 01 Aug 2021 13:13:48 GMT + - Tue, 07 Jun 2022 18:02:55 GMT expires: - '-1' pragma: @@ -2509,23 +2699,24 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/19.1.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/7c71969a-961b-46f4-ba67-f234c9ddb743?api-version=2017-08-31 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\"\n }" + string: "{\n \"name\": \"9a96717c-1b96-f446-ba67-f234c9ddb743\",\n \"status\": + \"Succeeded\",\n \"startTime\": \"2022-06-07T17:55:50.4466666Z\",\n \"endTime\": + \"2022-06-07T18:03:07.719248Z\"\n }" headers: cache-control: - no-cache content-length: - - '121' + - '169' content-type: - application/json date: - - Sun, 01 Aug 2021 13:14:18 GMT + - Tue, 07 Jun 2022 18:03:25 GMT expires: - '-1' pragma: @@ -2547,33 +2738,36 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - aks delete + - aks get-credentials Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - -g -n -y + - -g -n -f User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-containerservice/16.2.0 Python/3.7.7 + (Windows-10-10.0.22000-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.ContainerService/managedClusters/akkeshar/listClusterUserCredential?api-version=2021-08-01 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"InProgress\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\"\n }" + string: "{\n \"kubeconfigs\": [\n {\n \"name\": \"clusterUser\",\n \"value\": + \"YXBpVmVyc2lvbjogdjEKY2x1c3RlcnM6Ci0gY2x1c3RlcjoKICAgIGNlcnRpZmljYXRlLWF1dGhvcml0eS1kYXRhOiBMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VVMlZFTkRRWFJIWjBGM1NVSkJaMGxTUVU0NGRETmxVSEpaZUdwSWJrMDNLM0oyVjFvMGNVVjNSRkZaU2t0dldrbG9kbU5PUVZGRlRFSlJRWGNLUkZSRlRFMUJhMGRCTVZWRlFYaE5RMWt5UlhkSlFtTk9UV3BKZDAxVVJYcE5WRTB3VGxSTk1GZG9aMUJOYWtFeFRXcEJlRTFVVFhoTmVsVXhUWHBTWVFwTlFUQjRRM3BCU2tKblRsWkNRVTFVUVcxT2FFMUpTVU5KYWtGT1FtZHJjV2hyYVVjNWR6QkNRVkZGUmtGQlQwTkJaemhCVFVsSlEwTm5TME5CWjBWQkNuVnVUMWN2TlVKclVISkVlRVZCVEhoR2IxTTRSV1l3UjFWc2VTOXpTM1ZhTTIwdmNVaDRlREprVm1sV05tWjNWakp5Y2psTWNFVnFVMWhWZVdrNGMxa0tTamhLV1hGaE1VMUhhMWhOSzFCM01HazFWalZrTUdOQ05WTXpia1JLVnpOQ1RIZE9UMGhIWjJw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VQ25RM2JESjBSMlZsVFVjM1NHeHBZazVKU0ZaWlFrazRlU3RFVDFsQmNHSlVVVVp3YmtNeGNFcEpRM2huUjNoWk15OXVOMDFHYzBST09FNUVNWGg0VmtNS2NYVm9hbE0zZWxKYVJ6UnRVVXRzWVdOWFZYVjFObk5hYTFaVU0yVjNka3c1YVdveE5rSlNXRWR4VG10blZuSm1UbkZrVUc5TE1FbHVZelYwV0RSUFV3cFZTV2hTZGxremFUQTVTR3B2ZEdSWE9WQkNOVmR4T1RKNFVqaFpLM00wWVZseE9WZDZVRVY2WlROSlpsTkNSVFJxUjBZd01FUlRSbUZDU1QwS0xTMHRMUzFGVGtRZ1VsTkJJRkJTU1ZaQlZFVWdTMFZaTFMwdExTMEsKICAgIHRva2VuOiA3NzhmMDM3NzMzODljYTk1ZGQxYTc3ZDM2NzEzMTk4NTYxYmY1Y2NkNDkxOTJkODEwNzYwM2M5MGYyZTZmMGU2MzgyM2E2ODFlNDRlOTFmYjFhYzgwN2UyZDViYzU2ODAxMzczNDEyNDYzZjY3Y2IzY2NhMDc3OGYyOTA3ZTRjYQo=\"\n + \ }\n ]\n }" headers: cache-control: - no-cache content-length: - - '121' + - '12996' content-type: - application/json date: - - Sun, 01 Aug 2021 13:14:48 GMT + - Tue, 07 Jun 2022 18:03:30 GMT expires: - '-1' pragma: @@ -2588,6 +2782,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: code: 200 message: OK @@ -2595,44 +2791,344 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - aks delete + - connectedk8s connect Connection: - keep-alive ParameterSetName: - - -g -n -y + - -g -n -l --tags --kube-config --enable-private-link --pls-arm-id User-Agent: - - AZURECLI/2.26.1 azsdk-python-azure-mgmt-containerservice/16.0.0 Python/3.7.7 - (Windows-10-10.0.19041-SP0) + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westeurope/operations/555cde31-85d4-4cb5-98e4-4f41314d3b08?api-version=2017-08-31 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Kubernetes?api-version=2021-04-01 response: body: - string: "{\n \"name\": \"31de5c55-d485-b54c-98e4-4f41314d3b08\",\n \"status\": - \"Succeeded\",\n \"startTime\": \"2021-08-01T13:06:44.99Z\",\n \"endTime\": - \"2021-08-01T13:15:17.9802038Z\"\n }" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Kubernetes","namespace":"Microsoft.Kubernetes","authorizations":[{"applicationId":"64b12d6e-6549-484c-8cc6-6281839ba394","roleDefinitionId":"1d1d44cf-68a1-4def-a2b6-cd7efc3515af"},{"applicationId":"359431ad-ece5-496b-8768-be4bbfd82f36","roleDefinitionId":"1b5c71b7-9814-4b40-b62a-23018af874d8"},{"applicationId":"0000dab9-8b21-4ba2-807f-1743968cef00","roleDefinitionId":"1b5c71b7-9814-4b40-b62a-23018af874d8"},{"applicationId":"8edd93e1-2103-40b4-bd70-6e34e586362d","roleDefinitionId":"eb67887a-31e8-4e4e-bf5b-14ff79351a6f"}],"resourceTypes":[{"resourceType":"connectedClusters","locations":["West + Europe","East US","West Central US","South Central US","Southeast Asia","UK + South","East US 2","West US 2","Australia East","North Europe","France Central","Central + US","West US","North Central US","Korea Central","Japan East","West US 3","East + Asia","East US 2 EUAP","Canada East","Canada Central"],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"SystemAssignedResourceIdentity, + SupportsTags, SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US 2 EUAP","West Europe","East US","West Central US","South Central US","Southeast + Asia","UK South","East US 2","West US 2","Australia East","North Europe","France + Central","Central US","West US","North Central US","Korea Central","Japan + East","East Asia","West US 3","Canada East","Canada Central"],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"registeredSubscriptions","locations":[],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"Operations","locations":[],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview","2019-11-01-preview","2019-09-01-privatepreview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '165' + - '2311' content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 18:03:30 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: null + headers: + Accept: - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connectedk8s connect + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --kube-config --enable-private-link --pls-arm-id + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KubernetesConfiguration?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KubernetesConfiguration","namespace":"Microsoft.KubernetesConfiguration","authorizations":[{"applicationId":"c699bf69-fb1d-4eaf-999b-99e6b2ae4d85","roleDefinitionId":"90155430-a360-410f-af5d-89dc284d85c6"},{"applicationId":"03db181c-e9d3-4868-9097-f0b728327182","roleDefinitionId":"DE2ADB97-42D8-49C8-8FCF-DBB53EF936AC"},{"applicationId":"a0f92522-89de-4c5e-9a75-0044ccf66efd","roleDefinitionId":"b3429810-7d5c-420e-8605-cf280f3099f2"},{"applicationId":"bd9b7cd5-dac1-495f-b013-ac871e98fa5f","roleDefinitionId":"0d44c8f0-08b9-44d4-9f59-e51c83f95200"},{"applicationId":"585fc3c3-9a59-4720-8319-53cce041a605","roleDefinitionId":"4a9ce2ee-6de2-43ba-a7bd-8f316de763a7"}],"resourceTypes":[{"resourceType":"sourceControlConfigurations","locations":["East + US","West Europe","West Central US","West US 2","West US 3","South Central + US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France + Central","Central US","North Central US","West US","Korea Central","East Asia","Japan + East","Canada East","Canada Central","Norway East","Germany West Central","Sweden + Central","Switzerland North","Australia Southeast","Central India","East US + 2 EUAP","Central US EUAP"],"apiVersions":["2022-03-01","2021-03-01","2020-10-01-preview","2020-07-01-preview","2019-11-01-preview"],"defaultApiVersion":"2022-03-01","capabilities":"SupportsExtension"},{"resourceType":"extensions","locations":["East + US","West Europe","West Central US","West US 2","West US 3","South Central + US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France + Central","Central US","North Central US","West US","Korea Central","East Asia","Japan + East","Canada East","Canada Central","Norway East","Germany West Central","Sweden + Central","Switzerland North","Australia Southeast","Central India","East US + 2 EUAP","Central US EUAP"],"apiVersions":["2022-04-02-preview","2022-03-01","2021-09-01","2021-05-01-preview","2020-07-01-preview"],"defaultApiVersion":"2022-03-01","capabilities":"SystemAssignedResourceIdentity, + SupportsExtension"},{"resourceType":"fluxConfigurations","locations":["East + US","West Europe","West Central US","West US 2","West US 3","South Central + US","East US 2","North Europe","UK South","Southeast Asia","Australia East","France + Central","Central US","North Central US","West US","Korea Central","East Asia","Japan + East","Canada East","Canada Central","Norway East","Germany West Central","Sweden + Central","Switzerland North","Australia Southeast","Central India","East US + 2 EUAP","Central US EUAP"],"apiVersions":["2022-03-01","2022-01-01-preview","2021-11-01-preview","2021-06-01-preview"],"defaultApiVersion":"2022-03-01","capabilities":"SupportsExtension"},{"resourceType":"operations","locations":[],"apiVersions":["2022-03-01","2022-01-01-preview","2021-12-01-preview","2021-11-01-preview","2021-09-01","2021-06-01-preview","2021-05-01-preview","2021-03-01","2020-10-01-preview","2020-07-01-preview","2019-11-01-preview"],"capabilities":"None"},{"resourceType":"namespaces","locations":["East + US 2 EUAP","West US 2","East US","West Europe","West Central US","West US + 3","South Central US","East US 2","North Europe","UK South","Southeast Asia","Australia + East","France Central","Central US","North Central US","West US","Korea Central","East + Asia","Japan East"],"apiVersions":["2021-12-01-preview"],"defaultApiVersion":"2021-12-01-preview","capabilities":"SupportsExtension"},{"resourceType":"privateLinkScopes","locations":["East + US 2 EUAP"],"apiVersions":["2022-04-02-preview"],"capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"privateLinkScopes/privateEndpointConnections","locations":["East + US 2 EUAP"],"apiVersions":["2022-04-02-preview"],"capabilities":"None"},{"resourceType":"privateLinkScopes/privateEndpointConnectionProxies","locations":["East + US 2 EUAP"],"apiVersions":["2022-04-02-preview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '4029' + content-type: + - application/json; charset=utf-8 date: - - Sun, 01 Aug 2021 13:15:19 GMT + - Tue, 07 Jun 2022 18:03:30 GMT expires: - '-1' pragma: - no-cache - server: - - nginx strict-transport-security: - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/11.0.0/python + method: GET + uri: https://akkeshar-dns-08147f89.hcp.eastus2euap.azmk8s.io/apis/networking.k8s.io/v1/ + response: + body: + string: '{"kind":"APIResourceList","apiVersion":"v1","groupVersion":"networking.k8s.io/v1","resources":[{"name":"ingressclasses","singularName":"","namespaced":false,"kind":"IngressClass","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"storageVersionHash":"l/iqIbDgFyQ="},{"name":"ingresses","singularName":"","namespaced":true,"kind":"Ingress","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ing"],"storageVersionHash":"39NQlfNR+bo="},{"name":"ingresses/status","singularName":"","namespaced":true,"kind":"Ingress","verbs":["get","patch","update"]},{"name":"networkpolicies","singularName":"","namespaced":true,"kind":"NetworkPolicy","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["netpol"],"storageVersionHash":"YpfwF18m1G8="}]} + + ' + headers: + audit-id: + - 300422a0-ba2b-4ef6-b253-6c3ce12b3395 + cache-control: + - no-cache, private + content-length: + - '864' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 18:03:33 GMT + x-kubernetes-pf-flowschema-uid: + - 08843a36-c7a9-489b-a782-1dc805dc9f54 + x-kubernetes-pf-prioritylevel-uid: + - e6f4d88d-c43f-4941-a57f-7f1230896bdc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/11.0.0/python + method: GET + uri: https://akkeshar-dns-08147f89.hcp.eastus2euap.azmk8s.io/api/v1/nodes + response: + body: + string: '{"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"42261839"},"items":[{"metadata":{"name":"aks-agentpool-40341301-vmss000000","uid":"d93ff350-d287-419b-ad99-41ca212bab81","resourceVersion":"42261806","creationTimestamp":"2022-01-13T13:58:08Z","labels":{"agentpool":"agentpool","beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"Standard_B4ms","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"eastus2euap","failure-domain.beta.kubernetes.io/zone":"0","kubernetes.azure.com/agentpool":"agentpool","kubernetes.azure.com/cluster":"MC_akkeshar_akkeshar_eastus2euap","kubernetes.azure.com/mode":"system","kubernetes.azure.com/node-image-version":"AKSUbuntu-1804gen2containerd-2022.01.07","kubernetes.azure.com/os-sku":"Ubuntu","kubernetes.azure.com/role":"agent","kubernetes.azure.com/storageprofile":"managed","kubernetes.azure.com/storagetier":"Premium_LRS","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"aks-agentpool-40341301-vmss000000","kubernetes.io/os":"linux","kubernetes.io/role":"agent","node-role.kubernetes.io/agent":"","node.kubernetes.io/instance-type":"Standard_B4ms","storageprofile":"managed","storagetier":"Premium_LRS","topology.disk.csi.azure.com/zone":"","topology.kubernetes.io/region":"eastus2euap","topology.kubernetes.io/zone":"0"},"annotations":{"csi.volume.kubernetes.io/nodeid":"{\"disk.csi.azure.com\":\"aks-agentpool-40341301-vmss000000\",\"file.csi.azure.com\":\"aks-agentpool-40341301-vmss000000\"}","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2022-01-13T13:58:46Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:kubernetes.io/role":{},"f:node-role.kubernetes.io/agent":{}}}}},{"manager":"node-problem-detector","operation":"Update","apiVersion":"v1","time":"2022-01-13T14:01:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"ContainerRuntimeProblem\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"FilesystemCorruptionProblem\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"FreezeScheduled\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"FrequentContainerdRestart\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"FrequentDockerRestart\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"FrequentKubeletRestart\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"FrequentUnregisterNetDevice\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"KernelDeadlock\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"KubeletProblem\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"PreemptScheduled\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"ReadonlyFilesystem\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"RebootScheduled\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"RedeployScheduled\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"TerminateScheduled\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2022-05-24T22:30:36Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.244.2.0/24\"":{}}},"f:status":{"f:conditions":{"k:{\"type\":\"NetworkUnavailable\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2022-05-24T22:30:40Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:csi.volume.kubernetes.io/nodeid":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:agentpool":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/instance-type":{},"f:beta.kubernetes.io/os":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:failure-domain.beta.kubernetes.io/zone":{},"f:kubernetes.azure.com/agentpool":{},"f:kubernetes.azure.com/cluster":{},"f:kubernetes.azure.com/mode":{},"f:kubernetes.azure.com/node-image-version":{},"f:kubernetes.azure.com/os-sku":{},"f:kubernetes.azure.com/role":{},"f:kubernetes.azure.com/storageprofile":{},"f:kubernetes.azure.com/storagetier":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{},"f:node.kubernetes.io/instance-type":{},"f:storageprofile":{},"f:storagetier":{},"f:topology.disk.csi.azure.com/zone":{},"f:topology.kubernetes.io/region":{},"f:topology.kubernetes.io/zone":{}}},"f:spec":{"f:providerID":{}},"f:status":{"f:allocatable":{"f:attachable-volumes-azure-disk":{},"f:ephemeral-storage":{},"f:memory":{}},"f:capacity":{"f:attachable-volumes-azure-disk":{},"f:memory":{}},"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}}},"f:images":{},"f:nodeInfo":{"f:bootID":{},"f:kernelVersion":{}}}}}]},"spec":{"podCIDR":"10.244.2.0/24","podCIDRs":["10.244.2.0/24"],"providerID":"azure:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mc_akkeshar_akkeshar_eastus2euap/providers/Microsoft.Compute/virtualMachineScaleSets/aks-agentpool-40341301-vmss/virtualMachines/0"},"status":{"capacity":{"attachable-volumes-azure-disk":"8","cpu":"4","ephemeral-storage":"129900528Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"16393292Ki","pods":"110"},"allocatable":{"attachable-volumes-azure-disk":"8","cpu":"3860m","ephemeral-storage":"119716326407","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"12899404Ki","pods":"110"},"conditions":[{"type":"PreemptScheduled","status":"False","lastHeartbeatTime":"2022-06-07T18:01:36Z","lastTransitionTime":"2022-06-03T09:50:27Z","reason":"NoPreemptScheduled","message":"VM + has no scheduled Preempt event"},{"type":"FreezeScheduled","status":"False","lastHeartbeatTime":"2022-06-07T18:01:36Z","lastTransitionTime":"2022-06-04T14:42:30Z","reason":"NoFreezeScheduled","message":"VM + has no scheduled Freeze event"},{"type":"KernelDeadlock","status":"False","lastHeartbeatTime":"2022-06-07T18:01:36Z","lastTransitionTime":"2022-04-25T20:02:23Z","reason":"KernelHasNoDeadlock","message":"kernel + has no deadlock"},{"type":"KubeletProblem","status":"False","lastHeartbeatTime":"2022-06-07T18:01:36Z","lastTransitionTime":"2022-04-25T20:02:53Z","reason":"KubeletIsUp","message":"kubelet + service is up"},{"type":"FrequentKubeletRestart","status":"False","lastHeartbeatTime":"2022-06-07T18:01:36Z","lastTransitionTime":"2022-04-25T20:02:23Z","reason":"NoFrequentKubeletRestart","message":"kubelet + is functioning properly"},{"type":"ReadonlyFilesystem","status":"False","lastHeartbeatTime":"2022-06-07T18:01:36Z","lastTransitionTime":"2022-04-25T20:02:23Z","reason":"FilesystemIsNotReadOnly","message":"Filesystem + is not read-only"},{"type":"FrequentDockerRestart","status":"False","lastHeartbeatTime":"2022-06-07T18:01:36Z","lastTransitionTime":"2022-04-25T20:02:23Z","reason":"NoFrequentDockerRestart","message":"docker + is functioning properly"},{"type":"RebootScheduled","status":"False","lastHeartbeatTime":"2022-06-07T18:01:36Z","lastTransitionTime":"2022-06-03T09:50:29Z","reason":"NoRebootScheduled","message":"VM + has no scheduled Reboot event"},{"type":"ContainerRuntimeProblem","status":"False","lastHeartbeatTime":"2022-06-07T18:01:36Z","lastTransitionTime":"2022-04-25T20:02:23Z","reason":"ContainerRuntimeIsUp","message":"container + runtime service is up"},{"type":"FrequentUnregisterNetDevice","status":"False","lastHeartbeatTime":"2022-06-07T18:01:36Z","lastTransitionTime":"2022-04-25T20:02:23Z","reason":"NoFrequentUnregisterNetDevice","message":"node + is functioning properly"},{"type":"FilesystemCorruptionProblem","status":"False","lastHeartbeatTime":"2022-06-07T18:01:36Z","lastTransitionTime":"2022-04-25T20:02:23Z","reason":"FilesystemIsOK","message":"Filesystem + is healthy"},{"type":"TerminateScheduled","status":"False","lastHeartbeatTime":"2022-06-07T18:01:36Z","lastTransitionTime":"2022-06-03T09:50:27Z","reason":"NoTerminateScheduled","message":"VM + has no scheduled Terminate event"},{"type":"FrequentContainerdRestart","status":"False","lastHeartbeatTime":"2022-06-07T18:01:36Z","lastTransitionTime":"2022-04-25T20:02:23Z","reason":"NoFrequentContainerdRestart","message":"containerd + is functioning properly"},{"type":"RedeployScheduled","status":"False","lastHeartbeatTime":"2022-06-07T18:01:36Z","lastTransitionTime":"2022-06-03T09:50:28Z","reason":"NoRedeployScheduled","message":"VM + has no scheduled Redeploy event"},{"type":"NetworkUnavailable","status":"False","lastHeartbeatTime":"2022-01-13T13:59:11Z","lastTransitionTime":"2022-01-13T13:59:11Z","reason":"RouteCreated","message":"RouteController + created a route"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2022-06-07T18:03:25Z","lastTransitionTime":"2022-05-24T22:30:40Z","reason":"KubeletHasSufficientMemory","message":"kubelet + has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2022-06-07T18:03:25Z","lastTransitionTime":"2022-05-24T22:30:40Z","reason":"KubeletHasNoDiskPressure","message":"kubelet + has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2022-06-07T18:03:25Z","lastTransitionTime":"2022-05-24T22:30:40Z","reason":"KubeletHasSufficientPID","message":"kubelet + has sufficient PID available"},{"type":"Ready","status":"True","lastHeartbeatTime":"2022-06-07T18:03:25Z","lastTransitionTime":"2022-05-24T22:30:40Z","reason":"KubeletReady","message":"kubelet + is posting ready status. AppArmor enabled"}],"addresses":[{"type":"Hostname","address":"aks-agentpool-40341301-vmss000000"},{"type":"InternalIP","address":"10.240.0.4"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"f23b0be567cf4ac9bbb09642cae7ba1d","systemUUID":"163e0b8b-a136-42a0-ab05-593dc48ac32f","bootID":"81b6db8e-4025-44e9-9cac-ef5167d777b7","kernelVersion":"5.4.0-1077-azure","osImage":"Ubuntu + 18.04.6 LTS","containerRuntimeVersion":"containerd://1.4.9+azure","kubeletVersion":"v1.21.7","kubeProxyVersion":"v1.21.7","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["arck8sconformance.azurecr.io/arck8sconformance/platform@sha256:21ee537e2fb0e941e76c290fabae22cfdbf1ccc221ed16a544a28053a045526f","arck8sconformance.azurecr.io/arck8sconformance/platform:0.1.5"],"sizeBytes":585230961},{"names":["arck8sconformance.azurecr.io/arck8sconformance/agentcleanup@sha256:566ba1079509cbfdcc0c424b2f5efd91244a903f561bb0acefa3f800a8d7d26a","arck8sconformance.azurecr.io/arck8sconformance/agentcleanup:0.1.0"],"sizeBytes":416596253},{"names":["arck8sconformance.azurecr.io/samples/demo@sha256:d3e4626750d487861d95121319c15506a6a16fde5ed8212001464d0cdfe9d507","arck8sconformance.azurecr.io/samples/demo:v0.1.0"],"sizeBytes":347305950},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod10132021"],"sizeBytes":331573875},{"names":["devconformance.azurecr.io/platform@sha256:6b941358914a9f7ccd35a8d3b6c18fb3c966a1f6c167b05112bca750a0db7488","devconformance.azurecr.io/platform:v3"],"sizeBytes":323251482},{"names":["devconformance.azurecr.io/platform@sha256:72669df54f99b7a458eef7fc51e01b71f374d183504361d41c48a97e174f5156","devconformance.azurecr.io/platform:v2"],"sizeBytes":323129910},{"names":["arck8sconformance.azurecr.io/arck8sconformance/clusterconnect@sha256:75657e3a8662d5d9605fb05888f19e3e286768441dd984669ac9d4d620a7dedb","arck8sconformance.azurecr.io/arck8sconformance/clusterconnect:0.1.6"],"sizeBytes":288092397},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:0.49.3"],"sizeBytes":287741913},{"names":["arck8sconformance.azurecr.io/arck8sconformance/clusterconnect@sha256:24aca0a85bab7c5e7d9ae36ed9e7ae03be31aa6dfa15c3716e859e133015bb5b","arck8sconformance.azurecr.io/arck8sconformance/clusterconnect:0.1.5"],"sizeBytes":287662629},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:1.0.4"],"sizeBytes":287652512},{"names":["mcr.microsoft.com/oss/kubernetes/dashboard:v2.4.0"],"sizeBytes":224434239},{"names":["mcr.microsoft.com/oss/calico/node:v3.21.2"],"sizeBytes":218251246},{"names":["mcr.microsoft.com/oss/calico/node:v3.21.0"],"sizeBytes":192425455},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.23.3"],"sizeBytes":187302206},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.23.1"],"sizeBytes":187298621},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:0.19.0"],"sizeBytes":166352383},{"names":["mcr.microsoft.com/oss/cilium/cilium:1.10.3.3"],"sizeBytes":155490598},{"names":["mcr.microsoft.com/oss/cilium/cilium:1.10.5"],"sizeBytes":149643815},{"names":["mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.211104.1"],"sizeBytes":149514464},{"names":["mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.211013.1"],"sizeBytes":149493900},{"names":["mcr.microsoft.com/oss/calico/typha:v3.21.2"],"sizeBytes":129053019},{"names":["mcr.microsoft.com/oss/calico/typha:v3.21.0"],"sizeBytes":129012567},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:167efdfcc4acc5e701d30ec02dfdbb79d2e0c700a479b3a064e44018a81e42ee","mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.7-hotfix.20220420.1"],"sizeBytes":114188361},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:51a38b152239634fdcd4bf204219f33052799b8eea38750f90adde102fb81543","mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.7-hotfix.20220330.2"],"sizeBytes":114082872},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:71fa8a1035ec07b17bf06fc1e1a81caf766168462cfea25eca321e758c98f3a7","mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.7-hotfix.20220310.1"],"sizeBytes":107270314},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:a98a3496233207d97b546d855835f075f2fca6d28867048475a8f0f1a3bc0c01","mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.16.0"],"sizeBytes":107139720},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:91971fff7385e4750583b9a6f0b6695500b5f27fbb7c2537fcbae1e0851bef73","mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.15.0"],"sizeBytes":107050187},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.8.0.1"],"sizeBytes":106828430},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:652b7ef6952f2216c201ed2ac734f9d478b78bd5e758825b7c2491dbd06a3a2c","mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.7"],"sizeBytes":105353130},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:438bf62e7fcf507fb876cbf4c5c18026d2b89387d823e2f1127777f4798b170d","mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.7-hotfix.20220204"],"sizeBytes":105352620},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:acde96e8226b650f91eb8c4ff046143f68694e7f9a1ce721db6675e94b923f8d","mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.7-hotfix.20220130"],"sizeBytes":105352620},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:1.0.5"],"sizeBytes":103502273},{"names":["mcr.microsoft.com/oss/calico/node:v3.8.9.5"],"sizeBytes":101794833},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:423eb6cf602c064c8b2deefead5ceadd6324ed41b3d995dab5d0f6f0f4d4710f","mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.10.0"],"sizeBytes":100891776},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:049c2d0e56212e90bae8898fd6f2d8acbb71767a61101ee17ee606065cdc3468","mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.14.0"],"sizeBytes":100400591},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.2.0.6"],"sizeBytes":100397012},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.9.0"],"sizeBytes":99726350},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:7d8d8c5dd6b95a672fa81fa91f6196e163d30ea7ec372f9d9fc946c81c51508a","mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.13.0"],"sizeBytes":98712192},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:37b93243e548467a1e96c5287e38fb747b989a4f65103505d30503de47f58ff9","mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.12.0"],"sizeBytes":98693402},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:704e723596b0421e2cf6ad0194a40136256ac6fb4659cee683331f47e055e166","mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.11.0"],"sizeBytes":98680012},{"names":["mcr.microsoft.com/oss/fluxcd/flux@sha256:eaeb1920dc666efb07cd2c7c046109dfa301760510992f61581500643820074b","mcr.microsoft.com/oss/fluxcd/flux:1.21.2"],"sizeBytes":98617286},{"names":["mcr.microsoft.com/oss/cilium/operator:1.10.3"],"sizeBytes":98395697},{"names":["mcr.microsoft.com/aks/hcp/tunnel-openvpn:master.210623.2"],"sizeBytes":96125176},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi@sha256:ed06ff12566e4bc41b5392fb07a9c65f5b8571844e07f74544a022b5220345f6","mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.15.0"],"sizeBytes":95462502},{"names":["mcr.microsoft.com/oss/kubernetes/exechealthz:1.2_v0.0.5"],"sizeBytes":94348102},{"names":["mcr.microsoft.com/aks/acc/sgx-attestation:2.0"],"sizeBytes":91841669},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi@sha256:9e2ecabcf9dd9943e6600eb9fb460f45b4dc61af7cabe95d115082a029db2aaf","mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.9.0"],"sizeBytes":89210341},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.2.0"],"sizeBytes":89103171},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi@sha256:e2c22c5bda7501ec23753b5afedcc3d2e7cfcf1b443eb0f75e8998f9084a5c6c","mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.13.0"],"sizeBytes":88689791},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.8.0"],"sizeBytes":88364750}]}},{"metadata":{"name":"aks-agentpool-40341301-vmss000001","uid":"98bc447c-d33a-44fe-8e15-320f78186ce9","resourceVersion":"42261278","creationTimestamp":"2022-01-13T13:57:58Z","labels":{"agentpool":"agentpool","beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"Standard_B4ms","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"eastus2euap","failure-domain.beta.kubernetes.io/zone":"0","kubernetes.azure.com/agentpool":"agentpool","kubernetes.azure.com/cluster":"MC_akkeshar_akkeshar_eastus2euap","kubernetes.azure.com/mode":"system","kubernetes.azure.com/node-image-version":"AKSUbuntu-1804gen2containerd-2022.01.07","kubernetes.azure.com/os-sku":"Ubuntu","kubernetes.azure.com/role":"agent","kubernetes.azure.com/storageprofile":"managed","kubernetes.azure.com/storagetier":"Premium_LRS","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"aks-agentpool-40341301-vmss000001","kubernetes.io/os":"linux","kubernetes.io/role":"agent","node-role.kubernetes.io/agent":"","node.kubernetes.io/instance-type":"Standard_B4ms","storageprofile":"managed","storagetier":"Premium_LRS","topology.disk.csi.azure.com/zone":"","topology.kubernetes.io/region":"eastus2euap","topology.kubernetes.io/zone":"0"},"annotations":{"csi.volume.kubernetes.io/nodeid":"{\"disk.csi.azure.com\":\"aks-agentpool-40341301-vmss000001\",\"file.csi.azure.com\":\"aks-agentpool-40341301-vmss000001\"}","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2022-01-13T13:58:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:kubernetes.io/role":{},"f:node-role.kubernetes.io/agent":{}}}}},{"manager":"node-problem-detector","operation":"Update","apiVersion":"v1","time":"2022-01-13T14:01:34Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"ContainerRuntimeProblem\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"FilesystemCorruptionProblem\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"FreezeScheduled\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"FrequentContainerdRestart\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"FrequentDockerRestart\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"FrequentKubeletRestart\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"FrequentUnregisterNetDevice\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"KernelDeadlock\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"KubeletProblem\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"PreemptScheduled\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"ReadonlyFilesystem\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"RebootScheduled\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"RedeployScheduled\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"TerminateScheduled\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2022-05-24T22:30:45Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.244.0.0/24\"":{}}},"f:status":{"f:conditions":{"k:{\"type\":\"NetworkUnavailable\"}":{".":{},"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2022-05-24T22:30:50Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:csi.volume.kubernetes.io/nodeid":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:agentpool":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/instance-type":{},"f:beta.kubernetes.io/os":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:failure-domain.beta.kubernetes.io/zone":{},"f:kubernetes.azure.com/agentpool":{},"f:kubernetes.azure.com/cluster":{},"f:kubernetes.azure.com/mode":{},"f:kubernetes.azure.com/node-image-version":{},"f:kubernetes.azure.com/os-sku":{},"f:kubernetes.azure.com/role":{},"f:kubernetes.azure.com/storageprofile":{},"f:kubernetes.azure.com/storagetier":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{},"f:node.kubernetes.io/instance-type":{},"f:storageprofile":{},"f:storagetier":{},"f:topology.disk.csi.azure.com/zone":{},"f:topology.kubernetes.io/region":{},"f:topology.kubernetes.io/zone":{}}},"f:spec":{"f:providerID":{}},"f:status":{"f:allocatable":{"f:attachable-volumes-azure-disk":{},"f:memory":{}},"f:capacity":{"f:attachable-volumes-azure-disk":{},"f:memory":{}},"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}}},"f:images":{},"f:nodeInfo":{"f:bootID":{},"f:kernelVersion":{}}}}}]},"spec":{"podCIDR":"10.244.0.0/24","podCIDRs":["10.244.0.0/24"],"providerID":"azure:///subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mc_akkeshar_akkeshar_eastus2euap/providers/Microsoft.Compute/virtualMachineScaleSets/aks-agentpool-40341301-vmss/virtualMachines/1"},"status":{"capacity":{"attachable-volumes-azure-disk":"8","cpu":"4","ephemeral-storage":"129900528Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"16393288Ki","pods":"110"},"allocatable":{"attachable-volumes-azure-disk":"8","cpu":"3860m","ephemeral-storage":"119716326407","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"12899400Ki","pods":"110"},"conditions":[{"type":"FreezeScheduled","status":"False","lastHeartbeatTime":"2022-06-07T17:59:58Z","lastTransitionTime":"2022-06-04T17:16:26Z","reason":"NoFreezeScheduled","message":"VM + has no scheduled Freeze event"},{"type":"RedeployScheduled","status":"False","lastHeartbeatTime":"2022-06-07T17:59:58Z","lastTransitionTime":"2022-05-14T01:27:23Z","reason":"NoRedeployScheduled","message":"VM + has no scheduled Redeploy event"},{"type":"RebootScheduled","status":"False","lastHeartbeatTime":"2022-06-07T17:59:58Z","lastTransitionTime":"2022-05-14T01:27:23Z","reason":"NoRebootScheduled","message":"VM + has no scheduled Reboot event"},{"type":"FrequentDockerRestart","status":"False","lastHeartbeatTime":"2022-06-07T17:59:58Z","lastTransitionTime":"2022-05-14T01:27:23Z","reason":"NoFrequentDockerRestart","message":"docker + is functioning properly"},{"type":"KernelDeadlock","status":"False","lastHeartbeatTime":"2022-06-07T17:59:58Z","lastTransitionTime":"2022-05-14T01:27:23Z","reason":"KernelHasNoDeadlock","message":"kernel + has no deadlock"},{"type":"FrequentContainerdRestart","status":"False","lastHeartbeatTime":"2022-06-07T17:59:58Z","lastTransitionTime":"2022-05-14T01:27:23Z","reason":"NoFrequentContainerdRestart","message":"containerd + is functioning properly"},{"type":"KubeletProblem","status":"False","lastHeartbeatTime":"2022-06-07T17:59:58Z","lastTransitionTime":"2022-05-14T01:27:53Z","reason":"KubeletIsUp","message":"kubelet + service is up"},{"type":"ReadonlyFilesystem","status":"False","lastHeartbeatTime":"2022-06-07T17:59:58Z","lastTransitionTime":"2022-05-14T01:27:23Z","reason":"FilesystemIsNotReadOnly","message":"Filesystem + is not read-only"},{"type":"FrequentUnregisterNetDevice","status":"False","lastHeartbeatTime":"2022-06-07T17:59:58Z","lastTransitionTime":"2022-05-14T01:27:23Z","reason":"NoFrequentUnregisterNetDevice","message":"node + is functioning properly"},{"type":"FilesystemCorruptionProblem","status":"False","lastHeartbeatTime":"2022-06-07T17:59:58Z","lastTransitionTime":"2022-05-14T01:27:23Z","reason":"FilesystemIsOK","message":"Filesystem + is healthy"},{"type":"TerminateScheduled","status":"False","lastHeartbeatTime":"2022-06-07T17:59:58Z","lastTransitionTime":"2022-05-14T01:27:23Z","reason":"NoTerminateScheduled","message":"VM + has no scheduled Terminate event"},{"type":"FrequentKubeletRestart","status":"False","lastHeartbeatTime":"2022-06-07T17:59:58Z","lastTransitionTime":"2022-05-14T01:27:23Z","reason":"NoFrequentKubeletRestart","message":"kubelet + is functioning properly"},{"type":"ContainerRuntimeProblem","status":"False","lastHeartbeatTime":"2022-06-07T17:59:58Z","lastTransitionTime":"2022-05-14T01:27:23Z","reason":"ContainerRuntimeIsUp","message":"container + runtime service is up"},{"type":"PreemptScheduled","status":"False","lastHeartbeatTime":"2022-06-07T17:59:58Z","lastTransitionTime":"2022-06-03T10:52:53Z","reason":"NoPreemptScheduled","message":"VM + has no scheduled Preempt event"},{"type":"NetworkUnavailable","status":"False","lastHeartbeatTime":"2022-01-13T13:58:41Z","lastTransitionTime":"2022-01-13T13:58:41Z","reason":"RouteCreated","message":"RouteController + created a route"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2022-06-07T18:00:44Z","lastTransitionTime":"2022-05-24T22:30:50Z","reason":"KubeletHasSufficientMemory","message":"kubelet + has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2022-06-07T18:00:44Z","lastTransitionTime":"2022-05-24T22:30:50Z","reason":"KubeletHasNoDiskPressure","message":"kubelet + has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2022-06-07T18:00:44Z","lastTransitionTime":"2022-05-24T22:30:50Z","reason":"KubeletHasSufficientPID","message":"kubelet + has sufficient PID available"},{"type":"Ready","status":"True","lastHeartbeatTime":"2022-06-07T18:00:44Z","lastTransitionTime":"2022-05-24T22:30:50Z","reason":"KubeletReady","message":"kubelet + is posting ready status. AppArmor enabled"}],"addresses":[{"type":"Hostname","address":"aks-agentpool-40341301-vmss000001"},{"type":"InternalIP","address":"10.240.0.5"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"68c68ce60961449592a49b380dc3cdb5","systemUUID":"93349a55-c2d8-4ca4-817f-429444dbd221","bootID":"69e1667e-3dc3-4f1f-a922-1f045ea546ce","kernelVersion":"5.4.0-1078-azure","osImage":"Ubuntu + 18.04.6 LTS","containerRuntimeVersion":"containerd://1.4.9+azure","kubeletVersion":"v1.21.7","kubeProxyVersion":"v1.21.7","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["arck8sconformance.azurecr.io/samples/demo@sha256:d3e4626750d487861d95121319c15506a6a16fde5ed8212001464d0cdfe9d507","arck8sconformance.azurecr.io/samples/demo:v0.1.0"],"sizeBytes":347305950},{"names":["mcr.microsoft.com/azuremonitor/containerinsights/ciprod:ciprod10132021"],"sizeBytes":331573875},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:0.49.3"],"sizeBytes":287741913},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:1.0.4"],"sizeBytes":287652512},{"names":["mcr.microsoft.com/oss/kubernetes/dashboard:v2.4.0"],"sizeBytes":224434239},{"names":["mcr.microsoft.com/oss/calico/node:v3.21.2"],"sizeBytes":218251246},{"names":["mcr.microsoft.com/oss/calico/node:v3.21.0"],"sizeBytes":192425455},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.23.3"],"sizeBytes":187302206},{"names":["mcr.microsoft.com/oss/tigera/operator:v1.23.1"],"sizeBytes":187298621},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:0.19.0"],"sizeBytes":166352383},{"names":["mcr.microsoft.com/oss/cilium/cilium:1.10.3.3"],"sizeBytes":155490598},{"names":["mcr.microsoft.com/oss/cilium/cilium:1.10.5"],"sizeBytes":149643815},{"names":["mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.211104.1"],"sizeBytes":149514464},{"names":["mcr.microsoft.com/aks/hcp/hcp-tunnel-front:master.211013.1"],"sizeBytes":149493900},{"names":["mcr.microsoft.com/oss/calico/typha:v3.21.2"],"sizeBytes":129053019},{"names":["mcr.microsoft.com/oss/calico/typha:v3.21.0"],"sizeBytes":129012567},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:167efdfcc4acc5e701d30ec02dfdbb79d2e0c700a479b3a064e44018a81e42ee","mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.7-hotfix.20220420.1"],"sizeBytes":114188361},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:51a38b152239634fdcd4bf204219f33052799b8eea38750f90adde102fb81543","mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.7-hotfix.20220330.2"],"sizeBytes":114082872},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:71fa8a1035ec07b17bf06fc1e1a81caf766168462cfea25eca321e758c98f3a7","mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.7-hotfix.20220310.1"],"sizeBytes":107270314},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:a98a3496233207d97b546d855835f075f2fca6d28867048475a8f0f1a3bc0c01","mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.16.0"],"sizeBytes":107139720},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:91971fff7385e4750583b9a6f0b6695500b5f27fbb7c2537fcbae1e0851bef73","mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.15.0"],"sizeBytes":107050187},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.8.0.1"],"sizeBytes":106828430},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:652b7ef6952f2216c201ed2ac734f9d478b78bd5e758825b7c2491dbd06a3a2c","mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.7"],"sizeBytes":105353130},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:438bf62e7fcf507fb876cbf4c5c18026d2b89387d823e2f1127777f4798b170d","mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.7-hotfix.20220204"],"sizeBytes":105352620},{"names":["mcr.microsoft.com/oss/kubernetes/kube-proxy@sha256:acde96e8226b650f91eb8c4ff046143f68694e7f9a1ce721db6675e94b923f8d","mcr.microsoft.com/oss/kubernetes/kube-proxy:v1.21.7-hotfix.20220130"],"sizeBytes":105352620},{"names":["mcr.microsoft.com/oss/kubernetes/ingress/nginx-ingress-controller:1.0.5"],"sizeBytes":103502273},{"names":["mcr.microsoft.com/oss/calico/node:v3.8.9.5"],"sizeBytes":101794833},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:423eb6cf602c064c8b2deefead5ceadd6324ed41b3d995dab5d0f6f0f4d4710f","mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.10.0"],"sizeBytes":100891776},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:049c2d0e56212e90bae8898fd6f2d8acbb71767a61101ee17ee606065cdc3468","mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.14.0"],"sizeBytes":100400591},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.2.0.6"],"sizeBytes":100397012},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.9.0"],"sizeBytes":99726350},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:7d8d8c5dd6b95a672fa81fa91f6196e163d30ea7ec372f9d9fc946c81c51508a","mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.13.0"],"sizeBytes":98712192},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:37b93243e548467a1e96c5287e38fb747b989a4f65103505d30503de47f58ff9","mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.12.0"],"sizeBytes":98693402},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:704e723596b0421e2cf6ad0194a40136256ac6fb4659cee683331f47e055e166","mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.11.0"],"sizeBytes":98680012},{"names":["mcr.microsoft.com/oss/cilium/operator:1.10.3"],"sizeBytes":98395697},{"names":["mcr.microsoft.com/aks/hcp/tunnel-openvpn:master.210623.2"],"sizeBytes":96125176},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi@sha256:ed06ff12566e4bc41b5392fb07a9c65f5b8571844e07f74544a022b5220345f6","mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.15.0"],"sizeBytes":95462502},{"names":["mcr.microsoft.com/oss/kubernetes/exechealthz:1.2_v0.0.5"],"sizeBytes":94348102},{"names":["mcr.microsoft.com/aks/acc/sgx-attestation:2.0"],"sizeBytes":91841669},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi@sha256:9e2ecabcf9dd9943e6600eb9fb460f45b4dc61af7cabe95d115082a029db2aaf","mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.9.0"],"sizeBytes":89210341},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.2.0"],"sizeBytes":89103171},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi@sha256:e2c22c5bda7501ec23753b5afedcc3d2e7cfcf1b443eb0f75e8998f9084a5c6c","mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.13.0"],"sizeBytes":88689791},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.8.0"],"sizeBytes":88364750},{"names":["mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.5.0-rc1"],"sizeBytes":88039673},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.7.0"],"sizeBytes":87489567},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi@sha256:42a10ba5bee0900c3c4d9c85439eb52c664cb23045cadb1804d289f3fdafb46e","mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.12.0"],"sizeBytes":86984035},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi@sha256:e64dcf287286db2388e2a9af2f7a6e307fd34e6dbf201e05368112004a178ed3","mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.11.0"],"sizeBytes":86960638},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi@sha256:51a9443246d8aa2778a51352fa8321c264c0bc71db1bfecb94abd59fcbc866a5","mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.10.0"],"sizeBytes":86953572},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:bee5ea3684be60088e97191f67300aa987a8eac403a80f6a205852ed21f81590","mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.18.0"],"sizeBytes":85633800},{"names":["mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi@sha256:03c648dca5092cb489b68be03ec054ac86654148784ae3636518c81ed3460207","mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.17.0"],"sizeBytes":85541532}]}}]} + + ' + headers: + audit-id: + - 0fcab4ed-a75b-43ae-a440-79f320bbb4ae + cache-control: + - no-cache, private + content-type: + - application/json + date: + - Tue, 07 Jun 2022 18:03:34 GMT transfer-encoding: - chunked + x-kubernetes-pf-flowschema-uid: + - 08843a36-c7a9-489b-a782-1dc805dc9f54 + x-kubernetes-pf-prioritylevel-uid: + - e6f4d88d-c43f-4941-a57f-7f1230896bdc + status: + code: 200 + message: OK +- request: + body: '{"spec": {"resourceAttributes": {"verb": "create", "resource": "clusterrolebindings", + "group": "rbac.authorization.k8s.io"}}}' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/11.0.0/python + method: POST + uri: https://akkeshar-dns-08147f89.hcp.eastus2euap.azmk8s.io/apis/authorization.k8s.io/v1/selfsubjectaccessreviews + response: + body: + string: '{"kind":"SelfSubjectAccessReview","apiVersion":"authorization.k8s.io/v1","metadata":{"creationTimestamp":null,"managedFields":[{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"authorization.k8s.io/v1","time":"2022-06-07T18:03:35Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:resourceAttributes":{".":{},"f:group":{},"f:resource":{},"f:verb":{}}}}}]},"spec":{"resourceAttributes":{"verb":"create","group":"rbac.authorization.k8s.io","resource":"clusterrolebindings"}},"status":{"allowed":true}} + + ' + headers: + audit-id: + - fdc50849-4300-4f0e-b021-4e8474e24755 + cache-control: + - no-cache, private + content-length: + - '516' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 18:03:35 GMT + x-kubernetes-pf-flowschema-uid: + - 08843a36-c7a9-489b-a782-1dc805dc9f54 + x-kubernetes-pf-prioritylevel-uid: + - e6f4d88d-c43f-4941-a57f-7f1230896bdc + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/11.0.0/python + method: GET + uri: https://akkeshar-dns-08147f89.hcp.eastus2euap.azmk8s.io/version/ + response: + body: + string: "{\n \"major\": \"1\",\n \"minor\": \"21\",\n \"gitVersion\": \"v1.21.7\",\n + \ \"gitCommit\": \"a326522ffdc578d1ac5c14cf8d0160feda9b13fc\",\n \"gitTreeState\": + \"clean\",\n \"buildDate\": \"2022-04-21T07:40:45Z\",\n \"goVersion\": \"go1.16.10\",\n + \ \"compiler\": \"gc\",\n \"platform\": \"linux/amd64\"\n}" + headers: + audit-id: + - fc4cd8fb-2ff2-4058-b231-149850df12e4 + cache-control: + - no-cache, private + content-length: + - '264' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 18:03:36 GMT + x-kubernetes-pf-flowschema-uid: + - 08843a36-c7a9-489b-a782-1dc805dc9f54 + x-kubernetes-pf-prioritylevel-uid: + - e6f4d88d-c43f-4941-a57f-7f1230896bdc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connectedk8s connect + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --kube-config --enable-private-link --pls-arm-id + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Kubernetes?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Kubernetes","namespace":"Microsoft.Kubernetes","authorizations":[{"applicationId":"64b12d6e-6549-484c-8cc6-6281839ba394","roleDefinitionId":"1d1d44cf-68a1-4def-a2b6-cd7efc3515af"},{"applicationId":"359431ad-ece5-496b-8768-be4bbfd82f36","roleDefinitionId":"1b5c71b7-9814-4b40-b62a-23018af874d8"},{"applicationId":"0000dab9-8b21-4ba2-807f-1743968cef00","roleDefinitionId":"1b5c71b7-9814-4b40-b62a-23018af874d8"},{"applicationId":"8edd93e1-2103-40b4-bd70-6e34e586362d","roleDefinitionId":"eb67887a-31e8-4e4e-bf5b-14ff79351a6f"}],"resourceTypes":[{"resourceType":"connectedClusters","locations":["West + Europe","East US","West Central US","South Central US","Southeast Asia","UK + South","East US 2","West US 2","Australia East","North Europe","France Central","Central + US","West US","North Central US","Korea Central","Japan East","West US 3","East + Asia","East US 2 EUAP","Canada East","Canada Central"],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"SystemAssignedResourceIdentity, + SupportsTags, SupportsLocation"},{"resourceType":"locations","locations":[],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"locations/operationStatuses","locations":["East + US 2 EUAP","West Europe","East US","West Central US","South Central US","Southeast + Asia","UK South","East US 2","West US 2","Australia East","North Europe","France + Central","Central US","West US","North Central US","Korea Central","Japan + East","East Asia","West US 3","Canada East","Canada Central"],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"registeredSubscriptions","locations":[],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview"],"capabilities":"None"},{"resourceType":"Operations","locations":[],"apiVersions":["2022-05-01-preview","2021-10-01","2021-04-01-preview","2021-03-01","2020-01-01-preview","2019-11-01-preview","2019-09-01-privatepreview"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '2311' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 18:03:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains vary: - Accept-Encoding x-content-type-options: @@ -2640,4 +3136,910 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connectedk8s connect + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --kube-config --enable-private-link --pls-arm-id + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cliplscc?api-version=2022-05-01-preview + response: + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Kubernetes/connectedClusters/cliplscc'' + under resource group ''akkeshar'' was not found. For more details please go + to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '227' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 18:03:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/11.0.0/python + method: GET + uri: https://akkeshar-dns-08147f89.hcp.eastus2euap.azmk8s.io/api/v1/namespaces + response: + body: + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"42261857"},"items":[{"metadata":{"name":"default","uid":"378b4c98-7cf9-4087-a47c-6964c6df767b","resourceVersion":"207","creationTimestamp":"2022-01-13T13:56:24Z","labels":{"kubernetes.io/metadata.name":"default"},"managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"v1","time":"2022-01-13T13:56:24Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}},{"metadata":{"name":"gatekeeper-system","uid":"dcafa84d-af5f-49ec-adef-a54c1c5b434d","resourceVersion":"36233709","creationTimestamp":"2022-05-17T16:35:37Z","labels":{"addonmanager.kubernetes.io/mode":"Reconcile","admission.gatekeeper.sh/ignore":"no-self-managing","control-plane":"controller-manager","gatekeeper.sh/system":"yes","kubernetes.io/metadata.name":"gatekeeper-system"},"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"v1\",\"kind\":\"Namespace\",\"metadata\":{\"annotations\":{},\"labels\":{\"addonmanager.kubernetes.io/mode\":\"Reconcile\",\"admission.gatekeeper.sh/ignore\":\"no-self-managing\",\"control-plane\":\"controller-manager\",\"gatekeeper.sh/system\":\"yes\"},\"name\":\"gatekeeper-system\"}}\n"},"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"v1","time":"2022-05-17T16:35:37Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}},"f:labels":{".":{},"f:addonmanager.kubernetes.io/mode":{},"f:admission.gatekeeper.sh/ignore":{},"f:control-plane":{},"f:gatekeeper.sh/system":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}},{"metadata":{"name":"kube-node-lease","uid":"03ccdf6b-d52e-41ad-bdcc-cdb3a51e6f86","resourceVersion":"32","creationTimestamp":"2022-01-13T13:56:21Z","labels":{"kubernetes.io/metadata.name":"kube-node-lease"},"managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"v1","time":"2022-01-13T13:56:21Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}},{"metadata":{"name":"kube-public","uid":"23c13bf5-359c-4ed5-9a29-ab3ac1d142c9","resourceVersion":"13","creationTimestamp":"2022-01-13T13:56:21Z","labels":{"kubernetes.io/metadata.name":"kube-public"},"managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"v1","time":"2022-01-13T13:56:21Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}},{"metadata":{"name":"kube-system","uid":"4d6af319-0ca3-4229-a277-0672e6a186db","resourceVersion":"516","creationTimestamp":"2022-01-13T13:56:21Z","labels":{"addonmanager.kubernetes.io/mode":"Reconcile","control-plane":"true","kubernetes.io/cluster-service":"true","kubernetes.io/metadata.name":"kube-system"},"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"v1\",\"kind\":\"Namespace\",\"metadata\":{\"annotations\":{},\"labels\":{\"addonmanager.kubernetes.io/mode\":\"Reconcile\",\"control-plane\":\"true\",\"kubernetes.io/cluster-service\":\"true\"},\"name\":\"kube-system\"}}\n"},"managedFields":[{"manager":"kube-apiserver","operation":"Update","apiVersion":"v1","time":"2022-01-13T13:56:21Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}}},{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"v1","time":"2022-01-13T13:56:46Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}},"f:labels":{"f:addonmanager.kubernetes.io/mode":{},"f:control-plane":{},"f:kubernetes.io/cluster-service":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}}]} + + ' + headers: + audit-id: + - d56107ff-892a-4e6f-81d6-31159f00af6e + cache-control: + - no-cache, private + content-type: + - application/json + date: + - Tue, 07 Jun 2022 18:03:40 GMT + transfer-encoding: + - chunked + x-kubernetes-pf-flowschema-uid: + - 08843a36-c7a9-489b-a782-1dc805dc9f54 + x-kubernetes-pf-prioritylevel-uid: + - e6f4d88d-c43f-4941-a57f-7f1230896bdc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connectedk8s connect + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --kube-config --enable-private-link --pls-arm-id + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar","name":"akkeshar","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"Created":"20210721"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '243' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 18:03:40 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connectedk8s connect + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n -l --tags --kube-config --enable-private-link --pls-arm-id + User-Agent: + - python/3.7.7 (Windows-10-10.0.22000-SP0) AZURECLI/2.37.0 + method: POST + uri: https://eastus.dp.kubernetesconfiguration.azure.com/azure-arc-k8sagents/GetLatestHelmPackagePath?api-version=2019-11-01-preview&releaseTrain=stable + response: + body: + string: '{"repositoryPath":"mcr.microsoft.com/azurearck8s/batch1/stable/azure-arc-k8sagents:1.6.16"}' + headers: + api-supported-versions: + - 2019-11-01-Preview + connection: + - close + content-length: + - '91' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 18:03:41 GMT + strict-transport-security: + - max-age=15724800; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"tags": {"foo": "doo"}, "location": "eastus", "identity": {"type": "SystemAssigned"}, + "properties": {"agentPublicKeyCertificate": "MIICCgKCAgEAsv0RDagHtwzZ8MMjn6rcn86hyyzSCnM24phfO8UxvSL2PMSMvZiKDtGvkSJ48H6Zp8zeVxK66P7kTS35wbQtfAExuN0YHHKKh3PcDYMb+0Vqym0V3yGa5jRz7RI6QnB5Qf4cGCKC6777fdq9CEYH2SZnyMr9xg/dVWe7RSHnzufltQLZYdXFG2VK37CbJTBgfS1narI2o9iBPUmh6ZlUwJJsQ2bpC8KotS2QIWMVUaX8rF2Wq0UtMp1NMc6yXghr6Vn6z6HLPieZmJsorrjyagzvdapJTvdMNhxvbNTwa/ghV3dUVSfxg4NDVmkG9G67gqx67UNHJZ/F4NHmAzrzCdHDT9bETFFYsdW5rcR/J637jZGv+yVK2k8TYc1aqMh22PvIpKb1oDG9OYdOPOc6xt1dXsU8ufQNTauC+kj8bP1+fo+sFgB/PEp/I1INCh+AXDuaLBIF3lff+iaOoOWU6XCP/Del9xwCWgeiWzgM4pYEInA9wYLi61wHt2hUy6/dkFGTj22iiDF/xNVbLwjztGAEnqlGmCCJ+zDA+hrnj98oDDUIn87UIB/hjoiBokUp2p6QCln72TkovVkXvFj8XyhzdJOs0FMartX0CB0LtRfie5VtFBv7rH5fn57peEMrYv5042zqNUVXPG/o1TLkYJ/9QiQmtJ+VohXlAR+t2p8CAwEAAQ==", + "distribution": "aks", "infrastructure": "azure", "privateLinkState": "Enabled", + "privateLinkScopeResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar-pls/providers/Microsoft.HybridCompute/privateLinkScopes/testpls"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connectedk8s connect + Connection: + - keep-alive + Content-Length: + - '1093' + Content-Type: + - application/json + ParameterSetName: + - -g -n -l --tags --kube-config --enable-private-link --pls-arm-id + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cliplscc?api-version=2022-05-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cliplscc","name":"cliplscc","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{"foo":"doo"},"systemData":{"createdBy":"akkeshar@microsoft.com","createdByType":"User","createdAt":"2022-06-07T18:04:15.1402577Z","lastModifiedBy":"akkeshar@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-07T18:04:15.1402577Z"},"identity":{"principalId":"89181e76-2e9d-4546-8b41-168e985fca0c","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Accepted","connectivityStatus":"Connecting","privateLinkState":"Enabled","agentPublicKeyCertificate":"MIICCgKCAgEAsv0RDagHtwzZ8MMjn6rcn86hyyzSCnM24phfO8UxvSL2PMSMvZiKDtGvkSJ48H6Zp8zeVxK66P7kTS35wbQtfAExuN0YHHKKh3PcDYMb+0Vqym0V3yGa5jRz7RI6QnB5Qf4cGCKC6777fdq9CEYH2SZnyMr9xg/dVWe7RSHnzufltQLZYdXFG2VK37CbJTBgfS1narI2o9iBPUmh6ZlUwJJsQ2bpC8KotS2QIWMVUaX8rF2Wq0UtMp1NMc6yXghr6Vn6z6HLPieZmJsorrjyagzvdapJTvdMNhxvbNTwa/ghV3dUVSfxg4NDVmkG9G67gqx67UNHJZ/F4NHmAzrzCdHDT9bETFFYsdW5rcR/J637jZGv+yVK2k8TYc1aqMh22PvIpKb1oDG9OYdOPOc6xt1dXsU8ufQNTauC+kj8bP1+fo+sFgB/PEp/I1INCh+AXDuaLBIF3lff+iaOoOWU6XCP/Del9xwCWgeiWzgM4pYEInA9wYLi61wHt2hUy6/dkFGTj22iiDF/xNVbLwjztGAEnqlGmCCJ+zDA+hrnj98oDDUIn87UIB/hjoiBokUp2p6QCln72TkovVkXvFj8XyhzdJOs0FMartX0CB0LtRfie5VtFBv7rH5fn57peEMrYv5042zqNUVXPG/o1TLkYJ/9QiQmtJ+VohXlAR+t2p8CAwEAAQ==","distribution":"aks","infrastructure":"azure","privateLinkScopeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar-pls/providers/Microsoft.HybridCompute/privateLinkScopes/testpls"}}' + headers: + azure-asyncoperation: + - https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/c076ac8a-20b0-43d6-a8cd-fcb614a1205c*8738D9B038F603442BFE6B89D055B1E438DA9BC8B386B2FE9015CECB2D2CC8DB?api-version=2022-05-01-preview + cache-control: + - no-cache + content-length: + - '1686' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 18:04:20 GMT + etag: + - '"1001c50b-0000-0100-0000-629f93220000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connectedk8s connect + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --kube-config --enable-private-link --pls-arm-id + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/c076ac8a-20b0-43d6-a8cd-fcb614a1205c*8738D9B038F603442BFE6B89D055B1E438DA9BC8B386B2FE9015CECB2D2CC8DB?api-version=2022-05-01-preview + response: + body: + string: '{"id":"/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/c076ac8a-20b0-43d6-a8cd-fcb614a1205c*8738D9B038F603442BFE6B89D055B1E438DA9BC8B386B2FE9015CECB2D2CC8DB","name":"c076ac8a-20b0-43d6-a8cd-fcb614a1205c*8738D9B038F603442BFE6B89D055B1E438DA9BC8B386B2FE9015CECB2D2CC8DB","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cliplscc","status":"Succeeded","startTime":"2022-06-07T18:04:18.033749Z","endTime":"2022-06-07T18:04:25.5540321Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '559' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 18:04:51 GMT + etag: + - '"2d000b4b-0000-0100-0000-629f93290000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connectedk8s connect + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --kube-config --enable-private-link --pls-arm-id + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cliplscc?api-version=2022-05-01-preview + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cliplscc","name":"cliplscc","type":"microsoft.kubernetes/connectedclusters","location":"eastus","tags":{"foo":"doo"},"systemData":{"createdBy":"akkeshar@microsoft.com","createdByType":"User","createdAt":"2022-06-07T18:04:15.1402577Z","lastModifiedBy":"akkeshar@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2022-06-07T18:04:15.1402577Z"},"identity":{"principalId":"89181e76-2e9d-4546-8b41-168e985fca0c","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded","connectivityStatus":"Connecting","privateLinkState":"Enabled","agentPublicKeyCertificate":"MIICCgKCAgEAsv0RDagHtwzZ8MMjn6rcn86hyyzSCnM24phfO8UxvSL2PMSMvZiKDtGvkSJ48H6Zp8zeVxK66P7kTS35wbQtfAExuN0YHHKKh3PcDYMb+0Vqym0V3yGa5jRz7RI6QnB5Qf4cGCKC6777fdq9CEYH2SZnyMr9xg/dVWe7RSHnzufltQLZYdXFG2VK37CbJTBgfS1narI2o9iBPUmh6ZlUwJJsQ2bpC8KotS2QIWMVUaX8rF2Wq0UtMp1NMc6yXghr6Vn6z6HLPieZmJsorrjyagzvdapJTvdMNhxvbNTwa/ghV3dUVSfxg4NDVmkG9G67gqx67UNHJZ/F4NHmAzrzCdHDT9bETFFYsdW5rcR/J637jZGv+yVK2k8TYc1aqMh22PvIpKb1oDG9OYdOPOc6xt1dXsU8ufQNTauC+kj8bP1+fo+sFgB/PEp/I1INCh+AXDuaLBIF3lff+iaOoOWU6XCP/Del9xwCWgeiWzgM4pYEInA9wYLi61wHt2hUy6/dkFGTj22iiDF/xNVbLwjztGAEnqlGmCCJ+zDA+hrnj98oDDUIn87UIB/hjoiBokUp2p6QCln72TkovVkXvFj8XyhzdJOs0FMartX0CB0LtRfie5VtFBv7rH5fn57peEMrYv5042zqNUVXPG/o1TLkYJ/9QiQmtJ+VohXlAR+t2p8CAwEAAQ==","distribution":"aks","infrastructure":"azure","privateLinkScopeResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar-pls/providers/Microsoft.HybridCompute/privateLinkScopes/testpls"}}' + headers: + cache-control: + - no-cache + content-length: + - '1687' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 18:04:52 GMT + etag: + - '"1001f80b-0000-0100-0000-629f93290000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connectedk8s connect + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --kube-config --enable-private-link --pls-arm-id + User-Agent: + - AZURECLI/2.37.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ExtendedLocation?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ExtendedLocation","namespace":"Microsoft.ExtendedLocation","authorizations":[{"applicationId":"bc313c14-388c-4e7d-a58e-70017303ee3b","roleDefinitionId":"a775b938-2819-4dd0-8067-01f6e3b06392"},{"applicationId":"319f651f-7ddb-4fc6-9857-7aef9250bd05","roleDefinitionId":"0981f4e0-04a7-4e31-bd2b-b2ac2fc6ba4e"}],"resourceTypes":[{"resourceType":"locations","locations":[],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"customLocations","locations":["East + US","West Europe","North Europe","France Central","Southeast Asia","Australia + East","East US 2","West US 2","UK South","Central US","West Central US","West + US","North Central US","South Central US","Korea Central","Japan East","East + Asia","West US 3","Canada Central","East US 2 EUAP"],"apiVersions":["2021-08-31-preview","2021-08-15","2021-03-15-preview","2020-07-15-privatepreview"],"defaultApiVersion":"2021-08-15","capabilities":"SystemAssignedResourceIdentity, + SupportsTags, SupportsLocation"},{"resourceType":"customLocations/enabledResourceTypes","locations":["East + US","West Europe","North Europe","France Central","Southeast Asia","Australia + East","East US 2","West US 2","UK South","Central US","West Central US","West + US","North Central US","South Central US","Korea Central","Japan East","East + Asia","West US 3","Canada Central","East US 2 EUAP"],"apiVersions":["2021-08-31-preview","2021-08-15","2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"locations/operationsstatus","locations":["East + US","West Europe","North Europe","France Central","Southeast Asia","Australia + East","East US 2","West US 2","UK South","Central US","West Central US","West + US","North Central US","South Central US","Korea Central","Japan East","East + Asia","West US 3","Canada Central","East US 2 Euap"],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"locations/operationresults","locations":["East + US","West Europe","North Europe","France Central","Southeast Asia","Australia + East","East US 2","West US 2","UK South","Central US","West Central US","West + US","North Central US","South Central US","Korea Central","Japan East","East + Asia","West US 3","Canada Central","East US 2 Euap"],"apiVersions":["2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2021-08-31-preview","2021-08-15","2021-03-15-preview","2020-07-15-privatepreview"],"capabilities":"None"},{"resourceType":"customLocations/resourceSyncRules","locations":["East + US 2 EUAP","East US","West Europe","North Europe","France Central","Southeast + Asia","Australia East","East US 2","West US 2","UK South","Central US","West + Central US","West US","North Central US","South Central US","Korea Central","Japan + East","East Asia","West US 3","Canada Central"],"apiVersions":["2021-08-31-preview"],"defaultApiVersion":"2021-08-31-preview","capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '3236' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 18:04: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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connectedk8s connect + Connection: + - keep-alive + ParameterSetName: + - -g -n -l --tags --kube-config --enable-private-link --pls-arm-id + User-Agent: + - python/3.7.7 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 + azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.37.0 + accept-language: + - en-US + method: GET + uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/servicePrincipals?$filter=displayName%20eq%20%27Custom%20Locations%20RP%27&api-version=1.6 + response: + body: + string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects","value":[{"odata.type":"Microsoft.DirectoryServices.ServicePrincipal","objectType":"ServicePrincipal","objectId":"51dfe1e8-70c6-4de5-a08e-e18aff23d815","deletionTimestamp":null,"accountEnabled":true,"addIns":[],"alternativeNames":[],"appDisplayName":"Custom + Locations RP","appId":"bc313c14-388c-4e7d-a58e-70017303ee3b","applicationTemplateId":null,"appOwnerTenantId":"f8cdef31-a31e-4b4a-93e4-5f571e91255a","appRoleAssignmentRequired":false,"appRoles":[],"displayName":"Custom + Locations RP","errorUrl":null,"homepage":null,"informationalUrls":{"termsOfService":null,"support":null,"privacy":null,"marketing":null},"keyCredentials":[],"logoutUrl":null,"notificationEmailAddresses":[],"oauth2Permissions":[],"passwordCredentials":[],"preferredSingleSignOnMode":null,"preferredTokenSigningKeyEndDateTime":null,"preferredTokenSigningKeyThumbprint":null,"publisherName":"Microsoft + Services","replyUrls":[],"samlMetadataUrl":null,"samlSingleSignOnSettings":null,"servicePrincipalNames":["bc313c14-388c-4e7d-a58e-70017303ee3b"],"servicePrincipalType":"Application","signInAudience":"AzureADMultipleOrgs","tags":[],"tokenEncryptionKeyId":null}]}' + headers: + access-control-allow-origin: + - '*' + cache-control: + - no-cache + content-length: + - '1246' + content-type: + - application/json; odata=minimalmetadata; streaming=true; charset=utf-8 + dataserviceversion: + - 3.0; + date: + - Tue, 07 Jun 2022 18:04:53 GMT + duration: + - '1259786' + expires: + - '-1' + ocp-aad-diagnostics-server-name: + - frRfQmjwsIzDshn1inmXGupkH+QmybVgokKJazbVaj4= + ocp-aad-session-key: + - znDLfkuF4a8BHwmEaJGXzKt06aFQ9cdFUVQw5EPQ3pe4xmagc31jFPmkCJo-DhHSml2gstVMu-35Za4PDDj4RmmPgmEpy2vkwffHXJsrZRtpM4MFRrdis_jnm6LQpd0M.GGnqS5-T4Ewwa1Z_HONdWwu7dE9H8iI_1wjN9zFY5Pc + pragma: + - no-cache + request-id: + - 4de2d564-3af6-41a2-bdb5-746523210e33 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-aspnet-version: + - 4.0.30319 + x-ms-dirapi-data-contract-version: + - '1.6' + x-ms-resource-unit: + - '1' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/11.0.0/python + method: GET + uri: https://akkeshar-dns-08147f89.hcp.eastus2euap.azmk8s.io/apis/networking.k8s.io/v1/ + response: + body: + string: '{"kind":"APIResourceList","apiVersion":"v1","groupVersion":"networking.k8s.io/v1","resources":[{"name":"ingressclasses","singularName":"","namespaced":false,"kind":"IngressClass","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"storageVersionHash":"l/iqIbDgFyQ="},{"name":"ingresses","singularName":"","namespaced":true,"kind":"Ingress","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["ing"],"storageVersionHash":"39NQlfNR+bo="},{"name":"ingresses/status","singularName":"","namespaced":true,"kind":"Ingress","verbs":["get","patch","update"]},{"name":"networkpolicies","singularName":"","namespaced":true,"kind":"NetworkPolicy","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"shortNames":["netpol"],"storageVersionHash":"YpfwF18m1G8="}]} + + ' + headers: + audit-id: + - 0fb05ddc-5d7c-4b9c-abd6-cacaf2123cbf + cache-control: + - no-cache, private + content-length: + - '864' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 18:06:07 GMT + x-kubernetes-pf-flowschema-uid: + - 08843a36-c7a9-489b-a782-1dc805dc9f54 + x-kubernetes-pf-prioritylevel-uid: + - e6f4d88d-c43f-4941-a57f-7f1230896bdc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/11.0.0/python + method: GET + uri: https://akkeshar-dns-08147f89.hcp.eastus2euap.azmk8s.io/api/v1/namespaces/azure-arc/configmaps/azure-clusterconfig + response: + body: + string: '{"kind":"ConfigMap","apiVersion":"v1","metadata":{"name":"azure-clusterconfig","namespace":"azure-arc","uid":"33cbd434-6bcf-484a-a78f-8ac90f7ce0fc","resourceVersion":"42262155","creationTimestamp":"2022-06-07T18:05:07Z","labels":{"app.kubernetes.io/managed-by":"Helm"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"v1","time":"2022-06-07T18:05:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:ARC_AGENT_HELM_CHART_NAME":{},"f:ARC_AGENT_RELEASE_TRAIN":{},"f:AZURE_ARC_AGENT_VERSION":{},"f:AZURE_ARC_AUTOUPDATE":{},"f:AZURE_ARC_HELM_NAMESPACE":{},"f:AZURE_ARC_RELEASE_NAME":{},"f:AZURE_ENVIRONMENT":{},"f:AZURE_REGION":{},"f:AZURE_RESOURCE_GROUP":{},"f:AZURE_RESOURCE_NAME":{},"f:AZURE_SUBSCRIPTION_ID":{},"f:AZURE_TENANT_ID":{},"f:CLUSTER_CONNECT_AGENT_ENABLED":{},"f:CLUSTER_TYPE":{},"f:DEBUG_LOGGING":{},"f:EXTENSION_OPERATOR_ENABLED":{},"f:FLUX_CLIENT_DEFAULT_LOCATION":{},"f:FLUX_UPSTREAM_SERVICE_ENABLED":{},"f:GITOPS_ENABLED":{},"f:HELM_AUTO_UPDATE_CHECK_FREQUENCY_IN_MINUTES":{},"f:IS_CLIENT_SECRET_A_TOKEN":{},"f:KUBERNETES_DISTRO":{},"f:KUBERNETES_INFRA":{},"f:MANAGED_IDENTITY_AUTH":{},"f:MAX_ENTRIES_PER_STORE":{},"f:MAX_STORES":{},"f:NO_AUTH_HEADER_DATA_PLANE":{},"f:ONBOARDING_SECRET_NAME":{},"f:ONBOARDING_SECRET_NAMESPACE":{},"f:RESOURCE_SYNC_ENABLE_CHUNKED_SYNC":{},"f:RESOURCE_SYNC_LIST_CHUNK_SIZE":{},"f:RP_NAMESPACE":{},"f:TAGS":{}},"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app.kubernetes.io/managed-by":{}}}}}]},"data":{"ARC_AGENT_HELM_CHART_NAME":"azure-arc-k8sagents","ARC_AGENT_RELEASE_TRAIN":"stable","AZURE_ARC_AGENT_VERSION":"1.6.16","AZURE_ARC_AUTOUPDATE":"true","AZURE_ARC_HELM_NAMESPACE":"default","AZURE_ARC_RELEASE_NAME":"azure-arc","AZURE_ENVIRONMENT":"AZUREPUBLICCLOUD","AZURE_REGION":"eastus","AZURE_RESOURCE_GROUP":"akkeshar","AZURE_RESOURCE_NAME":"cliplscc","AZURE_SUBSCRIPTION_ID":"1bfbb5d0-917e-4346-9026-1d3b344417f5","AZURE_TENANT_ID":"72f988bf-86f1-41af-91ab-2d7cd011db47","CLUSTER_CONNECT_AGENT_ENABLED":"false","CLUSTER_TYPE":"ConnectedClusters","DEBUG_LOGGING":"false","EXTENSION_OPERATOR_ENABLED":"true","FLUX_CLIENT_DEFAULT_LOCATION":"mcr.microsoft.com/azurearck8s/arc-preview/fluxctl:0.2.0","FLUX_UPSTREAM_SERVICE_ENABLED":"true","GITOPS_ENABLED":"true","HELM_AUTO_UPDATE_CHECK_FREQUENCY_IN_MINUTES":"60","IS_CLIENT_SECRET_A_TOKEN":"false","KUBERNETES_DISTRO":"aks","KUBERNETES_INFRA":"azure","MANAGED_IDENTITY_AUTH":"true","MAX_ENTRIES_PER_STORE":"680","MAX_STORES":"30","NO_AUTH_HEADER_DATA_PLANE":"false","ONBOARDING_SECRET_NAME":"azure-arc-connect-privatekey","ONBOARDING_SECRET_NAMESPACE":"azure-arc","RESOURCE_SYNC_ENABLE_CHUNKED_SYNC":"false","RESOURCE_SYNC_LIST_CHUNK_SIZE":"200","RP_NAMESPACE":"Microsoft.Kubernetes","TAGS":"map[]"}} + + ' + headers: + audit-id: + - 2e50b257-9592-41be-9c6c-e21a5c2565b4 + cache-control: + - no-cache, private + content-type: + - application/json + date: + - Tue, 07 Jun 2022 18:06:10 GMT + transfer-encoding: + - chunked + x-kubernetes-pf-flowschema-uid: + - 08843a36-c7a9-489b-a782-1dc805dc9f54 + x-kubernetes-pf-prioritylevel-uid: + - e6f4d88d-c43f-4941-a57f-7f1230896bdc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connectedk8s delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n --kube-config -y + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cliplscc?api-version=2021-10-01 + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/8de5d722-8613-43ab-a4f4-15dd6fef0450*8738D9B038F603442BFE6B89D055B1E438DA9BC8B386B2FE9015CECB2D2CC8DB?api-version=2021-10-01 + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 18:06:13 GMT + etag: + - '"1001b50d-0000-0100-0000-629f93960000"' + expires: + - '-1' + location: + - https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/8de5d722-8613-43ab-a4f4-15dd6fef0450*8738D9B038F603442BFE6B89D055B1E438DA9BC8B386B2FE9015CECB2D2CC8DB?api-version=2021-10-01 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connectedk8s delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --kube-config -y + User-Agent: + - AZURECLI/2.37.0 azsdk-python-mgmt-hybridkubernetes/1.0.0b1 Python/3.7.7 (Windows-10-10.0.22000-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/8de5d722-8613-43ab-a4f4-15dd6fef0450*8738D9B038F603442BFE6B89D055B1E438DA9BC8B386B2FE9015CECB2D2CC8DB?api-version=2021-10-01 + response: + body: + string: '{"id":"/providers/Microsoft.Kubernetes/locations/EASTUS/operationStatuses/8de5d722-8613-43ab-a4f4-15dd6fef0450*8738D9B038F603442BFE6B89D055B1E438DA9BC8B386B2FE9015CECB2D2CC8DB","name":"8de5d722-8613-43ab-a4f4-15dd6fef0450*8738D9B038F603442BFE6B89D055B1E438DA9BC8B386B2FE9015CECB2D2CC8DB","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/akkeshar/providers/Microsoft.Kubernetes/connectedClusters/cliplscc","status":"Succeeded","startTime":"2022-06-07T18:06:13.695811Z","endTime":"2022-06-07T18:06:18.1844452Z","properties":null}' + headers: + cache-control: + - no-cache + content-length: + - '559' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Jun 2022 18:06:45 GMT + etag: + - '"2d005a4b-0000-0100-0000-629f939a0000"' + expires: + - '-1' + pragma: + - no-cache + 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 + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/11.0.0/python + method: GET + uri: https://akkeshar-dns-08147f89.hcp.eastus2euap.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + response: + body: + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"42262866"},"items":[{"metadata":{"name":"azure-arc","uid":"0c6cbc64-097d-4713-b2c7-3a9819c8e77d","resourceVersion":"42262856","creationTimestamp":"2022-06-07T18:05:06Z","deletionTimestamp":"2022-06-07T18:06:57Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true","kubernetes.io/metadata.name":"azure-arc"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"v1","time":"2022-06-07T18:05:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{},"f:kubernetes.io/metadata.name":{}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating"}}]} + + ' + headers: + audit-id: + - eb37844d-ea86-4014-9bc4-c91d7ed7dc65 + cache-control: + - no-cache, private + content-length: + - '1022' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 18:06:59 GMT + x-kubernetes-pf-flowschema-uid: + - 08843a36-c7a9-489b-a782-1dc805dc9f54 + x-kubernetes-pf-prioritylevel-uid: + - e6f4d88d-c43f-4941-a57f-7f1230896bdc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/11.0.0/python + method: GET + uri: https://akkeshar-dns-08147f89.hcp.eastus2euap.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + response: + body: + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"42263015"},"items":[{"metadata":{"name":"azure-arc","uid":"0c6cbc64-097d-4713-b2c7-3a9819c8e77d","resourceVersion":"42263013","creationTimestamp":"2022-06-07T18:05:06Z","deletionTimestamp":"2022-06-07T18:06:57Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true","kubernetes.io/metadata.name":"azure-arc"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"v1","time":"2022-06-07T18:05:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{},"f:kubernetes.io/metadata.name":{}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2022-06-07T18:07:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ResourcesDiscovered","message":"All + resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ParsedGroupVersions","message":"All + legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ContentDeleted","message":"All + content successfully deleted, may be waiting on finalization"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"SomeResourcesRemain","message":"Some + resources are remaining: pods. has 8 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ContentHasNoFinalizers","message":"All + content-preserving finalizers finished"}]}}]} + + ' + headers: + audit-id: + - db6e6631-3101-4d26-bd1e-d43e72c99de8 + cache-control: + - no-cache, private + content-type: + - application/json + date: + - Tue, 07 Jun 2022 18:07:05 GMT + transfer-encoding: + - chunked + x-kubernetes-pf-flowschema-uid: + - 08843a36-c7a9-489b-a782-1dc805dc9f54 + x-kubernetes-pf-prioritylevel-uid: + - e6f4d88d-c43f-4941-a57f-7f1230896bdc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/11.0.0/python + method: GET + uri: https://akkeshar-dns-08147f89.hcp.eastus2euap.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + response: + body: + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"42263035"},"items":[{"metadata":{"name":"azure-arc","uid":"0c6cbc64-097d-4713-b2c7-3a9819c8e77d","resourceVersion":"42263013","creationTimestamp":"2022-06-07T18:05:06Z","deletionTimestamp":"2022-06-07T18:06:57Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true","kubernetes.io/metadata.name":"azure-arc"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"v1","time":"2022-06-07T18:05:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{},"f:kubernetes.io/metadata.name":{}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2022-06-07T18:07:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ResourcesDiscovered","message":"All + resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ParsedGroupVersions","message":"All + legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ContentDeleted","message":"All + content successfully deleted, may be waiting on finalization"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"SomeResourcesRemain","message":"Some + resources are remaining: pods. has 8 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ContentHasNoFinalizers","message":"All + content-preserving finalizers finished"}]}}]} + + ' + headers: + audit-id: + - a5f613c2-3415-4b98-af33-140b981e324c + cache-control: + - no-cache, private + content-type: + - application/json + date: + - Tue, 07 Jun 2022 18:07:10 GMT + transfer-encoding: + - chunked + x-kubernetes-pf-flowschema-uid: + - 08843a36-c7a9-489b-a782-1dc805dc9f54 + x-kubernetes-pf-prioritylevel-uid: + - e6f4d88d-c43f-4941-a57f-7f1230896bdc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/11.0.0/python + method: GET + uri: https://akkeshar-dns-08147f89.hcp.eastus2euap.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + response: + body: + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"42263060"},"items":[{"metadata":{"name":"azure-arc","uid":"0c6cbc64-097d-4713-b2c7-3a9819c8e77d","resourceVersion":"42263013","creationTimestamp":"2022-06-07T18:05:06Z","deletionTimestamp":"2022-06-07T18:06:57Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true","kubernetes.io/metadata.name":"azure-arc"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"v1","time":"2022-06-07T18:05:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{},"f:kubernetes.io/metadata.name":{}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2022-06-07T18:07:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ResourcesDiscovered","message":"All + resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ParsedGroupVersions","message":"All + legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ContentDeleted","message":"All + content successfully deleted, may be waiting on finalization"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"SomeResourcesRemain","message":"Some + resources are remaining: pods. has 8 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ContentHasNoFinalizers","message":"All + content-preserving finalizers finished"}]}}]} + + ' + headers: + audit-id: + - c439e98c-9bb2-4cfc-a38e-10888ffe1a5c + cache-control: + - no-cache, private + content-type: + - application/json + date: + - Tue, 07 Jun 2022 18:07:16 GMT + transfer-encoding: + - chunked + x-kubernetes-pf-flowschema-uid: + - 08843a36-c7a9-489b-a782-1dc805dc9f54 + x-kubernetes-pf-prioritylevel-uid: + - e6f4d88d-c43f-4941-a57f-7f1230896bdc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/11.0.0/python + method: GET + uri: https://akkeshar-dns-08147f89.hcp.eastus2euap.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + response: + body: + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"42263074"},"items":[{"metadata":{"name":"azure-arc","uid":"0c6cbc64-097d-4713-b2c7-3a9819c8e77d","resourceVersion":"42263013","creationTimestamp":"2022-06-07T18:05:06Z","deletionTimestamp":"2022-06-07T18:06:57Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true","kubernetes.io/metadata.name":"azure-arc"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"v1","time":"2022-06-07T18:05:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{},"f:kubernetes.io/metadata.name":{}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2022-06-07T18:07:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ResourcesDiscovered","message":"All + resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ParsedGroupVersions","message":"All + legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ContentDeleted","message":"All + content successfully deleted, may be waiting on finalization"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"SomeResourcesRemain","message":"Some + resources are remaining: pods. has 8 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ContentHasNoFinalizers","message":"All + content-preserving finalizers finished"}]}}]} + + ' + headers: + audit-id: + - 54f09ce8-aebf-4874-aae4-38a15b7f9209 + cache-control: + - no-cache, private + content-type: + - application/json + date: + - Tue, 07 Jun 2022 18:07:21 GMT + transfer-encoding: + - chunked + x-kubernetes-pf-flowschema-uid: + - 08843a36-c7a9-489b-a782-1dc805dc9f54 + x-kubernetes-pf-prioritylevel-uid: + - e6f4d88d-c43f-4941-a57f-7f1230896bdc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/11.0.0/python + method: GET + uri: https://akkeshar-dns-08147f89.hcp.eastus2euap.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + response: + body: + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"42263094"},"items":[{"metadata":{"name":"azure-arc","uid":"0c6cbc64-097d-4713-b2c7-3a9819c8e77d","resourceVersion":"42263094","creationTimestamp":"2022-06-07T18:05:06Z","deletionTimestamp":"2022-06-07T18:06:57Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true","kubernetes.io/metadata.name":"azure-arc"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"v1","time":"2022-06-07T18:05:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{},"f:kubernetes.io/metadata.name":{}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2022-06-07T18:07:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ResourcesDiscovered","message":"All + resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ParsedGroupVersions","message":"All + legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ContentDeleted","message":"All + content successfully deleted, may be waiting on finalization"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"SomeResourcesRemain","message":"Some + resources are remaining: pods. has 5 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ContentHasNoFinalizers","message":"All + content-preserving finalizers finished"}]}}]} + + ' + headers: + audit-id: + - a07e4258-e16c-4077-8696-f026b75238e7 + cache-control: + - no-cache, private + content-type: + - application/json + date: + - Tue, 07 Jun 2022 18:07:26 GMT + transfer-encoding: + - chunked + x-kubernetes-pf-flowschema-uid: + - 08843a36-c7a9-489b-a782-1dc805dc9f54 + x-kubernetes-pf-prioritylevel-uid: + - e6f4d88d-c43f-4941-a57f-7f1230896bdc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/11.0.0/python + method: GET + uri: https://akkeshar-dns-08147f89.hcp.eastus2euap.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + response: + body: + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"42263118"},"items":[{"metadata":{"name":"azure-arc","uid":"0c6cbc64-097d-4713-b2c7-3a9819c8e77d","resourceVersion":"42263118","creationTimestamp":"2022-06-07T18:05:06Z","deletionTimestamp":"2022-06-07T18:06:57Z","labels":{"admission.policy.azure.com/ignore":"true","app.kubernetes.io/managed-by":"Helm","control-plane":"true","kubernetes.io/metadata.name":"azure-arc"},"annotations":{"meta.helm.sh/release-name":"azure-arc","meta.helm.sh/release-namespace":"default"},"managedFields":[{"manager":"helm","operation":"Update","apiVersion":"v1","time":"2022-06-07T18:05:06Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:admission.policy.azure.com/ignore":{},"f:app.kubernetes.io/managed-by":{},"f:control-plane":{},"f:kubernetes.io/metadata.name":{}}}}},{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2022-06-07T18:07:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{".":{},"k:{\"type\":\"NamespaceContentRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionContentFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{\"type\":\"NamespaceFinalizersRemaining\"}":{".":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{},"f:type":{}}}}}}]},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Terminating","conditions":[{"type":"NamespaceDeletionDiscoveryFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ResourcesDiscovered","message":"All + resources successfully discovered"},{"type":"NamespaceDeletionGroupVersionParsingFailure","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ParsedGroupVersions","message":"All + legacy kube types successfully parsed"},{"type":"NamespaceDeletionContentFailure","status":"True","lastTransitionTime":"2022-06-07T18:07:32Z","reason":"ContentDeletionFailed","message":"Failed + to delete all resource types, 1 remaining: unexpected items still remain in + namespace: azure-arc for gvr: /v1, Resource=pods"},{"type":"NamespaceContentRemaining","status":"True","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"SomeResourcesRemain","message":"Some + resources are remaining: pods. has 4 resource instances"},{"type":"NamespaceFinalizersRemaining","status":"False","lastTransitionTime":"2022-06-07T18:07:04Z","reason":"ContentHasNoFinalizers","message":"All + content-preserving finalizers finished"}]}}]} + + ' + headers: + audit-id: + - 81fdd11f-d15b-45ea-a284-e8d94b1d537e + cache-control: + - no-cache, private + content-type: + - application/json + date: + - Tue, 07 Jun 2022 18:07:32 GMT + transfer-encoding: + - chunked + x-kubernetes-pf-flowschema-uid: + - 08843a36-c7a9-489b-a782-1dc805dc9f54 + x-kubernetes-pf-prioritylevel-uid: + - e6f4d88d-c43f-4941-a57f-7f1230896bdc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - OpenAPI-Generator/11.0.0/python + method: GET + uri: https://akkeshar-dns-08147f89.hcp.eastus2euap.azmk8s.io/api/v1/namespaces?fieldSelector=metadata.name%3Dazure-arc + response: + body: + string: '{"kind":"NamespaceList","apiVersion":"v1","metadata":{"resourceVersion":"42263146"},"items":[]} + + ' + headers: + audit-id: + - 2220869c-20fd-455f-8613-3d09f9cb07da + cache-control: + - no-cache, private + content-length: + - '96' + content-type: + - application/json + date: + - Tue, 07 Jun 2022 18:07:37 GMT + x-kubernetes-pf-flowschema-uid: + - 08843a36-c7a9-489b-a782-1dc805dc9f54 + x-kubernetes-pf-prioritylevel-uid: + - e6f4d88d-c43f-4941-a57f-7f1230896bdc + status: + code: 200 + message: OK version: 1 diff --git a/src/connectedk8s/azext_connectedk8s/tests/latest/test_connectedk8s_scenario.py b/src/connectedk8s/azext_connectedk8s/tests/latest/test_connectedk8s_scenario.py index 203c7877efb..df56e457cc7 100644 --- a/src/connectedk8s/azext_connectedk8s/tests/latest/test_connectedk8s_scenario.py +++ b/src/connectedk8s/azext_connectedk8s/tests/latest/test_connectedk8s_scenario.py @@ -7,7 +7,6 @@ import unittest from azure.cli.testsdk import (LiveScenarioTest, ResourceGroupPreparer) # pylint: disable=import-error -from azure.cli.testsdk.scenario_tests import AllowLargeResponse # pylint: disable=import-error TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) @@ -26,11 +25,12 @@ def test_connectedk8s(self): self.kwargs.update({ 'name': self.create_random_name(prefix='cc-', length=12), 'kubeconfig': "%s" % (_get_test_data_file(managed_cluster_name + '-config.yaml')), + 'kubeconfigpls': "%s" % (_get_test_data_file('pls-config.yaml')), 'managed_cluster_name': managed_cluster_name }) self.cmd('aks create -g akkeshar -n {} -s Standard_B2s -l westeurope -c 1 --generate-ssh-keys'.format(managed_cluster_name)) self.cmd('aks get-credentials -g akkeshar -n {managed_cluster_name} -f {kubeconfig}') - self.cmd('connectedk8s connect -g akkeshar -n {name} -l eastus2euap --tags foo=doo --kube-config {kubeconfig}', checks=[ + self.cmd('connectedk8s connect -g akkeshar -n {name} -l eastus --tags foo=doo --kube-config {kubeconfig}', checks=[ self.check('tags.foo', 'doo'), self.check('name', '{name}') ]) @@ -44,3 +44,12 @@ def test_connectedk8s(self): # delete the kube config os.remove("%s" % (_get_test_data_file(managed_cluster_name + '-config.yaml'))) + + # Private link test + self.cmd('aks get-credentials -g akkeshar -n akkeshar -f {kubeconfigpls}') + self.cmd('connectedk8s connect -g akkeshar -n cliplscc -l eastus --tags foo=doo --kube-config {kubeconfigpls} --enable-private-link true --pls-arm-id /subscriptions/1bfbb5d0-917e-4346-9026-1d3b344417f5/resourceGroups/akkeshar-pls/providers/Microsoft.HybridCompute/privateLinkScopes/testpls', checks=[ + self.check('name', 'cliplscc') + ]) + self.cmd('connectedk8s delete -g akkeshar -n cliplscc --kube-config {kubeconfigpls} -y') + + os.remove("%s" % (_get_test_data_file('pls-config.yaml'))) diff --git a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/models/__init__.py b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/models/__init__.py deleted file mode 100644 index c2ed3c2a82c..00000000000 --- a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/models/__init__.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- - -try: - from ._models_py3 import ConnectedCluster - from ._models_py3 import ConnectedClusterIdentity - from ._models_py3 import ConnectedClusterList - from ._models_py3 import ConnectedClusterPatch - from ._models_py3 import CredentialResult - from ._models_py3 import CredentialResults - from ._models_py3 import ErrorAdditionalInfo - from ._models_py3 import ErrorDetail - from ._models_py3 import ErrorResponse - from ._models_py3 import HybridConnectionConfig - from ._models_py3 import ListClusterUserCredentialsProperties - from ._models_py3 import Operation - from ._models_py3 import OperationDisplay - from ._models_py3 import OperationList - from ._models_py3 import Resource - from ._models_py3 import SystemData - from ._models_py3 import TrackedResource -except (SyntaxError, ImportError): - from ._models import ConnectedCluster # type: ignore - from ._models import ConnectedClusterIdentity # type: ignore - from ._models import ConnectedClusterList # type: ignore - from ._models import ConnectedClusterPatch # type: ignore - from ._models import CredentialResult # type: ignore - from ._models import CredentialResults # type: ignore - from ._models import ErrorAdditionalInfo # type: ignore - from ._models import ErrorDetail # type: ignore - from ._models import ErrorResponse # type: ignore - from ._models import HybridConnectionConfig # type: ignore - from ._models import ListClusterUserCredentialsProperties # type: ignore - from ._models import Operation # type: ignore - from ._models import OperationDisplay # type: ignore - from ._models import OperationList # type: ignore - from ._models import Resource # type: ignore - from ._models import SystemData # type: ignore - from ._models import TrackedResource # type: ignore - -from ._connected_kubernetes_client_enums import ( - AuthenticationMethod, - ConnectivityStatus, - CreatedByType, - LastModifiedByType, - PrivateLinkState, - ProvisioningState, - ResourceIdentityType, -) - -__all__ = [ - 'ConnectedCluster', - 'ConnectedClusterIdentity', - 'ConnectedClusterList', - 'ConnectedClusterPatch', - 'CredentialResult', - 'CredentialResults', - 'ErrorAdditionalInfo', - 'ErrorDetail', - 'ErrorResponse', - 'HybridConnectionConfig', - 'ListClusterUserCredentialsProperties', - 'Operation', - 'OperationDisplay', - 'OperationList', - 'Resource', - 'SystemData', - 'TrackedResource', - 'AuthenticationMethod', - 'ConnectivityStatus', - 'CreatedByType', - 'LastModifiedByType', - 'PrivateLinkState', - 'ProvisioningState', - 'ResourceIdentityType', -] diff --git a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/operations/_connected_cluster_operations.py b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/operations/_connected_cluster_operations.py deleted file mode 100644 index c0171872167..00000000000 --- a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/operations/_connected_cluster_operations.py +++ /dev/null @@ -1,704 +0,0 @@ -# coding=utf-8 -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is regenerated. -# -------------------------------------------------------------------------- -from typing import TYPE_CHECKING -import warnings - -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 HttpRequest, HttpResponse -from azure.core.polling import LROPoller, NoPolling, PollingMethod -from azure.mgmt.core.exceptions import ARMErrorFormat -from azure.mgmt.core.polling.arm_polling import ARMPolling - -from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] - -class ConnectedClusterOperations(object): - """ConnectedClusterOperations operations. - - You should not instantiate this class directly. Instead, you should create a Client instance that - instantiates it for you and attaches it as an attribute. - - :ivar models: Alias to model classes used in this operation group. - :type models: ~connected_kubernetes_client.models - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - """ - - models = _models - - def __init__(self, client, config, serializer, deserializer): - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self._config = config - - def _create_initial( - self, - resource_group_name, # type: str - cluster_name, # type: str - connected_cluster, # type: "_models.ConnectedCluster" - **kwargs # type: Any - ): - # type: (...) -> "_models.ConnectedCluster" - cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectedCluster"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._create_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(connected_cluster, 'ConnectedCluster') - body_content_kwargs['content'] = body_content - request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 201]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - if response.status_code == 200: - deserialized = self._deserialize('ConnectedCluster', pipeline_response) - - if response.status_code == 201: - deserialized = self._deserialize('ConnectedCluster', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}'} # type: ignore - - def begin_create( - self, - resource_group_name, # type: str - cluster_name, # type: str - connected_cluster, # type: "_models.ConnectedCluster" - **kwargs # type: Any - ): - # type: (...) -> LROPoller["_models.ConnectedCluster"] - """Register a new Kubernetes cluster with Azure Resource Manager. - - API to register a new Kubernetes cluster and create a tracked resource in Azure Resource - Manager (ARM). - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :param cluster_name: The name of the Kubernetes cluster on which get is called. - :type cluster_name: str - :param connected_cluster: Parameters supplied to Create a Connected Cluster. - :type connected_cluster: ~connected_kubernetes_client.models.ConnectedCluster - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be ARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either ConnectedCluster or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~connected_kubernetes_client.models.ConnectedCluster] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectedCluster"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._create_initial( - resource_group_name=resource_group_name, - cluster_name=cluster_name, - connected_cluster=connected_cluster, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('ConnectedCluster', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}'} # type: ignore - - def _update_initial( - self, - resource_group_name, # type: str - cluster_name, # type: str - connected_cluster_patch, # type: "_models.ConnectedClusterPatch" - **kwargs # type: Any - ): - # type: (...) -> Optional["_models.ConnectedCluster"] - cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ConnectedCluster"]] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self._update_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(connected_cluster_patch, 'ConnectedClusterPatch') - body_content_kwargs['content'] = body_content - request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('ConnectedCluster', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}'} # type: ignore - - def begin_update( - self, - resource_group_name, # type: str - cluster_name, # type: str - connected_cluster_patch, # type: "_models.ConnectedClusterPatch" - **kwargs # type: Any - ): - # type: (...) -> LROPoller["_models.ConnectedCluster"] - """Updates a connected cluster. - - API to update certain properties of the connected cluster resource. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :param cluster_name: The name of the Kubernetes cluster on which get is called. - :type cluster_name: str - :param connected_cluster_patch: Parameters supplied to update Connected Cluster. - :type connected_cluster_patch: ~connected_kubernetes_client.models.ConnectedClusterPatch - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be ARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either ConnectedCluster or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~connected_kubernetes_client.models.ConnectedCluster] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectedCluster"] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._update_initial( - resource_group_name=resource_group_name, - cluster_name=cluster_name, - connected_cluster_patch=connected_cluster_patch, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - deserialized = self._deserialize('ConnectedCluster', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - return deserialized - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}'} # type: ignore - - def get( - self, - resource_group_name, # type: str - cluster_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> "_models.ConnectedCluster" - """Get the properties of the specified connected cluster. - - Returns the properties of the specified connected cluster, including name, identity, - properties, and additional cluster details. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :param cluster_name: The name of the Kubernetes cluster on which get is called. - :type cluster_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: ConnectedCluster, or the result of cls(response) - :rtype: ~connected_kubernetes_client.models.ConnectedCluster - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectedCluster"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" - accept = "application/json" - - # Construct URL - url = self.get.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(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, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('ConnectedCluster', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}'} # type: ignore - - def _delete_initial( - self, - resource_group_name, # type: str - cluster_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> None - cls = kwargs.pop('cls', None) # type: ClsType[None] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" - accept = "application/json" - - # Construct URL - url = self._delete_initial.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - request = self._client.delete(url, query_parameters, header_parameters) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200, 202, 204]: - map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - if cls: - return cls(pipeline_response, None, {}) - - _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}'} # type: ignore - - def begin_delete( - self, - resource_group_name, # type: str - cluster_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> LROPoller[None] - """Delete a connected cluster. - - Delete a connected cluster, removing the tracked resource in Azure Resource Manager (ARM). - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :param cluster_name: The name of the Kubernetes cluster on which get is called. - :type cluster_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: By default, your polling method will be ARMPolling. - Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. - :paramtype polling: bool or ~azure.core.polling.PollingMethod - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. - :return: An instance of LROPoller that returns either None or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[None] - :raises ~azure.core.exceptions.HttpResponseError: - """ - polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] - cls = kwargs.pop('cls', None) # type: ClsType[None] - lro_delay = kwargs.pop( - 'polling_interval', - self._config.polling_interval - ) - cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] - if cont_token is None: - raw_result = self._delete_initial( - resource_group_name=resource_group_name, - cluster_name=cluster_name, - cls=lambda x,y,z: x, - **kwargs - ) - - kwargs.pop('error_map', None) - kwargs.pop('content_type', None) - - def get_long_running_output(pipeline_response): - if cls: - return cls(pipeline_response, None, {}) - - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - } - - if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - if cont_token: - return LROPoller.from_continuation_token( - polling_method=polling_method, - continuation_token=cont_token, - client=self._client, - deserialization_callback=get_long_running_output - ) - else: - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}'} # type: ignore - - def list_cluster_user_credentials( - self, - resource_group_name, # type: str - cluster_name, # type: str - properties, # type: "_models.ListClusterUserCredentialsProperties" - **kwargs # type: Any - ): - # type: (...) -> "_models.CredentialResults" - """Gets cluster user credentials of a connected cluster. - - Gets cluster user credentials of the connected cluster with a specified resource group and - name. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :param cluster_name: The name of the Kubernetes cluster on which get is called. - :type cluster_name: str - :param properties: ListClusterUserCredentials properties. - :type properties: ~connected_kubernetes_client.models.ListClusterUserCredentialsProperties - :keyword callable cls: A custom type or function that will be passed the direct response - :return: CredentialResults, or the result of cls(response) - :rtype: ~connected_kubernetes_client.models.CredentialResults - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" - content_type = kwargs.pop("content_type", "application/json") - accept = "application/json" - - # Construct URL - url = self.list_cluster_user_credentials.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - 'clusterName': self._serialize.url("cluster_name", cluster_name, 'str'), - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - body_content_kwargs = {} # type: Dict[str, Any] - body_content = self._serialize.body(properties, 'ListClusterUserCredentialsProperties') - body_content_kwargs['content'] = body_content - request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) - pipeline_response = self._client._pipeline.run(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, response) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - deserialized = self._deserialize('CredentialResults', pipeline_response) - - if cls: - return cls(pipeline_response, deserialized, {}) - - return deserialized - list_cluster_user_credentials.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}/listClusterUserCredentials'} # type: ignore - - def list_by_resource_group( - self, - resource_group_name, # type: str - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.ConnectedClusterList"] - """Lists all connected clusters. - - API to enumerate registered connected K8s clusters under a Resource Group. - - :param resource_group_name: The name of the resource group. The name is case insensitive. - :type resource_group_name: str - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ConnectedClusterList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~connected_kubernetes_client.models.ConnectedClusterList] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectedClusterList"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list_by_resource_group.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('ConnectedClusterList', 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(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters'} # type: ignore - - def list_by_subscription( - self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.ConnectedClusterList"] - """Lists all connected clusters. - - API to enumerate registered connected K8s clusters under a Subscription. - - :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of either ConnectedClusterList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~connected_kubernetes_client.models.ConnectedClusterList] - :raises: ~azure.core.exceptions.HttpResponseError - """ - cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectedClusterList"] - error_map = { - 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError - } - error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" - accept = "application/json" - - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - - if not next_link: - # Construct URL - url = self.list_by_subscription.metadata['url'] # type: ignore - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - url = self._client.format_url(url, **path_format_arguments) - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - request = self._client.get(url, query_parameters, header_parameters) - else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) - return request - - def extract_data(pipeline_response): - deserialized = self._deserialize('ConnectedClusterList', 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(request, stream=False, **kwargs) - response = pipeline_response.http_response - - if response.status_code not in [200]: - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) - map_error(status_code=response.status_code, response=response, error_map=error_map) - raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - - return pipeline_response - - return ItemPaged( - get_next, extract_data - ) - list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Kubernetes/connectedClusters'} # type: ignore diff --git a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/__init__.py b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/__init__.py similarity index 73% rename from src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/__init__.py rename to src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/__init__.py index 580fd6adae4..f5d7896c3ca 100644 --- a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/__init__.py +++ b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/__init__.py @@ -12,8 +12,7 @@ __version__ = VERSION __all__ = ['ConnectedKubernetesClient'] -try: - from ._patch import patch_sdk # type: ignore - patch_sdk() -except ImportError: - pass +# `._patch.py` is used for handwritten extensions to the generated code +# Example: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +from ._patch import patch_sdk +patch_sdk() diff --git a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/_configuration.py b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/_configuration.py similarity index 78% rename from src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/_configuration.py rename to src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/_configuration.py index 203a6d771a9..61599a0c3ac 100644 --- a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/_configuration.py +++ b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/_configuration.py @@ -6,22 +6,20 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING +from typing import Any, TYPE_CHECKING from azure.core.configuration import Configuration from azure.core.pipeline import policies -from azure.mgmt.core.policies import ARMHttpLoggingPolicy +from azure.mgmt.core.policies import ARMChallengeAuthenticationPolicy, ARMHttpLoggingPolicy from ._version import VERSION if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports - from typing import Any - from azure.core.credentials import TokenCredential -class ConnectedKubernetesClientConfiguration(Configuration): +class ConnectedKubernetesClientConfiguration(Configuration): # pylint: disable=too-many-instance-attributes """Configuration for ConnectedKubernetesClient. Note that all parameters used to create this instance are saved as instance @@ -31,24 +29,28 @@ class ConnectedKubernetesClientConfiguration(Configuration): :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The ID of the target subscription. :type subscription_id: str + :keyword api_version: Api Version. Default value is "2021-10-01". 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 + credential: "TokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + super(ConnectedKubernetesClientConfiguration, self).__init__(**kwargs) + api_version = kwargs.pop('api_version', "2021-10-01") # 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.") - super(ConnectedKubernetesClientConfiguration, self).__init__(**kwargs) self.credential = credential self.subscription_id = subscription_id - self.api_version = "2021-04-01-preview" + self.api_version = api_version self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) kwargs.setdefault('sdk_moniker', 'mgmt-hybridkubernetes/{}'.format(VERSION)) self._configure(**kwargs) @@ -68,4 +70,4 @@ def _configure( self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) self.authentication_policy = kwargs.get('authentication_policy') if self.credential and not self.authentication_policy: - self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) + self.authentication_policy = ARMChallengeAuthenticationPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/_connected_kubernetes_client.py b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/_connected_kubernetes_client.py similarity index 53% rename from src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/_connected_kubernetes_client.py rename to src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/_connected_kubernetes_client.py index 9b129da7386..68195eea625 100644 --- a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/_connected_kubernetes_client.py +++ b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/_connected_kubernetes_client.py @@ -6,79 +6,85 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING +from copy import deepcopy +from typing import Any, TYPE_CHECKING -from azure.mgmt.core import ARMPipelineClient from msrest import Deserializer, Serializer -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Optional - - from azure.core.credentials import TokenCredential - from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.rest import HttpRequest, HttpResponse +from azure.mgmt.core import ARMPipelineClient -from ._configuration import ConnectedKubernetesClientConfiguration -from .operations import ConnectedClusterOperations -from .operations import Operations from . import models +from ._configuration import ConnectedKubernetesClientConfiguration +from .operations import ConnectedClusterOperations, Operations +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials import TokenCredential -class ConnectedKubernetesClient(object): +class ConnectedKubernetesClient: """Azure Connected Cluster Resource Provider API for adopting any Kubernetes Cluster. :ivar connected_cluster: ConnectedClusterOperations operations - :vartype connected_cluster: connected_kubernetes_client.operations.ConnectedClusterOperations + :vartype connected_cluster: azure.mgmt.hybridkubernetes.operations.ConnectedClusterOperations :ivar operations: Operations operations - :vartype operations: connected_kubernetes_client.operations.Operations + :vartype operations: azure.mgmt.hybridkubernetes.operations.Operations :param credential: Credential needed for the client to connect to Azure. :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The ID of the target subscription. :type subscription_id: str - :param str base_url: Service URL - :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :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-10-01". Note that overriding this + default value may result in unsupported behavior. + :paramtype api_version: str + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. """ def __init__( self, - credential, # type: "TokenCredential" - subscription_id, # type: str - base_url=None, # type: Optional[str] - **kwargs # type: Any - ): - # type: (...) -> None - if not base_url: - base_url = 'https://management.azure.com' - self._config = ConnectedKubernetesClientConfiguration(credential, subscription_id, **kwargs) + credential: "TokenCredential", + subscription_id: str, + base_url: str = "https://management.azure.com", + **kwargs: Any + ) -> None: + self._config = ConnectedKubernetesClientConfiguration(credential=credential, subscription_id=subscription_id, **kwargs) self._client = ARMPipelineClient(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._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) + self._serialize.client_side_validation = False + self.connected_cluster = ConnectedClusterOperations(self._client, self._config, self._serialize, self._deserialize) + self.operations = Operations(self._client, self._config, self._serialize, self._deserialize) - self.connected_cluster = ConnectedClusterOperations( - self._client, self._config, self._serialize, self._deserialize) - self.operations = Operations( - self._client, self._config, self._serialize, self._deserialize) - def _send_request(self, http_request, **kwargs): - # type: (HttpRequest, Any) -> HttpResponse + def _send_request( + self, + request: HttpRequest, + **kwargs: Any + ) -> HttpResponse: """Runs the network request through the client's chained policies. - :param http_request: The network request you want to make. Required. - :type http_request: ~azure.core.pipeline.transport.HttpRequest - :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + >>> 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.pipeline.transport.HttpResponse + :rtype: ~azure.core.rest.HttpResponse """ - path_format_arguments = { - 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), - } - http_request.url = self._client.format_url(http_request.url, **path_format_arguments) - stream = kwargs.pop("stream", True) - pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) - return pipeline_response.http_response + + 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 diff --git a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/_patch.py b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/_patch.py new file mode 100644 index 00000000000..74e48ecd07c --- /dev/null +++ b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/_patch.py @@ -0,0 +1,31 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +# This file is used for handwritten extensions to the generated code. Example: +# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md +def patch_sdk(): + pass \ No newline at end of file diff --git a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/_vendor.py b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/_vendor.py new file mode 100644 index 00000000000..138f663c53a --- /dev/null +++ b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/_vendor.py @@ -0,0 +1,27 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# 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/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/_version.py b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/_version.py similarity index 100% rename from src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/_version.py rename to src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/_version.py diff --git a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/models/__init__.py b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/models/__init__.py new file mode 100644 index 00000000000..73c1f72a0a5 --- /dev/null +++ b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/models/__init__.py @@ -0,0 +1,63 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._models_py3 import ConnectedCluster +from ._models_py3 import ConnectedClusterIdentity +from ._models_py3 import ConnectedClusterList +from ._models_py3 import ConnectedClusterPatch +from ._models_py3 import CredentialResult +from ._models_py3 import CredentialResults +from ._models_py3 import ErrorAdditionalInfo +from ._models_py3 import ErrorDetail +from ._models_py3 import ErrorResponse +from ._models_py3 import HybridConnectionConfig +from ._models_py3 import ListClusterUserCredentialProperties +from ._models_py3 import Operation +from ._models_py3 import OperationDisplay +from ._models_py3 import OperationList +from ._models_py3 import Resource +from ._models_py3 import SystemData +from ._models_py3 import TrackedResource + + +from ._connected_kubernetes_client_enums import ( + AuthenticationMethod, + ConnectivityStatus, + CreatedByType, + LastModifiedByType, + PrivateLinkState, + ProvisioningState, + ResourceIdentityType, +) + +__all__ = [ + 'ConnectedCluster', + 'ConnectedClusterIdentity', + 'ConnectedClusterList', + 'ConnectedClusterPatch', + 'CredentialResult', + 'CredentialResults', + 'ErrorAdditionalInfo', + 'ErrorDetail', + 'ErrorResponse', + 'HybridConnectionConfig', + 'ListClusterUserCredentialProperties', + 'Operation', + 'OperationDisplay', + 'OperationList', + 'Resource', + 'SystemData', + 'TrackedResource', + 'AuthenticationMethod', + 'ConnectivityStatus', + 'CreatedByType', + 'LastModifiedByType', + 'PrivateLinkState', + 'ProvisioningState', + 'ResourceIdentityType', +] diff --git a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/models/_connected_kubernetes_client_enums.py b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/models/_connected_kubernetes_client_enums.py similarity index 61% rename from src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/models/_connected_kubernetes_client_enums.py rename to src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/models/_connected_kubernetes_client_enums.py index 1e844b8ab57..143c472449b 100644 --- a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/models/_connected_kubernetes_client_enums.py +++ b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/models/_connected_kubernetes_client_enums.py @@ -6,34 +6,19 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from enum import Enum, EnumMeta +from enum import Enum from six import with_metaclass +from azure.core import CaseInsensitiveEnumMeta -class _CaseInsensitiveEnumMeta(EnumMeta): - def __getitem__(self, name): - return super().__getitem__(name.upper()) - def __getattr__(cls, name): - """Return the enum member matching `name` - We use __getattr__ instead of descriptors or inserting into the enum - class' __dict__ in order to support `name` and `value` being both - properties for enum members (which live in the class' __dict__) and - enum members themselves. - """ - try: - return cls._member_map_[name.upper()] - except KeyError: - raise AttributeError(name) - - -class AuthenticationMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class AuthenticationMethod(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The mode of client authentication. """ TOKEN = "Token" AAD = "AAD" -class ConnectivityStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class ConnectivityStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Represents the connectivity status of the connected cluster. """ @@ -42,7 +27,7 @@ class ConnectivityStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): OFFLINE = "Offline" EXPIRED = "Expired" -class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class CreatedByType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The type of identity that created the resource. """ @@ -51,7 +36,7 @@ class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): MANAGED_IDENTITY = "ManagedIdentity" KEY = "Key" -class LastModifiedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class LastModifiedByType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The type of identity that last modified the resource. """ @@ -60,14 +45,14 @@ class LastModifiedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): MANAGED_IDENTITY = "ManagedIdentity" KEY = "Key" -class PrivateLinkState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class PrivateLinkState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Property which describes the state of private link on a connected cluster resource. """ ENABLED = "Enabled" DISABLED = "Disabled" -class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class ProvisioningState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The current deployment state of connectedClusters. """ @@ -79,7 +64,7 @@ class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): DELETING = "Deleting" ACCEPTED = "Accepted" -class ResourceIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): +class ResourceIdentityType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster. diff --git a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/models/_models.py b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/models/_models.py similarity index 100% rename from src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/models/_models.py rename to src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/models/_models.py diff --git a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/models/_models_py3.py b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/models/_models_py3.py similarity index 67% rename from src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/models/_models_py3.py rename to src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/models/_models_py3.py index 41d0c781c43..359ec398bf6 100644 --- a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/models/_models_py3.py +++ b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/models/_models_py3.py @@ -7,7 +7,7 @@ # -------------------------------------------------------------------------- import datetime -from typing import Dict, List, Optional, Union +from typing import Any, Dict, List, Optional, Union from azure.core.exceptions import HttpResponseError import msrest.serialization @@ -46,6 +46,8 @@ def __init__( self, **kwargs ): + """ + """ super(Resource, self).__init__(**kwargs) self.id = None self.name = None @@ -67,10 +69,10 @@ class TrackedResource(Resource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str """ _validation = { @@ -95,6 +97,12 @@ def __init__( tags: Optional[Dict[str, str]] = None, **kwargs ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + """ super(TrackedResource, self).__init__(**kwargs) self.tags = tags self.location = location @@ -115,17 +123,17 @@ class ConnectedCluster(TrackedResource): :ivar type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". :vartype type: str - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param location: Required. The geo-location where the resource lives. - :type location: str - :param identity: Required. The identity of the connected cluster. - :type identity: ~connected_kubernetes_client.models.ConnectedClusterIdentity + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar location: Required. The geo-location where the resource lives. + :vartype location: str + :ivar identity: Required. The identity of the connected cluster. + :vartype identity: ~azure.mgmt.hybridkubernetes.models.ConnectedClusterIdentity :ivar system_data: Metadata pertaining to creation and last modification of the resource. - :vartype system_data: ~connected_kubernetes_client.models.SystemData - :param agent_public_key_certificate: Required. Base64 encoded public certificate used by the + :vartype system_data: ~azure.mgmt.hybridkubernetes.models.SystemData + :ivar agent_public_key_certificate: Required. Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure. - :type agent_public_key_certificate: str + :vartype agent_public_key_certificate: str :ivar kubernetes_version: The Kubernetes version of the connected cluster resource. :vartype kubernetes_version: str :ivar total_node_count: Number of nodes present in the connected cluster resource. @@ -134,15 +142,14 @@ class ConnectedCluster(TrackedResource): :vartype total_core_count: int :ivar agent_version: Version of the agent running on the connected cluster resource. :vartype agent_version: str - :param provisioning_state: Provisioning state of the connected cluster resource. Possible - values include: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", - "Accepted". - :type provisioning_state: str or ~connected_kubernetes_client.models.ProvisioningState - :param distribution: The Kubernetes distribution running on this connected cluster. - :type distribution: str - :param infrastructure: The infrastructure on which the Kubernetes cluster represented by this + :ivar provisioning_state: Provisioning state of the connected cluster resource. Possible values + include: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", "Accepted". + :vartype provisioning_state: str or ~azure.mgmt.hybridkubernetes.models.ProvisioningState + :ivar distribution: The Kubernetes distribution running on this connected cluster. + :vartype distribution: str + :ivar infrastructure: The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on. - :type infrastructure: str + :vartype infrastructure: str :ivar offering: Connected cluster offering. :vartype offering: str :ivar managed_identity_certificate_expiration_time: Expiration time of the managed identity @@ -153,13 +160,13 @@ class ConnectedCluster(TrackedResource): :vartype last_connectivity_time: ~datetime.datetime :ivar connectivity_status: Represents the connectivity status of the connected cluster. Possible values include: "Connecting", "Connected", "Offline", "Expired". - :vartype connectivity_status: str or ~connected_kubernetes_client.models.ConnectivityStatus - :param private_link_state: Property which describes the state of private link on a connected - cluster resource. Possible values include: "Enabled", "Disabled". - :type private_link_state: str or ~connected_kubernetes_client.models.PrivateLinkState - :param private_link_scope_resource_id: The resource id of the private link scope this connected + :vartype connectivity_status: str or ~azure.mgmt.hybridkubernetes.models.ConnectivityStatus + :ivar private_link_state: Property which describes the state of private link on a connected + cluster resource. Possible values include: "Enabled", "Disabled". Default value: "Disabled". + :vartype private_link_state: str or ~azure.mgmt.hybridkubernetes.models.PrivateLinkState + :ivar private_link_scope_resource_id: The resource id of the private link scope this connected cluster is assigned to, if any. - :type private_link_scope_resource_id: str + :vartype private_link_scope_resource_id: str """ _validation = { @@ -214,10 +221,36 @@ def __init__( provisioning_state: Optional[Union[str, "ProvisioningState"]] = None, distribution: Optional[str] = None, infrastructure: Optional[str] = None, - private_link_state: Optional[Union[str, "PrivateLinkState"]] = None, + private_link_state: Optional[Union[str, "PrivateLinkState"]] = "Disabled", private_link_scope_resource_id: Optional[str] = None, **kwargs ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword location: Required. The geo-location where the resource lives. + :paramtype location: str + :keyword identity: Required. The identity of the connected cluster. + :paramtype identity: ~azure.mgmt.hybridkubernetes.models.ConnectedClusterIdentity + :keyword agent_public_key_certificate: Required. Base64 encoded public certificate used by the + agent to do the initial handshake to the backend services in Azure. + :paramtype agent_public_key_certificate: str + :keyword provisioning_state: Provisioning state of the connected cluster resource. Possible + values include: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", + "Accepted". + :paramtype provisioning_state: str or ~azure.mgmt.hybridkubernetes.models.ProvisioningState + :keyword distribution: The Kubernetes distribution running on this connected cluster. + :paramtype distribution: str + :keyword infrastructure: The infrastructure on which the Kubernetes cluster represented by this + connected cluster is running on. + :paramtype infrastructure: str + :keyword private_link_state: Property which describes the state of private link on a connected + cluster resource. Possible values include: "Enabled", "Disabled". Default value: "Disabled". + :paramtype private_link_state: str or ~azure.mgmt.hybridkubernetes.models.PrivateLinkState + :keyword private_link_scope_resource_id: The resource id of the private link scope this + connected cluster is assigned to, if any. + :paramtype private_link_scope_resource_id: str + """ super(ConnectedCluster, self).__init__(tags=tags, location=location, **kwargs) self.identity = identity self.system_data = None @@ -250,11 +283,11 @@ class ConnectedClusterIdentity(msrest.serialization.Model): :ivar tenant_id: The tenant id associated with the connected cluster. This property will only be provided for a system assigned identity. :vartype tenant_id: str - :param type: Required. The type of identity used for the connected cluster. The type + :ivar type: Required. The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster. Possible values include: "None", "SystemAssigned". Default value: "SystemAssigned". - :type type: str or ~connected_kubernetes_client.models.ResourceIdentityType + :vartype type: str or ~azure.mgmt.hybridkubernetes.models.ResourceIdentityType """ _validation = { @@ -275,6 +308,13 @@ def __init__( type: Union[str, "ResourceIdentityType"] = "SystemAssigned", **kwargs ): + """ + :keyword type: Required. The type of identity used for the connected cluster. The type + 'SystemAssigned, includes a system created identity. The type 'None' means no identity is + assigned to the connected cluster. Possible values include: "None", "SystemAssigned". Default + value: "SystemAssigned". + :paramtype type: str or ~azure.mgmt.hybridkubernetes.models.ResourceIdentityType + """ super(ConnectedClusterIdentity, self).__init__(**kwargs) self.principal_id = None self.tenant_id = None @@ -284,10 +324,10 @@ def __init__( class ConnectedClusterList(msrest.serialization.Model): """The paginated list of connected Clusters. - :param value: The list of connected clusters. - :type value: list[~connected_kubernetes_client.models.ConnectedCluster] - :param next_link: The link to fetch the next page of connected cluster. - :type next_link: str + :ivar value: The list of connected clusters. + :vartype value: list[~azure.mgmt.hybridkubernetes.models.ConnectedCluster] + :ivar next_link: The link to fetch the next page of connected cluster. + :vartype next_link: str """ _attribute_map = { @@ -302,6 +342,12 @@ def __init__( next_link: Optional[str] = None, **kwargs ): + """ + :keyword value: The list of connected clusters. + :paramtype value: list[~azure.mgmt.hybridkubernetes.models.ConnectedCluster] + :keyword next_link: The link to fetch the next page of connected cluster. + :paramtype next_link: str + """ super(ConnectedClusterList, self).__init__(**kwargs) self.value = value self.next_link = next_link @@ -310,34 +356,35 @@ def __init__( class ConnectedClusterPatch(msrest.serialization.Model): """Object containing updates for patch operations. - :param tags: A set of tags. Resource tags. - :type tags: dict[str, str] - :param private_link_state: Property which describes the state of private link on a connected - cluster resource. Possible values include: "Enabled", "Disabled". - :type private_link_state: str or ~connected_kubernetes_client.models.PrivateLinkState - :param private_link_scope_resource_id: The resource id of the private link scope this connected - cluster is assigned to, if any. - :type private_link_scope_resource_id: str + :ivar tags: A set of tags. Resource tags. + :vartype tags: dict[str, str] + :ivar properties: Describes the connected cluster resource properties that can be updated + during PATCH operation. + :vartype properties: any """ _attribute_map = { 'tags': {'key': 'tags', 'type': '{str}'}, - 'private_link_state': {'key': 'properties.privateLinkState', 'type': 'str'}, - 'private_link_scope_resource_id': {'key': 'properties.privateLinkScopeResourceId', 'type': 'str'}, + 'properties': {'key': 'properties', 'type': 'object'}, } def __init__( self, *, tags: Optional[Dict[str, str]] = None, - private_link_state: Optional[Union[str, "PrivateLinkState"]] = None, - private_link_scope_resource_id: Optional[str] = None, + properties: Optional[Any] = None, **kwargs ): + """ + :keyword tags: A set of tags. Resource tags. + :paramtype tags: dict[str, str] + :keyword properties: Describes the connected cluster resource properties that can be updated + during PATCH operation. + :paramtype properties: any + """ super(ConnectedClusterPatch, self).__init__(**kwargs) self.tags = tags - self.private_link_state = private_link_state - self.private_link_scope_resource_id = private_link_scope_resource_id + self.properties = properties class CredentialResult(msrest.serialization.Model): @@ -365,6 +412,8 @@ def __init__( self, **kwargs ): + """ + """ super(CredentialResult, self).__init__(**kwargs) self.name = None self.value = None @@ -377,9 +426,9 @@ class CredentialResults(msrest.serialization.Model): :ivar hybrid_connection_config: Contains the REP (rendezvous endpoint) and “Sender” access token. - :vartype hybrid_connection_config: ~connected_kubernetes_client.models.HybridConnectionConfig + :vartype hybrid_connection_config: ~azure.mgmt.hybridkubernetes.models.HybridConnectionConfig :ivar kubeconfigs: Base64-encoded Kubernetes configuration file. - :vartype kubeconfigs: list[~connected_kubernetes_client.models.CredentialResult] + :vartype kubeconfigs: list[~azure.mgmt.hybridkubernetes.models.CredentialResult] """ _validation = { @@ -396,6 +445,8 @@ def __init__( self, **kwargs ): + """ + """ super(CredentialResults, self).__init__(**kwargs) self.hybrid_connection_config = None self.kubeconfigs = None @@ -426,6 +477,8 @@ def __init__( self, **kwargs ): + """ + """ super(ErrorAdditionalInfo, self).__init__(**kwargs) self.type = None self.info = None @@ -443,9 +496,9 @@ class ErrorDetail(msrest.serialization.Model): :ivar target: The error target. :vartype target: str :ivar details: The error details. - :vartype details: list[~connected_kubernetes_client.models.ErrorDetail] + :vartype details: list[~azure.mgmt.hybridkubernetes.models.ErrorDetail] :ivar additional_info: The error additional info. - :vartype additional_info: list[~connected_kubernetes_client.models.ErrorAdditionalInfo] + :vartype additional_info: list[~azure.mgmt.hybridkubernetes.models.ErrorAdditionalInfo] """ _validation = { @@ -468,6 +521,8 @@ def __init__( self, **kwargs ): + """ + """ super(ErrorDetail, self).__init__(**kwargs) self.code = None self.message = None @@ -479,8 +534,8 @@ def __init__( class ErrorResponse(msrest.serialization.Model): """Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). - :param error: The error object. - :type error: ~connected_kubernetes_client.models.ErrorDetail + :ivar error: The error object. + :vartype error: ~azure.mgmt.hybridkubernetes.models.ErrorDetail """ _attribute_map = { @@ -493,6 +548,10 @@ def __init__( error: Optional["ErrorDetail"] = None, **kwargs ): + """ + :keyword error: The error object. + :paramtype error: ~azure.mgmt.hybridkubernetes.models.ErrorDetail + """ super(ErrorResponse, self).__init__(**kwargs) self.error = error @@ -530,6 +589,8 @@ def __init__( self, **kwargs ): + """ + """ super(HybridConnectionConfig, self).__init__(**kwargs) self.expiration_time = None self.hybrid_connection_name = None @@ -537,17 +598,17 @@ def __init__( self.token = None -class ListClusterUserCredentialsProperties(msrest.serialization.Model): - """ListClusterUserCredentialsProperties. +class ListClusterUserCredentialProperties(msrest.serialization.Model): + """ListClusterUserCredentialProperties. All required parameters must be populated in order to send to Azure. - :param authentication_method: Required. The mode of client authentication. Possible values + :ivar authentication_method: Required. The mode of client authentication. Possible values include: "Token", "AAD". - :type authentication_method: str or ~connected_kubernetes_client.models.AuthenticationMethod - :param client_proxy: Required. Boolean value to indicate whether the request is for client side + :vartype authentication_method: str or ~azure.mgmt.hybridkubernetes.models.AuthenticationMethod + :ivar client_proxy: Required. Boolean value to indicate whether the request is for client side proxy or not. - :type client_proxy: bool + :vartype client_proxy: bool """ _validation = { @@ -567,7 +628,16 @@ def __init__( client_proxy: bool, **kwargs ): - super(ListClusterUserCredentialsProperties, self).__init__(**kwargs) + """ + :keyword authentication_method: Required. The mode of client authentication. Possible values + include: "Token", "AAD". + :paramtype authentication_method: str or + ~azure.mgmt.hybridkubernetes.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(ListClusterUserCredentialProperties, self).__init__(**kwargs) self.authentication_method = authentication_method self.client_proxy = client_proxy @@ -580,7 +650,7 @@ class Operation(msrest.serialization.Model): :ivar name: Operation name: {Microsoft.Kubernetes}/{resource}/{operation}. :vartype name: str :ivar display: The object that represents the operation. - :vartype display: ~connected_kubernetes_client.models.OperationDisplay + :vartype display: ~azure.mgmt.hybridkubernetes.models.OperationDisplay """ _validation = { @@ -597,6 +667,8 @@ def __init__( self, **kwargs ): + """ + """ super(Operation, self).__init__(**kwargs) self.name = None self.display = None @@ -605,14 +677,14 @@ def __init__( class OperationDisplay(msrest.serialization.Model): """The object that represents the operation. - :param provider: Service provider: Microsoft.connectedClusters. - :type provider: str - :param resource: Connected Cluster Resource on which the operation is performed. - :type resource: str - :param operation: Operation type: Read, write, delete, etc. - :type operation: str - :param description: Description of the operation. - :type description: str + :ivar provider: Service provider: Microsoft.connectedClusters. + :vartype provider: str + :ivar resource: Connected Cluster Resource on which the operation is performed. + :vartype resource: str + :ivar operation: Operation type: Read, write, delete, etc. + :vartype operation: str + :ivar description: Description of the operation. + :vartype description: str """ _attribute_map = { @@ -631,6 +703,16 @@ def __init__( description: Optional[str] = None, **kwargs ): + """ + :keyword provider: Service provider: Microsoft.connectedClusters. + :paramtype provider: str + :keyword resource: Connected Cluster Resource on which the operation is performed. + :paramtype resource: str + :keyword operation: Operation type: Read, write, delete, etc. + :paramtype operation: str + :keyword description: Description of the operation. + :paramtype description: str + """ super(OperationDisplay, self).__init__(**kwargs) self.provider = provider self.resource = resource @@ -644,9 +726,9 @@ class OperationList(msrest.serialization.Model): Variables are only populated by the server, and will be ignored when sending a request. :ivar value: The list of connected cluster API operations. - :vartype value: list[~connected_kubernetes_client.models.Operation] - :param next_link: The link to fetch the next page of connected cluster API operations. - :type next_link: str + :vartype value: list[~azure.mgmt.hybridkubernetes.models.Operation] + :ivar next_link: The link to fetch the next page of connected cluster API operations. + :vartype next_link: str """ _validation = { @@ -664,6 +746,10 @@ def __init__( next_link: Optional[str] = None, **kwargs ): + """ + :keyword next_link: The link to fetch the next page of connected cluster API operations. + :paramtype next_link: str + """ super(OperationList, self).__init__(**kwargs) self.value = None self.next_link = next_link @@ -672,20 +758,20 @@ def __init__( class SystemData(msrest.serialization.Model): """Metadata pertaining to creation and last modification of the resource. - :param created_by: The identity that created the resource. - :type created_by: str - :param created_by_type: The type of identity that created the resource. Possible values - include: "User", "Application", "ManagedIdentity", "Key". - :type created_by_type: str or ~connected_kubernetes_client.models.CreatedByType - :param created_at: The timestamp of resource creation (UTC). - :type created_at: ~datetime.datetime - :param last_modified_by: The identity that last modified the resource. - :type last_modified_by: str - :param last_modified_by_type: The type of identity that last modified the resource. Possible + :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. Possible values include: + "User", "Application", "ManagedIdentity", "Key". + :vartype created_by_type: str or ~azure.mgmt.hybridkubernetes.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. Possible values include: "User", "Application", "ManagedIdentity", "Key". - :type last_modified_by_type: str or ~connected_kubernetes_client.models.LastModifiedByType - :param last_modified_at: The timestamp of resource modification (UTC). - :type last_modified_at: ~datetime.datetime + :vartype last_modified_by_type: str or ~azure.mgmt.hybridkubernetes.models.LastModifiedByType + :ivar last_modified_at: The timestamp of resource modification (UTC). + :vartype last_modified_at: ~datetime.datetime """ _attribute_map = { @@ -708,6 +794,22 @@ def __init__( 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. Possible values + include: "User", "Application", "ManagedIdentity", "Key". + :paramtype created_by_type: str or ~azure.mgmt.hybridkubernetes.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. Possible + values include: "User", "Application", "ManagedIdentity", "Key". + :paramtype last_modified_by_type: str or ~azure.mgmt.hybridkubernetes.models.LastModifiedByType + :keyword last_modified_at: The timestamp of resource 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 diff --git a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/operations/__init__.py b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/operations/__init__.py similarity index 100% rename from src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/operations/__init__.py rename to src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/operations/__init__.py diff --git a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/operations/_connected_cluster_operations.py b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/operations/_connected_cluster_operations.py new file mode 100644 index 00000000000..324b381cafb --- /dev/null +++ b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/operations/_connected_cluster_operations.py @@ -0,0 +1,911 @@ +# pylint: disable=too-many-lines +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Iterable, Optional, TypeVar, Union + +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.polling import LROPoller, NoPolling, PollingMethod +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models +from .._vendor import _convert_request, _format_url_section +T = TypeVar('T') +JSONType = Any +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False + +def build_create_request_initial( + subscription_id: str, + resource_group_name: str, + cluster_name: str, + *, + json: JSONType = None, + content: Any = None, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "clusterName": _SERIALIZER.url("cluster_name", cluster_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PUT", + url=_url, + params=_query_parameters, + headers=_header_parameters, + json=json, + content=content, + **kwargs + ) + + +def build_update_request( + subscription_id: str, + resource_group_name: str, + cluster_name: str, + *, + json: JSONType = None, + content: Any = None, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "clusterName": _SERIALIZER.url("cluster_name", cluster_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="PATCH", + url=_url, + params=_query_parameters, + headers=_header_parameters, + json=json, + content=content, + **kwargs + ) + + +def build_get_request( + subscription_id: str, + resource_group_name: str, + cluster_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "clusterName": _SERIALIZER.url("cluster_name", cluster_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_delete_request_initial( + subscription_id: str, + resource_group_name: str, + cluster_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "clusterName": _SERIALIZER.url("cluster_name", cluster_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="DELETE", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_cluster_user_credential_request( + subscription_id: str, + resource_group_name: str, + cluster_name: str, + *, + json: JSONType = None, + content: Any = None, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + content_type = kwargs.pop('content_type', None) # type: Optional[str] + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}/listClusterUserCredential") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + "clusterName": _SERIALIZER.url("cluster_name", cluster_name, 'str'), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + if content_type is not None: + _header_parameters['Content-Type'] = _SERIALIZER.header("content_type", content_type, 'str') + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="POST", + url=_url, + params=_query_parameters, + headers=_header_parameters, + json=json, + content=content, + **kwargs + ) + + +def build_list_by_resource_group_request( + subscription_id: str, + resource_group_name: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters") # pylint: disable=line-too-long + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + "resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + + +def build_list_by_subscription_request( + subscription_id: str, + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/subscriptions/{subscriptionId}/providers/Microsoft.Kubernetes/connectedClusters") + path_format_arguments = { + "subscriptionId": _SERIALIZER.url("subscription_id", subscription_id, 'str', min_length=1), + } + + _url = _format_url_section(_url, **path_format_arguments) + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) + +class ConnectedClusterOperations(object): + """ConnectedClusterOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.hybridkubernetes.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _create_initial( + self, + resource_group_name: str, + cluster_name: str, + connected_cluster: "_models.ConnectedCluster", + **kwargs: Any + ) -> "_models.ConnectedCluster": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectedCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(connected_cluster, 'ConnectedCluster') + + request = build_create_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + cluster_name=cluster_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self._create_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + 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, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ConnectedCluster', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ConnectedCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + _create_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}"} # type: ignore + + + @distributed_trace + def begin_create( + self, + resource_group_name: str, + cluster_name: str, + connected_cluster: "_models.ConnectedCluster", + **kwargs: Any + ) -> LROPoller["_models.ConnectedCluster"]: + """Register a new Kubernetes cluster with Azure Resource Manager. + + API to register a new Kubernetes cluster and create a tracked resource in Azure Resource + Manager (ARM). + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param cluster_name: The name of the Kubernetes cluster on which get is called. + :type cluster_name: str + :param connected_cluster: Parameters supplied to Create a Connected Cluster. + :type connected_cluster: ~azure.mgmt.hybridkubernetes.models.ConnectedCluster + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either ConnectedCluster or the result of + cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.hybridkubernetes.models.ConnectedCluster] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectedCluster"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + connected_cluster=connected_cluster, + api_version=api_version, + content_type=content_type, + cls=lambda x,y,z: x, + **kwargs + ) + kwargs.pop('error_map', None) + + def get_long_running_output(pipeline_response): + response = pipeline_response.http_response + deserialized = self._deserialize('ConnectedCluster', pipeline_response) + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_create.metadata = {'url': "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}"} # type: ignore + + @distributed_trace + def update( + self, + resource_group_name: str, + cluster_name: str, + connected_cluster_patch: "_models.ConnectedClusterPatch", + **kwargs: Any + ) -> "_models.ConnectedCluster": + """Updates a connected cluster. + + API to update certain properties of the connected cluster resource. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param cluster_name: The name of the Kubernetes cluster on which get is called. + :type cluster_name: str + :param connected_cluster_patch: Parameters supplied to update Connected Cluster. + :type connected_cluster_patch: ~azure.mgmt.hybridkubernetes.models.ConnectedClusterPatch + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ConnectedCluster, or the result of cls(response) + :rtype: ~azure.mgmt.hybridkubernetes.models.ConnectedCluster + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectedCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(connected_cluster_patch, 'ConnectedClusterPatch') + + request = build_update_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + cluster_name=cluster_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.update.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + 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, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ConnectedCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + update.metadata = {'url': "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}"} # type: ignore + + + @distributed_trace + def get( + self, + resource_group_name: str, + cluster_name: str, + **kwargs: Any + ) -> "_models.ConnectedCluster": + """Get the properties of the specified connected cluster. + + Returns the properties of the specified connected cluster, including name, identity, + properties, and additional cluster details. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param cluster_name: The name of the Kubernetes cluster on which get is called. + :type cluster_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ConnectedCluster, or the result of cls(response) + :rtype: ~azure.mgmt.hybridkubernetes.models.ConnectedCluster + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectedCluster"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + + + request = build_get_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + cluster_name=cluster_name, + api_version=api_version, + template_url=self.get.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + 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, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ConnectedCluster', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + get.metadata = {'url': "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}"} # type: ignore + + + def _delete_initial( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + cluster_name: str, + **kwargs: Any + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + + + request = build_delete_request_initial( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + cluster_name=cluster_name, + api_version=api_version, + template_url=self._delete_initial.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + 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, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}"} # type: ignore + + + @distributed_trace + def begin_delete( # pylint: disable=inconsistent-return-statements + self, + resource_group_name: str, + cluster_name: str, + **kwargs: Any + ) -> LROPoller[None]: + """Delete a connected cluster. + + Delete a connected cluster, removing the tracked resource in Azure Resource Manager (ARM). + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param cluster_name: The name of the Kubernetes cluster on which get is called. + :type cluster_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: By default, your polling method will be ARMPolling. Pass in False for this + operation to not poll, or pass in your own initialized polling object for a personal polling + strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no + Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + cluster_name=cluster_name, + api_version=api_version, + cls=lambda x,y,z: x, + **kwargs + ) + kwargs.pop('error_map', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + + begin_delete.metadata = {'url': "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}"} # type: ignore + + @distributed_trace + def list_cluster_user_credential( + self, + resource_group_name: str, + cluster_name: str, + properties: "_models.ListClusterUserCredentialProperties", + **kwargs: Any + ) -> "_models.CredentialResults": + """Gets cluster user credentials of a connected cluster. + + Gets cluster user credentials of the connected cluster with a specified resource group and + name. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param cluster_name: The name of the Kubernetes cluster on which get is called. + :type cluster_name: str + :param properties: ListClusterUserCredential properties. + :type properties: ~azure.mgmt.hybridkubernetes.models.ListClusterUserCredentialProperties + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CredentialResults, or the result of cls(response) + :rtype: ~azure.mgmt.hybridkubernetes.models.CredentialResults + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CredentialResults"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + content_type = kwargs.pop('content_type', "application/json") # type: Optional[str] + + _json = self._serialize.body(properties, 'ListClusterUserCredentialProperties') + + request = build_list_cluster_user_credential_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + cluster_name=cluster_name, + api_version=api_version, + content_type=content_type, + json=_json, + template_url=self.list_cluster_user_credential.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + 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, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CredentialResults', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + + list_cluster_user_credential.metadata = {'url': "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters/{clusterName}/listClusterUserCredential"} # type: ignore + + + @distributed_trace + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs: Any + ) -> Iterable["_models.ConnectedClusterList"]: + """Lists all connected clusters. + + API to enumerate registered connected K8s clusters under a Resource Group. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ConnectedClusterList or the result of + cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.hybridkubernetes.models.ConnectedClusterList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectedClusterList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=self.list_by_resource_group.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_resource_group_request( + subscription_id=self._config.subscription_id, + resource_group_name=resource_group_name, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize("ConnectedClusterList", 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, error_format=ARMErrorFormat) + + return pipeline_response + + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Kubernetes/connectedClusters"} # type: ignore + + @distributed_trace + def list_by_subscription( + self, + **kwargs: Any + ) -> Iterable["_models.ConnectedClusterList"]: + """Lists all connected clusters. + + API to enumerate registered connected K8s clusters under a Subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ConnectedClusterList or the result of + cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.hybridkubernetes.models.ConnectedClusterList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectedClusterList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + def prepare_request(next_link=None): + if not next_link: + + request = build_list_by_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=self.list_by_subscription.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + + else: + + request = build_list_by_subscription_request( + subscription_id=self._config.subscription_id, + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize("ConnectedClusterList", 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, error_format=ARMErrorFormat) + + return pipeline_response + + + return ItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': "/subscriptions/{subscriptionId}/providers/Microsoft.Kubernetes/connectedClusters"} # type: ignore diff --git a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/operations/_operations.py b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/operations/_operations.py similarity index 53% rename from src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/operations/_operations.py rename to src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/operations/_operations.py index 79b048b1e9b..ba86790a390 100644 --- a/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2021_04_01/operations/_operations.py +++ b/src/connectedk8s/azext_connectedk8s/vendored_sdks/preview_2022_05_01/operations/_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -5,23 +6,50 @@ # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import TYPE_CHECKING -import warnings +from typing import Any, Callable, Dict, Iterable, Optional, TypeVar + +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 HttpRequest, HttpResponse +from azure.core.pipeline.transport import HttpResponse +from azure.core.rest import HttpRequest +from azure.core.tracing.decorator import distributed_trace from azure.mgmt.core.exceptions import ARMErrorFormat from .. import models as _models - -if TYPE_CHECKING: - # pylint: disable=unused-import,ungrouped-imports - from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar - - T = TypeVar('T') - ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] +from .._vendor import _convert_request +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False + +def build_get_request( + **kwargs: Any +) -> HttpRequest: + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + + accept = "application/json" + # Construct URL + _url = kwargs.pop("template_url", "/providers/Microsoft.Kubernetes/operations") + + # Construct parameters + _query_parameters = kwargs.pop("params", {}) # type: Dict[str, Any] + _query_parameters['api-version'] = _SERIALIZER.query("api_version", api_version, 'str') + + # Construct headers + _header_parameters = kwargs.pop("headers", {}) # type: Dict[str, Any] + _header_parameters['Accept'] = _SERIALIZER.header("accept", accept, 'str') + + return HttpRequest( + method="GET", + url=_url, + params=_query_parameters, + headers=_header_parameters, + **kwargs + ) class Operations(object): """Operations operations. @@ -30,7 +58,7 @@ class Operations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~connected_kubernetes_client.models + :type models: ~azure.mgmt.hybridkubernetes.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -45,47 +73,48 @@ def __init__(self, client, config, serializer, deserializer): self._deserialize = deserializer self._config = config + @distributed_trace def get( self, - **kwargs # type: Any - ): - # type: (...) -> Iterable["_models.OperationList"] + **kwargs: Any + ) -> Iterable["_models.OperationList"]: """Lists all of the available API operations for Connected Cluster resource. :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either OperationList or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~connected_kubernetes_client.models.OperationList] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.hybridkubernetes.models.OperationList] :raises: ~azure.core.exceptions.HttpResponseError """ + api_version = kwargs.pop('api_version', "2022-05-01-preview") # type: str + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationList"] error_map = { 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" - accept = "application/json" - def prepare_request(next_link=None): - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') - if not next_link: - # Construct URL - url = self.get.metadata['url'] # type: ignore - # Construct parameters - query_parameters = {} # type: Dict[str, Any] - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = build_get_request( + api_version=api_version, + template_url=self.get.metadata['url'], + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) - request = self._client.get(url, query_parameters, header_parameters) else: - url = next_link - query_parameters = {} # type: Dict[str, Any] - request = self._client.get(url, query_parameters, header_parameters) + + request = build_get_request( + api_version=api_version, + template_url=next_link, + ) + request = _convert_request(request) + request.url = self._client.format_url(request.url) + request.method = "GET" return request def extract_data(pipeline_response): - deserialized = self._deserialize('OperationList', pipeline_response) + deserialized = self._deserialize("OperationList", pipeline_response) list_of_elem = deserialized.value if cls: list_of_elem = cls(list_of_elem) @@ -94,17 +123,22 @@ def extract_data(pipeline_response): def get_next(next_link=None): request = prepare_request(next_link) - pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + 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]: - error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) 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, error_format=ARMErrorFormat) return pipeline_response + return ItemPaged( get_next, extract_data ) - get.metadata = {'url': '/providers/Microsoft.Kubernetes/operations'} # type: ignore + get.metadata = {'url': "/providers/Microsoft.Kubernetes/operations"} # type: ignore diff --git a/src/connectedk8s/setup.py b/src/connectedk8s/setup.py index ef8ff47d7f3..226aada5e24 100644 --- a/src/connectedk8s/setup.py +++ b/src/connectedk8s/setup.py @@ -17,7 +17,7 @@ # TODO: Confirm this is the right version number you want and it matches your # HISTORY.rst entry. -VERSION = '1.2.11' +VERSION = '1.3.0' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers @@ -37,6 +37,7 @@ DEPENDENCIES = [ 'kubernetes==11.0.0', 'pycryptodome==3.14.1', + 'azure-mgmt-hybridcompute==7.0.0' ] with open('README.md', 'r', encoding='utf-8') as f: