View Source GoogleApi.Compute.V1.Model.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings (google_api_compute v0.56.2)

Contains information of NAT Mappings provided by a NAT Rule.

Attributes

  • drainNatIpPortRanges (type: list(String.t), default: nil) - List of all drain IP:port-range mappings assigned to this interface by this rule. 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 by this rule. 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 by this rule. It equals 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 by this rule. It equals the aggregated port number in the field nat_ip_port_ranges.
  • ruleNumber (type: integer(), default: nil) - Rule number of the NAT Rule.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Compute.V1.Model.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings{
    drainNatIpPortRanges: [String.t()] | nil,
    natIpPortRanges: [String.t()] | nil,
    numTotalDrainNatPorts: integer() | nil,
    numTotalNatPorts: integer() | nil,
    ruleNumber: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.