View Source GoogleApi.Compute.V1.Model.LocationPolicy (google_api_compute v0.56.0)
Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region).
Attributes
-
locations
(type:%{optional(String.t) => GoogleApi.Compute.V1.Model.LocationPolicyLocation.t}
, default:nil
) - 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
(type:String.t
, default:nil
) - Strategy for distributing VMs across zones in a region.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Compute.V1.Model.LocationPolicy{ locations: %{ optional(String.t()) => GoogleApi.Compute.V1.Model.LocationPolicyLocation.t() } | nil, targetShape: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.