LocationPolicy constructor

const LocationPolicy({
  1. Input<Map<String, String>>? locations,
  2. 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.

Implementation

const LocationPolicy({
  this.locations,
  this.targetShape,
});