GoogleApi.Compute.V1.Model.VmEndpointNatMappingsInterfaceNatMappings (google_api_compute v0.37.0) View Source

Contain information of Nat mapping for an interface of this endpoint.

Attributes

  • drainNatIpPortRanges (type: list(String.t), default: nil) - List of all drain IP:port-range mappings assigned to this interface. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
  • natIpPortRanges (type: list(String.t), default: nil) - A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"].
  • numTotalDrainNatPorts (type: integer(), default: nil) - Total number of drain ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field drain_nat_ip_port_ranges.
  • numTotalNatPorts (type: integer(), default: nil) - Total number of ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field nat_ip_port_ranges.
  • sourceAliasIpRange (type: String.t, default: nil) - Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples: "10.33.4.55/32", or "192.168.5.0/24".
  • sourceVirtualIp (type: String.t, default: nil) - Primary IP of the VM for this NIC.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Compute.V1.Model.VmEndpointNatMappingsInterfaceNatMappings{
  drainNatIpPortRanges: [String.t()] | nil,
  natIpPortRanges: [String.t()] | nil,
  numTotalDrainNatPorts: integer() | nil,
  numTotalNatPorts: integer() | nil,
  sourceAliasIpRange: String.t() | nil,
  sourceVirtualIp: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.