Resource: Subnet
Message describing Subnet object
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "description": string, "network": string, "ipv4Cidr": [ string ], "ipv6Cidr": [ string ], "vlanId": integer, "bondingType": enum ( |
Fields | |
---|---|
name |
Required. The canonical resource name of the subnet. |
create |
Output only. The time when the subnet was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
update |
Output only. The time when the subnet was last updated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
labels |
Labels associated with this resource. An object containing a list of |
description |
Optional. A free-text description of the resource. Max length 1024 characters. |
network |
Required. The network that this subnetwork belongs to. |
ipv4 |
The ranges of ipv4 addresses that are owned by this subnetwork. |
ipv6 |
The ranges of ipv6 addresses that are owned by this subnetwork. |
vlan |
Optional. VLAN id provided by user. If not specified we assign one automatically. |
bonding |
Optional. A bonding type in the subnet creation specifies whether a VLAN being created will be present on Bonded or Non-Bonded or Both port types. In addition, this flag is to be used to set the specific network configuration which clusters can then use for their workloads based on the bonding choice. |
state |
Output only. Current stage of the resource to the device by config push. |
BondingType
Bonding type in the subnet.
Enums | |
---|---|
BONDING_TYPE_UNSPECIFIED |
Unspecified Bonding type will be unspecified by default and if the user chooses to not specify a bonding type at time of creating the VLAN. This will be treated as mixed bonding where the VLAN will have both bonded and non-bonded connectivity to machines. |
BONDED |
Multi homed. |
NON_BONDED |
Single homed. |
Methods |
|
---|---|
|
Creates a new Subnet in a given project and location. |
|
Deletes a single Subnet. |
|
Gets details of a single Subnet. |
|
Lists Subnets in a given project and location. |
|
Updates the parameters of a single Subnet. |