Class Subnet (1.3.0)

Subnet(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Subnet in a private cloud. Either management subnets (such as vMotion) that are read-only, or userDefined, which can also be updated.

Attributes

NameDescription
name str
Output only. The resource name of this subnet. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet
ip_cidr_range str
The IP address range of the subnet in CIDR format '10.0.0.0/24'.
gateway_ip str
The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.
type_ str
Output only. The type of the subnet. For example "management" or "userDefined".
state google.cloud.vmwareengine_v1.types.Subnet.State
Output only. The state of the resource.
vlan_id int
Output only. VLAN ID of the VLAN on which the subnet is configured

Classes

State

State(value)

Defines possible states of subnets.

Values: STATE_UNSPECIFIED (0): The default value. This value should never be used. ACTIVE (1): The subnet is ready. CREATING (2): The subnet is being created. UPDATING (3): The subnet is being updated. DELETING (4): The subnet is being deleted. RECONCILING (5): Changes requested in the last operation are being propagated. FAILED (6): Last operation on the subnet did not succeed. Subnet's payload is reverted back to its most recent working state.