getRegions

Provides access to available Google Compute regions for a given project. See more about regions and zones in the upstream docs.

Return

A collection of values returned by getRegions.

Parameters

argument

A collection of arguments for invoking getRegions.


suspend fun getRegions(project: String? = null, status: String? = null): GetRegionsResult

Return

A collection of values returned by getRegions.

See also

Parameters

project

Project from which to list available regions. Defaults to project declared in the provider.

status

Allows to filter list of regions based on their current status. Status can be either UP or DOWN. Defaults to no filtering (all available regions - both UP and DOWN).


suspend fun getRegions(argument: suspend GetRegionsPlainArgsBuilder.() -> Unit): GetRegionsResult

Return

A collection of values returned by getRegions.

See also

Parameters

argument

Builder for com.pulumi.gcp.compute.kotlin.inputs.GetRegionsPlainArgs.