CreateRunbookVersionDetails¶
- class oci.fleet_apps_management.models.CreateRunbookVersionDetails(**kwargs)¶
Bases:
objectThe information about new runbook version. Versioning runbooks in Fleet Application Management involve assigning unique identifiers or version numbers to different iterations of the runbook to track changes, improvements, and updates over time.
Methods:
__init__(**kwargs)Initializes a new CreateRunbookVersionDetails object with values from keyword arguments.
Attributes:
Gets the defined_tags of this CreateRunbookVersionDetails.
[Required] Gets the execution_workflow_details of this CreateRunbookVersionDetails.
Gets the freeform_tags of this CreateRunbookVersionDetails.
[Required] Gets the groups of this CreateRunbookVersionDetails.
Gets the rollback_workflow_details of this CreateRunbookVersionDetails.
[Required] Gets the runbook_id of this CreateRunbookVersionDetails.
[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.
- property defined_tags¶
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))
- property execution_workflow_details¶
[Required] Gets the execution_workflow_details of this CreateRunbookVersionDetails.
- Returns
The execution_workflow_details of this CreateRunbookVersionDetails.
- Return type
- property freeform_tags¶
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)
- property groups¶
[Required] Gets the groups of this CreateRunbookVersionDetails. The groups of the runbook version.
- Returns
The groups of this CreateRunbookVersionDetails.
- Return type
- property rollback_workflow_details¶
Gets the rollback_workflow_details of this CreateRunbookVersionDetails.
- Returns
The rollback_workflow_details of this CreateRunbookVersionDetails.
- Return type
- property 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
- property 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