Skip to main content

cloud_vm_clusters

Creates, updates, deletes or gets a cloud_vm_cluster resource or lists cloud_vm_clusters in a region

Overview

Namecloud_vm_clusters
TypeResource
DescriptionThe AWS::ODB::CloudVmCluster resource creates a Cloud VM Cluster
Idawscc.odb.cloud_vm_clusters

Fields

NameDatatypeDescription
cloud_exadata_infrastructure_idstringThe unique identifier of the Exadata infrastructure that this VM cluster belongs to.
cloud_vm_cluster_arnstringThe Amazon Resource Name (ARN) of the VM cluster.
cloud_vm_cluster_idstringThe unique identifier of the VM cluster.
cluster_namestringThe name of the Grid Infrastructure (GI) cluster.
compute_modelstringThe OCI model compute model used when you create or clone an instance: ECPU or OCPU. An ECPU is an abstracted measure of compute resources. ECPUs are based on the number of cores elastically allocated from a pool of compute and storage servers. An OCPU is a legacy physical measure of compute resources. OCPUs are based on the physical core of a processor with hyper-threading enabled.
cpu_core_countintegerThe number of CPU cores enabled on the VM cluster.
data_collection_optionsobjectThe set of diagnostic collection options enabled for the VM cluster.
data_storage_size_in_tbsnumberThe size of the data disk group, in terabytes (TB), that's allocated for the VM cluster.
db_node_storage_size_in_gbsintegerThe amount of local node storage, in gigabytes (GB), that's allocated for the VM cluster.
db_serversarrayThe list of database servers for the VM cluster.
display_namestringThe user-friendly name for the VM cluster.
disk_redundancystringThe type of redundancy configured for the VM cluster. NORMAL is 2-way redundancy. HIGH is 3-way redundancy.
domainstringThe domain of the VM cluster.
gi_versionstringThe software version of the Oracle Grid Infrastructure (GI) for the VM cluster.
hostnamestringThe host name for the VM cluster.
is_local_backup_enabledbooleanIndicates whether database backups to local Exadata storage is enabled for the VM cluster.
is_sparse_diskgroup_enabledbooleanIndicates whether the VM cluster is configured with a sparse disk group.
license_modelstringThe Oracle license model applied to the VM cluster.
listener_portintegerThe port number configured for the listener on the VM cluster.
memory_size_in_gbsintegerThe amount of memory, in gigabytes (GB), that's allocated for the VM cluster.
node_countintegerThe number of nodes in the VM cluster.
odb_network_idstringThe unique identifier of the ODB network for the VM cluster.
ocidstringThe OCID of the VM cluster.
oci_resource_anchor_namestringThe name of the OCI resource anchor for the VM cluster.
oci_urlstringThe HTTPS link to the VM cluster in OCI.
scan_dns_namestringThe FQDN of the DNS record for the Single Client Access Name (SCAN) IP addresses that are associated with the VM cluster.
scan_ip_idsarrayThe OCID of the SCAN IP addresses that are associated with the VM cluster.
scan_listener_port_tcpintegerProperty description not available.
shapestringThe hardware model name of the Exadata infrastructure that's running the VM cluster.
ssh_public_keysarrayThe public key portion of one or more key pairs used for SSH access to the VM cluster.
storage_size_in_gbsintegerThe amount of local node storage, in gigabytes (GB), that's allocated to the VM cluster.
system_versionstringThe operating system version of the image chosen for the VM cluster.
tagsarrayTags to assign to the Vm Cluster.
time_zonestringThe time zone of the VM cluster.
vip_idsarrayThe virtual IP (VIP) addresses that are associated with the VM cluster. Oracle's Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the VM cluster to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster.
regionstringAWS region.

For more information, see AWS::ODB::CloudVmCluster.

Methods

NameAccessible byRequired Params
create_resourceINSERTregion
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual cloud_vm_cluster.

SELECT
region,
cloud_exadata_infrastructure_id,
cloud_vm_cluster_arn,
cloud_vm_cluster_id,
cluster_name,
compute_model,
cpu_core_count,
data_collection_options,
data_storage_size_in_tbs,
db_node_storage_size_in_gbs,
db_servers,
display_name,
disk_redundancy,
domain,
gi_version,
hostname,
is_local_backup_enabled,
is_sparse_diskgroup_enabled,
license_model,
listener_port,
memory_size_in_gbs,
node_count,
odb_network_id,
ocid,
oci_resource_anchor_name,
oci_url,
scan_dns_name,
scan_ip_ids,
scan_listener_port_tcp,
shape,
ssh_public_keys,
storage_size_in_gbs,
system_version,
tags,
time_zone,
vip_ids
FROM awscc.odb.cloud_vm_clusters
WHERE region = 'us-east-1' AND data__Identifier = '<CloudVmClusterArn>';

INSERT example

Use the following StackQL query and manifest file to create a new cloud_vm_cluster resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.odb.cloud_vm_clusters (
CloudExadataInfrastructureId,
ClusterName,
CpuCoreCount,
DataCollectionOptions,
DataStorageSizeInTBs,
DbNodeStorageSizeInGBs,
DbServers,
DisplayName,
GiVersion,
Hostname,
IsLocalBackupEnabled,
IsSparseDiskgroupEnabled,
LicenseModel,
MemorySizeInGBs,
OdbNetworkId,
ScanListenerPortTcp,
SshPublicKeys,
SystemVersion,
Tags,
TimeZone,
region
)
SELECT
'{{ CloudExadataInfrastructureId }}',
'{{ ClusterName }}',
'{{ CpuCoreCount }}',
'{{ DataCollectionOptions }}',
'{{ DataStorageSizeInTBs }}',
'{{ DbNodeStorageSizeInGBs }}',
'{{ DbServers }}',
'{{ DisplayName }}',
'{{ GiVersion }}',
'{{ Hostname }}',
'{{ IsLocalBackupEnabled }}',
'{{ IsSparseDiskgroupEnabled }}',
'{{ LicenseModel }}',
'{{ MemorySizeInGBs }}',
'{{ OdbNetworkId }}',
'{{ ScanListenerPortTcp }}',
'{{ SshPublicKeys }}',
'{{ SystemVersion }}',
'{{ Tags }}',
'{{ TimeZone }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.odb.cloud_vm_clusters
WHERE data__Identifier = '<CloudVmClusterArn>'
AND region = 'us-east-1';

Permissions

To operate on the cloud_vm_clusters resource, the following permissions are required:

Create

odb:CreateCloudVmCluster,
odb:TagResource,
odb:GetCloudVmCluster,
odb:ListCloudVmClusters,
odb:ListTagsForResource,
sts:GetCallerIdentity,
ec2:DescribeAvailabilityZones,
odb:CreateDbNode

Read

odb:GetCloudVmCluster,
odb:ListTagsForResource,
sts:GetCallerIdentity

Update

odb:TagResource,
odb:UntagResource,
odb:GetCloudVmCluster,
odb:ListCloudVmClusters,
odb:ListTagsForResource,
sts:GetCallerIdentity

Delete

odb:DeleteCloudVmCluster,
odb:GetCloudVmCluster,
odb:ListCloudVmClusters,
odb:ListTagsForResource,
sts:GetCallerIdentity,
odb:DeleteDbNode

List

odb:ListCloudVmClusters,
odb:ListTagsForResource,
sts:GetCallerIdentity