Version¶
-
class
oci.fleet_apps_management.models.Version(**kwargs)¶ Bases:
objectVersion for the runbook. 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 Version object with values from keyword arguments. Attributes
execution_workflow_details[Required] Gets the execution_workflow_details of this Version. groups[Required] Gets the groups of this Version. is_latestGets the is_latest of this Version. rollback_workflow_detailsGets the rollback_workflow_details of this Version. tasks[Required] Gets the tasks of this Version. versionGets the version of this Version. -
__init__(**kwargs)¶ Initializes a new Version object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - tasks (list[oci.fleet_apps_management.models.Task]) – The value to assign to the tasks property of this Version.
- groups (list[oci.fleet_apps_management.models.Group]) – The value to assign to the groups property of this Version.
- execution_workflow_details (oci.fleet_apps_management.models.ExecutionWorkflowDetails) – The value to assign to the execution_workflow_details property of this Version.
- rollback_workflow_details (oci.fleet_apps_management.models.RollbackWorkflowDetails) – The value to assign to the rollback_workflow_details property of this Version.
- version (str) – The value to assign to the version property of this Version.
- is_latest (bool) – The value to assign to the is_latest property of this Version.
-
execution_workflow_details¶ [Required] Gets the execution_workflow_details of this Version.
Returns: The execution_workflow_details of this Version. Return type: oci.fleet_apps_management.models.ExecutionWorkflowDetails
-
groups¶ [Required] Gets the groups of this Version. The groups of the runbook.
Returns: The groups of this Version. Return type: list[oci.fleet_apps_management.models.Group]
-
is_latest¶ Gets the is_latest of this Version. Is this version the latest?
Returns: The is_latest of this Version. Return type: bool
-
rollback_workflow_details¶ Gets the rollback_workflow_details of this Version.
Returns: The rollback_workflow_details of this Version. Return type: oci.fleet_apps_management.models.RollbackWorkflowDetails
-
tasks¶ [Required] Gets the tasks of this Version. A set of tasks to execute in the runbook.
Returns: The tasks of this Version. Return type: list[oci.fleet_apps_management.models.Task]
-
version¶ Gets the version of this Version. The version of the runbook.
Returns: The version of this Version. Return type: str
-