autonomous_database_peers
Creates, updates, deletes, gets or lists an autonomous_database_peers resource.
Overview​
| Name | autonomous_database_peers |
| Type | Resource |
| Id | oci.database.autonomous_database_peers |
Fields​
The following fields are returned by SELECT queries:
- list
The list of Autonomous AI Database peers for the specified Autonomous AI Database was retrieved.
| Name | Datatype | Description |
|---|---|---|
id | string | The [OCID](/Content/General/Concepts/identifiers.htm) of the Autonomous AI Database. |
region | string | The name of the region where this peer Autonomous AI Database clone exists. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | autonomousDatabaseId, region | opc-request-id, limit, page | Lists the Autonomous AI Database peers for the specified Autonomous AI Database.<br /> |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
autonomousDatabaseId | string | The database [OCID](/Content/General/Concepts/identifiers.htm). |
region | string | OCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION) |
limit | integer | The maximum number of items to return per page. |
opc-request-id | string | Unique identifier for the request. |
page | string | The pagination token to continue listing from. |
SELECT examples​
- list
Lists the Autonomous AI Database peers for the specified Autonomous AI Database.<br />
SELECT
id,
region
FROM oci.database.autonomous_database_peers
WHERE autonomousDatabaseId = '{{ autonomousDatabaseId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
AND limit = '{{ limit }}'
AND page = '{{ page }}'
;