open_shift_clusters_admin_credentials
Creates, updates, deletes, gets or lists an open_shift_clusters_admin_credentials resource.
Overview
| Name | open_shift_clusters_admin_credentials |
| Type | Resource |
| Id | azure_isv.openshift_clusters.open_shift_clusters_admin_credentials |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
kubeconfig | string | The base64-encoded kubeconfig file. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscriptionId, resourceGroupName, resourceName | The operation returns the admin kubeconfig. |
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 |
|---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
resourceName | string | The name of the OpenShift cluster resource. |
subscriptionId | string | The ID of the target subscription. |
SELECT examples
- list
The operation returns the admin kubeconfig.
SELECT
kubeconfig
FROM azure_isv.openshift_clusters.open_shift_clusters_admin_credentials
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND resourceName = '{{ resourceName }}' -- required
;