CreateDbConnectionBundleDetails¶
- class oci.database.models.CreateDbConnectionBundleDetails(**kwargs)¶
Bases:
objectThe details for creating a database connection bundle.
Attributes:
A constant which can be used with the db_connection_bundle_type property of a CreateDbConnectionBundleDetails.
A constant which can be used with the db_connection_bundle_type property of a CreateDbConnectionBundleDetails.
[Required] Gets the associated_resource_details of this CreateDbConnectionBundleDetails.
[Required] Gets the compartment_id of this CreateDbConnectionBundleDetails.
[Required] Gets the db_connection_bundle_type of this CreateDbConnectionBundleDetails.
Gets the defined_tags of this CreateDbConnectionBundleDetails.
[Required] Gets the display_name of this CreateDbConnectionBundleDetails.
Gets the freeform_tags of this CreateDbConnectionBundleDetails.
Gets the tenant_id of this CreateDbConnectionBundleDetails.
Methods:
__init__(**kwargs)Initializes a new CreateDbConnectionBundleDetails object with values from keyword arguments.
- DB_CONNECTION_BUNDLE_TYPE_MTLS = 'MTLS'¶
A constant which can be used with the db_connection_bundle_type property of a CreateDbConnectionBundleDetails. This constant has a value of “MTLS”
- DB_CONNECTION_BUNDLE_TYPE_TLS = 'TLS'¶
A constant which can be used with the db_connection_bundle_type property of a CreateDbConnectionBundleDetails. This constant has a value of “TLS”
- __init__(**kwargs)¶
Initializes a new CreateDbConnectionBundleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
compartment_id (str) – The value to assign to the compartment_id property of this CreateDbConnectionBundleDetails.
display_name (str) – The value to assign to the display_name property of this CreateDbConnectionBundleDetails.
db_connection_bundle_type (str) – The value to assign to the db_connection_bundle_type property of this CreateDbConnectionBundleDetails. Allowed values for this property are: “TLS”, “MTLS”
associated_resource_details (list[oci.database.models.AssociatedResourceDetails]) – The value to assign to the associated_resource_details property of this CreateDbConnectionBundleDetails.
tenant_id (str) – The value to assign to the tenant_id property of this CreateDbConnectionBundleDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDbConnectionBundleDetails.
defined_tags (dict(str, dict(str, str))) – The value to assign to the defined_tags property of this CreateDbConnectionBundleDetails.
- property associated_resource_details¶
[Required] Gets the associated_resource_details of this CreateDbConnectionBundleDetails. Details about the resources to associate with the connection bundle.
- Returns
The associated_resource_details of this CreateDbConnectionBundleDetails.
- Return type
- property compartment_id¶
[Required] Gets the compartment_id of this CreateDbConnectionBundleDetails. The OCID of the compartment where you want to create the database connection bundle.
- Returns
The compartment_id of this CreateDbConnectionBundleDetails.
- Return type
str
- property db_connection_bundle_type¶
[Required] Gets the db_connection_bundle_type of this CreateDbConnectionBundleDetails. The type of the database connection bundle.
Allowed values for this property are: “TLS”, “MTLS”
- Returns
The db_connection_bundle_type of this CreateDbConnectionBundleDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateDbConnectionBundleDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns
The defined_tags of this CreateDbConnectionBundleDetails.
- Return type
dict(str, dict(str, str))
- property display_name¶
[Required] Gets the display_name of this CreateDbConnectionBundleDetails. Display name for the connection bundle.
- Returns
The display_name of this CreateDbConnectionBundleDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateDbConnectionBundleDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
- Returns
The freeform_tags of this CreateDbConnectionBundleDetails.
- Return type
dict(str, str)
- property tenant_id¶
Gets the tenant_id of this CreateDbConnectionBundleDetails. The tenancy ID for the connection bundle.
- Returns
The tenant_id of this CreateDbConnectionBundleDetails.
- Return type
str