getClusters

This data source provides the Emr Clusters of the current Alibaba Cloud user.

NOTE: Available in v1.199.0+.

Return

A collection of values returned by getClusters.

Parameters

argument

A collection of arguments for invoking getClusters.


suspend fun getClusters(clusterName: String? = null, clusterStates: List<String>? = null, clusterTypes: List<String>? = null, ids: List<String>? = null, maxResults: Int? = null, nameRegex: String? = null, nextToken: String? = null, outputFile: String? = null, paymentTypes: List<String>? = null, resourceGroupId: String? = null, tags: Map<String, Any>? = null): GetClustersResult

Return

A collection of values returned by getClusters.

See also

Parameters

clusterName

The name of the emr cluster.

clusterStates

The cluster states.

clusterTypes

The cluster types.

ids

A list of Cluster IDS.

maxResults

The max results is used to list clusters for next page.

nameRegex

A regex string to filter results by Cluster name.

nextToken

The next token is used to list clusters for next page.

outputFile

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

paymentTypes

The cluster payment types.

resourceGroupId

The resource group id of the resource.

tags

A mapping of tags to assign to the resource.


suspend fun getClusters(argument: suspend GetClustersPlainArgsBuilder.() -> Unit): GetClustersResult

Return

A collection of values returned by getClusters.

See also

Parameters

argument

Builder for com.pulumi.alicloud.emrv2.kotlin.inputs.GetClustersPlainArgs.