Skip to main content

open_shift_clusters_admin_credentials

Creates, updates, deletes, gets or lists an open_shift_clusters_admin_credentials resource.

Overview

Nameopen_shift_clusters_admin_credentials
TypeResource
Idazure_isv.openshift_clusters.open_shift_clusters_admin_credentials

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
kubeconfigstringThe base64-encoded kubeconfig file.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, resourceNameThe 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.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
resourceNamestringThe name of the OpenShift cluster resource.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

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
;