v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1358182299.4 KB
projects

Creates a new ODB Subnet in a given ODB Network.

post/v1/{+parent}/odbSubnets

Path parameters

parentstring required

Required. The parent value for the OdbSubnet in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.

Query parameters

odbSubnetIdstring

Required. The ID of the OdbSubnet to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.

requestIdstring

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Request body

namestring

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

cidrRangestring

Required. The CIDR range of the subnet.

labelsobject

Optional. Labels or tags associated with the resource.

state'STATE_UNSPECIFIED' | 'PROVISIONING' | 'AVAILABLE' | 'TERMINATING' | 'FAILED'

Output only. State of the ODB Subnet.

purpose'PURPOSE_UNSPECIFIED' | 'CLIENT_SUBNET' | 'BACKUP_SUBNET'

Required. Purpose of the subnet.

createTimestring google-datetime

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

Response

Successful response