REST Resource: projects.locations.odbNetworks.odbSubnets

Resource: OdbSubnet

Represents OdbSubnet resource.

JSON representation
{
  "name": string,
  "cidrRange": string,
  "purpose": enum (Purpose),
  "labels": {
    string: string,
    ...
  },
  "createTime": string,
  "state": enum (State)
}
Fields
name

string

Identifier. The name of the OdbSubnet resource in the following format: projects/{project}/locations/{location}/odbNetworks/{odbNetwork}/odbSubnets/{odbSubnet}

cidrRange

string

Required. The CIDR range of the subnet.

purpose

enum (Purpose)

Required. Purpose of the subnet.

labels

map (key: string, value: string)

Optional. Labels or tags associated with the resource.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

createTime

string (Timestamp format)

Output only. The date and time that the OdbNetwork was created.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

state

enum (State)

Output only. State of the ODB Subnet.

Purpose

Purpose available for the subnet.

Enums
PURPOSE_UNSPECIFIED Default unspecified value.
CLIENT_SUBNET Subnet to be used for client connections.
BACKUP_SUBNET Subnet to be used for backup.

State

The various lifecycle states of the ODB Subnet.

Enums
STATE_UNSPECIFIED Default unspecified value.
PROVISIONING Indicates that the resource is in provisioning state.
AVAILABLE Indicates that the resource is in available state.
TERMINATING Indicates that the resource is in terminating state.
FAILED Indicates that the resource is in failed state.

Methods

create

Creates a new ODB Subnet in a given ODB Network.

delete

Deletes a single ODB Subnet.

get

Gets details of a single ODB Subnet.

list

Lists all the ODB Subnets in a given ODB Network.