Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class VlanAttachment.
VLAN attachment details.
Generated from protobuf message google.cloud.baremetalsolution.v2.VRF.VlanAttachment
Namespace
Google \ Cloud \ BareMetalSolution \ V2 \ VRFMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ peer_vlan_id |
int|string
The peer vlan ID of the attachment. |
↳ peer_ip |
string
The peer IP of the attachment. |
↳ router_ip |
string
The router IP of the attachment. |
↳ pairing_key |
string
Input only. Pairing key. |
↳ qos_policy |
QosPolicy
The QOS policy applied to this VLAN attachment. This value should be preferred to using qos at vrf level. |
↳ id |
string
Immutable. The identifier of the attachment within vrf. |
↳ interconnect_attachment |
string
Optional. The name of the vlan attachment within vrf. This is of the form projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment} |
getPeerVlanId
The peer vlan ID of the attachment.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setPeerVlanId
The peer vlan ID of the attachment.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPeerIp
The peer IP of the attachment.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPeerIp
The peer IP of the attachment.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRouterIp
The router IP of the attachment.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRouterIp
The router IP of the attachment.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPairingKey
Input only. Pairing key.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPairingKey
Input only. Pairing key.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getQosPolicy
The QOS policy applied to this VLAN attachment.
This value should be preferred to using qos at vrf level.
| Returns | |
|---|---|
| Type | Description |
QosPolicy|null |
|
hasQosPolicy
clearQosPolicy
setQosPolicy
The QOS policy applied to this VLAN attachment.
This value should be preferred to using qos at vrf level.
| Parameter | |
|---|---|
| Name | Description |
var |
QosPolicy
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getId
Immutable. The identifier of the attachment within vrf.
| Returns | |
|---|---|
| Type | Description |
string |
|
setId
Immutable. The identifier of the attachment within vrf.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInterconnectAttachment
Optional. The name of the vlan attachment within vrf. This is of the form projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}
| Returns | |
|---|---|
| Type | Description |
string |
|
setInterconnectAttachment
Optional. The name of the vlan attachment within vrf. This is of the form projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|