LocationPolicyArgs

data class LocationPolicyArgs(val locations: Output<Map<String, String>>? = null, val targetShape: Output<LocationPolicyTargetShape>? = null) : ConvertibleToJava<LocationPolicyArgs>

Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region).

Constructors

Link copied to clipboard
fun LocationPolicyArgs(locations: Output<Map<String, String>>? = null, targetShape: Output<LocationPolicyTargetShape>? = null)

Functions

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

Properties

Link copied to clipboard
val locations: Output<Map<String, String>>? = null

Location configurations mapped by location name. Currently only zone names are supported and must be represented as valid internal URLs, such as zones/us-central1-a.

Link copied to clipboard

Strategy for distributing VMs across zones in a region.