UserActionDetails

class oci.fleet_apps_management.models.UserActionDetails(**kwargs)

Bases: object

User action details. This can be performed on a failed/paused task or action group.

Attributes:

ACTION_ABORT

A constant which can be used with the action property of a UserActionDetails.

ACTION_IGNORE

A constant which can be used with the action property of a UserActionDetails.

ACTION_RESUME

A constant which can be used with the action property of a UserActionDetails.

ACTION_RETRY

A constant which can be used with the action property of a UserActionDetails.

LEVEL_ACTION_GROUP

A constant which can be used with the level property of a UserActionDetails.

LEVEL_STEP_NAME

A constant which can be used with the level property of a UserActionDetails.

action

[Required] Gets the action of this UserActionDetails.

level

[Required] Gets the level of this UserActionDetails.

Methods:

__init__(**kwargs)

Initializes a new UserActionDetails 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_ABORT = 'ABORT'

A constant which can be used with the action property of a UserActionDetails. This constant has a value of “ABORT”

ACTION_IGNORE = 'IGNORE'

A constant which can be used with the action property of a UserActionDetails. This constant has a value of “IGNORE”

ACTION_RESUME = 'RESUME'

A constant which can be used with the action property of a UserActionDetails. This constant has a value of “RESUME”

ACTION_RETRY = 'RETRY'

A constant which can be used with the action property of a UserActionDetails. This constant has a value of “RETRY”

LEVEL_ACTION_GROUP = 'ACTION_GROUP'

A constant which can be used with the level property of a UserActionDetails. This constant has a value of “ACTION_GROUP”

LEVEL_STEP_NAME = 'STEP_NAME'

A constant which can be used with the level property of a UserActionDetails. This constant has a value of “STEP_NAME”

__init__(**kwargs)

Initializes a new UserActionDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • level (str) – The value to assign to the level property of this UserActionDetails. Allowed values for this property are: “ACTION_GROUP”, “STEP_NAME”

  • action (str) – The value to assign to the action property of this UserActionDetails. Allowed values for this property are: “RETRY”, “RESUME”, “IGNORE”, “ABORT”

property action

[Required] Gets the action of this UserActionDetails. Action to be Performed.

Allowed values for this property are: “RETRY”, “RESUME”, “IGNORE”, “ABORT”

Returns

The action of this UserActionDetails.

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 level

[Required] Gets the level of this UserActionDetails. User action based On.

Allowed values for this property are: “ACTION_GROUP”, “STEP_NAME”

Returns

The level of this UserActionDetails.

Return type

str