getClusters

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

NOTE: Available since 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, String>? = null): GetClustersResult

Return

A collection of values returned by getClusters.

Parameters

clusterName

The cluster name.

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.

tags

A mapping of tags to assign to the resource.

See also


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

Return

A collection of values returned by getClusters.

Parameters

argument

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

See also