def METHOD_NAME(cmd, client, resource_group_name, cluster_type, cluster_name):
    # Validate that the subscription is registered to Microsoft.KubernetesConfiguration
    validate_cc_registration(cmd)
    cluster_rp, _ = get_cluster_rp_api_version(cluster_type)
    return client.list(resource_group_name, cluster_rp, cluster_type, cluster_name)