GetServerlessKubernetesClustersPlainArgs

data class GetServerlessKubernetesClustersPlainArgs(val enableDetails: Boolean? = null, val ids: List<String>? = null, val kubeConfigFilePrefix: String? = null, val nameRegex: String? = null, val outputFile: String? = null) : ConvertibleToJava<GetServerlessKubernetesClustersPlainArgs>

A collection of arguments for invoking getServerlessKubernetesClusters.

Constructors

Link copied to clipboard
constructor(enableDetails: Boolean? = null, ids: List<String>? = null, kubeConfigFilePrefix: String? = null, nameRegex: String? = null, outputFile: String? = null)

Properties

Link copied to clipboard
val enableDetails: Boolean? = null

Boolean, false by default, only id and name are exported. Set to true if more details are needed, e.g., deletion_protection, connections. See full list in attributes.

Link copied to clipboard
val ids: List<String>? = null

Cluster IDs to filter.

Link copied to clipboard

The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like ~/.kube/serverless, then it will be named with ~/.kube/serverless-clusterID-kubeconfig. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSource alicloud.cs.getClusterCredential to replace it

Link copied to clipboard
val nameRegex: String? = null

A regex string to filter results by cluster name.

Link copied to clipboard
val outputFile: String? = null

File name where to save data source results (after running pulumi preview).

Functions

Link copied to clipboard
open override fun toJava(): GetServerlessKubernetesClustersPlainArgs