CreateRunbookVersionDetails¶
-
class
oci.fleet_apps_management.models.
CreateRunbookVersionDetails
(**kwargs)¶ Bases:
object
The information about new Runbook.
Methods
__init__
(**kwargs)Initializes a new CreateRunbookVersionDetails object with values from keyword arguments. Attributes
defined_tags
Gets the defined_tags of this CreateRunbookVersionDetails. execution_workflow_details
[Required] Gets the execution_workflow_details of this CreateRunbookVersionDetails. freeform_tags
Gets the freeform_tags of this CreateRunbookVersionDetails. groups
[Required] Gets the groups of this CreateRunbookVersionDetails. rollback_workflow_details
Gets the rollback_workflow_details of this CreateRunbookVersionDetails. runbook_id
[Required] Gets the runbook_id of this CreateRunbookVersionDetails. tasks
[Required] Gets the tasks of this CreateRunbookVersionDetails. -
__init__
(**kwargs)¶ Initializes a new CreateRunbookVersionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - runbook_id (str) – The value to assign to the runbook_id property of this CreateRunbookVersionDetails.
- tasks (list[oci.fleet_apps_management.models.Task]) – The value to assign to the tasks property of this CreateRunbookVersionDetails.
- groups (list[oci.fleet_apps_management.models.Group]) – The value to assign to the groups property of this CreateRunbookVersionDetails.
- execution_workflow_details (oci.fleet_apps_management.models.ExecutionWorkflowDetails) – The value to assign to the execution_workflow_details property of this CreateRunbookVersionDetails.
- rollback_workflow_details (oci.fleet_apps_management.models.RollbackWorkflowDetails) – The value to assign to the rollback_workflow_details property of this CreateRunbookVersionDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateRunbookVersionDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateRunbookVersionDetails.
Gets the defined_tags of this CreateRunbookVersionDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this CreateRunbookVersionDetails. Return type: dict(str, dict(str, object))
-
execution_workflow_details
¶ [Required] Gets the execution_workflow_details of this CreateRunbookVersionDetails.
Returns: The execution_workflow_details of this CreateRunbookVersionDetails. Return type: oci.fleet_apps_management.models.ExecutionWorkflowDetails
Gets the freeform_tags of this CreateRunbookVersionDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this CreateRunbookVersionDetails. Return type: dict(str, str)
-
groups
¶ [Required] Gets the groups of this CreateRunbookVersionDetails. The groups of the runbook.
Returns: The groups of this CreateRunbookVersionDetails. Return type: list[oci.fleet_apps_management.models.Group]
-
rollback_workflow_details
¶ Gets the rollback_workflow_details of this CreateRunbookVersionDetails.
Returns: The rollback_workflow_details of this CreateRunbookVersionDetails. Return type: oci.fleet_apps_management.models.RollbackWorkflowDetails
-
runbook_id
¶ [Required] Gets the runbook_id of this CreateRunbookVersionDetails. The OCID of the resource.
Returns: The runbook_id of this CreateRunbookVersionDetails. Return type: str
-
tasks
¶ [Required] Gets the tasks of this CreateRunbookVersionDetails. A set of tasks to execute in the runbook.
Returns: The tasks of this CreateRunbookVersionDetails. Return type: list[oci.fleet_apps_management.models.Task]
-