SourceApplication

class oci.application_migration.models.SourceApplication(**kwargs)

Bases: object

Details about an application running in the source environment that you can migrate to Oracle Cloud Infrastructure.

Attributes

TYPE_ICS A constant which can be used with the type property of a SourceApplication.
TYPE_JCS A constant which can be used with the type property of a SourceApplication.
TYPE_OAC A constant which can be used with the type property of a SourceApplication.
TYPE_OIC A constant which can be used with the type property of a SourceApplication.
TYPE_PCS A constant which can be used with the type property of a SourceApplication.
TYPE_SOACS A constant which can be used with the type property of a SourceApplication.
name Gets the name of this SourceApplication.
source_id Gets the source_id of this SourceApplication.
state Gets the state of this SourceApplication.
type Gets the type of this SourceApplication.
version Gets the version of this SourceApplication.

Methods

__init__(**kwargs) Initializes a new SourceApplication object with values from keyword arguments.
TYPE_ICS = 'ICS'

A constant which can be used with the type property of a SourceApplication. This constant has a value of “ICS”

TYPE_JCS = 'JCS'

A constant which can be used with the type property of a SourceApplication. This constant has a value of “JCS”

TYPE_OAC = 'OAC'

A constant which can be used with the type property of a SourceApplication. This constant has a value of “OAC”

TYPE_OIC = 'OIC'

A constant which can be used with the type property of a SourceApplication. This constant has a value of “OIC”

TYPE_PCS = 'PCS'

A constant which can be used with the type property of a SourceApplication. This constant has a value of “PCS”

TYPE_SOACS = 'SOACS'

A constant which can be used with the type property of a SourceApplication. This constant has a value of “SOACS”

__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this SourceApplication.
  • type (str) – The value to assign to the type property of this SourceApplication. Allowed values for this property are: “JCS”, “SOACS”, “OIC”, “OAC”, “ICS”, “PCS”
  • source_id (str) – The value to assign to the source_id property of this SourceApplication.
  • version (str) – The value to assign to the version property of this SourceApplication.
  • state (str) – The value to assign to the state property of this SourceApplication.
name

Gets the name of this SourceApplication. The name of the application.

Returns:The name of this SourceApplication.
Return type:str
source_id

Gets the source_id of this SourceApplication. The OCID of the source to which the application belongs.

Returns:The source_id of this SourceApplication.
Return type:str
state

Gets the state of this SourceApplication. The current state of the application.

Returns:The state of this SourceApplication.
Return type:str
type

Gets the type of this SourceApplication. The type of application.

Allowed values for this property are: “JCS”, “SOACS”, “OIC”, “OAC”, “ICS”, “PCS”

Returns:The type of this SourceApplication.
Return type:str
version

Gets the version of this SourceApplication. The version of the application.

Returns:The version of this SourceApplication.
Return type:str