ConnectionAssignment¶
-
class
oci.golden_gate.models.ConnectionAssignment(**kwargs)¶ Bases:
objectRepresents the metadata description of a connection assignment. Before you can use a connection as a GoldenGate source or target, you must assign it to a deployment.
Attributes
LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a ConnectionAssignment. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a ConnectionAssignment. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a ConnectionAssignment. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a ConnectionAssignment. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a ConnectionAssignment. alias_nameGets the alias_name of this ConnectionAssignment. compartment_id[Required] Gets the compartment_id of this ConnectionAssignment. connection_id[Required] Gets the connection_id of this ConnectionAssignment. deployment_id[Required] Gets the deployment_id of this ConnectionAssignment. id[Required] Gets the id of this ConnectionAssignment. lifecycle_state[Required] Gets the lifecycle_state of this ConnectionAssignment. time_created[Required] Gets the time_created of this ConnectionAssignment. time_updated[Required] Gets the time_updated of this ConnectionAssignment. Methods
__init__(**kwargs)Initializes a new ConnectionAssignment object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a ConnectionAssignment. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a ConnectionAssignment. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a ConnectionAssignment. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a ConnectionAssignment. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a ConnectionAssignment. This constant has a value of “UPDATING”
-
__init__(**kwargs)¶ Initializes a new ConnectionAssignment 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 ConnectionAssignment.
- connection_id (str) – The value to assign to the connection_id property of this ConnectionAssignment.
- deployment_id (str) – The value to assign to the deployment_id property of this ConnectionAssignment.
- alias_name (str) – The value to assign to the alias_name property of this ConnectionAssignment.
- compartment_id (str) – The value to assign to the compartment_id property of this ConnectionAssignment.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ConnectionAssignment. Allowed values for this property are: “CREATING”, “ACTIVE”, “FAILED”, “UPDATING”, “DELETING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this ConnectionAssignment.
- time_updated (datetime) – The value to assign to the time_updated property of this ConnectionAssignment.
-
alias_name¶ Gets the alias_name of this ConnectionAssignment. Credential store alias.
Returns: The alias_name of this ConnectionAssignment. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this ConnectionAssignment. The OCID of the compartment being referenced.
Returns: The compartment_id of this ConnectionAssignment. Return type: str
-
connection_id¶ [Required] Gets the connection_id of this ConnectionAssignment. The OCID of the connection being referenced.
Returns: The connection_id of this ConnectionAssignment. Return type: str
-
deployment_id¶ [Required] Gets the deployment_id of this ConnectionAssignment. The OCID of the deployment being referenced.
Returns: The deployment_id of this ConnectionAssignment. Return type: str
-
id¶ [Required] Gets the id of this ConnectionAssignment. The OCID of the connection assignment being referenced.
Returns: The id of this ConnectionAssignment. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this ConnectionAssignment. Possible lifecycle states for connection assignments.
Allowed values for this property are: “CREATING”, “ACTIVE”, “FAILED”, “UPDATING”, “DELETING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this ConnectionAssignment. Return type: str
-