create_odb_network
¶
create_odb_network(
display_name: ResourceDisplayName,
client_subnet_cidr: str,
*,
config_overrides: Optional[odbClientConfig] = 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/odb.py
5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 | |