LocationPolicy class

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

Constructors

LocationPolicy({Input<Map<String, String>>? locations, Input<LocationPolicyTargetShape>? targetShape})
Creates a new LocationPolicy. locations 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. targetShape Strategy for distributing VMs across zones in a region.
const
LocationPolicy.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
locations → Input<Map<String, String>>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetShape → Input<LocationPolicyTargetShape>?
Strategy for distributing VMs across zones in a region.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited