projects

Creates a new ODB Subnet in a given ODB Network.

post/v1/{+parent}/odbSubnets

Request

  • Base URL: https://oracledatabase.googleapis.com
  • URL: https://oracledatabase.googleapis.com/v1/{+parent}/odbSubnets
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

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

cidrRangestring

Required. Immutable. The CIDR range of the subnet.

createTimestring google-datetime

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

labelsobject

Optional. Labels or tags associated with the resource.

namestring

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

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

Required. Immutable. Purpose of the subnet.

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

Output only. State of the ODB Subnet.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status