connected_cluster_cluster_user_credentials
Creates, updates, deletes, gets or lists a connected_cluster_cluster_user_credentials
resource.
Overview
Name | connected_cluster_cluster_user_credentials |
Type | Resource |
Id | azure.hybrid_kubernetes.connected_cluster_cluster_user_credentials |
Fields
The following fields are returned by SELECT
queries:
- list
Name | Datatype | Description |
---|---|---|
hybridConnectionConfig | object | Contains the REP (rendezvous endpoint) and “Sender” access token. |
kubeconfigs | array | Base64-encoded Kubernetes configuration file. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | subscriptionId , resourceGroupName , clusterName | Gets 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.
Name | Datatype | Description |
---|---|---|
clusterName | string | The name of the Kubernetes cluster on which get is called. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- list
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
;