Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class 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.
Generated from protobuf message google.cloud.baremetalsolution.v2.LogicalInterface
Namespace
Google \ Cloud \ BareMetalSolution \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ logical_network_interfaces
array< Google\Cloud\BareMetalSolution\V2\LogicalInterface\LogicalNetworkInterface
>
List of logical network interfaces within a logical interface.
↳ name
string
Interface name. This is of syntax
↳ interface_index
int
The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template.
getLogicalNetworkInterfaces
List of logical network interfaces within a logical interface.
setLogicalNetworkInterfaces
List of logical network interfaces within a logical interface.
$this
getName
Interface name. This is of syntax
string
setName
Interface name. This is of syntax
var
string
$this
getInterfaceIndex
The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template.
int
setInterfaceIndex
The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template.
var
int
$this