Skip to main content

exascale_db_storage_vaults

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

Overview

Nameexascale_db_storage_vaults
TypeResource
Idgoogle.oracledatabase.exascale_db_storage_vaults

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. The resource name of the ExascaleDbStorageVault. Format: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}
createTimestring (google-datetime)Output only. The date and time when the ExascaleDbStorageVault was created.
displayNamestringRequired. The display name for the ExascaleDbStorageVault. The name does not have to be unique within your project. The name must be 1-255 characters long and can only contain alphanumeric characters.
entitlementIdstringOutput only. The ID of the subscription entitlement associated with the ExascaleDbStorageVault.
gcpOracleZonestringOptional. The GCP Oracle zone where Oracle ExascaleDbStorageVault is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
labelsobjectOptional. The labels or tags associated with the ExascaleDbStorageVault.
propertiesobjectRequired. The properties of the ExascaleDbStorageVault. (id: ExascaleDbStorageVaultProperties)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, exascaleDbStorageVaultsIdGets details of a single ExascaleDB Storage Vault.
listselectprojectsId, locationsIdpageSize, pageToken, filter, orderByLists all the ExascaleDB Storage Vaults for the given project and location.
createinsertprojectsId, locationsIdexascaleDbStorageVaultId, requestIdCreates a new ExascaleDB Storage Vault resource.
deletedeleteprojectsId, locationsId, exascaleDbStorageVaultsIdrequestIdDeletes a single ExascaleDB Storage Vault.

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
exascaleDbStorageVaultsIdstring
locationsIdstring
projectsIdstring
exascaleDbStorageVaultIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring

SELECT examples

Gets details of a single ExascaleDB Storage Vault.

SELECT
name,
createTime,
displayName,
entitlementId,
gcpOracleZone,
labels,
properties
FROM google.oracledatabase.exascale_db_storage_vaults
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND exascaleDbStorageVaultsId = '{{ exascaleDbStorageVaultsId }}' -- required
;

INSERT examples

Creates a new ExascaleDB Storage Vault resource.

INSERT INTO google.oracledatabase.exascale_db_storage_vaults (
data__name,
data__displayName,
data__gcpOracleZone,
data__properties,
data__labels,
projectsId,
locationsId,
exascaleDbStorageVaultId,
requestId
)
SELECT
'{{ name }}',
'{{ displayName }}',
'{{ gcpOracleZone }}',
'{{ properties }}',
'{{ labels }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ exascaleDbStorageVaultId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;

DELETE examples

Deletes a single ExascaleDB Storage Vault.

DELETE FROM google.oracledatabase.exascale_db_storage_vaults
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND exascaleDbStorageVaultsId = '{{ exascaleDbStorageVaultsId }}' --required
AND requestId = '{{ requestId }}'
;