getZones

suspend fun getZones(argument: GetZonesPlainArgs): GetZonesResult

This data source provides availability zones for Gpdb that can be accessed by an Alibaba Cloud account within the region configured in the provider.

NOTE: Available in v1.73.0+.

Example Usage

resources:
# Create an Gpdb instance with the first matched zone
hbase:
type: alicloud:hbase:Instance
properties:
availabilityZone: ${zonesIds.zones[0].id}
variables:
# Declare the data source
zonesIds:
fn::invoke:
function: alicloud:gpdb:getZones
arguments: {}

Return

A collection of values returned by getZones.

Parameters

argument

A collection of arguments for invoking getZones.


suspend fun getZones(multi: Boolean? = null, outputFile: String? = null): GetZonesResult

Return

A collection of values returned by getZones.

Parameters

multi

Indicate whether the zones can be used in a multi AZ configuration. Default to false. Multi AZ is usually used to launch Gpdb instances.

outputFile

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

See also


suspend fun getZones(argument: suspend GetZonesPlainArgsBuilder.() -> Unit): GetZonesResult

Return

A collection of values returned by getZones.

Parameters

argument

Builder for com.pulumi.alicloud.gpdb.kotlin.inputs.GetZonesPlainArgs.

See also