Skip to main content

open_shift_clusters_credentials

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

Overview

Nameopen_shift_clusters_credentials
TypeResource
Idazure_isv.openshift_clusters.open_shift_clusters_credentials

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
kubeadminPasswordstringThe password for the kubeadmin user.
kubeadminUsernamestringThe username for the kubeadmin user.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, resourceNameThe operation returns the credentials.

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 credentials.

SELECT
kubeadminPassword,
kubeadminUsername
FROM azure_isv.openshift_clusters.open_shift_clusters_credentials
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND resourceName = '{{ resourceName }}' -- required
;