Group¶
- class oci.fleet_apps_management.models.Group(**kwargs)¶
Bases:
objectThe group of the runbook.
Attributes:
A constant which can be used with the type property of a Group.
A constant which can be used with the type property of a Group.
A constant which can be used with the type property of a Group.
[Required] Gets the name of this Group.
Gets the properties of this Group.
[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.
- property name¶
[Required] Gets the name of this Group. The name of the group.
- Returns
The name of this Group.
- Return type
str
- property properties¶
Gets the properties of this Group.
- Returns
The properties of this Group.
- Return type
- property 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