Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::LogicalInterface (v0.2.0)

Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::LogicalInterface.

Each logical interface represents a logical abstraction of the underlying physical interface (for eg. bond, nic) of the instance. Each logical interface can effectively map to multiple network-IP pairs and still be mapped to one underlying physical interface.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#interface_index

def interface_index() -> ::Integer
Returns
  • (::Integer) — The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template.

#interface_index=

def interface_index=(value) -> ::Integer
Parameter
  • value (::Integer) — The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template.
Returns
  • (::Integer) — The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template.

#logical_network_interfaces

def logical_network_interfaces() -> ::Array<::Google::Cloud::BareMetalSolution::V2::LogicalInterface::LogicalNetworkInterface>
Returns

#logical_network_interfaces=

def logical_network_interfaces=(value) -> ::Array<::Google::Cloud::BareMetalSolution::V2::LogicalInterface::LogicalNetworkInterface>
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Interface name. This is of syntax

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Interface name. This is of syntax
Returns
  • (::String) — Interface name. This is of syntax