FleetBasedActionGroup

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

Bases: ActionGroup

A string variable that holds a value

Attributes:

KIND_FLEET_USING_RUNBOOK

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

display_name

Gets the display_name of this ActionGroup.

fleet_id

[Required] Gets the fleet_id of this FleetBasedActionGroup.

kind

[Required] Gets the kind of this ActionGroup.

runbook_id

[Required] Gets the runbook_id of this FleetBasedActionGroup.

runbook_version_name

[Required] Gets the runbook_version_name of this FleetBasedActionGroup.

sequence

Gets the sequence of this FleetBasedActionGroup.

Methods:

__init__(**kwargs)

Initializes a new FleetBasedActionGroup 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 ActionGroup. This constant has a value of “FLEET_USING_RUNBOOK”

__init__(**kwargs)

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

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

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

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

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

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

property display_name

Gets the display_name of this ActionGroup. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Example: My new resource

Returns

The display_name of this ActionGroup.

Return type

str

property fleet_id

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

Returns

The fleet_id of this FleetBasedActionGroup.

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 ActionGroup. 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 ActionGroup.

Return type

str

property runbook_id

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

Returns

The runbook_id of this FleetBasedActionGroup.

Return type

str

property runbook_version_name

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

Returns

The runbook_version_name of this FleetBasedActionGroup.

Return type

str

property sequence

Gets the sequence of this FleetBasedActionGroup. Sequence of the Action Group. Action groups will be executed in a seuential order. All Action Groups having the same sequence will be executed parallely. If no value is provided a default value of 1 will be given.

Returns

The sequence of this FleetBasedActionGroup.

Return type

int