Skip to main content

cloud_exadata_infrastructures

Creates, updates, deletes, gets or lists a cloud_exadata_infrastructures resource.

Overview

Namecloud_exadata_infrastructures
TypeResource
Idgoogle.oracledatabase.cloud_exadata_infrastructures

Fields

NameDatatypeDescription
namestringIdentifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}
createTimestringOutput only. The date and time that the Exadata Infrastructure was created.
displayNamestringOptional. User friendly name for this resource.
entitlementIdstringOutput only. Entitlement ID of the private offer against which this infrastructure resource is provisioned.
gcpOracleZonestringOptional. GCP location where Oracle Exadata is hosted.
labelsobjectOptional. Labels or tags associated with the resource.
propertiesobjectVarious properties of Exadata Infrastructure.

Methods

NameAccessible byRequired ParamsDescription
getSELECTcloudExadataInfrastructuresId, locationsId, projectsIdGets details of a single Exadata Infrastructure.
listSELECTlocationsId, projectsIdLists Exadata Infrastructures in a given project and location.
createINSERTlocationsId, projectsIdCreates a new Exadata Infrastructure in a given project and location.
deleteDELETEcloudExadataInfrastructuresId, locationsId, projectsIdDeletes a single Exadata Infrastructure.

SELECT examples

Lists Exadata Infrastructures in a given project and location.

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

INSERT example

Use the following StackQL query and manifest file to create a new cloud_exadata_infrastructures resource.

/*+ create */
INSERT INTO google.oracledatabase.cloud_exadata_infrastructures (
locationsId,
projectsId,
name,
displayName,
gcpOracleZone,
properties,
labels
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ name }}',
'{{ displayName }}',
'{{ gcpOracleZone }}',
'{{ properties }}',
'{{ labels }}'
;

DELETE example

Deletes the specified cloud_exadata_infrastructures resource.

/*+ delete */
DELETE FROM google.oracledatabase.cloud_exadata_infrastructures
WHERE cloudExadataInfrastructuresId = '{{ cloudExadataInfrastructuresId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';