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
6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 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 | |