View Source GoogleApi.BareMetalSolution.V2.Model.NetworkConfig (google_api_bare_metal_solution v0.7.0)

Configuration parameters for a new network.

Attributes

  • bandwidth (type: String.t, default: nil) - Interconnect bandwidth. Set only when type is CLIENT.
  • cidr (type: String.t, default: nil) - CIDR range of the network.
  • gcpService (type: String.t, default: nil) - The GCP service of the network. Available gcp_service are in https://cloud.google.com/bare-metal/docs/bms-planning.
  • id (type: String.t, default: nil) - A transient unique identifier to identify a volume within an ProvisioningConfig request.
  • jumboFramesEnabled (type: boolean(), default: nil) - The JumboFramesEnabled option for customer to set.
  • name (type: String.t, default: nil) - Output only. The name of the network config.
  • serviceCidr (type: String.t, default: nil) - Service CIDR, if any.
  • type (type: String.t, default: nil) - The type of this network, either Client or Private.
  • userNote (type: String.t, default: nil) - User note field, it can be used by customers to add additional information for the BMS Ops team .
  • vlanAttachments (type: list(GoogleApi.BareMetalSolution.V2.Model.IntakeVlanAttachment.t), default: nil) - List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan). Use only one of vlan_attachments or vrf
  • vlanSameProject (type: boolean(), default: nil) - Whether the VLAN attachment pair is located in the same project.
  • vrf (type: String.t, default: nil) - Optional. The name of a pre-existing Vrf that the network should be attached to. Format is vrfs/{vrf}. If vrf is specified, vlan_attachments must be empty.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BareMetalSolution.V2.Model.NetworkConfig{
  bandwidth: String.t() | nil,
  cidr: String.t() | nil,
  gcpService: String.t() | nil,
  id: String.t() | nil,
  jumboFramesEnabled: boolean() | nil,
  name: String.t() | nil,
  serviceCidr: String.t() | nil,
  type: String.t() | nil,
  userNote: String.t() | nil,
  vlanAttachments:
    [GoogleApi.BareMetalSolution.V2.Model.IntakeVlanAttachment.t()] | nil,
  vlanSameProject: boolean() | nil,
  vrf: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.