create_odb_network
async
¶
create_odb_network(
display_name: ResourceDisplayName,
client_subnet_cidr: str,
*,
config_overrides: Optional[AsyncodbClientConfig] = None,
availability_zone: Optional[str] = None,
availability_zone_id: Optional[str] = None,
backup_subnet_cidr: Optional[str] = None,
custom_domain_name: Optional[str] = None,
default_dns_prefix: Optional[str] = None,
client_token: Optional[GeneralInputString] = None,
s3_access: Optional[Access] = None,
zero_etl_access: Optional[Access] = None,
sts_access: Optional[Access] = None,
kms_access: Optional[Access] = None,
s3_policy_document: Optional[PolicyDocument] = None,
sts_policy_document: Optional[PolicyDocument] = None,
kms_policy_document: Optional[PolicyDocument] = None,
cross_region_s3_restore_sources_to_enable: Optional[StringList] = None,
tags: Optional[RequestTagMap] = None,
) -> CreateOdbNetworkOutput
Creates an ODB network.
Parameters:
-
display_name(ResourceDisplayName) –A user-friendly name for the ODB network.
-
availability_zone(Optional[str], default:None) –The Amazon Web Services Availability Zone (AZ) where the ODB network is located.
This operation requires that you specify a value for either
availabilityZoneoravailabilityZoneId. -
availability_zone_id(Optional[str], default:None) –The AZ ID of the AZ where the ODB network is located.
This operation requires that you specify a value for either
availabilityZoneoravailabilityZoneId. -
client_subnet_cidr(str) –The CIDR range of the client subnet for the ODB network.
Constraints:
-
Must not overlap with the CIDR range of the backup subnet.
-
Must not overlap with the CIDR ranges of the VPCs that are connected to the ODB network.
-
Must not use the following CIDR ranges that are reserved by OCI:
-
100.106.0.0/16and100.107.0.0/16 -
169.254.0.0/16 -
224.0.0.0 - 239.255.255.255 -
240.0.0.0 - 255.255.255.255
-
-
-
backup_subnet_cidr(Optional[str], default:None) –The CIDR range of the backup subnet for the ODB network.
Constraints:
-
Must not overlap with the CIDR range of the client subnet.
-
Must not overlap with the CIDR ranges of the VPCs that are connected to the ODB network.
-
Must not use the following CIDR ranges that are reserved by OCI:
-
100.106.0.0/16and100.107.0.0/16 -
169.254.0.0/16 -
224.0.0.0 - 239.255.255.255 -
240.0.0.0 - 255.255.255.255
-
-
-
custom_domain_name(Optional[str], default:None) –The domain name to use for the resources in the ODB network.
-
default_dns_prefix(Optional[str], default:None) –The DNS prefix to the default DNS domain name. The default DNS domain name is oraclevcn.com.
-
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.
-
s3_access(Optional[Access], default:None) –Specifies the configuration for Amazon S3 access from the ODB network.
-
zero_etl_access(Optional[Access], default:None) –Specifies the configuration for Zero-ETL access from the ODB network.
-
sts_access(Optional[Access], default:None) –The Amazon Web Services Security Token Service (STS) access configuration for the ODB network.
-
kms_access(Optional[Access], default:None) –The Amazon Web Services Key Management Service (KMS) access configuration for the ODB network.
-
s3_policy_document(Optional[PolicyDocument], default:None) –Specifies the endpoint policy for Amazon S3 access from the ODB network.
-
sts_policy_document(Optional[PolicyDocument], default:None) –The Amazon Web Services Security Token Service (STS) policy document that defines permissions for token service usage within the ODB network.
-
kms_policy_document(Optional[PolicyDocument], default:None) –The Amazon Web Services Key Management Service (KMS) policy document that defines permissions for key usage within the ODB network.
-
cross_region_s3_restore_sources_to_enable(Optional[StringList], default:None) –The cross-Region Amazon S3 restore sources to enable for the ODB network.
-
tags(Optional[RequestTagMap], default:None) –The list of resource tags to apply to the ODB network.
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.
-
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
6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 | |