Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class VRF.
A network VRF.
Generated from protobuf message google.cloud.baremetalsolution.v2.VRF
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
The name of the VRF. |
↳ state |
int
The possible state of VRF. |
↳ qos_policy |
Google\Cloud\BareMetalSolution\V2\VRF\QosPolicy
The QOS policy applied to this VRF. |
↳ vlan_attachments |
array<Google\Cloud\BareMetalSolution\V2\VRF\VlanAttachment>
The list of VLAN attachments for the VRF. |
getName
The name of the VRF.
Returns | |
---|---|
Type | Description |
string |
setName
The name of the VRF.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getState
The possible state of VRF.
Returns | |
---|---|
Type | Description |
int |
setState
The possible state of VRF.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getQosPolicy
The QOS policy applied to this VRF.
Returns | |
---|---|
Type | Description |
Google\Cloud\BareMetalSolution\V2\VRF\QosPolicy|null |
hasQosPolicy
clearQosPolicy
setQosPolicy
The QOS policy applied to this VRF.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\BareMetalSolution\V2\VRF\QosPolicy
|
Returns | |
---|---|
Type | Description |
$this |
getVlanAttachments
The list of VLAN attachments for the VRF.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setVlanAttachments
The list of VLAN attachments for the VRF.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\BareMetalSolution\V2\VRF\VlanAttachment>
|
Returns | |
---|---|
Type | Description |
$this |