projects

Creates a new Autonomous Database in a given project and location.

post/v1/{+parent}/autonomousDatabases

Request

  • Base URL: https://oracledatabase.googleapis.com
  • URL: https://oracledatabase.googleapis.com/v1/{+parent}/autonomousDatabases
  • 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 name of the parent in the following format: projects/{project}/locations/{location}.

Query parameters

autonomousDatabaseIdstring

Required. The ID of the Autonomous Database 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

adminPasswordstring

Optional. Input only. Immutable. The password for the default ADMIN user. Note: Only one of admin_password_secret_version or admin_password can be populated.

adminPasswordSecretVersionstring

Optional. Input only. Immutable. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of admin_password_secret_version or admin_password can be populated.

cidrstring

Optional. Immutable. The subnet CIDR range for the Autonomous Database.

createTimestring google-datetime

Output only. The date and time that the Autonomous Database was created.

databasestring

Optional. Immutable. The name of the Autonomous Database. The database name must be unique in the project. The name must begin with a letter and can contain a maximum of 30 alphanumeric characters.

disasterRecoverySupportedLocationsstring[]

Output only. List of supported GCP region to clone the Autonomous Database for disaster recovery. Format: project/{project}/locations/{location}.

displayNamestring

Optional. Immutable. The display name for the Autonomous Database. The name does not have to be unique within your project.

entitlementIdstring

Output only. The ID of the subscription entitlement associated with the Autonomous Database.

labelsobject

Optional. The labels or tags associated with the Autonomous Database.

namestring

Identifier. The name of the Autonomous Database resource in the following format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}

networkstring

Optional. Immutable. The name of the VPC network used by the Autonomous Database in the following format: projects/{project}/global/networks/{network}

odbNetworkstring

Optional. Immutable. The name of the OdbNetwork associated with the Autonomous Database. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.

odbSubnetstring

Optional. Immutable. The name of the OdbSubnet associated with the Autonomous Database. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

peerAutonomousDatabasesstring[]

Output only. The peer Autonomous Database names of the given Autonomous Database.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

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