v1

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

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

post/v1/{+parent}/autonomousDatabases

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

networkstring

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

peerAutonomousDatabasesstring[]

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

odbSubnetstring

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

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.

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.

createTimestring google-datetime

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

adminPasswordstring

Optional. Immutable. The password for the default ADMIN user. 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.

disasterRecoverySupportedLocationsstring[]

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

adminPasswordSecretVersionstring

Optional. 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.

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}

Response

Successful response