create_cloud_vm_cluster
¶
create_cloud_vm_cluster(
cloud_exadata_infrastructure_id: ResourceIdOrArn,
cpu_core_count: int,
display_name: ResourceDisplayName,
gi_version: str,
hostname: Hostname,
ssh_public_keys: StringList,
odb_network_id: ResourceIdOrArn,
*,
config_overrides: Optional[odbClientConfig] = None,
cluster_name: Optional[ClusterName] = None,
data_collection_options: Optional[DataCollectionOptions] = None,
data_storage_size_in_t_bs: Optional[float] = None,
db_node_storage_size_in_g_bs: Optional[int] = None,
db_servers: Optional[StringList] = None,
tags: Optional[RequestTagMap] = None,
is_local_backup_enabled: Optional[bool] = None,
is_sparse_diskgroup_enabled: Optional[bool] = None,
license_model: Optional[LicenseModel] = None,
memory_size_in_g_bs: Optional[int] = None,
system_version: Optional[str] = None,
time_zone: Optional[str] = None,
client_token: Optional[GeneralInputString] = None,
scan_listener_port_tcp: Optional[int] = None,
) -> CreateCloudVmClusterOutput
Creates a VM cluster on the specified Exadata infrastructure.
Parameters:
-
cloud_exadata_infrastructure_id(ResourceIdOrArn) –The unique identifier of the Exadata infrastructure for this VM cluster.
-
cpu_core_count(int) –The number of CPU cores to enable on the VM cluster.
-
display_name(ResourceDisplayName) –A user-friendly name for the VM cluster.
-
gi_version(str) –A valid software version of Oracle Grid Infrastructure (GI). To get the list of valid values, use the
ListGiVersionsoperation and specify the shape of the Exadata infrastructure.Example:
19.0.0.0 -
hostname(Hostname) –The host name for the VM cluster.
Constraints:
-
Can't be "localhost" or "hostname".
-
Can't contain "-version".
-
The maximum length of the combined hostname and domain is 63 characters.
-
The hostname must be unique within the subnet.
-
-
ssh_public_keys(StringList) –The public key portion of one or more key pairs used for SSH access to the VM cluster.
-
odb_network_id(ResourceIdOrArn) –The unique identifier of the ODB network for the VM cluster.
-
cluster_name(Optional[ClusterName], default:None) –A name for the Grid Infrastructure cluster. The name isn't case sensitive.
-
data_collection_options(Optional[DataCollectionOptions], default:None) –The set of preferences for the various diagnostic collection options for the VM cluster.
-
data_storage_size_in_t_bs(Optional[float], default:None) –The size of the data disk group, in terabytes (TBs), to allocate for the VM cluster.
-
db_node_storage_size_in_g_bs(Optional[int], default:None) –The amount of local node storage, in gigabytes (GB), to allocate for the VM cluster.
-
db_servers(Optional[StringList], default:None) –The list of database servers for the VM cluster.
-
tags(Optional[RequestTagMap], default:None) –The list of resource tags to apply to the VM cluster.
-
is_local_backup_enabled(Optional[bool], default:None) –Specifies whether to enable database backups to local Exadata storage for the VM cluster.
-
is_sparse_diskgroup_enabled(Optional[bool], default:None) –Specifies whether to create a sparse disk group for the VM cluster.
-
license_model(Optional[LicenseModel], default:None) –The Oracle license model to apply to the VM cluster.
Default:
LICENSE_INCLUDED -
memory_size_in_g_bs(Optional[int], default:None) –The amount of memory, in gigabytes (GB), to allocate for the VM cluster.
-
system_version(Optional[str], default:None) –The version of the operating system of the image for the VM cluster.
-
time_zone(Optional[str], default:None) –The time zone for the VM cluster. For a list of valid values for time zone, you can check the options in the console.
Default: UTC
-
client_token(Optional[GeneralInputString], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency. The client token is valid for up to 24 hours after it's first used.
-
scan_listener_port_tcp(Optional[int], default:None) –The port number for TCP connections to the single client access name (SCAN) listener.
Valid values:
1024–8999with the following exceptions:2484,6100,6200,7060,7070,7085, and7879Default:
1521
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.
-
ConflictException–Occurs when a conflict with the current status of your resource. Fix any inconsistencies with your resource and try again.
-
InternalServerException–Occurs when there is an internal failure in the Oracle Database@Amazon Web Services service. Wait and try again.
-
ResourceNotFoundException–The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.
-
ServiceQuotaExceededException–You have exceeded the service quota.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request has failed validation because it is missing required fields or has invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_odb/_services/odb.py
4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 | |