Skip to main content

autonomous_database_regional_wallets

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

Overview​

Nameautonomous_database_regional_wallets
TypeResource
Idoci.database.autonomous_database_regional_wallets

Fields​

The following fields are returned by SELECT queries:

The Autonomous AI Database regional wallet details 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
getselectregionopc-request-idGets the Autonomous AI Database regional wallet details.<br />
updateupdateregionopc-request-idUpdates the Autonomous AI Database regional wallet.<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
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 Autonomous AI Database regional wallet details.<br />

SELECT
lifecycleState,
timeDownloaded,
timeRotated
FROM oci.database.autonomous_database_regional_wallets
WHERE region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
;

UPDATE examples​

Updates the Autonomous AI Database regional wallet.<br />

UPDATE oci.database.autonomous_database_regional_wallets
SET
gracePeriod = {{ gracePeriod }},
shouldRotate = {{ shouldRotate }}
WHERE
region = '{{ region }}' --required
AND opc-request-id = '{{ opc-request-id}}';