create_cloud_vm_cluster
async
¶
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[AsyncodbClientConfig] = 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/async_odb.py
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 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 | |