Google Cloud Bare Metal Solution V2 Client - Class LogicalInterface (0.3.2)

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 \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
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.

Returns
Type
Description

setLogicalNetworkInterfaces

List of logical network interfaces within a logical interface.

Returns
Type
Description
$this

getName

Interface name. This is of syntax

Returns
Type
Description
string

setName

Interface name. This is of syntax

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getInterfaceIndex

The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template.

Returns
Type
Description
int

setInterfaceIndex

The index of the logical interface mapping to the index of the hardware bond or nic on the chosen network template.

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: