cloud_exadata_infrastructures
Creates, updates, deletes, gets or lists a cloud_exadata_infrastructures
resource.
Overview
Name | cloud_exadata_infrastructures |
Type | Resource |
Id | google.oracledatabase.cloud_exadata_infrastructures |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure} |
createTime | string (google-datetime) | Output only. The date and time that the Exadata Infrastructure was created. |
displayName | string | Optional. User friendly name for this resource. |
entitlementId | string | Output only. Entitlement ID of the private offer against which this infrastructure resource is provisioned. |
gcpOracleZone | string | Optional. 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. |
labels | object | Optional. Labels or tags associated with the resource. |
properties | object | Optional. Various properties of the infra. (id: CloudExadataInfrastructureProperties) |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure} |
createTime | string (google-datetime) | Output only. The date and time that the Exadata Infrastructure was created. |
displayName | string | Optional. User friendly name for this resource. |
entitlementId | string | Output only. Entitlement ID of the private offer against which this infrastructure resource is provisioned. |
gcpOracleZone | string | Optional. 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. |
labels | object | Optional. Labels or tags associated with the resource. |
properties | object | Optional. Various properties of the infra. (id: CloudExadataInfrastructureProperties) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | projectsId , locationsId , cloudExadataInfrastructuresId | Gets details of a single Exadata Infrastructure. | |
list | select | projectsId , locationsId | pageSize , pageToken | Lists Exadata Infrastructures in a given project and location. |
create | insert | projectsId , locationsId | cloudExadataInfrastructureId , requestId | Creates a new Exadata Infrastructure in a given project and location. |
delete | delete | projectsId , locationsId , cloudExadataInfrastructuresId | requestId , force | Deletes 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.
Name | Datatype | Description |
---|---|---|
cloudExadataInfrastructuresId | string | |
locationsId | string | |
projectsId | string | |
cloudExadataInfrastructureId | string | |
force | boolean | |
pageSize | integer (int32) | |
pageToken | string | |
requestId | string |
SELECT
examples
- get
- list
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;
Lists Exadata Infrastructures in a given project and location.
SELECT
name,
createTime,
displayName,
entitlementId,
gcpOracleZone,
labels,
properties
FROM google.oracledatabase.cloud_exadata_infrastructures
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';
INSERT
examples
- create
- Manifest
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
;
# Description fields are for documentation purposes
- name: cloud_exadata_infrastructures
props:
- name: projectsId
value: string
description: Required parameter for the cloud_exadata_infrastructures resource.
- name: locationsId
value: string
description: Required parameter for the cloud_exadata_infrastructures resource.
- name: name
value: string
description: >
Identifier. The name of the Exadata Infrastructure resource with the format: projects/{project}/locations/{region}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}
- name: displayName
value: string
description: >
Optional. User friendly name for this resource.
- name: gcpOracleZone
value: string
description: >
Optional. 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.
- name: properties
value: object
description: >
Optional. Various properties of the infra.
- name: labels
value: object
description: >
Optional. Labels or tags associated with the resource.
- name: cloudExadataInfrastructureId
value: string
- name: requestId
value: string
DELETE
examples
- delete
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 }}';