ActionGroup¶
-
class
oci.fleet_apps_management.models.
ActionGroup
(**kwargs)¶ Bases:
object
Action Group.
Attributes
TYPE_ENVIRONMENT
A constant which can be used with the type property of a ActionGroup. TYPE_PRODUCT
A constant which can be used with the type property of a ActionGroup. application_type
Gets the application_type of this ActionGroup. lifecycle_operation
Gets the lifecycle_operation of this ActionGroup. product
Gets the product of this ActionGroup. resource_id
[Required] Gets the resource_id of this ActionGroup. runbook_id
[Required] Gets the runbook_id of this ActionGroup. subjects
Gets the subjects of this ActionGroup. target_id
Gets the target_id of this ActionGroup. type
Gets the type of this ActionGroup. Methods
__init__
(**kwargs)Initializes a new ActionGroup object with values from keyword arguments. -
TYPE_ENVIRONMENT
= 'ENVIRONMENT'¶ A constant which can be used with the type property of a ActionGroup. This constant has a value of “ENVIRONMENT”
-
TYPE_PRODUCT
= 'PRODUCT'¶ A constant which can be used with the type property of a ActionGroup. This constant has a value of “PRODUCT”
-
__init__
(**kwargs)¶ Initializes a new ActionGroup object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - resource_id (str) – The value to assign to the resource_id property of this ActionGroup.
- type (str) – The value to assign to the type property of this ActionGroup. Allowed values for this property are: “PRODUCT”, “ENVIRONMENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- application_type (str) – The value to assign to the application_type property of this ActionGroup.
- product (str) – The value to assign to the product property of this ActionGroup.
- lifecycle_operation (str) – The value to assign to the lifecycle_operation property of this ActionGroup.
- runbook_id (str) – The value to assign to the runbook_id property of this ActionGroup.
- target_id (str) – The value to assign to the target_id property of this ActionGroup.
- subjects (list[str]) – The value to assign to the subjects property of this ActionGroup.
-
application_type
¶ Gets the application_type of this ActionGroup. Application Type associated. Only applicable if type is ENVIRONMENT.
Returns: The application_type of this ActionGroup. Return type: str
-
lifecycle_operation
¶ Gets the lifecycle_operation of this ActionGroup. LifeCycle Operation
Returns: The lifecycle_operation of this ActionGroup. Return type: str
-
product
¶ Gets the product of this ActionGroup. Product associated. Only applicable if type is PRODUCT.
Returns: The product of this ActionGroup. Return type: str
-
resource_id
¶ [Required] Gets the resource_id of this ActionGroup. Provide the ID of the resource. Example fleet ID.
Returns: The resource_id of this ActionGroup. Return type: str
-
runbook_id
¶ [Required] Gets the runbook_id of this ActionGroup. ID of the runbook
Returns: The runbook_id of this ActionGroup. Return type: str
-
subjects
¶ Gets the subjects of this ActionGroup. Provide subjects that need to be considered for the schedule.
Returns: The subjects of this ActionGroup. Return type: list[str]
-
target_id
¶ Gets the target_id of this ActionGroup. Provide the target if schedule is created against the target
Returns: The target_id of this ActionGroup. Return type: str
-
type
¶ Gets the type of this ActionGroup. ActionGroup Type associated.
Allowed values for this property are: “PRODUCT”, “ENVIRONMENT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this ActionGroup. Return type: str
-