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

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringIdentifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}
createTimestring (google-datetime)Output 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. The GCP Oracle zone where Oracle Exadata Infrastructure is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
labelsobjectOptional. Labels or tags associated with the resource.
propertiesobjectOptional. Various properties of the infra. (id: CloudExadataInfrastructureProperties)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, cloudExadataInfrastructuresIdGets details of a single Exadata Infrastructure.
listselectprojectsId, locationsIdpageSize, pageTokenLists Exadata Infrastructures in a given project and location.
createinsertprojectsId, locationsIdcloudExadataInfrastructureId, requestIdCreates a new Exadata Infrastructure in a given project and location.
deletedeleteprojectsId, locationsId, cloudExadataInfrastructuresIdrequestId, forceDeletes a single Exadata Infrastructure.

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
cloudExadataInfrastructuresIdstring
locationsIdstring
projectsIdstring
cloudExadataInfrastructureIdstring
forceboolean
pageSizeinteger (int32)
pageTokenstring
requestIdstring

SELECT examples

Gets details of a single Exadata Infrastructure.

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

INSERT examples

Creates a new Exadata Infrastructure in a given project and location.

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

DELETE examples

Deletes a single Exadata Infrastructure.

DELETE FROM google.oracledatabase.cloud_exadata_infrastructures
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND cloudExadataInfrastructuresId = '{{ cloudExadataInfrastructuresId }}' --required
AND requestId = '{{ requestId }}'
AND force = '{{ force }}';