Data Source: oci_fleet_apps_management_runbooks
This data source provides the list of Runbooks in Oracle Cloud Infrastructure Fleet Apps Management service.
List runbooks in Fleet Application Management.
Example Usage
data "oci_fleet_apps_management_runbooks" "test_runbooks" {
#Optional
compartment_id = var.compartment_id
display_name = var.runbook_display_name
id = var.runbook_id
operation = var.runbook_operation
platform = var.runbook_platform
runbook_relevance = var.runbook_runbook_relevance
state = var.runbook_state
type = var.runbook_type
}
Argument Reference
The following arguments are supported:
compartment_id
- (Optional) The ID of the compartment in which to list resources.display_name
- (Optional) A filter to return only resources that match the entire display name given.id
- (Optional) A filter to return runbooks whose identifier matches the given identifier.operation
- (Optional) A filter to return runbooks whose operation matches the given lifecycle operation.platform
- (Optional) A filter to return runbooks whose platform matches the given platform.runbook_relevance
- (Optional) A filter to return runbooks whose runbookRelevance matches the given runbookRelevance.state
- (Optional) A filter to return only resources whose lifecycleState matches the given lifecycleState.type
- (Optional) A filter to return runbooks whose type matches the given type.
Attributes Reference
The following attributes are exported:
runbook_collection
- The list of runbook_collection.
Runbook Reference
The following attributes are exported:
associations
- Associations for the runbook.execution_workflow_details
- Execution Workflow details.workflow
- Execution Workflow for the runbook.group_name
- Name of the group.steps
- Steps within the Group.group_name
- Name of the group.step_name
- Provide StepName for the Task.steps
- Tasks within the Group. Provide the stepName for all applicable tasks.type
- Content Source Details.
type
- Workflow Group Details.
groups
- The groups of the runbook.name
- The name of the group.properties
- The properties of the component.action_on_failure
- The action to be taken in case of a failure.condition
- Build control flow conditions that determine the relevance of the task execution.notification_preferences
- Preferences to send notifications on the task activities.should_notify_on_pause
- Enables notification on pause.should_notify_on_task_failure
- Enables or disables notification on Task Failures.should_notify_on_task_success
- Enables or disables notification on Task Success.
pause_details
- Pause Detailsduration_in_minutes
- Time in minutes to apply Pause.kind
- Pause based On.
run_on
- The runOn condition for the task/group/container. Build task execution conditions if applicable to product and product-specific components. This condition is relevant when handling product stack workflows. Example: target.product.name = Oracle WebLogic Server OR target.product.name = Oracle HTTP Server
type
- 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.
rollback_workflow_details
- Rollback Workflow details.scope
- rollback Scopeworkflow
- Rollback Workflow for the runbook.group_name
- Name of the group.steps
- Steps within the Group.group_name
- Name of the group.step_name
- Provide StepName for the Task.steps
- Tasks within the Group. Provide the stepName for all applicable tasks.type
- Content Source Details.
type
- Workflow Group Details.
tasks
- A set of tasks to execute in the runbook.association_type
- The association type of the taskoutput_variable_mappings
- Mapping output variables of previous tasks to the input variables of the current task.name
- The name of the input variable.output_variable_details
- The details of the output variable that will be used for mapping.output_variable_name
- The name of the output variable whose value has to be mapped.step_name
- The name of the task step the output variable belongs to.
step_name
- The name of the task step.step_properties
- The properties of the component.action_on_failure
- The action to be taken in case of a failure.condition
- Build control flow conditions that determine the relevance of the task execution.notification_preferences
- Preferences to send notifications on the task activities.should_notify_on_pause
- Enables notification on pause.should_notify_on_task_failure
- Enables or disables notification on Task Failures.should_notify_on_task_success
- Enables or disables notification on Task Success.
pause_details
- Pause Detailsduration_in_minutes
- Time in minutes to apply Pause.kind
- Pause based On.
run_on
- The runOn condition for the task/group/container. Build task execution conditions if applicable to product and product-specific components. This condition is relevant when handling product stack workflows. Example: target.product.name = Oracle WebLogic Server OR target.product.name = Oracle HTTP Server
task_record_details
- The details of the task.description
- The description of the task.execution_details
- Execution details.command
- Optional command to execute the content. You can provide any commands/arguments that can’t be part of the script.content
- Content Source details.bucket
- Bucket Name.checksum
- md5 checksum of the artifact.namespace
- Namespace.object
- Object Name.source_type
- Content Source type details.
credentials
- Credentials required for executing the task.display_name
- A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information. Example:My new resource
id
- The OCID of the resource.
endpoint
- Endpoint to be invoked.execution_type
- The action type of the taskvariables
- The variable of the task. At least one of the dynamicArguments or output needs to be provided.input_variables
- The input variables for the task.description
- The description of the argument.name
- The name of the argument.type
- Input argument Type.
output_variables
- The list of output variables.
is_apply_subject_task
- Is this an Apply Subject Task? Ex. Patch Execution Taskis_copy_to_library_enabled
- Make a copy of this task in Libraryis_discovery_output_task
- Is this a discovery output task?name
- The name of the taskos_type
- The OS for the task.platform
- The platform of the runbook.properties
- The properties of the task.num_retries
- The number of retries allowed.timeout_in_seconds
- The timeout in seconds for the task.
scope
- The scope of the task.task_record_id
- The ID of taskRecord.
version
- The version of the runbook.
compartment_id
-defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
description
- A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.display_name
- A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information. Example:My new resource
estimated_time
- Estimated time to successfully complete the runbook execution.freeform_tags
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}
id
- The OCID of the resource.is_default
- Is the runbook default? Sets this runbook as the default for the chosen product/product stack for the specified lifecycle operation.lifecycle_details
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.operation
- The lifecycle operation performed by the runbook.os_type
- The OS type for the runbook.platform
- The platform of the runbook.resource_region
- Associated regionrunbook_relevance
- Relevance of the runbook.state
- The current state of the Runbook.system_tags
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}
time_created
- The time this resource was created. An RFC3339 formatted datetime string.time_updated
- The time this resource was last updated. An RFC3339 formatted datetime string.type
- The type of the runbook.