Resource: Network
A Network.
JSON representation |
---|
{ "name": string, "id": string, "type": enum ( |
Fields | |
---|---|
name |
Output only. The resource name of this |
id |
An identifier for the |
type |
The type of this network. |
ipAddress |
IP address configured. |
macAddress[] |
List of physical interfaces. |
state |
The Network state. |
vlanId |
The vlan id of the Network. |
cidr |
The cidr of the Network. |
vrf |
The vrf for the Network. |
labels |
Labels as key value pairs. |
servicesCidr |
IP range for reserved for services (e.g. NFS). |
reservations[] |
List of IP address reservations in this network. When updating this field, an error will be generated if a reservation conflicts with an IP address already allocated to a physical server. |
pod |
Output only. Pod name. |
mountPoints[] |
Input only. List of mount points to attach the network to. |
jumboFramesEnabled |
Whether network uses standard frames or jumbo ones. |
gatewayIp |
Output only. Gateway ip address. |
State
The possible states for this Network.
Enums | |
---|---|
STATE_UNSPECIFIED |
The Network is in an unknown state. |
PROVISIONING |
The Network is provisioning. |
PROVISIONED |
The Network has been provisioned. |
DEPROVISIONING |
The Network is being deprovisioned. |
UPDATING |
The Network is being updated. |
VRF
A network VRF.
JSON representation |
---|
{ "name": string, "state": enum ( |
Fields | |
---|---|
name |
The name of the VRF. |
state |
The possible state of VRF. |
qosPolicy |
The QOS policy applied to this VRF. The value is only meaningful when all the vlan attachments have the same QoS. This field should not be used for new integrations, use vlan attachment level qos instead. The field is left for backward-compatibility. |
vlanAttachments[] |
The list of VLAN attachments for the VRF. |
State
The possible states for this VRF.
Enums | |
---|---|
STATE_UNSPECIFIED |
The unspecified state. |
PROVISIONING |
The vrf is provisioning. |
PROVISIONED |
The vrf is provisioned. |
QosPolicy
QOS policy parameters.
JSON representation |
---|
{ "bandwidthGbps": number } |
Fields | |
---|---|
bandwidthGbps |
The bandwidth permitted by the QOS policy, in gbps. |
VlanAttachment
VLAN attachment details.
JSON representation |
---|
{
"peerVlanId": string,
"peerIp": string,
"routerIp": string,
"pairingKey": string,
"qosPolicy": {
object ( |
Fields | |
---|---|
peerVlanId |
The peer vlan ID of the attachment. |
peerIp |
The peer IP of the attachment. |
routerIp |
The router IP of the attachment. |
pairingKey |
Input only. Pairing key. |
qosPolicy |
The QOS policy applied to this VLAN attachment. This value should be preferred to using qos at vrf level. |
id |
Immutable. The identifier of the attachment within vrf. |
NetworkAddressReservation
A reservation of one or more addresses in a network.
JSON representation |
---|
{ "startAddress": string, "endAddress": string, "note": string } |
Fields | |
---|---|
startAddress |
The first address of this reservation block. Must be specified as a single IPv4 address, e.g. 10.1.2.2. |
endAddress |
The last address of this reservation block, inclusive. I.e., for cases when reservations are only single addresses, endAddress and startAddress will be the same. Must be specified as a single IPv4 address, e.g. 10.1.2.2. |
note |
A note about this reservation, intended for human consumption. |
NetworkMountPoint
Mount point for a network.
JSON representation |
---|
{ "instance": string, "logicalInterface": string, "defaultGateway": boolean, "ipAddress": string } |
Fields | |
---|---|
instance |
Instance to attach network to. |
logicalInterface |
Logical interface to detach from. |
defaultGateway |
Network should be a default gateway. |
ipAddress |
Ip address of the server. |
Methods |
|
---|---|
|
Get details of a single network. |
|
List network in a given project and location. |
|
Update details of a single network. |