DbConnectionBundleSummary¶
- class oci.database.models.DbConnectionBundleSummary(**kwargs)¶
Bases:
objectSummary of a database connection bundle.
Attributes:
A constant which can be used with the db_connection_bundle_type property of a DbConnectionBundleSummary.
A constant which can be used with the db_connection_bundle_type property of a DbConnectionBundleSummary.
A constant which can be used with the lifecycle_state property of a DbConnectionBundleSummary.
A constant which can be used with the lifecycle_state property of a DbConnectionBundleSummary.
A constant which can be used with the lifecycle_state property of a DbConnectionBundleSummary.
A constant which can be used with the lifecycle_state property of a DbConnectionBundleSummary.
A constant which can be used with the lifecycle_state property of a DbConnectionBundleSummary.
A constant which can be used with the lifecycle_state property of a DbConnectionBundleSummary.
A constant which can be used with the lifecycle_state property of a DbConnectionBundleSummary.
Gets the associated_resource_details of this DbConnectionBundleSummary.
[Required] Gets the compartment_id of this DbConnectionBundleSummary.
[Required] Gets the db_connection_bundle_type of this DbConnectionBundleSummary.
[Required] Gets the defined_tags of this DbConnectionBundleSummary.
[Required] Gets the display_name of this DbConnectionBundleSummary.
[Required] Gets the freeform_tags of this DbConnectionBundleSummary.
[Required] Gets the id of this DbConnectionBundleSummary.
[Required] Gets the is_protected of this DbConnectionBundleSummary.
[Required] Gets the lifecycle_state of this DbConnectionBundleSummary.
[Required] Gets the system_tags of this DbConnectionBundleSummary.
[Required] Gets the time_created of this DbConnectionBundleSummary.
Gets the time_last_refreshed of this DbConnectionBundleSummary.
[Required] Gets the time_updated of this DbConnectionBundleSummary.
Methods:
__init__(**kwargs)Initializes a new DbConnectionBundleSummary 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 DbConnectionBundleSummary. 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 DbConnectionBundleSummary. This constant has a value of “TLS”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a DbConnectionBundleSummary. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a DbConnectionBundleSummary. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a DbConnectionBundleSummary. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a DbConnectionBundleSummary. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a DbConnectionBundleSummary. This constant has a value of “FAILED”
- LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶
A constant which can be used with the lifecycle_state property of a DbConnectionBundleSummary. This constant has a value of “INACTIVE”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a DbConnectionBundleSummary. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new DbConnectionBundleSummary 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 DbConnectionBundleSummary.
compartment_id (str) – The value to assign to the compartment_id property of this DbConnectionBundleSummary.
display_name (str) – The value to assign to the display_name property of this DbConnectionBundleSummary.
time_created (datetime) – The value to assign to the time_created property of this DbConnectionBundleSummary.
time_updated (datetime) – The value to assign to the time_updated property of this DbConnectionBundleSummary.
time_last_refreshed (datetime) – The value to assign to the time_last_refreshed property of this DbConnectionBundleSummary.
associated_resource_details (list[oci.database.models.AssociatedResourceDetails]) – The value to assign to the associated_resource_details property of this DbConnectionBundleSummary.
is_protected (bool) – The value to assign to the is_protected property of this DbConnectionBundleSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DbConnectionBundleSummary.
defined_tags (dict(str, dict(str, str))) – The value to assign to the defined_tags property of this DbConnectionBundleSummary.
system_tags (dict(str, dict(str, str))) – The value to assign to the system_tags property of this DbConnectionBundleSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this DbConnectionBundleSummary. 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 DbConnectionBundleSummary. 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’.
- property associated_resource_details¶
Gets the associated_resource_details of this DbConnectionBundleSummary. Details about the resources associated with the connection bundle.
- Returns
The associated_resource_details of this DbConnectionBundleSummary.
- Return type
- property compartment_id¶
[Required] Gets the compartment_id of this DbConnectionBundleSummary. The OCID of the compartment containing the database connection bundle.
- Returns
The compartment_id of this DbConnectionBundleSummary.
- Return type
str
- property db_connection_bundle_type¶
[Required] Gets the db_connection_bundle_type of this DbConnectionBundleSummary. 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 DbConnectionBundleSummary.
- Return type
str
- property defined_tags¶
[Required] Gets the defined_tags of this DbConnectionBundleSummary. 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 DbConnectionBundleSummary.
- Return type
dict(str, dict(str, str))
- property display_name¶
[Required] Gets the display_name of this DbConnectionBundleSummary. Display name for the connection bundle.
- Returns
The display_name of this DbConnectionBundleSummary.
- Return type
str
- property freeform_tags¶
[Required] Gets the freeform_tags of this DbConnectionBundleSummary. 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 DbConnectionBundleSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this DbConnectionBundleSummary. The OCID of the database connection bundle.
- Returns
The id of this DbConnectionBundleSummary.
- Return type
str
- property is_protected¶
[Required] Gets the is_protected of this DbConnectionBundleSummary. True for the default, service-created Database Connection Bundle.
- Returns
The is_protected of this DbConnectionBundleSummary.
- Return type
bool
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this DbConnectionBundleSummary. 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 DbConnectionBundleSummary.
- Return type
str
- property system_tags¶
[Required] Gets the system_tags of this DbConnectionBundleSummary. 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 DbConnectionBundleSummary.
- Return type
dict(str, dict(str, str))
- property time_created¶
[Required] Gets the time_created of this DbConnectionBundleSummary. The time the database connection bundle was created. An RFC3339 formatted datetime string.
- Returns
The time_created of this DbConnectionBundleSummary.
- Return type
datetime
- property time_last_refreshed¶
Gets the time_last_refreshed of this DbConnectionBundleSummary. The time the database connection bundle was last refreshed. An RFC3339 formatted datetime string.
- Returns
The time_last_refreshed of this DbConnectionBundleSummary.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this DbConnectionBundleSummary. The time the database connection bundle was updated. An RFC3339 formatted datetime string.
- Returns
The time_updated of this DbConnectionBundleSummary.
- Return type
datetime