Skip to main content

autonomous_database_wallets

Creates, updates, deletes, gets or lists an autonomous_database_wallets resource.

Overview​

Nameautonomous_database_wallets
TypeResource
Idoci.database.autonomous_database_wallets

Fields​

The following fields are returned by SELECT queries:

The wallet details for the specified Autonomous AI Database are being retrieved.

NameDatatypeDescription
lifecycleStatestringThe current lifecycle state of the Autonomous AI Database wallet. (ACTIVE, UPDATING)
timeDownloadedstring (date-time)The date and time the Autonomous AI Database wallet was downloaded.
timeRotatedstring (date-time)The date and time the wallet was last rotated.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectautonomousDatabaseId, regionopc-request-idGets the wallet details for the specified Autonomous AI Database.<br />
updateupdateautonomousDatabaseId, regionopc-request-idUpdates 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.

NameDatatypeDescription
autonomousDatabaseIdstringThe database [OCID](/Content/General/Concepts/identifiers.htm).
regionstringOCI 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-idstringUnique identifier for the request.

SELECT examples​

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​

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}}';