CloudDbSystemConnectorSummary¶
- class oci.database_management.models.CloudDbSystemConnectorSummary(**kwargs)¶
Bases:
objectThe summary of a cloud DB system connector.
Attributes:
A constant which can be used with the connector_type property of a CloudDbSystemConnectorSummary.
[Required] Gets the agent_id of this CloudDbSystemConnectorSummary.
[Required] Gets the cloud_db_system_id of this CloudDbSystemConnectorSummary.
[Required] Gets the compartment_id of this CloudDbSystemConnectorSummary.
[Required] Gets the connector_type of this CloudDbSystemConnectorSummary.
Gets the defined_tags of this CloudDbSystemConnectorSummary.
[Required] Gets the display_name of this CloudDbSystemConnectorSummary.
Gets the freeform_tags of this CloudDbSystemConnectorSummary.
[Required] Gets the id of this CloudDbSystemConnectorSummary.
Gets the lifecycle_details of this CloudDbSystemConnectorSummary.
[Required] Gets the lifecycle_state of this CloudDbSystemConnectorSummary.
Gets the system_tags of this CloudDbSystemConnectorSummary.
[Required] Gets the time_created of this CloudDbSystemConnectorSummary.
[Required] Gets the time_updated of this CloudDbSystemConnectorSummary.
Methods:
__init__(**kwargs)Initializes a new CloudDbSystemConnectorSummary object with values from keyword arguments.
- CONNECTOR_TYPE_MACS = 'MACS'¶
A constant which can be used with the connector_type property of a CloudDbSystemConnectorSummary. This constant has a value of “MACS”
- __init__(**kwargs)¶
Initializes a new CloudDbSystemConnectorSummary 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 CloudDbSystemConnectorSummary.
display_name (str) – The value to assign to the display_name property of this CloudDbSystemConnectorSummary.
connector_type (str) – The value to assign to the connector_type property of this CloudDbSystemConnectorSummary. Allowed values for this property are: “MACS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
compartment_id (str) – The value to assign to the compartment_id property of this CloudDbSystemConnectorSummary.
cloud_db_system_id (str) – The value to assign to the cloud_db_system_id property of this CloudDbSystemConnectorSummary.
agent_id (str) – The value to assign to the agent_id property of this CloudDbSystemConnectorSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this CloudDbSystemConnectorSummary.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this CloudDbSystemConnectorSummary.
time_created (datetime) – The value to assign to the time_created property of this CloudDbSystemConnectorSummary.
time_updated (datetime) – The value to assign to the time_updated property of this CloudDbSystemConnectorSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CloudDbSystemConnectorSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CloudDbSystemConnectorSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this CloudDbSystemConnectorSummary.
- property agent_id¶
[Required] Gets the agent_id of this CloudDbSystemConnectorSummary. The OCID of the management agent used for the cloud DB system connector.
- Returns
The agent_id of this CloudDbSystemConnectorSummary.
- Return type
str
- property cloud_db_system_id¶
[Required] Gets the cloud_db_system_id of this CloudDbSystemConnectorSummary. The OCID of the cloud DB system that the connector is a part of.
- Returns
The cloud_db_system_id of this CloudDbSystemConnectorSummary.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this CloudDbSystemConnectorSummary. The OCID of the compartment.
- Returns
The compartment_id of this CloudDbSystemConnectorSummary.
- Return type
str
- property connector_type¶
[Required] Gets the connector_type of this CloudDbSystemConnectorSummary. The type of connector.
Allowed values for this property are: “MACS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The connector_type of this CloudDbSystemConnectorSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CloudDbSystemConnectorSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this CloudDbSystemConnectorSummary.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this CloudDbSystemConnectorSummary. The user-friendly name for the cloud connector. The name does not have to be unique.
- Returns
The display_name of this CloudDbSystemConnectorSummary.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CloudDbSystemConnectorSummary. 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. Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this CloudDbSystemConnectorSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this CloudDbSystemConnectorSummary. The OCID of the cloud DB system connector.
- Returns
The id of this CloudDbSystemConnectorSummary.
- Return type
str
- property lifecycle_details¶
Gets the lifecycle_details of this CloudDbSystemConnectorSummary. Additional information about the current lifecycle state.
- Returns
The lifecycle_details of this CloudDbSystemConnectorSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this CloudDbSystemConnectorSummary. The current lifecycle state of the cloud DB system connector.
- Returns
The lifecycle_state of this CloudDbSystemConnectorSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this CloudDbSystemConnectorSummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns
The system_tags of this CloudDbSystemConnectorSummary.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this CloudDbSystemConnectorSummary. The date and time the cloud DB system connector was created.
- Returns
The time_created of this CloudDbSystemConnectorSummary.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this CloudDbSystemConnectorSummary. The date and time the cloud DB system connector was last updated.
- Returns
The time_updated of this CloudDbSystemConnectorSummary.
- Return type
datetime