cloud_vm_clusters
Creates, updates, deletes, gets or lists a cloud_vm_clusters
resource.
Overview
Name | cloud_vm_clusters |
Type | Resource |
Id | google.oracledatabase.cloud_vm_clusters |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster} |
backupOdbSubnet | string | Optional. The name of the backup OdbSubnet associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet} |
backupSubnetCidr | string | Optional. CIDR range of the backup subnet. |
cidr | string | Optional. Network settings. CIDR to use for cluster IP allocation. |
createTime | string (google-datetime) | Output only. The date and time that the VM cluster was created. |
displayName | string | Optional. User friendly name for this resource. |
exadataInfrastructure | string | Required. The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure} |
gcpOracleZone | string | Output only. The GCP Oracle zone where Oracle CloudVmCluster is hosted. This will be the same as the gcp_oracle_zone of the CloudExadataInfrastructure. Example: us-east4-b-r2. |
labels | object | Optional. Labels or tags associated with the VM Cluster. |
network | string | Optional. The name of the VPC network. Format: projects/{project}/global/networks/{network} |
odbNetwork | string | Optional. The name of the OdbNetwork associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the odb_subnet and backup_odb_subnet. |
odbSubnet | string | Optional. The name of the OdbSubnet associated with the VM Cluster for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet} |
properties | object | Optional. Various properties of the VM Cluster. (id: CloudVmClusterProperties) |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster} |
backupOdbSubnet | string | Optional. The name of the backup OdbSubnet associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet} |
backupSubnetCidr | string | Optional. CIDR range of the backup subnet. |
cidr | string | Optional. Network settings. CIDR to use for cluster IP allocation. |
createTime | string (google-datetime) | Output only. The date and time that the VM cluster was created. |
displayName | string | Optional. User friendly name for this resource. |
exadataInfrastructure | string | Required. The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure} |
gcpOracleZone | string | Output only. The GCP Oracle zone where Oracle CloudVmCluster is hosted. This will be the same as the gcp_oracle_zone of the CloudExadataInfrastructure. Example: us-east4-b-r2. |
labels | object | Optional. Labels or tags associated with the VM Cluster. |
network | string | Optional. The name of the VPC network. Format: projects/{project}/global/networks/{network} |
odbNetwork | string | Optional. The name of the OdbNetwork associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the odb_subnet and backup_odb_subnet. |
odbSubnet | string | Optional. The name of the OdbSubnet associated with the VM Cluster for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet} |
properties | object | Optional. Various properties of the VM Cluster. (id: CloudVmClusterProperties) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | projectsId , locationsId , cloudVmClustersId | Gets details of a single VM Cluster. | |
list | select | projectsId , locationsId | pageSize , pageToken , filter | Lists the VM Clusters in a given project and location. |
create | insert | projectsId , locationsId | cloudVmClusterId , requestId | Creates a new VM Cluster in a given project and location. |
delete | delete | projectsId , locationsId , cloudVmClustersId | requestId , force | Deletes a single VM Cluster. |
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 |
---|---|---|
cloudVmClustersId | string | |
locationsId | string | |
projectsId | string | |
cloudVmClusterId | string | |
filter | string | |
force | boolean | |
pageSize | integer (int32) | |
pageToken | string | |
requestId | string |
SELECT
examples
- get
- list
Gets details of a single VM Cluster.
SELECT
name,
backupOdbSubnet,
backupSubnetCidr,
cidr,
createTime,
displayName,
exadataInfrastructure,
gcpOracleZone,
labels,
network,
odbNetwork,
odbSubnet,
properties
FROM google.oracledatabase.cloud_vm_clusters
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND cloudVmClustersId = '{{ cloudVmClustersId }}' -- required;
Lists the VM Clusters in a given project and location.
SELECT
name,
backupOdbSubnet,
backupSubnetCidr,
cidr,
createTime,
displayName,
exadataInfrastructure,
gcpOracleZone,
labels,
network,
odbNetwork,
odbSubnet,
properties
FROM google.oracledatabase.cloud_vm_clusters
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}';
INSERT
examples
- create
- Manifest
Creates a new VM Cluster in a given project and location.
INSERT INTO google.oracledatabase.cloud_vm_clusters (
data__name,
data__exadataInfrastructure,
data__displayName,
data__properties,
data__labels,
data__cidr,
data__backupSubnetCidr,
data__network,
data__odbNetwork,
data__odbSubnet,
data__backupOdbSubnet,
projectsId,
locationsId,
cloudVmClusterId,
requestId
)
SELECT
'{{ name }}',
'{{ exadataInfrastructure }}',
'{{ displayName }}',
'{{ properties }}',
'{{ labels }}',
'{{ cidr }}',
'{{ backupSubnetCidr }}',
'{{ network }}',
'{{ odbNetwork }}',
'{{ odbSubnet }}',
'{{ backupOdbSubnet }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ cloudVmClusterId }}',
'{{ requestId }}'
RETURNING
name,
done,
error,
metadata,
response
;
# Description fields are for documentation purposes
- name: cloud_vm_clusters
props:
- name: projectsId
value: string
description: Required parameter for the cloud_vm_clusters resource.
- name: locationsId
value: string
description: Required parameter for the cloud_vm_clusters resource.
- name: name
value: string
description: >
Identifier. The name of the VM Cluster resource with the format: projects/{project}/locations/{region}/cloudVmClusters/{cloud_vm_cluster}
- name: exadataInfrastructure
value: string
description: >
Required. The name of the Exadata Infrastructure resource on which VM cluster resource is created, in the following format: projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}
- name: displayName
value: string
description: >
Optional. User friendly name for this resource.
- name: properties
value: object
description: >
Optional. Various properties of the VM Cluster.
- name: labels
value: object
description: >
Optional. Labels or tags associated with the VM Cluster.
- name: cidr
value: string
description: >
Optional. Network settings. CIDR to use for cluster IP allocation.
- name: backupSubnetCidr
value: string
description: >
Optional. CIDR range of the backup subnet.
- name: network
value: string
description: >
Optional. The name of the VPC network. Format: projects/{project}/global/networks/{network}
- name: odbNetwork
value: string
description: >
Optional. The name of the OdbNetwork associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the odb_subnet and backup_odb_subnet.
- name: odbSubnet
value: string
description: >
Optional. The name of the OdbSubnet associated with the VM Cluster for IP allocation. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
- name: backupOdbSubnet
value: string
description: >
Optional. The name of the backup OdbSubnet associated with the VM Cluster. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
- name: cloudVmClusterId
value: string
- name: requestId
value: string
DELETE
examples
- delete
Deletes a single VM Cluster.
DELETE FROM google.oracledatabase.cloud_vm_clusters
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND cloudVmClustersId = '{{ cloudVmClustersId }}' --required
AND requestId = '{{ requestId }}'
AND force = '{{ force }}';