Group

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

Bases: object

The group of the runbook.

Attributes

TYPE_PARALLEL_RESOURCE_GROUP A constant which can be used with the type property of a Group.
TYPE_PARALLEL_TASK_GROUP A constant which can be used with the type property of a Group.
TYPE_ROLLING_RESOURCE_GROUP A constant which can be used with the type property of a Group.
name [Required] Gets the name of this Group.
properties Gets the properties of this Group.
type [Required] Gets the type of this Group.

Methods

__init__(**kwargs) Initializes a new Group object with values from keyword arguments.
TYPE_PARALLEL_RESOURCE_GROUP = 'PARALLEL_RESOURCE_GROUP'

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

TYPE_PARALLEL_TASK_GROUP = 'PARALLEL_TASK_GROUP'

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

TYPE_ROLLING_RESOURCE_GROUP = 'ROLLING_RESOURCE_GROUP'

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

__init__(**kwargs)

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

Parameters:
  • type (str) – The value to assign to the type property of this Group. Allowed values for this property are: “PARALLEL_TASK_GROUP”, “PARALLEL_RESOURCE_GROUP”, “ROLLING_RESOURCE_GROUP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • name (str) – The value to assign to the name property of this Group.
  • properties (oci.fleet_apps_management.models.ComponentProperties) – The value to assign to the properties property of this Group.
name

[Required] Gets the name of this Group. The name of the group.

Returns:The name of this Group.
Return type:str
properties

Gets the properties of this Group.

Returns:The properties of this Group.
Return type:oci.fleet_apps_management.models.ComponentProperties
type

[Required] Gets the type of this Group. The type of the group. PARALLEL_TASK_GROUP : Helps to execute tasks parallelly inside a resource. PARALLEL_RESOURCE_GROUP : Executes tasks across resources parallelly. ROLLING_RESOURCE_GROUP : Executes tasks across resources in a rolling order.

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

Returns:The type of this Group.
Return type:str