ApplicationMigrationAction

class oci.fusion_apps.models.ApplicationMigrationAction(**kwargs)

Bases: Action

Action indicating a SaaS application migrating to Fusion Applications.

Attributes:

ACTION_TYPE_APPLICATION_MIGRATION

A constant which can be used with the action_type property of a Action.

ACTION_TYPE_PATCH

A constant which can be used with the action_type property of a Action.

ACTION_TYPE_QUARTERLY_UPGRADE

A constant which can be used with the action_type property of a Action.

ACTION_TYPE_VERTEX

A constant which can be used with the action_type property of a Action.

STATE_ACCEPTED

A constant which can be used with the state property of a Action.

STATE_CANCELED

A constant which can be used with the state property of a Action.

STATE_FAILED

A constant which can be used with the state property of a Action.

STATE_IN_PROGRESS

A constant which can be used with the state property of a Action.

STATE_SUCCEEDED

A constant which can be used with the state property of a Action.

action_type

[Required] Gets the action_type of this Action.

application_type

Gets the application_type of this ApplicationMigrationAction.

description

[Required] Gets the description of this Action.

reference_key

Gets the reference_key of this Action.

source_environment_id

Gets the source_environment_id of this ApplicationMigrationAction.

source_environment_name

Gets the source_environment_name of this ApplicationMigrationAction.

source_environment_url

Gets the source_environment_url of this ApplicationMigrationAction.

state

Gets the state of this Action.

Methods:

__init__(**kwargs)

Initializes a new ApplicationMigrationAction object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

ACTION_TYPE_APPLICATION_MIGRATION = 'APPLICATION_MIGRATION'

A constant which can be used with the action_type property of a Action. This constant has a value of “APPLICATION_MIGRATION”

ACTION_TYPE_PATCH = 'PATCH'

A constant which can be used with the action_type property of a Action. This constant has a value of “PATCH”

ACTION_TYPE_QUARTERLY_UPGRADE = 'QUARTERLY_UPGRADE'

A constant which can be used with the action_type property of a Action. This constant has a value of “QUARTERLY_UPGRADE”

ACTION_TYPE_VERTEX = 'VERTEX'

A constant which can be used with the action_type property of a Action. This constant has a value of “VERTEX”

STATE_ACCEPTED = 'ACCEPTED'

A constant which can be used with the state property of a Action. This constant has a value of “ACCEPTED”

STATE_CANCELED = 'CANCELED'

A constant which can be used with the state property of a Action. This constant has a value of “CANCELED”

STATE_FAILED = 'FAILED'

A constant which can be used with the state property of a Action. This constant has a value of “FAILED”

STATE_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the state property of a Action. This constant has a value of “IN_PROGRESS”

STATE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the state property of a Action. This constant has a value of “SUCCEEDED”

__init__(**kwargs)

Initializes a new ApplicationMigrationAction object with values from keyword arguments. The default value of the action_type attribute of this class is APPLICATION_MIGRATION and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • reference_key (str) – The value to assign to the reference_key property of this ApplicationMigrationAction.

  • action_type (str) – The value to assign to the action_type property of this ApplicationMigrationAction. Allowed values for this property are: “QUARTERLY_UPGRADE”, “PATCH”, “VERTEX”, “APPLICATION_MIGRATION”

  • state (str) – The value to assign to the state property of this ApplicationMigrationAction. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, “CANCELED”

  • description (str) – The value to assign to the description property of this ApplicationMigrationAction.

  • application_type (str) – The value to assign to the application_type property of this ApplicationMigrationAction.

  • source_environment_name (str) – The value to assign to the source_environment_name property of this ApplicationMigrationAction.

  • source_environment_id (str) – The value to assign to the source_environment_id property of this ApplicationMigrationAction.

  • source_environment_url (str) – The value to assign to the source_environment_url property of this ApplicationMigrationAction.

property action_type

[Required] Gets the action_type of this Action. Type of action.

Allowed values for this property are: “QUARTERLY_UPGRADE”, “PATCH”, “VERTEX”, “APPLICATION_MIGRATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The action_type of this Action.

Return type

str

property application_type

Gets the application_type of this ApplicationMigrationAction. Name of SaaS Application being migrated.

Returns

The application_type of this ApplicationMigrationAction.

Return type

str

property description

[Required] Gets the description of this Action. A string that describes the details of the action. It does not have to be unique, and you can change it. Avoid entering confidential information.

Returns

The description of this Action.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property reference_key

Gets the reference_key of this Action. Unique identifier of the object that represents the action.

Returns

The reference_key of this Action.

Return type

str

property source_environment_id

Gets the source_environment_id of this ApplicationMigrationAction. Source environment id derived from appman instance id

Returns

The source_environment_id of this ApplicationMigrationAction.

Return type

str

property source_environment_name

Gets the source_environment_name of this ApplicationMigrationAction. Source environment name derived from source pod name

Returns

The source_environment_name of this ApplicationMigrationAction.

Return type

str

property source_environment_url

Gets the source_environment_url of this ApplicationMigrationAction. Source environment url derived from source url

Returns

The source_environment_url of this ApplicationMigrationAction.

Return type

str

property state

Gets the state of this Action. A string that describes whether the change is applied hot or cold.

Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “SUCCEEDED”, “FAILED”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The state of this Action.

Return type

str