AssetSourceConnection

class oci.cloud_migrations.models.AssetSourceConnection(**kwargs)

Bases: object

Descriptor of a connection to an asset source.

Attributes

CONNECTION_TYPE_DISCOVERY A constant which can be used with the connection_type property of a AssetSourceConnection.
CONNECTION_TYPE_REPLICATION A constant which can be used with the connection_type property of a AssetSourceConnection.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a AssetSourceConnection.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a AssetSourceConnection.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a AssetSourceConnection.
LIFECYCLE_STATE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a AssetSourceConnection.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a AssetSourceConnection.
asset_source_key [Required] Gets the asset_source_key of this AssetSourceConnection.
connection_type [Required] Gets the connection_type of this AssetSourceConnection.
connector_id [Required] Gets the connector_id of this AssetSourceConnection.
lifecycle_details [Required] Gets the lifecycle_details of this AssetSourceConnection.
lifecycle_state [Required] Gets the lifecycle_state of this AssetSourceConnection.

Methods

__init__(**kwargs) Initializes a new AssetSourceConnection object with values from keyword arguments.
CONNECTION_TYPE_DISCOVERY = 'DISCOVERY'

A constant which can be used with the connection_type property of a AssetSourceConnection. This constant has a value of “DISCOVERY”

CONNECTION_TYPE_REPLICATION = 'REPLICATION'

A constant which can be used with the connection_type property of a AssetSourceConnection. This constant has a value of “REPLICATION”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a AssetSourceConnection. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a AssetSourceConnection. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a AssetSourceConnection. This constant has a value of “DELETED”

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a AssetSourceConnection. This constant has a value of “NEEDS_ATTENTION”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a AssetSourceConnection. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new AssetSourceConnection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • connection_type (str) – The value to assign to the connection_type property of this AssetSourceConnection. Allowed values for this property are: “DISCOVERY”, “REPLICATION”
  • connector_id (str) – The value to assign to the connector_id property of this AssetSourceConnection.
  • asset_source_key (str) – The value to assign to the asset_source_key property of this AssetSourceConnection.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AssetSourceConnection. Allowed values for this property are: “ACTIVE”, “UPDATING”, “NEEDS_ATTENTION”, “DELETED”, “CREATING”
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this AssetSourceConnection.
asset_source_key

[Required] Gets the asset_source_key of this AssetSourceConnection. Type-specific identifier for an asset source.

Returns:The asset_source_key of this AssetSourceConnection.
Return type:str
connection_type

[Required] Gets the connection_type of this AssetSourceConnection. The type of connection for an asset source.

Allowed values for this property are: “DISCOVERY”, “REPLICATION”

Returns:The connection_type of this AssetSourceConnection.
Return type:str
connector_id

[Required] Gets the connector_id of this AssetSourceConnection. The OCID of the cloud bridge connector used for migration operations.

Returns:The connector_id of this AssetSourceConnection.
Return type:str
lifecycle_details

[Required] Gets the lifecycle_details of this AssetSourceConnection. The detailed sub-state of the connection.

Returns:The lifecycle_details of this AssetSourceConnection.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this AssetSourceConnection. The current state of the connection.

Allowed values for this property are: “ACTIVE”, “UPDATING”, “NEEDS_ATTENTION”, “DELETED”, “CREATING”

Returns:The lifecycle_state of this AssetSourceConnection.
Return type:str