View Source GoogleApi.AlloyDB.V1.Model.Node (google_api_alloy_db v0.10.0)

Details of a single node in the instance. Nodes in an AlloyDB instance are ephemereal, they can change during update, failover, autohealing and resize operations.

Attributes

  • id (type: String.t, default: nil) - The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
  • ip (type: String.t, default: nil) - The private IP address of the VM e.g. "10.57.0.34".
  • state (type: String.t, default: nil) - Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
  • zoneId (type: String.t, default: nil) - The Compute Engine zone of the VM e.g. "us-central1-b".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AlloyDB.V1.Model.Node{
  id: String.t() | nil,
  ip: String.t() | nil,
  state: String.t() | nil,
  zoneId: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.