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
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 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 | |