Method: projects.locations.autonomousDatabases.create

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

HTTP request

POST https://oracledatabase.googleapis.com/v1/{parent=projects/*/locations/*}/autonomousDatabases

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The name of the parent in the following format: projects/{project}/locations/{location}.

Query parameters

Parameters
autonomousDatabaseId

string

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.

requestId

string

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

The request body contains an instance of AutonomousDatabase.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • oracledatabase.autonomousDatabases.create

For more information, see the IAM documentation.