DbConnectionBundle¶
-
class
oci.database.models.DbConnectionBundle(**kwargs)¶ Bases:
objectDetails of a database connection bundle.
Attributes
DB_CONNECTION_BUNDLE_TYPE_MTLSA constant which can be used with the db_connection_bundle_type property of a DbConnectionBundle. DB_CONNECTION_BUNDLE_TYPE_TLSA constant which can be used with the db_connection_bundle_type property of a DbConnectionBundle. LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a DbConnectionBundle. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a DbConnectionBundle. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a DbConnectionBundle. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a DbConnectionBundle. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a DbConnectionBundle. LIFECYCLE_STATE_INACTIVEA constant which can be used with the lifecycle_state property of a DbConnectionBundle. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a DbConnectionBundle. associated_resource_detailsGets the associated_resource_details of this DbConnectionBundle. compartment_id[Required] Gets the compartment_id of this DbConnectionBundle. db_connection_bundle_type[Required] Gets the db_connection_bundle_type of this DbConnectionBundle. defined_tags[Required] Gets the defined_tags of this DbConnectionBundle. display_name[Required] Gets the display_name of this DbConnectionBundle. freeform_tags[Required] Gets the freeform_tags of this DbConnectionBundle. id[Required] Gets the id of this DbConnectionBundle. is_protected[Required] Gets the is_protected of this DbConnectionBundle. lifecycle_state[Required] Gets the lifecycle_state of this DbConnectionBundle. system_tags[Required] Gets the system_tags of this DbConnectionBundle. time_created[Required] Gets the time_created of this DbConnectionBundle. time_last_refreshedGets the time_last_refreshed of this DbConnectionBundle. time_updated[Required] Gets the time_updated of this DbConnectionBundle. Methods
__init__(**kwargs)Initializes a new DbConnectionBundle 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 DbConnectionBundle. 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 DbConnectionBundle. This constant has a value of “TLS”
-
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a DbConnectionBundle. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a DbConnectionBundle. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a DbConnectionBundle. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a DbConnectionBundle. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a DbConnectionBundle. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a DbConnectionBundle. This constant has a value of “INACTIVE”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a DbConnectionBundle. This constant has a value of “UPDATING”
-
__init__(**kwargs)¶ Initializes a new DbConnectionBundle object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this DbConnectionBundle.
- compartment_id (str) – The value to assign to the compartment_id property of this DbConnectionBundle.
- display_name (str) – The value to assign to the display_name property of this DbConnectionBundle.
- time_created (datetime) – The value to assign to the time_created property of this DbConnectionBundle.
- time_updated (datetime) – The value to assign to the time_updated property of this DbConnectionBundle.
- time_last_refreshed (datetime) – The value to assign to the time_last_refreshed property of this DbConnectionBundle.
- associated_resource_details (list[oci.database.models.AssociatedResourceDetails]) – The value to assign to the associated_resource_details property of this DbConnectionBundle.
- is_protected (bool) – The value to assign to the is_protected property of this DbConnectionBundle.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DbConnectionBundle.
- defined_tags (dict(str, dict(str, str))) – The value to assign to the defined_tags property of this DbConnectionBundle.
- system_tags (dict(str, dict(str, str))) – The value to assign to the system_tags property of this DbConnectionBundle.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this DbConnectionBundle. Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- db_connection_bundle_type (str) – The value to assign to the db_connection_bundle_type property of this DbConnectionBundle. Allowed values for this property are: “TLS”, “MTLS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
associated_resource_details¶ Gets the associated_resource_details of this DbConnectionBundle. Details about the resources associated with the connection bundle.
Returns: The associated_resource_details of this DbConnectionBundle. Return type: list[oci.database.models.AssociatedResourceDetails]
-
compartment_id¶ [Required] Gets the compartment_id of this DbConnectionBundle. The OCID of the compartment containing the database connection bundle.
Returns: The compartment_id of this DbConnectionBundle. Return type: str
-
db_connection_bundle_type¶ [Required] Gets the db_connection_bundle_type of this DbConnectionBundle. The type of the database connection bundle.
Allowed values for this property are: “TLS”, “MTLS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The db_connection_bundle_type of this DbConnectionBundle. Return type: str
[Required] Gets the defined_tags of this DbConnectionBundle. 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 DbConnectionBundle. Return type: dict(str, dict(str, str))
-
display_name¶ [Required] Gets the display_name of this DbConnectionBundle. Display name for the connection bundle.
Returns: The display_name of this DbConnectionBundle. Return type: str
[Required] Gets the freeform_tags of this DbConnectionBundle. 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 DbConnectionBundle. Return type: dict(str, str)
-
id¶ [Required] Gets the id of this DbConnectionBundle. The OCID of the database connection bundle.
Returns: The id of this DbConnectionBundle. Return type: str
-
is_protected¶ [Required] Gets the is_protected of this DbConnectionBundle. True for the default, service-created Database Connection Bundle.
Returns: The is_protected of this DbConnectionBundle. Return type: bool
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this DbConnectionBundle. The current lifecycle state of the database connection bundle.
Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this DbConnectionBundle. Return type: str
[Required] Gets the system_tags of this DbConnectionBundle. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Returns: The system_tags of this DbConnectionBundle. Return type: dict(str, dict(str, str))
-
time_created¶ [Required] Gets the time_created of this DbConnectionBundle. The time the database connection bundle was created. An RFC3339 formatted datetime string.
Returns: The time_created of this DbConnectionBundle. Return type: datetime
-
time_last_refreshed¶ Gets the time_last_refreshed of this DbConnectionBundle. The time the database connection bundle was last refreshed. An RFC3339 formatted datetime string.
Returns: The time_last_refreshed of this DbConnectionBundle. Return type: datetime
-
time_updated¶ [Required] Gets the time_updated of this DbConnectionBundle. The time the database connection bundle was updated. An RFC3339 formatted datetime string.
Returns: The time_updated of this DbConnectionBundle. Return type: datetime
-