get Cluster Credential
This data source provides Container Service cluster credential on Alibaba Cloud.
NOTE: Available since v1.187.0 NOTE: This datasource can be used on all kinds of ACK clusters, including managed clusters, imported kubernetes clusters, serverless clusters and edge clusters. Please make sure that the target cluster is not in the failed state before using this datasource, since the api server of clusters in the failed state cannot be accessed.
Return
A collection of values returned by getClusterCredential.
Parameters
A collection of arguments for invoking getClusterCredential.
Return
A collection of values returned by getClusterCredential.
Parameters
The id of target cluster.
File name where to save the returned KubeConfig (after running pulumi preview
).
Automatic expiration time of the returned credential. The valid value between 15
and 4320
, in minutes. When this field is omitted, the expiration time will be determined by the system automatically and the result will be in the attributed field expiration
.
See also
Return
A collection of values returned by getClusterCredential.
Parameters
Builder for com.pulumi.alicloud.cs.kotlin.inputs.GetClusterCredentialPlainArgs.