Skip to main content

connected_cluster_cluster_user_credentials

Creates, updates, deletes, gets or lists a connected_cluster_cluster_user_credentials resource.

Overview

Nameconnected_cluster_cluster_user_credentials
TypeResource
Idazure.hybrid_kubernetes.connected_cluster_cluster_user_credentials

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
hybridConnectionConfigobjectContains the REP (rendezvous endpoint) and “Sender” access token.
kubeconfigsarrayBase64-encoded Kubernetes configuration file.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, clusterNameGets cluster user credentials of the connected cluster with a specified resource group and name.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
clusterNamestringThe name of the Kubernetes cluster on which get is called.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Gets cluster user credentials of the connected cluster with a specified resource group and name.

SELECT
hybridConnectionConfig,
kubeconfigs
FROM azure.hybrid_kubernetes.connected_cluster_cluster_user_credentials
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
;