Class Subnet (0.2.2)

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.

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.