REST Resource: projects.locations.privateClouds.subnets

Stay organized with collections Save and categorize content based on your preferences.

Resource: Subnet

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

JSON representation
{
  "name": string,
  "ipCidrRange": string,
  "gatewayIp": string,
  "type": string,
  "state": enum (State)
}
Fields
name

string

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-west1-a/privateClouds/my-cloud/subnets/my-subnet

ipCidrRange

string

The IP address range of the subnet in CIDR format '10.0.0.0/24'.

gatewayIp

string

The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.

type

string

Output only. The type of the subnet. For example "management" or "userDefined".

state

enum (State)

Output only. The state of the resource.

State

Defines possible states of subnets.

Enums
STATE_UNSPECIFIED The default value. This value should never be used.
ACTIVE The subnet is ready.
CREATING The subnet is being created.
UPDATING The subnet is being updated.
DELETING The subnet is being deleted.

Methods

list

Lists subnets in a given private cloud.