Class HaControllerZoneConfiguration
Config for a zone that the HaController may use for running the VM instance.
Implements
Inherited Members
Namespace: Google.Apis.Compute.preview.Data
Assembly: Google.Apis.Compute.preview.dll
Syntax
public class HaControllerZoneConfiguration : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
InstanceNetworkInterfaces
Optional. The network interface configuration of a VM instance in this zone, keyed by the name of the network interface. A VM network interface uses the nicN naming format, where N is a value between 0 and 7. The default interface is nic0. Use this field to choose the internal IP addresses of the VM instance in this zone instead of letting Compute Engine assign them automatically. - Each key must be a name of a network interface that exists on the VM instance. Otherwise, the request fails. - Network interfaces that are omitted are assigned an ephemeral internal IP address. - Every zone must configure the same network interfaces and the same IP address families. - For the zone that currently holds the VM instance, this field is populated automatically, and any addresses you specify must match the instance's current addresses. - Only internal IP addresses are supported, and this field can only be set when the HA Controller is created.
Declaration
[JsonProperty("instanceNetworkInterfaces")]
public virtual IDictionary<string, HaControllerInstanceNetworkInterface> InstanceNetworkInterfaces { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, HaControllerInstanceNetworkInterface> |
NodeAffinities
A set of node affinity configurations. Refer toConfiguring node affinity for more information. Overrides reservationAffinity.
Declaration
[JsonProperty("nodeAffinities")]
public virtual IList<HaControllerZoneConfigurationNodeAffinity> NodeAffinities { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<HaControllerZoneConfigurationNodeAffinity> |
ReservationAffinity
Specifies the reservations that the instance can consume from.
Declaration
[JsonProperty("reservationAffinity")]
public virtual HaControllerZoneConfigurationReservationAffinity ReservationAffinity { get; set; }
Property Value
| Type | Description |
|---|---|
| HaControllerZoneConfigurationReservationAffinity |