autonomous_database_wallets
Creates, updates, deletes, gets or lists an autonomous_database_wallets resource.
Overview​
| Name | autonomous_database_wallets |
| Type | Resource |
| Id | oci.database.autonomous_database_wallets |
Fields​
The following fields are returned by SELECT queries:
- get
The wallet details for the specified Autonomous AI Database are being retrieved.
| Name | Datatype | Description |
|---|---|---|
lifecycleState | string | The current lifecycle state of the Autonomous AI Database wallet. (ACTIVE, UPDATING) |
timeDownloaded | string (date-time) | The date and time the Autonomous AI Database wallet was downloaded. |
timeRotated | string (date-time) | The date and time the wallet was last rotated. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | autonomousDatabaseId, region | opc-request-id | Gets the wallet details for the specified Autonomous AI Database.<br /> |
update | update | autonomousDatabaseId, region | opc-request-id | Updates the wallet 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) |
opc-request-id | string | Unique identifier for the request. |
SELECT examples​
- get
Gets the wallet details for the specified Autonomous AI Database.<br />
SELECT
lifecycleState,
timeDownloaded,
timeRotated
FROM oci.database.autonomous_database_wallets
WHERE autonomousDatabaseId = '{{ autonomousDatabaseId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;
UPDATE examples​
- update
Updates the wallet for the specified Autonomous AI Database.<br />
UPDATE oci.database.autonomous_database_wallets
SET
gracePeriod = {{ gracePeriod }},
shouldRotate = {{ shouldRotate }}
WHERE
autonomousDatabaseId = '{{ autonomousDatabaseId }}' --required
AND region = '{{ region }}' --required
AND opc-request-id = '{{ opc-request-id}}';