FleetBasedActionGroupDetails

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

Bases: ActionGroupDetails

A string variable that holds a value

Attributes:

KIND_FLEET_USING_RUNBOOK

A constant which can be used with the kind property of a ActionGroupDetails.

STATUS_ABORTED

A constant which can be used with the status property of a ActionGroupDetails.

STATUS_ACCEPTED

A constant which can be used with the status property of a ActionGroupDetails.

STATUS_CANCELED

A constant which can be used with the status property of a ActionGroupDetails.

STATUS_FAILED

A constant which can be used with the status property of a ActionGroupDetails.

STATUS_IGNORED

A constant which can be used with the status property of a ActionGroupDetails.

STATUS_IN_PROGRESS

A constant which can be used with the status property of a ActionGroupDetails.

STATUS_NOT_APPLICABLE

A constant which can be used with the status property of a ActionGroupDetails.

STATUS_PAUSED

A constant which can be used with the status property of a ActionGroupDetails.

STATUS_SKIPPED

A constant which can be used with the status property of a ActionGroupDetails.

STATUS_SUCCEEDED

A constant which can be used with the status property of a ActionGroupDetails.

STATUS_TIMED_OUT

A constant which can be used with the status property of a ActionGroupDetails.

STATUS_WAITING

A constant which can be used with the status property of a ActionGroupDetails.

activity_id

Gets the activity_id of this ActionGroupDetails.

display_name

Gets the display_name of this ActionGroupDetails.

fleet_id

[Required] Gets the fleet_id of this FleetBasedActionGroupDetails.

kind

[Required] Gets the kind of this ActionGroupDetails.

lifecycle_operation

Gets the lifecycle_operation of this ActionGroupDetails.

product

Gets the product of this ActionGroupDetails.

runbook_id

[Required] Gets the runbook_id of this FleetBasedActionGroupDetails.

runbook_version_name

[Required] Gets the runbook_version_name of this FleetBasedActionGroupDetails.

sequence

Gets the sequence of this FleetBasedActionGroupDetails.

status

Gets the status of this ActionGroupDetails.

time_ended

Gets the time_ended of this ActionGroupDetails.

time_started

Gets the time_started of this ActionGroupDetails.

Methods:

__init__(**kwargs)

Initializes a new FleetBasedActionGroupDetails 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.

KIND_FLEET_USING_RUNBOOK = 'FLEET_USING_RUNBOOK'

A constant which can be used with the kind property of a ActionGroupDetails. This constant has a value of “FLEET_USING_RUNBOOK”

STATUS_ABORTED = 'ABORTED'

A constant which can be used with the status property of a ActionGroupDetails. This constant has a value of “ABORTED”

STATUS_ACCEPTED = 'ACCEPTED'

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

STATUS_CANCELED = 'CANCELED'

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

STATUS_FAILED = 'FAILED'

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

STATUS_IGNORED = 'IGNORED'

A constant which can be used with the status property of a ActionGroupDetails. This constant has a value of “IGNORED”

STATUS_IN_PROGRESS = 'IN_PROGRESS'

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

STATUS_NOT_APPLICABLE = 'NOT_APPLICABLE'

A constant which can be used with the status property of a ActionGroupDetails. This constant has a value of “NOT_APPLICABLE”

STATUS_PAUSED = 'PAUSED'

A constant which can be used with the status property of a ActionGroupDetails. This constant has a value of “PAUSED”

STATUS_SKIPPED = 'SKIPPED'

A constant which can be used with the status property of a ActionGroupDetails. This constant has a value of “SKIPPED”

STATUS_SUCCEEDED = 'SUCCEEDED'

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

STATUS_TIMED_OUT = 'TIMED_OUT'

A constant which can be used with the status property of a ActionGroupDetails. This constant has a value of “TIMED_OUT”

STATUS_WAITING = 'WAITING'

A constant which can be used with the status property of a ActionGroupDetails. This constant has a value of “WAITING”

__init__(**kwargs)

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

Parameters
  • display_name (str) – The value to assign to the display_name property of this FleetBasedActionGroupDetails.

  • kind (str) – The value to assign to the kind property of this FleetBasedActionGroupDetails. Allowed values for this property are: “FLEET_USING_RUNBOOK”

  • product (str) – The value to assign to the product property of this FleetBasedActionGroupDetails.

  • lifecycle_operation (str) – The value to assign to the lifecycle_operation property of this FleetBasedActionGroupDetails.

  • activity_id (str) – The value to assign to the activity_id property of this FleetBasedActionGroupDetails.

  • status (str) – The value to assign to the status property of this FleetBasedActionGroupDetails. Allowed values for this property are: “ACCEPTED”, “WAITING”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELED”, “SKIPPED”, “IGNORED”, “NOT_APPLICABLE”, “ABORTED”, “TIMED_OUT”, “PAUSED”

  • time_started (datetime) – The value to assign to the time_started property of this FleetBasedActionGroupDetails.

  • time_ended (datetime) – The value to assign to the time_ended property of this FleetBasedActionGroupDetails.

  • fleet_id (str) – The value to assign to the fleet_id property of this FleetBasedActionGroupDetails.

  • sequence (int) – The value to assign to the sequence property of this FleetBasedActionGroupDetails.

  • runbook_id (str) – The value to assign to the runbook_id property of this FleetBasedActionGroupDetails.

  • runbook_version_name (str) – The value to assign to the runbook_version_name property of this FleetBasedActionGroupDetails.

property activity_id

Gets the activity_id of this ActionGroupDetails. Unique producer Id at Action Group Level

Returns

The activity_id of this ActionGroupDetails.

Return type

str

property display_name

Gets the display_name of this ActionGroupDetails. Name of the ActionGroup.

Returns

The display_name of this ActionGroupDetails.

Return type

str

property fleet_id

[Required] Gets the fleet_id of this FleetBasedActionGroupDetails. ID of the fleet

Returns

The fleet_id of this FleetBasedActionGroupDetails.

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 kind

[Required] Gets the kind of this ActionGroupDetails. Action Group kind

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

Returns

The kind of this ActionGroupDetails.

Return type

str

property lifecycle_operation

Gets the lifecycle_operation of this ActionGroupDetails. LifeCycle Operation.

Returns

The lifecycle_operation of this ActionGroupDetails.

Return type

str

property product

Gets the product of this ActionGroupDetails. Product associated. Only applicable if actionGroup type is PRODUCT.

Returns

The product of this ActionGroupDetails.

Return type

str

property runbook_id

[Required] Gets the runbook_id of this FleetBasedActionGroupDetails. ID of the runbook

Returns

The runbook_id of this FleetBasedActionGroupDetails.

Return type

str

property runbook_version_name

[Required] Gets the runbook_version_name of this FleetBasedActionGroupDetails. Name of the runbook version

Returns

The runbook_version_name of this FleetBasedActionGroupDetails.

Return type

str

property sequence

Gets the sequence of this FleetBasedActionGroupDetails. sequence of the Action Group

Returns

The sequence of this FleetBasedActionGroupDetails.

Return type

int

property status

Gets the status of this ActionGroupDetails. Status of the Job at Action Group Level.

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

Returns

The status of this ActionGroupDetails.

Return type

str

property time_ended

Gets the time_ended of this ActionGroupDetails. The time the Scheduler Job ended. An RFC3339 formatted datetime string.

Returns

The time_ended of this ActionGroupDetails.

Return type

datetime

property time_started

Gets the time_started of this ActionGroupDetails. The time the Scheduler Job started. An RFC3339 formatted datetime string.

Returns

The time_started of this ActionGroupDetails.

Return type

datetime