1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. FleetAppsManagement
  5. Runbook
Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi

oci.FleetAppsManagement.Runbook

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi

    This resource provides the Runbook resource in Oracle Cloud Infrastructure Fleet Apps Management service.

    Creates a runbook.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testRunbook = new oci.fleetappsmanagement.Runbook("test_runbook", {
        compartmentId: compartmentId,
        displayName: runbookDisplayName,
        operation: runbookOperation,
        runbookVersion: {
            executionWorkflowDetails: {
                workflows: [{
                    groupName: testGroup.name,
                    steps: [{
                        type: runbookRunbookVersionExecutionWorkflowDetailsWorkflowStepsType,
                        groupName: testGroup.name,
                        stepName: runbookRunbookVersionExecutionWorkflowDetailsWorkflowStepsStepName,
                        steps: runbookRunbookVersionExecutionWorkflowDetailsWorkflowStepsSteps,
                    }],
                    type: runbookRunbookVersionExecutionWorkflowDetailsWorkflowType,
                }],
            },
            groups: [{
                name: runbookRunbookVersionGroupsName,
                type: runbookRunbookVersionGroupsType,
                properties: {
                    actionOnFailure: runbookRunbookVersionGroupsPropertiesActionOnFailure,
                    notificationPreferences: {
                        shouldNotifyOnPause: runbookRunbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnPause,
                        shouldNotifyOnTaskFailure: runbookRunbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskFailure,
                        shouldNotifyOnTaskSuccess: runbookRunbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess,
                    },
                    pauseDetails: {
                        kind: runbookRunbookVersionGroupsPropertiesPauseDetailsKind,
                        durationInMinutes: runbookRunbookVersionGroupsPropertiesPauseDetailsDurationInMinutes,
                    },
                    preCondition: runbookRunbookVersionGroupsPropertiesPreCondition,
                    runOn: {
                        kind: runbookRunbookVersionGroupsPropertiesRunOnKind,
                        condition: runbookRunbookVersionGroupsPropertiesRunOnCondition,
                        host: runbookRunbookVersionGroupsPropertiesRunOnHost,
                        previousTaskInstanceDetails: [{
                            outputVariableDetails: {
                                outputVariableName: runbookRunbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName,
                                stepName: runbookRunbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName,
                            },
                            resourceId: testResource.id,
                            resourceType: runbookRunbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsResourceType,
                        }],
                    },
                },
            }],
            tasks: [{
                stepName: runbookRunbookVersionTasksStepName,
                taskRecordDetails: {
                    scope: runbookRunbookVersionTasksTaskRecordDetailsScope,
                    description: runbookRunbookVersionTasksTaskRecordDetailsDescription,
                    executionDetails: {
                        executionType: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsExecutionType,
                        catalogId: testCatalog.id,
                        command: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsCommand,
                        configFile: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsConfigFile,
                        content: {
                            sourceType: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentSourceType,
                            bucket: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentBucket,
                            catalogId: testCatalog.id,
                            checksum: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentChecksum,
                            namespace: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentNamespace,
                            object: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentObject,
                        },
                        credentials: [{
                            displayName: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsDisplayName,
                            id: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsId,
                        }],
                        endpoint: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsEndpoint,
                        isExecutableContent: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsIsExecutableContent,
                        isLocked: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsIsLocked,
                        isReadOutputVariableEnabled: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsIsReadOutputVariableEnabled,
                        targetCompartmentId: testCompartment.id,
                        variables: {
                            inputVariables: [{
                                description: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesDescription,
                                name: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesName,
                                type: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesType,
                            }],
                            outputVariables: runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesOutputVariables,
                        },
                    },
                    isApplySubjectTask: runbookRunbookVersionTasksTaskRecordDetailsIsApplySubjectTask,
                    isCopyToLibraryEnabled: runbookRunbookVersionTasksTaskRecordDetailsIsCopyToLibraryEnabled,
                    isDiscoveryOutputTask: runbookRunbookVersionTasksTaskRecordDetailsIsDiscoveryOutputTask,
                    name: runbookRunbookVersionTasksTaskRecordDetailsName,
                    osType: runbookRunbookVersionTasksTaskRecordDetailsOsType,
                    platform: runbookRunbookVersionTasksTaskRecordDetailsPlatform,
                    properties: {
                        numRetries: runbookRunbookVersionTasksTaskRecordDetailsPropertiesNumRetries,
                        timeoutInSeconds: runbookRunbookVersionTasksTaskRecordDetailsPropertiesTimeoutInSeconds,
                    },
                    taskRecordId: testTaskRecord.id,
                },
                outputVariableMappings: [{
                    name: runbookRunbookVersionTasksOutputVariableMappingsName,
                    outputVariableDetails: {
                        outputVariableName: runbookRunbookVersionTasksOutputVariableMappingsOutputVariableDetailsOutputVariableName,
                        stepName: runbookRunbookVersionTasksOutputVariableMappingsOutputVariableDetailsStepName,
                    },
                }],
                stepProperties: {
                    actionOnFailure: runbookRunbookVersionTasksStepPropertiesActionOnFailure,
                    notificationPreferences: {
                        shouldNotifyOnPause: runbookRunbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnPause,
                        shouldNotifyOnTaskFailure: runbookRunbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskFailure,
                        shouldNotifyOnTaskSuccess: runbookRunbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess,
                    },
                    pauseDetails: {
                        kind: runbookRunbookVersionTasksStepPropertiesPauseDetailsKind,
                        durationInMinutes: runbookRunbookVersionTasksStepPropertiesPauseDetailsDurationInMinutes,
                    },
                    preCondition: runbookRunbookVersionTasksStepPropertiesPreCondition,
                    runOn: {
                        kind: runbookRunbookVersionTasksStepPropertiesRunOnKind,
                        condition: runbookRunbookVersionTasksStepPropertiesRunOnCondition,
                        host: runbookRunbookVersionTasksStepPropertiesRunOnHost,
                        previousTaskInstanceDetails: [{
                            outputVariableDetails: {
                                outputVariableName: runbookRunbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName,
                                stepName: runbookRunbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName,
                            },
                            resourceId: testResource.id,
                            resourceType: runbookRunbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsResourceType,
                        }],
                    },
                },
            }],
            isLatest: runbookRunbookVersionIsLatest,
            rollbackWorkflowDetails: {
                scope: runbookRunbookVersionRollbackWorkflowDetailsScope,
                workflows: [{
                    groupName: testGroup.name,
                    steps: [{
                        type: runbookRunbookVersionRollbackWorkflowDetailsWorkflowStepsType,
                        groupName: testGroup.name,
                        stepName: runbookRunbookVersionRollbackWorkflowDetailsWorkflowStepsStepName,
                        steps: runbookRunbookVersionRollbackWorkflowDetailsWorkflowStepsSteps,
                    }],
                    type: runbookRunbookVersionRollbackWorkflowDetailsWorkflowType,
                }],
            },
            version: runbookRunbookVersionVersion,
        },
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        description: runbookDescription,
        estimatedTime: runbookEstimatedTime,
        freeformTags: {
            "bar-key": "value",
        },
        isDefault: runbookIsDefault,
        isSudoAccessNeeded: runbookIsSudoAccessNeeded,
        osType: runbookOsType,
        platform: runbookPlatform,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_runbook = oci.fleet_apps_management.Runbook("test_runbook",
        compartment_id=compartment_id,
        display_name=runbook_display_name,
        operation=runbook_operation,
        runbook_version={
            "execution_workflow_details": {
                "workflows": [{
                    "group_name": test_group["name"],
                    "steps": [{
                        "type": runbook_runbook_version_execution_workflow_details_workflow_steps_type,
                        "group_name": test_group["name"],
                        "step_name": runbook_runbook_version_execution_workflow_details_workflow_steps_step_name,
                        "steps": runbook_runbook_version_execution_workflow_details_workflow_steps_steps,
                    }],
                    "type": runbook_runbook_version_execution_workflow_details_workflow_type,
                }],
            },
            "groups": [{
                "name": runbook_runbook_version_groups_name,
                "type": runbook_runbook_version_groups_type,
                "properties": {
                    "action_on_failure": runbook_runbook_version_groups_properties_action_on_failure,
                    "notification_preferences": {
                        "should_notify_on_pause": runbook_runbook_version_groups_properties_notification_preferences_should_notify_on_pause,
                        "should_notify_on_task_failure": runbook_runbook_version_groups_properties_notification_preferences_should_notify_on_task_failure,
                        "should_notify_on_task_success": runbook_runbook_version_groups_properties_notification_preferences_should_notify_on_task_success,
                    },
                    "pause_details": {
                        "kind": runbook_runbook_version_groups_properties_pause_details_kind,
                        "duration_in_minutes": runbook_runbook_version_groups_properties_pause_details_duration_in_minutes,
                    },
                    "pre_condition": runbook_runbook_version_groups_properties_pre_condition,
                    "run_on": {
                        "kind": runbook_runbook_version_groups_properties_run_on_kind,
                        "condition": runbook_runbook_version_groups_properties_run_on_condition,
                        "host": runbook_runbook_version_groups_properties_run_on_host,
                        "previous_task_instance_details": [{
                            "output_variable_details": {
                                "output_variable_name": runbook_runbook_version_groups_properties_run_on_previous_task_instance_details_output_variable_details_output_variable_name,
                                "step_name": runbook_runbook_version_groups_properties_run_on_previous_task_instance_details_output_variable_details_step_name,
                            },
                            "resource_id": test_resource["id"],
                            "resource_type": runbook_runbook_version_groups_properties_run_on_previous_task_instance_details_resource_type,
                        }],
                    },
                },
            }],
            "tasks": [{
                "step_name": runbook_runbook_version_tasks_step_name,
                "task_record_details": {
                    "scope": runbook_runbook_version_tasks_task_record_details_scope,
                    "description": runbook_runbook_version_tasks_task_record_details_description,
                    "execution_details": {
                        "execution_type": runbook_runbook_version_tasks_task_record_details_execution_details_execution_type,
                        "catalog_id": test_catalog["id"],
                        "command": runbook_runbook_version_tasks_task_record_details_execution_details_command,
                        "config_file": runbook_runbook_version_tasks_task_record_details_execution_details_config_file,
                        "content": {
                            "source_type": runbook_runbook_version_tasks_task_record_details_execution_details_content_source_type,
                            "bucket": runbook_runbook_version_tasks_task_record_details_execution_details_content_bucket,
                            "catalog_id": test_catalog["id"],
                            "checksum": runbook_runbook_version_tasks_task_record_details_execution_details_content_checksum,
                            "namespace": runbook_runbook_version_tasks_task_record_details_execution_details_content_namespace,
                            "object": runbook_runbook_version_tasks_task_record_details_execution_details_content_object,
                        },
                        "credentials": [{
                            "display_name": runbook_runbook_version_tasks_task_record_details_execution_details_credentials_display_name,
                            "id": runbook_runbook_version_tasks_task_record_details_execution_details_credentials_id,
                        }],
                        "endpoint": runbook_runbook_version_tasks_task_record_details_execution_details_endpoint,
                        "is_executable_content": runbook_runbook_version_tasks_task_record_details_execution_details_is_executable_content,
                        "is_locked": runbook_runbook_version_tasks_task_record_details_execution_details_is_locked,
                        "is_read_output_variable_enabled": runbook_runbook_version_tasks_task_record_details_execution_details_is_read_output_variable_enabled,
                        "target_compartment_id": test_compartment["id"],
                        "variables": {
                            "input_variables": [{
                                "description": runbook_runbook_version_tasks_task_record_details_execution_details_variables_input_variables_description,
                                "name": runbook_runbook_version_tasks_task_record_details_execution_details_variables_input_variables_name,
                                "type": runbook_runbook_version_tasks_task_record_details_execution_details_variables_input_variables_type,
                            }],
                            "output_variables": runbook_runbook_version_tasks_task_record_details_execution_details_variables_output_variables,
                        },
                    },
                    "is_apply_subject_task": runbook_runbook_version_tasks_task_record_details_is_apply_subject_task,
                    "is_copy_to_library_enabled": runbook_runbook_version_tasks_task_record_details_is_copy_to_library_enabled,
                    "is_discovery_output_task": runbook_runbook_version_tasks_task_record_details_is_discovery_output_task,
                    "name": runbook_runbook_version_tasks_task_record_details_name,
                    "os_type": runbook_runbook_version_tasks_task_record_details_os_type,
                    "platform": runbook_runbook_version_tasks_task_record_details_platform,
                    "properties": {
                        "num_retries": runbook_runbook_version_tasks_task_record_details_properties_num_retries,
                        "timeout_in_seconds": runbook_runbook_version_tasks_task_record_details_properties_timeout_in_seconds,
                    },
                    "task_record_id": test_task_record["id"],
                },
                "output_variable_mappings": [{
                    "name": runbook_runbook_version_tasks_output_variable_mappings_name,
                    "output_variable_details": {
                        "output_variable_name": runbook_runbook_version_tasks_output_variable_mappings_output_variable_details_output_variable_name,
                        "step_name": runbook_runbook_version_tasks_output_variable_mappings_output_variable_details_step_name,
                    },
                }],
                "step_properties": {
                    "action_on_failure": runbook_runbook_version_tasks_step_properties_action_on_failure,
                    "notification_preferences": {
                        "should_notify_on_pause": runbook_runbook_version_tasks_step_properties_notification_preferences_should_notify_on_pause,
                        "should_notify_on_task_failure": runbook_runbook_version_tasks_step_properties_notification_preferences_should_notify_on_task_failure,
                        "should_notify_on_task_success": runbook_runbook_version_tasks_step_properties_notification_preferences_should_notify_on_task_success,
                    },
                    "pause_details": {
                        "kind": runbook_runbook_version_tasks_step_properties_pause_details_kind,
                        "duration_in_minutes": runbook_runbook_version_tasks_step_properties_pause_details_duration_in_minutes,
                    },
                    "pre_condition": runbook_runbook_version_tasks_step_properties_pre_condition,
                    "run_on": {
                        "kind": runbook_runbook_version_tasks_step_properties_run_on_kind,
                        "condition": runbook_runbook_version_tasks_step_properties_run_on_condition,
                        "host": runbook_runbook_version_tasks_step_properties_run_on_host,
                        "previous_task_instance_details": [{
                            "output_variable_details": {
                                "output_variable_name": runbook_runbook_version_tasks_step_properties_run_on_previous_task_instance_details_output_variable_details_output_variable_name,
                                "step_name": runbook_runbook_version_tasks_step_properties_run_on_previous_task_instance_details_output_variable_details_step_name,
                            },
                            "resource_id": test_resource["id"],
                            "resource_type": runbook_runbook_version_tasks_step_properties_run_on_previous_task_instance_details_resource_type,
                        }],
                    },
                },
            }],
            "is_latest": runbook_runbook_version_is_latest,
            "rollback_workflow_details": {
                "scope": runbook_runbook_version_rollback_workflow_details_scope,
                "workflows": [{
                    "group_name": test_group["name"],
                    "steps": [{
                        "type": runbook_runbook_version_rollback_workflow_details_workflow_steps_type,
                        "group_name": test_group["name"],
                        "step_name": runbook_runbook_version_rollback_workflow_details_workflow_steps_step_name,
                        "steps": runbook_runbook_version_rollback_workflow_details_workflow_steps_steps,
                    }],
                    "type": runbook_runbook_version_rollback_workflow_details_workflow_type,
                }],
            },
            "version": runbook_runbook_version_version,
        },
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        description=runbook_description,
        estimated_time=runbook_estimated_time,
        freeform_tags={
            "bar-key": "value",
        },
        is_default=runbook_is_default,
        is_sudo_access_needed=runbook_is_sudo_access_needed,
        os_type=runbook_os_type,
        platform=runbook_platform)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/fleetappsmanagement"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := fleetappsmanagement.NewRunbook(ctx, "test_runbook", &fleetappsmanagement.RunbookArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			DisplayName:   pulumi.Any(runbookDisplayName),
    			Operation:     pulumi.Any(runbookOperation),
    			RunbookVersion: &fleetappsmanagement.RunbookRunbookVersionArgs{
    				ExecutionWorkflowDetails: &fleetappsmanagement.RunbookRunbookVersionExecutionWorkflowDetailsArgs{
    					Workflows: fleetappsmanagement.RunbookRunbookVersionExecutionWorkflowDetailsWorkflowArray{
    						&fleetappsmanagement.RunbookRunbookVersionExecutionWorkflowDetailsWorkflowArgs{
    							GroupName: pulumi.Any(testGroup.Name),
    							Steps: fleetappsmanagement.RunbookRunbookVersionExecutionWorkflowDetailsWorkflowStepArray{
    								&fleetappsmanagement.RunbookRunbookVersionExecutionWorkflowDetailsWorkflowStepArgs{
    									Type:      pulumi.Any(runbookRunbookVersionExecutionWorkflowDetailsWorkflowStepsType),
    									GroupName: pulumi.Any(testGroup.Name),
    									StepName:  pulumi.Any(runbookRunbookVersionExecutionWorkflowDetailsWorkflowStepsStepName),
    									Steps:     pulumi.Any(runbookRunbookVersionExecutionWorkflowDetailsWorkflowStepsSteps),
    								},
    							},
    							Type: pulumi.Any(runbookRunbookVersionExecutionWorkflowDetailsWorkflowType),
    						},
    					},
    				},
    				Groups: fleetappsmanagement.RunbookRunbookVersionGroupArray{
    					&fleetappsmanagement.RunbookRunbookVersionGroupArgs{
    						Name: pulumi.Any(runbookRunbookVersionGroupsName),
    						Type: pulumi.Any(runbookRunbookVersionGroupsType),
    						Properties: &fleetappsmanagement.RunbookRunbookVersionGroupPropertiesArgs{
    							ActionOnFailure: pulumi.Any(runbookRunbookVersionGroupsPropertiesActionOnFailure),
    							NotificationPreferences: &fleetappsmanagement.RunbookRunbookVersionGroupPropertiesNotificationPreferencesArgs{
    								ShouldNotifyOnPause:       pulumi.Any(runbookRunbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnPause),
    								ShouldNotifyOnTaskFailure: pulumi.Any(runbookRunbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskFailure),
    								ShouldNotifyOnTaskSuccess: pulumi.Any(runbookRunbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess),
    							},
    							PauseDetails: &fleetappsmanagement.RunbookRunbookVersionGroupPropertiesPauseDetailsArgs{
    								Kind:              pulumi.Any(runbookRunbookVersionGroupsPropertiesPauseDetailsKind),
    								DurationInMinutes: pulumi.Any(runbookRunbookVersionGroupsPropertiesPauseDetailsDurationInMinutes),
    							},
    							PreCondition: pulumi.Any(runbookRunbookVersionGroupsPropertiesPreCondition),
    							RunOn: &fleetappsmanagement.RunbookRunbookVersionGroupPropertiesRunOnArgs{
    								Kind:      pulumi.Any(runbookRunbookVersionGroupsPropertiesRunOnKind),
    								Condition: pulumi.Any(runbookRunbookVersionGroupsPropertiesRunOnCondition),
    								Host:      pulumi.Any(runbookRunbookVersionGroupsPropertiesRunOnHost),
    								PreviousTaskInstanceDetails: fleetappsmanagement.RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArray{
    									&fleetappsmanagement.RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArgs{
    										OutputVariableDetails: &fleetappsmanagement.RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs{
    											OutputVariableName: pulumi.Any(runbookRunbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName),
    											StepName:           pulumi.Any(runbookRunbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName),
    										},
    										ResourceId:   pulumi.Any(testResource.Id),
    										ResourceType: pulumi.Any(runbookRunbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsResourceType),
    									},
    								},
    							},
    						},
    					},
    				},
    				Tasks: fleetappsmanagement.RunbookRunbookVersionTaskArray{
    					&fleetappsmanagement.RunbookRunbookVersionTaskArgs{
    						StepName: pulumi.Any(runbookRunbookVersionTasksStepName),
    						TaskRecordDetails: &fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsArgs{
    							Scope:       pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsScope),
    							Description: pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsDescription),
    							ExecutionDetails: &fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsArgs{
    								ExecutionType: pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsExecutionType),
    								CatalogId:     pulumi.Any(testCatalog.Id),
    								Command:       pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsCommand),
    								ConfigFile:    pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsConfigFile),
    								Content: &fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsContentArgs{
    									SourceType: pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentSourceType),
    									Bucket:     pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentBucket),
    									CatalogId:  pulumi.Any(testCatalog.Id),
    									Checksum:   pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentChecksum),
    									Namespace:  pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentNamespace),
    									Object:     pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentObject),
    								},
    								Credentials: fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArray{
    									&fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArgs{
    										DisplayName: pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsDisplayName),
    										Id:          pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsId),
    									},
    								},
    								Endpoint:                    pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsEndpoint),
    								IsExecutableContent:         pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsIsExecutableContent),
    								IsLocked:                    pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsIsLocked),
    								IsReadOutputVariableEnabled: pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsIsReadOutputVariableEnabled),
    								TargetCompartmentId:         pulumi.Any(testCompartment.Id),
    								Variables: &fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesArgs{
    									InputVariables: fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArray{
    										&fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArgs{
    											Description: pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesDescription),
    											Name:        pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesName),
    											Type:        pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesType),
    										},
    									},
    									OutputVariables: pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesOutputVariables),
    								},
    							},
    							IsApplySubjectTask:     pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsIsApplySubjectTask),
    							IsCopyToLibraryEnabled: pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsIsCopyToLibraryEnabled),
    							IsDiscoveryOutputTask:  pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsIsDiscoveryOutputTask),
    							Name:                   pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsName),
    							OsType:                 pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsOsType),
    							Platform:               pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsPlatform),
    							Properties: &fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsPropertiesArgs{
    								NumRetries:       pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsPropertiesNumRetries),
    								TimeoutInSeconds: pulumi.Any(runbookRunbookVersionTasksTaskRecordDetailsPropertiesTimeoutInSeconds),
    							},
    							TaskRecordId: pulumi.Any(testTaskRecord.Id),
    						},
    						OutputVariableMappings: fleetappsmanagement.RunbookRunbookVersionTaskOutputVariableMappingArray{
    							&fleetappsmanagement.RunbookRunbookVersionTaskOutputVariableMappingArgs{
    								Name: pulumi.Any(runbookRunbookVersionTasksOutputVariableMappingsName),
    								OutputVariableDetails: &fleetappsmanagement.RunbookRunbookVersionTaskOutputVariableMappingOutputVariableDetailsArgs{
    									OutputVariableName: pulumi.Any(runbookRunbookVersionTasksOutputVariableMappingsOutputVariableDetailsOutputVariableName),
    									StepName:           pulumi.Any(runbookRunbookVersionTasksOutputVariableMappingsOutputVariableDetailsStepName),
    								},
    							},
    						},
    						StepProperties: &fleetappsmanagement.RunbookRunbookVersionTaskStepPropertiesArgs{
    							ActionOnFailure: pulumi.Any(runbookRunbookVersionTasksStepPropertiesActionOnFailure),
    							NotificationPreferences: &fleetappsmanagement.RunbookRunbookVersionTaskStepPropertiesNotificationPreferencesArgs{
    								ShouldNotifyOnPause:       pulumi.Any(runbookRunbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnPause),
    								ShouldNotifyOnTaskFailure: pulumi.Any(runbookRunbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskFailure),
    								ShouldNotifyOnTaskSuccess: pulumi.Any(runbookRunbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess),
    							},
    							PauseDetails: &fleetappsmanagement.RunbookRunbookVersionTaskStepPropertiesPauseDetailsArgs{
    								Kind:              pulumi.Any(runbookRunbookVersionTasksStepPropertiesPauseDetailsKind),
    								DurationInMinutes: pulumi.Any(runbookRunbookVersionTasksStepPropertiesPauseDetailsDurationInMinutes),
    							},
    							PreCondition: pulumi.Any(runbookRunbookVersionTasksStepPropertiesPreCondition),
    							RunOn: &fleetappsmanagement.RunbookRunbookVersionTaskStepPropertiesRunOnArgs{
    								Kind:      pulumi.Any(runbookRunbookVersionTasksStepPropertiesRunOnKind),
    								Condition: pulumi.Any(runbookRunbookVersionTasksStepPropertiesRunOnCondition),
    								Host:      pulumi.Any(runbookRunbookVersionTasksStepPropertiesRunOnHost),
    								PreviousTaskInstanceDetails: fleetappsmanagement.RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArray{
    									&fleetappsmanagement.RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArgs{
    										OutputVariableDetails: &fleetappsmanagement.RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs{
    											OutputVariableName: pulumi.Any(runbookRunbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName),
    											StepName:           pulumi.Any(runbookRunbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName),
    										},
    										ResourceId:   pulumi.Any(testResource.Id),
    										ResourceType: pulumi.Any(runbookRunbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsResourceType),
    									},
    								},
    							},
    						},
    					},
    				},
    				IsLatest: pulumi.Any(runbookRunbookVersionIsLatest),
    				RollbackWorkflowDetails: &fleetappsmanagement.RunbookRunbookVersionRollbackWorkflowDetailsArgs{
    					Scope: pulumi.Any(runbookRunbookVersionRollbackWorkflowDetailsScope),
    					Workflows: fleetappsmanagement.RunbookRunbookVersionRollbackWorkflowDetailsWorkflowArray{
    						&fleetappsmanagement.RunbookRunbookVersionRollbackWorkflowDetailsWorkflowArgs{
    							GroupName: pulumi.Any(testGroup.Name),
    							Steps: fleetappsmanagement.RunbookRunbookVersionRollbackWorkflowDetailsWorkflowStepArray{
    								&fleetappsmanagement.RunbookRunbookVersionRollbackWorkflowDetailsWorkflowStepArgs{
    									Type:      pulumi.Any(runbookRunbookVersionRollbackWorkflowDetailsWorkflowStepsType),
    									GroupName: pulumi.Any(testGroup.Name),
    									StepName:  pulumi.Any(runbookRunbookVersionRollbackWorkflowDetailsWorkflowStepsStepName),
    									Steps:     pulumi.Any(runbookRunbookVersionRollbackWorkflowDetailsWorkflowStepsSteps),
    								},
    							},
    							Type: pulumi.Any(runbookRunbookVersionRollbackWorkflowDetailsWorkflowType),
    						},
    					},
    				},
    				Version: pulumi.Any(runbookRunbookVersionVersion),
    			},
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			Description:   pulumi.Any(runbookDescription),
    			EstimatedTime: pulumi.Any(runbookEstimatedTime),
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    			IsDefault:          pulumi.Any(runbookIsDefault),
    			IsSudoAccessNeeded: pulumi.Any(runbookIsSudoAccessNeeded),
    			OsType:             pulumi.Any(runbookOsType),
    			Platform:           pulumi.Any(runbookPlatform),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testRunbook = new Oci.FleetAppsManagement.Runbook("test_runbook", new()
        {
            CompartmentId = compartmentId,
            DisplayName = runbookDisplayName,
            Operation = runbookOperation,
            RunbookVersion = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionArgs
            {
                ExecutionWorkflowDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionExecutionWorkflowDetailsArgs
                {
                    Workflows = new[]
                    {
                        new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionExecutionWorkflowDetailsWorkflowArgs
                        {
                            GroupName = testGroup.Name,
                            Steps = new[]
                            {
                                new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionExecutionWorkflowDetailsWorkflowStepArgs
                                {
                                    Type = runbookRunbookVersionExecutionWorkflowDetailsWorkflowStepsType,
                                    GroupName = testGroup.Name,
                                    StepName = runbookRunbookVersionExecutionWorkflowDetailsWorkflowStepsStepName,
                                    Steps = runbookRunbookVersionExecutionWorkflowDetailsWorkflowStepsSteps,
                                },
                            },
                            Type = runbookRunbookVersionExecutionWorkflowDetailsWorkflowType,
                        },
                    },
                },
                Groups = new[]
                {
                    new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionGroupArgs
                    {
                        Name = runbookRunbookVersionGroupsName,
                        Type = runbookRunbookVersionGroupsType,
                        Properties = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionGroupPropertiesArgs
                        {
                            ActionOnFailure = runbookRunbookVersionGroupsPropertiesActionOnFailure,
                            NotificationPreferences = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionGroupPropertiesNotificationPreferencesArgs
                            {
                                ShouldNotifyOnPause = runbookRunbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnPause,
                                ShouldNotifyOnTaskFailure = runbookRunbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskFailure,
                                ShouldNotifyOnTaskSuccess = runbookRunbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess,
                            },
                            PauseDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionGroupPropertiesPauseDetailsArgs
                            {
                                Kind = runbookRunbookVersionGroupsPropertiesPauseDetailsKind,
                                DurationInMinutes = runbookRunbookVersionGroupsPropertiesPauseDetailsDurationInMinutes,
                            },
                            PreCondition = runbookRunbookVersionGroupsPropertiesPreCondition,
                            RunOn = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionGroupPropertiesRunOnArgs
                            {
                                Kind = runbookRunbookVersionGroupsPropertiesRunOnKind,
                                Condition = runbookRunbookVersionGroupsPropertiesRunOnCondition,
                                Host = runbookRunbookVersionGroupsPropertiesRunOnHost,
                                PreviousTaskInstanceDetails = new[]
                                {
                                    new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArgs
                                    {
                                        OutputVariableDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs
                                        {
                                            OutputVariableName = runbookRunbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName,
                                            StepName = runbookRunbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName,
                                        },
                                        ResourceId = testResource.Id,
                                        ResourceType = runbookRunbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsResourceType,
                                    },
                                },
                            },
                        },
                    },
                },
                Tasks = new[]
                {
                    new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskArgs
                    {
                        StepName = runbookRunbookVersionTasksStepName,
                        TaskRecordDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskTaskRecordDetailsArgs
                        {
                            Scope = runbookRunbookVersionTasksTaskRecordDetailsScope,
                            Description = runbookRunbookVersionTasksTaskRecordDetailsDescription,
                            ExecutionDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsArgs
                            {
                                ExecutionType = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsExecutionType,
                                CatalogId = testCatalog.Id,
                                Command = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsCommand,
                                ConfigFile = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsConfigFile,
                                Content = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsContentArgs
                                {
                                    SourceType = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentSourceType,
                                    Bucket = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentBucket,
                                    CatalogId = testCatalog.Id,
                                    Checksum = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentChecksum,
                                    Namespace = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentNamespace,
                                    Object = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentObject,
                                },
                                Credentials = new[]
                                {
                                    new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArgs
                                    {
                                        DisplayName = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsDisplayName,
                                        Id = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsId,
                                    },
                                },
                                Endpoint = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsEndpoint,
                                IsExecutableContent = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsIsExecutableContent,
                                IsLocked = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsIsLocked,
                                IsReadOutputVariableEnabled = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsIsReadOutputVariableEnabled,
                                TargetCompartmentId = testCompartment.Id,
                                Variables = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesArgs
                                {
                                    InputVariables = new[]
                                    {
                                        new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArgs
                                        {
                                            Description = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesDescription,
                                            Name = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesName,
                                            Type = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesType,
                                        },
                                    },
                                    OutputVariables = runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesOutputVariables,
                                },
                            },
                            IsApplySubjectTask = runbookRunbookVersionTasksTaskRecordDetailsIsApplySubjectTask,
                            IsCopyToLibraryEnabled = runbookRunbookVersionTasksTaskRecordDetailsIsCopyToLibraryEnabled,
                            IsDiscoveryOutputTask = runbookRunbookVersionTasksTaskRecordDetailsIsDiscoveryOutputTask,
                            Name = runbookRunbookVersionTasksTaskRecordDetailsName,
                            OsType = runbookRunbookVersionTasksTaskRecordDetailsOsType,
                            Platform = runbookRunbookVersionTasksTaskRecordDetailsPlatform,
                            Properties = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskTaskRecordDetailsPropertiesArgs
                            {
                                NumRetries = runbookRunbookVersionTasksTaskRecordDetailsPropertiesNumRetries,
                                TimeoutInSeconds = runbookRunbookVersionTasksTaskRecordDetailsPropertiesTimeoutInSeconds,
                            },
                            TaskRecordId = testTaskRecord.Id,
                        },
                        OutputVariableMappings = new[]
                        {
                            new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskOutputVariableMappingArgs
                            {
                                Name = runbookRunbookVersionTasksOutputVariableMappingsName,
                                OutputVariableDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskOutputVariableMappingOutputVariableDetailsArgs
                                {
                                    OutputVariableName = runbookRunbookVersionTasksOutputVariableMappingsOutputVariableDetailsOutputVariableName,
                                    StepName = runbookRunbookVersionTasksOutputVariableMappingsOutputVariableDetailsStepName,
                                },
                            },
                        },
                        StepProperties = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskStepPropertiesArgs
                        {
                            ActionOnFailure = runbookRunbookVersionTasksStepPropertiesActionOnFailure,
                            NotificationPreferences = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskStepPropertiesNotificationPreferencesArgs
                            {
                                ShouldNotifyOnPause = runbookRunbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnPause,
                                ShouldNotifyOnTaskFailure = runbookRunbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskFailure,
                                ShouldNotifyOnTaskSuccess = runbookRunbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess,
                            },
                            PauseDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskStepPropertiesPauseDetailsArgs
                            {
                                Kind = runbookRunbookVersionTasksStepPropertiesPauseDetailsKind,
                                DurationInMinutes = runbookRunbookVersionTasksStepPropertiesPauseDetailsDurationInMinutes,
                            },
                            PreCondition = runbookRunbookVersionTasksStepPropertiesPreCondition,
                            RunOn = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskStepPropertiesRunOnArgs
                            {
                                Kind = runbookRunbookVersionTasksStepPropertiesRunOnKind,
                                Condition = runbookRunbookVersionTasksStepPropertiesRunOnCondition,
                                Host = runbookRunbookVersionTasksStepPropertiesRunOnHost,
                                PreviousTaskInstanceDetails = new[]
                                {
                                    new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArgs
                                    {
                                        OutputVariableDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs
                                        {
                                            OutputVariableName = runbookRunbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName,
                                            StepName = runbookRunbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName,
                                        },
                                        ResourceId = testResource.Id,
                                        ResourceType = runbookRunbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsResourceType,
                                    },
                                },
                            },
                        },
                    },
                },
                IsLatest = runbookRunbookVersionIsLatest,
                RollbackWorkflowDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionRollbackWorkflowDetailsArgs
                {
                    Scope = runbookRunbookVersionRollbackWorkflowDetailsScope,
                    Workflows = new[]
                    {
                        new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionRollbackWorkflowDetailsWorkflowArgs
                        {
                            GroupName = testGroup.Name,
                            Steps = new[]
                            {
                                new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionRollbackWorkflowDetailsWorkflowStepArgs
                                {
                                    Type = runbookRunbookVersionRollbackWorkflowDetailsWorkflowStepsType,
                                    GroupName = testGroup.Name,
                                    StepName = runbookRunbookVersionRollbackWorkflowDetailsWorkflowStepsStepName,
                                    Steps = runbookRunbookVersionRollbackWorkflowDetailsWorkflowStepsSteps,
                                },
                            },
                            Type = runbookRunbookVersionRollbackWorkflowDetailsWorkflowType,
                        },
                    },
                },
                Version = runbookRunbookVersionVersion,
            },
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = runbookDescription,
            EstimatedTime = runbookEstimatedTime,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            IsDefault = runbookIsDefault,
            IsSudoAccessNeeded = runbookIsSudoAccessNeeded,
            OsType = runbookOsType,
            Platform = runbookPlatform,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.FleetAppsManagement.Runbook;
    import com.pulumi.oci.FleetAppsManagement.RunbookArgs;
    import com.pulumi.oci.FleetAppsManagement.inputs.RunbookRunbookVersionArgs;
    import com.pulumi.oci.FleetAppsManagement.inputs.RunbookRunbookVersionExecutionWorkflowDetailsArgs;
    import com.pulumi.oci.FleetAppsManagement.inputs.RunbookRunbookVersionRollbackWorkflowDetailsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testRunbook = new Runbook("testRunbook", RunbookArgs.builder()
                .compartmentId(compartmentId)
                .displayName(runbookDisplayName)
                .operation(runbookOperation)
                .runbookVersion(RunbookRunbookVersionArgs.builder()
                    .executionWorkflowDetails(RunbookRunbookVersionExecutionWorkflowDetailsArgs.builder()
                        .workflows(RunbookRunbookVersionExecutionWorkflowDetailsWorkflowArgs.builder()
                            .groupName(testGroup.name())
                            .steps(RunbookRunbookVersionExecutionWorkflowDetailsWorkflowStepArgs.builder()
                                .type(runbookRunbookVersionExecutionWorkflowDetailsWorkflowStepsType)
                                .groupName(testGroup.name())
                                .stepName(runbookRunbookVersionExecutionWorkflowDetailsWorkflowStepsStepName)
                                .steps(runbookRunbookVersionExecutionWorkflowDetailsWorkflowStepsSteps)
                                .build())
                            .type(runbookRunbookVersionExecutionWorkflowDetailsWorkflowType)
                            .build())
                        .build())
                    .groups(RunbookRunbookVersionGroupArgs.builder()
                        .name(runbookRunbookVersionGroupsName)
                        .type(runbookRunbookVersionGroupsType)
                        .properties(RunbookRunbookVersionGroupPropertiesArgs.builder()
                            .actionOnFailure(runbookRunbookVersionGroupsPropertiesActionOnFailure)
                            .notificationPreferences(RunbookRunbookVersionGroupPropertiesNotificationPreferencesArgs.builder()
                                .shouldNotifyOnPause(runbookRunbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnPause)
                                .shouldNotifyOnTaskFailure(runbookRunbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskFailure)
                                .shouldNotifyOnTaskSuccess(runbookRunbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess)
                                .build())
                            .pauseDetails(RunbookRunbookVersionGroupPropertiesPauseDetailsArgs.builder()
                                .kind(runbookRunbookVersionGroupsPropertiesPauseDetailsKind)
                                .durationInMinutes(runbookRunbookVersionGroupsPropertiesPauseDetailsDurationInMinutes)
                                .build())
                            .preCondition(runbookRunbookVersionGroupsPropertiesPreCondition)
                            .runOn(RunbookRunbookVersionGroupPropertiesRunOnArgs.builder()
                                .kind(runbookRunbookVersionGroupsPropertiesRunOnKind)
                                .condition(runbookRunbookVersionGroupsPropertiesRunOnCondition)
                                .host(runbookRunbookVersionGroupsPropertiesRunOnHost)
                                .previousTaskInstanceDetails(RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArgs.builder()
                                    .outputVariableDetails(RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs.builder()
                                        .outputVariableName(runbookRunbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName)
                                        .stepName(runbookRunbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName)
                                        .build())
                                    .resourceId(testResource.id())
                                    .resourceType(runbookRunbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsResourceType)
                                    .build())
                                .build())
                            .build())
                        .build())
                    .tasks(RunbookRunbookVersionTaskArgs.builder()
                        .stepName(runbookRunbookVersionTasksStepName)
                        .taskRecordDetails(RunbookRunbookVersionTaskTaskRecordDetailsArgs.builder()
                            .scope(runbookRunbookVersionTasksTaskRecordDetailsScope)
                            .description(runbookRunbookVersionTasksTaskRecordDetailsDescription)
                            .executionDetails(RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsArgs.builder()
                                .executionType(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsExecutionType)
                                .catalogId(testCatalog.id())
                                .command(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsCommand)
                                .configFile(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsConfigFile)
                                .content(RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsContentArgs.builder()
                                    .sourceType(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentSourceType)
                                    .bucket(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentBucket)
                                    .catalogId(testCatalog.id())
                                    .checksum(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentChecksum)
                                    .namespace(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentNamespace)
                                    .object(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentObject)
                                    .build())
                                .credentials(RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArgs.builder()
                                    .displayName(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsDisplayName)
                                    .id(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsId)
                                    .build())
                                .endpoint(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsEndpoint)
                                .isExecutableContent(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsIsExecutableContent)
                                .isLocked(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsIsLocked)
                                .isReadOutputVariableEnabled(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsIsReadOutputVariableEnabled)
                                .targetCompartmentId(testCompartment.id())
                                .variables(RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesArgs.builder()
                                    .inputVariables(RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArgs.builder()
                                        .description(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesDescription)
                                        .name(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesName)
                                        .type(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesType)
                                        .build())
                                    .outputVariables(runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesOutputVariables)
                                    .build())
                                .build())
                            .isApplySubjectTask(runbookRunbookVersionTasksTaskRecordDetailsIsApplySubjectTask)
                            .isCopyToLibraryEnabled(runbookRunbookVersionTasksTaskRecordDetailsIsCopyToLibraryEnabled)
                            .isDiscoveryOutputTask(runbookRunbookVersionTasksTaskRecordDetailsIsDiscoveryOutputTask)
                            .name(runbookRunbookVersionTasksTaskRecordDetailsName)
                            .osType(runbookRunbookVersionTasksTaskRecordDetailsOsType)
                            .platform(runbookRunbookVersionTasksTaskRecordDetailsPlatform)
                            .properties(RunbookRunbookVersionTaskTaskRecordDetailsPropertiesArgs.builder()
                                .numRetries(runbookRunbookVersionTasksTaskRecordDetailsPropertiesNumRetries)
                                .timeoutInSeconds(runbookRunbookVersionTasksTaskRecordDetailsPropertiesTimeoutInSeconds)
                                .build())
                            .taskRecordId(testTaskRecord.id())
                            .build())
                        .outputVariableMappings(RunbookRunbookVersionTaskOutputVariableMappingArgs.builder()
                            .name(runbookRunbookVersionTasksOutputVariableMappingsName)
                            .outputVariableDetails(RunbookRunbookVersionTaskOutputVariableMappingOutputVariableDetailsArgs.builder()
                                .outputVariableName(runbookRunbookVersionTasksOutputVariableMappingsOutputVariableDetailsOutputVariableName)
                                .stepName(runbookRunbookVersionTasksOutputVariableMappingsOutputVariableDetailsStepName)
                                .build())
                            .build())
                        .stepProperties(RunbookRunbookVersionTaskStepPropertiesArgs.builder()
                            .actionOnFailure(runbookRunbookVersionTasksStepPropertiesActionOnFailure)
                            .notificationPreferences(RunbookRunbookVersionTaskStepPropertiesNotificationPreferencesArgs.builder()
                                .shouldNotifyOnPause(runbookRunbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnPause)
                                .shouldNotifyOnTaskFailure(runbookRunbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskFailure)
                                .shouldNotifyOnTaskSuccess(runbookRunbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess)
                                .build())
                            .pauseDetails(RunbookRunbookVersionTaskStepPropertiesPauseDetailsArgs.builder()
                                .kind(runbookRunbookVersionTasksStepPropertiesPauseDetailsKind)
                                .durationInMinutes(runbookRunbookVersionTasksStepPropertiesPauseDetailsDurationInMinutes)
                                .build())
                            .preCondition(runbookRunbookVersionTasksStepPropertiesPreCondition)
                            .runOn(RunbookRunbookVersionTaskStepPropertiesRunOnArgs.builder()
                                .kind(runbookRunbookVersionTasksStepPropertiesRunOnKind)
                                .condition(runbookRunbookVersionTasksStepPropertiesRunOnCondition)
                                .host(runbookRunbookVersionTasksStepPropertiesRunOnHost)
                                .previousTaskInstanceDetails(RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArgs.builder()
                                    .outputVariableDetails(RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs.builder()
                                        .outputVariableName(runbookRunbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName)
                                        .stepName(runbookRunbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName)
                                        .build())
                                    .resourceId(testResource.id())
                                    .resourceType(runbookRunbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsResourceType)
                                    .build())
                                .build())
                            .build())
                        .build())
                    .isLatest(runbookRunbookVersionIsLatest)
                    .rollbackWorkflowDetails(RunbookRunbookVersionRollbackWorkflowDetailsArgs.builder()
                        .scope(runbookRunbookVersionRollbackWorkflowDetailsScope)
                        .workflows(RunbookRunbookVersionRollbackWorkflowDetailsWorkflowArgs.builder()
                            .groupName(testGroup.name())
                            .steps(RunbookRunbookVersionRollbackWorkflowDetailsWorkflowStepArgs.builder()
                                .type(runbookRunbookVersionRollbackWorkflowDetailsWorkflowStepsType)
                                .groupName(testGroup.name())
                                .stepName(runbookRunbookVersionRollbackWorkflowDetailsWorkflowStepsStepName)
                                .steps(runbookRunbookVersionRollbackWorkflowDetailsWorkflowStepsSteps)
                                .build())
                            .type(runbookRunbookVersionRollbackWorkflowDetailsWorkflowType)
                            .build())
                        .build())
                    .version(runbookRunbookVersionVersion)
                    .build())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .description(runbookDescription)
                .estimatedTime(runbookEstimatedTime)
                .freeformTags(Map.of("bar-key", "value"))
                .isDefault(runbookIsDefault)
                .isSudoAccessNeeded(runbookIsSudoAccessNeeded)
                .osType(runbookOsType)
                .platform(runbookPlatform)
                .build());
    
        }
    }
    
    resources:
      testRunbook:
        type: oci:FleetAppsManagement:Runbook
        name: test_runbook
        properties:
          compartmentId: ${compartmentId}
          displayName: ${runbookDisplayName}
          operation: ${runbookOperation}
          runbookVersion:
            executionWorkflowDetails:
              workflows:
                - groupName: ${testGroup.name}
                  steps:
                    - type: ${runbookRunbookVersionExecutionWorkflowDetailsWorkflowStepsType}
                      groupName: ${testGroup.name}
                      stepName: ${runbookRunbookVersionExecutionWorkflowDetailsWorkflowStepsStepName}
                      steps: ${runbookRunbookVersionExecutionWorkflowDetailsWorkflowStepsSteps}
                  type: ${runbookRunbookVersionExecutionWorkflowDetailsWorkflowType}
            groups:
              - name: ${runbookRunbookVersionGroupsName}
                type: ${runbookRunbookVersionGroupsType}
                properties:
                  actionOnFailure: ${runbookRunbookVersionGroupsPropertiesActionOnFailure}
                  notificationPreferences:
                    shouldNotifyOnPause: ${runbookRunbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnPause}
                    shouldNotifyOnTaskFailure: ${runbookRunbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskFailure}
                    shouldNotifyOnTaskSuccess: ${runbookRunbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess}
                  pauseDetails:
                    kind: ${runbookRunbookVersionGroupsPropertiesPauseDetailsKind}
                    durationInMinutes: ${runbookRunbookVersionGroupsPropertiesPauseDetailsDurationInMinutes}
                  preCondition: ${runbookRunbookVersionGroupsPropertiesPreCondition}
                  runOn:
                    kind: ${runbookRunbookVersionGroupsPropertiesRunOnKind}
                    condition: ${runbookRunbookVersionGroupsPropertiesRunOnCondition}
                    host: ${runbookRunbookVersionGroupsPropertiesRunOnHost}
                    previousTaskInstanceDetails:
                      - outputVariableDetails:
                          outputVariableName: ${runbookRunbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName}
                          stepName: ${runbookRunbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName}
                        resourceId: ${testResource.id}
                        resourceType: ${runbookRunbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsResourceType}
            tasks:
              - stepName: ${runbookRunbookVersionTasksStepName}
                taskRecordDetails:
                  scope: ${runbookRunbookVersionTasksTaskRecordDetailsScope}
                  description: ${runbookRunbookVersionTasksTaskRecordDetailsDescription}
                  executionDetails:
                    executionType: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsExecutionType}
                    catalogId: ${testCatalog.id}
                    command: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsCommand}
                    configFile: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsConfigFile}
                    content:
                      sourceType: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentSourceType}
                      bucket: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentBucket}
                      catalogId: ${testCatalog.id}
                      checksum: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentChecksum}
                      namespace: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentNamespace}
                      object: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsContentObject}
                    credentials:
                      - displayName: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsDisplayName}
                        id: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsId}
                    endpoint: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsEndpoint}
                    isExecutableContent: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsIsExecutableContent}
                    isLocked: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsIsLocked}
                    isReadOutputVariableEnabled: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsIsReadOutputVariableEnabled}
                    targetCompartmentId: ${testCompartment.id}
                    variables:
                      inputVariables:
                        - description: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesDescription}
                          name: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesName}
                          type: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesType}
                      outputVariables: ${runbookRunbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesOutputVariables}
                  isApplySubjectTask: ${runbookRunbookVersionTasksTaskRecordDetailsIsApplySubjectTask}
                  isCopyToLibraryEnabled: ${runbookRunbookVersionTasksTaskRecordDetailsIsCopyToLibraryEnabled}
                  isDiscoveryOutputTask: ${runbookRunbookVersionTasksTaskRecordDetailsIsDiscoveryOutputTask}
                  name: ${runbookRunbookVersionTasksTaskRecordDetailsName}
                  osType: ${runbookRunbookVersionTasksTaskRecordDetailsOsType}
                  platform: ${runbookRunbookVersionTasksTaskRecordDetailsPlatform}
                  properties:
                    numRetries: ${runbookRunbookVersionTasksTaskRecordDetailsPropertiesNumRetries}
                    timeoutInSeconds: ${runbookRunbookVersionTasksTaskRecordDetailsPropertiesTimeoutInSeconds}
                  taskRecordId: ${testTaskRecord.id}
                outputVariableMappings:
                  - name: ${runbookRunbookVersionTasksOutputVariableMappingsName}
                    outputVariableDetails:
                      outputVariableName: ${runbookRunbookVersionTasksOutputVariableMappingsOutputVariableDetailsOutputVariableName}
                      stepName: ${runbookRunbookVersionTasksOutputVariableMappingsOutputVariableDetailsStepName}
                stepProperties:
                  actionOnFailure: ${runbookRunbookVersionTasksStepPropertiesActionOnFailure}
                  notificationPreferences:
                    shouldNotifyOnPause: ${runbookRunbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnPause}
                    shouldNotifyOnTaskFailure: ${runbookRunbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskFailure}
                    shouldNotifyOnTaskSuccess: ${runbookRunbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess}
                  pauseDetails:
                    kind: ${runbookRunbookVersionTasksStepPropertiesPauseDetailsKind}
                    durationInMinutes: ${runbookRunbookVersionTasksStepPropertiesPauseDetailsDurationInMinutes}
                  preCondition: ${runbookRunbookVersionTasksStepPropertiesPreCondition}
                  runOn:
                    kind: ${runbookRunbookVersionTasksStepPropertiesRunOnKind}
                    condition: ${runbookRunbookVersionTasksStepPropertiesRunOnCondition}
                    host: ${runbookRunbookVersionTasksStepPropertiesRunOnHost}
                    previousTaskInstanceDetails:
                      - outputVariableDetails:
                          outputVariableName: ${runbookRunbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName}
                          stepName: ${runbookRunbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName}
                        resourceId: ${testResource.id}
                        resourceType: ${runbookRunbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsResourceType}
            isLatest: ${runbookRunbookVersionIsLatest}
            rollbackWorkflowDetails:
              scope: ${runbookRunbookVersionRollbackWorkflowDetailsScope}
              workflows:
                - groupName: ${testGroup.name}
                  steps:
                    - type: ${runbookRunbookVersionRollbackWorkflowDetailsWorkflowStepsType}
                      groupName: ${testGroup.name}
                      stepName: ${runbookRunbookVersionRollbackWorkflowDetailsWorkflowStepsStepName}
                      steps: ${runbookRunbookVersionRollbackWorkflowDetailsWorkflowStepsSteps}
                  type: ${runbookRunbookVersionRollbackWorkflowDetailsWorkflowType}
            version: ${runbookRunbookVersionVersion}
          definedTags:
            foo-namespace.bar-key: value
          description: ${runbookDescription}
          estimatedTime: ${runbookEstimatedTime}
          freeformTags:
            bar-key: value
          isDefault: ${runbookIsDefault}
          isSudoAccessNeeded: ${runbookIsSudoAccessNeeded}
          osType: ${runbookOsType}
          platform: ${runbookPlatform}
    

    Create Runbook Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Runbook(name: string, args: RunbookArgs, opts?: CustomResourceOptions);
    @overload
    def Runbook(resource_name: str,
                args: RunbookArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Runbook(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                compartment_id: Optional[str] = None,
                display_name: Optional[str] = None,
                operation: Optional[str] = None,
                runbook_version: Optional[RunbookRunbookVersionArgs] = None,
                defined_tags: Optional[Mapping[str, str]] = None,
                description: Optional[str] = None,
                estimated_time: Optional[str] = None,
                freeform_tags: Optional[Mapping[str, str]] = None,
                is_default: Optional[bool] = None,
                is_sudo_access_needed: Optional[bool] = None,
                os_type: Optional[str] = None,
                platform: Optional[str] = None)
    func NewRunbook(ctx *Context, name string, args RunbookArgs, opts ...ResourceOption) (*Runbook, error)
    public Runbook(string name, RunbookArgs args, CustomResourceOptions? opts = null)
    public Runbook(String name, RunbookArgs args)
    public Runbook(String name, RunbookArgs args, CustomResourceOptions options)
    
    type: oci:FleetAppsManagement:Runbook
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RunbookArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RunbookArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RunbookArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RunbookArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RunbookArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var runbookResource = new Oci.FleetAppsManagement.Runbook("runbookResource", new()
    {
        CompartmentId = "string",
        DisplayName = "string",
        Operation = "string",
        RunbookVersion = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionArgs
        {
            ExecutionWorkflowDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionExecutionWorkflowDetailsArgs
            {
                Workflows = new[]
                {
                    new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionExecutionWorkflowDetailsWorkflowArgs
                    {
                        GroupName = "string",
                        Steps = new[]
                        {
                            new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionExecutionWorkflowDetailsWorkflowStepArgs
                            {
                                Type = "string",
                                GroupName = "string",
                                StepName = "string",
                                Steps = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        Type = "string",
                    },
                },
            },
            Groups = new[]
            {
                new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionGroupArgs
                {
                    Name = "string",
                    Type = "string",
                    Properties = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionGroupPropertiesArgs
                    {
                        ActionOnFailure = "string",
                        NotificationPreferences = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionGroupPropertiesNotificationPreferencesArgs
                        {
                            ShouldNotifyOnPause = false,
                            ShouldNotifyOnTaskFailure = false,
                            ShouldNotifyOnTaskSuccess = false,
                        },
                        PauseDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionGroupPropertiesPauseDetailsArgs
                        {
                            Kind = "string",
                            DurationInMinutes = 0,
                        },
                        PreCondition = "string",
                        RunOn = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionGroupPropertiesRunOnArgs
                        {
                            Kind = "string",
                            Condition = "string",
                            Host = "string",
                            PreviousTaskInstanceDetails = new[]
                            {
                                new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArgs
                                {
                                    OutputVariableDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs
                                    {
                                        OutputVariableName = "string",
                                        StepName = "string",
                                    },
                                    ResourceId = "string",
                                    ResourceType = "string",
                                },
                            },
                        },
                    },
                },
            },
            Tasks = new[]
            {
                new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskArgs
                {
                    StepName = "string",
                    TaskRecordDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskTaskRecordDetailsArgs
                    {
                        Scope = "string",
                        Description = "string",
                        ExecutionDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsArgs
                        {
                            ExecutionType = "string",
                            CatalogId = "string",
                            Command = "string",
                            ConfigFile = "string",
                            Content = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsContentArgs
                            {
                                SourceType = "string",
                                Bucket = "string",
                                CatalogId = "string",
                                Checksum = "string",
                                Namespace = "string",
                                Object = "string",
                            },
                            Credentials = new[]
                            {
                                new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArgs
                                {
                                    DisplayName = "string",
                                    Id = "string",
                                },
                            },
                            Endpoint = "string",
                            IsExecutableContent = false,
                            IsLocked = false,
                            IsReadOutputVariableEnabled = false,
                            TargetCompartmentId = "string",
                            Variables = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesArgs
                            {
                                InputVariables = new[]
                                {
                                    new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArgs
                                    {
                                        Description = "string",
                                        Name = "string",
                                        Type = "string",
                                    },
                                },
                                OutputVariables = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        IsApplySubjectTask = false,
                        IsCopyToLibraryEnabled = false,
                        IsDiscoveryOutputTask = false,
                        Name = "string",
                        OsType = "string",
                        Platform = "string",
                        Properties = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskTaskRecordDetailsPropertiesArgs
                        {
                            NumRetries = 0,
                            TimeoutInSeconds = 0,
                        },
                        TaskRecordId = "string",
                    },
                    OutputVariableMappings = new[]
                    {
                        new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskOutputVariableMappingArgs
                        {
                            Name = "string",
                            OutputVariableDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskOutputVariableMappingOutputVariableDetailsArgs
                            {
                                OutputVariableName = "string",
                                StepName = "string",
                            },
                        },
                    },
                    StepProperties = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskStepPropertiesArgs
                    {
                        ActionOnFailure = "string",
                        NotificationPreferences = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskStepPropertiesNotificationPreferencesArgs
                        {
                            ShouldNotifyOnPause = false,
                            ShouldNotifyOnTaskFailure = false,
                            ShouldNotifyOnTaskSuccess = false,
                        },
                        PauseDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskStepPropertiesPauseDetailsArgs
                        {
                            Kind = "string",
                            DurationInMinutes = 0,
                        },
                        PreCondition = "string",
                        RunOn = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskStepPropertiesRunOnArgs
                        {
                            Kind = "string",
                            Condition = "string",
                            Host = "string",
                            PreviousTaskInstanceDetails = new[]
                            {
                                new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArgs
                                {
                                    OutputVariableDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs
                                    {
                                        OutputVariableName = "string",
                                        StepName = "string",
                                    },
                                    ResourceId = "string",
                                    ResourceType = "string",
                                },
                            },
                        },
                    },
                },
            },
            IsLatest = false,
            RollbackWorkflowDetails = new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionRollbackWorkflowDetailsArgs
            {
                Scope = "string",
                Workflows = new[]
                {
                    new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionRollbackWorkflowDetailsWorkflowArgs
                    {
                        GroupName = "string",
                        Steps = new[]
                        {
                            new Oci.FleetAppsManagement.Inputs.RunbookRunbookVersionRollbackWorkflowDetailsWorkflowStepArgs
                            {
                                Type = "string",
                                GroupName = "string",
                                StepName = "string",
                                Steps = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        Type = "string",
                    },
                },
            },
            Version = "string",
        },
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        EstimatedTime = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        IsDefault = false,
        IsSudoAccessNeeded = false,
        OsType = "string",
        Platform = "string",
    });
    
    example, err := fleetappsmanagement.NewRunbook(ctx, "runbookResource", &fleetappsmanagement.RunbookArgs{
    	CompartmentId: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	Operation:     pulumi.String("string"),
    	RunbookVersion: &fleetappsmanagement.RunbookRunbookVersionArgs{
    		ExecutionWorkflowDetails: &fleetappsmanagement.RunbookRunbookVersionExecutionWorkflowDetailsArgs{
    			Workflows: fleetappsmanagement.RunbookRunbookVersionExecutionWorkflowDetailsWorkflowArray{
    				&fleetappsmanagement.RunbookRunbookVersionExecutionWorkflowDetailsWorkflowArgs{
    					GroupName: pulumi.String("string"),
    					Steps: fleetappsmanagement.RunbookRunbookVersionExecutionWorkflowDetailsWorkflowStepArray{
    						&fleetappsmanagement.RunbookRunbookVersionExecutionWorkflowDetailsWorkflowStepArgs{
    							Type:      pulumi.String("string"),
    							GroupName: pulumi.String("string"),
    							StepName:  pulumi.String("string"),
    							Steps: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					Type: pulumi.String("string"),
    				},
    			},
    		},
    		Groups: fleetappsmanagement.RunbookRunbookVersionGroupArray{
    			&fleetappsmanagement.RunbookRunbookVersionGroupArgs{
    				Name: pulumi.String("string"),
    				Type: pulumi.String("string"),
    				Properties: &fleetappsmanagement.RunbookRunbookVersionGroupPropertiesArgs{
    					ActionOnFailure: pulumi.String("string"),
    					NotificationPreferences: &fleetappsmanagement.RunbookRunbookVersionGroupPropertiesNotificationPreferencesArgs{
    						ShouldNotifyOnPause:       pulumi.Bool(false),
    						ShouldNotifyOnTaskFailure: pulumi.Bool(false),
    						ShouldNotifyOnTaskSuccess: pulumi.Bool(false),
    					},
    					PauseDetails: &fleetappsmanagement.RunbookRunbookVersionGroupPropertiesPauseDetailsArgs{
    						Kind:              pulumi.String("string"),
    						DurationInMinutes: pulumi.Int(0),
    					},
    					PreCondition: pulumi.String("string"),
    					RunOn: &fleetappsmanagement.RunbookRunbookVersionGroupPropertiesRunOnArgs{
    						Kind:      pulumi.String("string"),
    						Condition: pulumi.String("string"),
    						Host:      pulumi.String("string"),
    						PreviousTaskInstanceDetails: fleetappsmanagement.RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArray{
    							&fleetappsmanagement.RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArgs{
    								OutputVariableDetails: &fleetappsmanagement.RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs{
    									OutputVariableName: pulumi.String("string"),
    									StepName:           pulumi.String("string"),
    								},
    								ResourceId:   pulumi.String("string"),
    								ResourceType: pulumi.String("string"),
    							},
    						},
    					},
    				},
    			},
    		},
    		Tasks: fleetappsmanagement.RunbookRunbookVersionTaskArray{
    			&fleetappsmanagement.RunbookRunbookVersionTaskArgs{
    				StepName: pulumi.String("string"),
    				TaskRecordDetails: &fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsArgs{
    					Scope:       pulumi.String("string"),
    					Description: pulumi.String("string"),
    					ExecutionDetails: &fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsArgs{
    						ExecutionType: pulumi.String("string"),
    						CatalogId:     pulumi.String("string"),
    						Command:       pulumi.String("string"),
    						ConfigFile:    pulumi.String("string"),
    						Content: &fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsContentArgs{
    							SourceType: pulumi.String("string"),
    							Bucket:     pulumi.String("string"),
    							CatalogId:  pulumi.String("string"),
    							Checksum:   pulumi.String("string"),
    							Namespace:  pulumi.String("string"),
    							Object:     pulumi.String("string"),
    						},
    						Credentials: fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArray{
    							&fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArgs{
    								DisplayName: pulumi.String("string"),
    								Id:          pulumi.String("string"),
    							},
    						},
    						Endpoint:                    pulumi.String("string"),
    						IsExecutableContent:         pulumi.Bool(false),
    						IsLocked:                    pulumi.Bool(false),
    						IsReadOutputVariableEnabled: pulumi.Bool(false),
    						TargetCompartmentId:         pulumi.String("string"),
    						Variables: &fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesArgs{
    							InputVariables: fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArray{
    								&fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArgs{
    									Description: pulumi.String("string"),
    									Name:        pulumi.String("string"),
    									Type:        pulumi.String("string"),
    								},
    							},
    							OutputVariables: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					IsApplySubjectTask:     pulumi.Bool(false),
    					IsCopyToLibraryEnabled: pulumi.Bool(false),
    					IsDiscoveryOutputTask:  pulumi.Bool(false),
    					Name:                   pulumi.String("string"),
    					OsType:                 pulumi.String("string"),
    					Platform:               pulumi.String("string"),
    					Properties: &fleetappsmanagement.RunbookRunbookVersionTaskTaskRecordDetailsPropertiesArgs{
    						NumRetries:       pulumi.Int(0),
    						TimeoutInSeconds: pulumi.Int(0),
    					},
    					TaskRecordId: pulumi.String("string"),
    				},
    				OutputVariableMappings: fleetappsmanagement.RunbookRunbookVersionTaskOutputVariableMappingArray{
    					&fleetappsmanagement.RunbookRunbookVersionTaskOutputVariableMappingArgs{
    						Name: pulumi.String("string"),
    						OutputVariableDetails: &fleetappsmanagement.RunbookRunbookVersionTaskOutputVariableMappingOutputVariableDetailsArgs{
    							OutputVariableName: pulumi.String("string"),
    							StepName:           pulumi.String("string"),
    						},
    					},
    				},
    				StepProperties: &fleetappsmanagement.RunbookRunbookVersionTaskStepPropertiesArgs{
    					ActionOnFailure: pulumi.String("string"),
    					NotificationPreferences: &fleetappsmanagement.RunbookRunbookVersionTaskStepPropertiesNotificationPreferencesArgs{
    						ShouldNotifyOnPause:       pulumi.Bool(false),
    						ShouldNotifyOnTaskFailure: pulumi.Bool(false),
    						ShouldNotifyOnTaskSuccess: pulumi.Bool(false),
    					},
    					PauseDetails: &fleetappsmanagement.RunbookRunbookVersionTaskStepPropertiesPauseDetailsArgs{
    						Kind:              pulumi.String("string"),
    						DurationInMinutes: pulumi.Int(0),
    					},
    					PreCondition: pulumi.String("string"),
    					RunOn: &fleetappsmanagement.RunbookRunbookVersionTaskStepPropertiesRunOnArgs{
    						Kind:      pulumi.String("string"),
    						Condition: pulumi.String("string"),
    						Host:      pulumi.String("string"),
    						PreviousTaskInstanceDetails: fleetappsmanagement.RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArray{
    							&fleetappsmanagement.RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArgs{
    								OutputVariableDetails: &fleetappsmanagement.RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs{
    									OutputVariableName: pulumi.String("string"),
    									StepName:           pulumi.String("string"),
    								},
    								ResourceId:   pulumi.String("string"),
    								ResourceType: pulumi.String("string"),
    							},
    						},
    					},
    				},
    			},
    		},
    		IsLatest: pulumi.Bool(false),
    		RollbackWorkflowDetails: &fleetappsmanagement.RunbookRunbookVersionRollbackWorkflowDetailsArgs{
    			Scope: pulumi.String("string"),
    			Workflows: fleetappsmanagement.RunbookRunbookVersionRollbackWorkflowDetailsWorkflowArray{
    				&fleetappsmanagement.RunbookRunbookVersionRollbackWorkflowDetailsWorkflowArgs{
    					GroupName: pulumi.String("string"),
    					Steps: fleetappsmanagement.RunbookRunbookVersionRollbackWorkflowDetailsWorkflowStepArray{
    						&fleetappsmanagement.RunbookRunbookVersionRollbackWorkflowDetailsWorkflowStepArgs{
    							Type:      pulumi.String("string"),
    							GroupName: pulumi.String("string"),
    							StepName:  pulumi.String("string"),
    							Steps: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					Type: pulumi.String("string"),
    				},
    			},
    		},
    		Version: pulumi.String("string"),
    	},
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description:   pulumi.String("string"),
    	EstimatedTime: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IsDefault:          pulumi.Bool(false),
    	IsSudoAccessNeeded: pulumi.Bool(false),
    	OsType:             pulumi.String("string"),
    	Platform:           pulumi.String("string"),
    })
    
    var runbookResource = new Runbook("runbookResource", RunbookArgs.builder()
        .compartmentId("string")
        .displayName("string")
        .operation("string")
        .runbookVersion(RunbookRunbookVersionArgs.builder()
            .executionWorkflowDetails(RunbookRunbookVersionExecutionWorkflowDetailsArgs.builder()
                .workflows(RunbookRunbookVersionExecutionWorkflowDetailsWorkflowArgs.builder()
                    .groupName("string")
                    .steps(RunbookRunbookVersionExecutionWorkflowDetailsWorkflowStepArgs.builder()
                        .type("string")
                        .groupName("string")
                        .stepName("string")
                        .steps("string")
                        .build())
                    .type("string")
                    .build())
                .build())
            .groups(RunbookRunbookVersionGroupArgs.builder()
                .name("string")
                .type("string")
                .properties(RunbookRunbookVersionGroupPropertiesArgs.builder()
                    .actionOnFailure("string")
                    .notificationPreferences(RunbookRunbookVersionGroupPropertiesNotificationPreferencesArgs.builder()
                        .shouldNotifyOnPause(false)
                        .shouldNotifyOnTaskFailure(false)
                        .shouldNotifyOnTaskSuccess(false)
                        .build())
                    .pauseDetails(RunbookRunbookVersionGroupPropertiesPauseDetailsArgs.builder()
                        .kind("string")
                        .durationInMinutes(0)
                        .build())
                    .preCondition("string")
                    .runOn(RunbookRunbookVersionGroupPropertiesRunOnArgs.builder()
                        .kind("string")
                        .condition("string")
                        .host("string")
                        .previousTaskInstanceDetails(RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArgs.builder()
                            .outputVariableDetails(RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs.builder()
                                .outputVariableName("string")
                                .stepName("string")
                                .build())
                            .resourceId("string")
                            .resourceType("string")
                            .build())
                        .build())
                    .build())
                .build())
            .tasks(RunbookRunbookVersionTaskArgs.builder()
                .stepName("string")
                .taskRecordDetails(RunbookRunbookVersionTaskTaskRecordDetailsArgs.builder()
                    .scope("string")
                    .description("string")
                    .executionDetails(RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsArgs.builder()
                        .executionType("string")
                        .catalogId("string")
                        .command("string")
                        .configFile("string")
                        .content(RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsContentArgs.builder()
                            .sourceType("string")
                            .bucket("string")
                            .catalogId("string")
                            .checksum("string")
                            .namespace("string")
                            .object("string")
                            .build())
                        .credentials(RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArgs.builder()
                            .displayName("string")
                            .id("string")
                            .build())
                        .endpoint("string")
                        .isExecutableContent(false)
                        .isLocked(false)
                        .isReadOutputVariableEnabled(false)
                        .targetCompartmentId("string")
                        .variables(RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesArgs.builder()
                            .inputVariables(RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArgs.builder()
                                .description("string")
                                .name("string")
                                .type("string")
                                .build())
                            .outputVariables("string")
                            .build())
                        .build())
                    .isApplySubjectTask(false)
                    .isCopyToLibraryEnabled(false)
                    .isDiscoveryOutputTask(false)
                    .name("string")
                    .osType("string")
                    .platform("string")
                    .properties(RunbookRunbookVersionTaskTaskRecordDetailsPropertiesArgs.builder()
                        .numRetries(0)
                        .timeoutInSeconds(0)
                        .build())
                    .taskRecordId("string")
                    .build())
                .outputVariableMappings(RunbookRunbookVersionTaskOutputVariableMappingArgs.builder()
                    .name("string")
                    .outputVariableDetails(RunbookRunbookVersionTaskOutputVariableMappingOutputVariableDetailsArgs.builder()
                        .outputVariableName("string")
                        .stepName("string")
                        .build())
                    .build())
                .stepProperties(RunbookRunbookVersionTaskStepPropertiesArgs.builder()
                    .actionOnFailure("string")
                    .notificationPreferences(RunbookRunbookVersionTaskStepPropertiesNotificationPreferencesArgs.builder()
                        .shouldNotifyOnPause(false)
                        .shouldNotifyOnTaskFailure(false)
                        .shouldNotifyOnTaskSuccess(false)
                        .build())
                    .pauseDetails(RunbookRunbookVersionTaskStepPropertiesPauseDetailsArgs.builder()
                        .kind("string")
                        .durationInMinutes(0)
                        .build())
                    .preCondition("string")
                    .runOn(RunbookRunbookVersionTaskStepPropertiesRunOnArgs.builder()
                        .kind("string")
                        .condition("string")
                        .host("string")
                        .previousTaskInstanceDetails(RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArgs.builder()
                            .outputVariableDetails(RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs.builder()
                                .outputVariableName("string")
                                .stepName("string")
                                .build())
                            .resourceId("string")
                            .resourceType("string")
                            .build())
                        .build())
                    .build())
                .build())
            .isLatest(false)
            .rollbackWorkflowDetails(RunbookRunbookVersionRollbackWorkflowDetailsArgs.builder()
                .scope("string")
                .workflows(RunbookRunbookVersionRollbackWorkflowDetailsWorkflowArgs.builder()
                    .groupName("string")
                    .steps(RunbookRunbookVersionRollbackWorkflowDetailsWorkflowStepArgs.builder()
                        .type("string")
                        .groupName("string")
                        .stepName("string")
                        .steps("string")
                        .build())
                    .type("string")
                    .build())
                .build())
            .version("string")
            .build())
        .definedTags(Map.of("string", "string"))
        .description("string")
        .estimatedTime("string")
        .freeformTags(Map.of("string", "string"))
        .isDefault(false)
        .isSudoAccessNeeded(false)
        .osType("string")
        .platform("string")
        .build());
    
    runbook_resource = oci.fleetappsmanagement.Runbook("runbookResource",
        compartment_id="string",
        display_name="string",
        operation="string",
        runbook_version={
            "execution_workflow_details": {
                "workflows": [{
                    "group_name": "string",
                    "steps": [{
                        "type": "string",
                        "group_name": "string",
                        "step_name": "string",
                        "steps": ["string"],
                    }],
                    "type": "string",
                }],
            },
            "groups": [{
                "name": "string",
                "type": "string",
                "properties": {
                    "action_on_failure": "string",
                    "notification_preferences": {
                        "should_notify_on_pause": False,
                        "should_notify_on_task_failure": False,
                        "should_notify_on_task_success": False,
                    },
                    "pause_details": {
                        "kind": "string",
                        "duration_in_minutes": 0,
                    },
                    "pre_condition": "string",
                    "run_on": {
                        "kind": "string",
                        "condition": "string",
                        "host": "string",
                        "previous_task_instance_details": [{
                            "output_variable_details": {
                                "output_variable_name": "string",
                                "step_name": "string",
                            },
                            "resource_id": "string",
                            "resource_type": "string",
                        }],
                    },
                },
            }],
            "tasks": [{
                "step_name": "string",
                "task_record_details": {
                    "scope": "string",
                    "description": "string",
                    "execution_details": {
                        "execution_type": "string",
                        "catalog_id": "string",
                        "command": "string",
                        "config_file": "string",
                        "content": {
                            "source_type": "string",
                            "bucket": "string",
                            "catalog_id": "string",
                            "checksum": "string",
                            "namespace": "string",
                            "object": "string",
                        },
                        "credentials": [{
                            "display_name": "string",
                            "id": "string",
                        }],
                        "endpoint": "string",
                        "is_executable_content": False,
                        "is_locked": False,
                        "is_read_output_variable_enabled": False,
                        "target_compartment_id": "string",
                        "variables": {
                            "input_variables": [{
                                "description": "string",
                                "name": "string",
                                "type": "string",
                            }],
                            "output_variables": ["string"],
                        },
                    },
                    "is_apply_subject_task": False,
                    "is_copy_to_library_enabled": False,
                    "is_discovery_output_task": False,
                    "name": "string",
                    "os_type": "string",
                    "platform": "string",
                    "properties": {
                        "num_retries": 0,
                        "timeout_in_seconds": 0,
                    },
                    "task_record_id": "string",
                },
                "output_variable_mappings": [{
                    "name": "string",
                    "output_variable_details": {
                        "output_variable_name": "string",
                        "step_name": "string",
                    },
                }],
                "step_properties": {
                    "action_on_failure": "string",
                    "notification_preferences": {
                        "should_notify_on_pause": False,
                        "should_notify_on_task_failure": False,
                        "should_notify_on_task_success": False,
                    },
                    "pause_details": {
                        "kind": "string",
                        "duration_in_minutes": 0,
                    },
                    "pre_condition": "string",
                    "run_on": {
                        "kind": "string",
                        "condition": "string",
                        "host": "string",
                        "previous_task_instance_details": [{
                            "output_variable_details": {
                                "output_variable_name": "string",
                                "step_name": "string",
                            },
                            "resource_id": "string",
                            "resource_type": "string",
                        }],
                    },
                },
            }],
            "is_latest": False,
            "rollback_workflow_details": {
                "scope": "string",
                "workflows": [{
                    "group_name": "string",
                    "steps": [{
                        "type": "string",
                        "group_name": "string",
                        "step_name": "string",
                        "steps": ["string"],
                    }],
                    "type": "string",
                }],
            },
            "version": "string",
        },
        defined_tags={
            "string": "string",
        },
        description="string",
        estimated_time="string",
        freeform_tags={
            "string": "string",
        },
        is_default=False,
        is_sudo_access_needed=False,
        os_type="string",
        platform="string")
    
    const runbookResource = new oci.fleetappsmanagement.Runbook("runbookResource", {
        compartmentId: "string",
        displayName: "string",
        operation: "string",
        runbookVersion: {
            executionWorkflowDetails: {
                workflows: [{
                    groupName: "string",
                    steps: [{
                        type: "string",
                        groupName: "string",
                        stepName: "string",
                        steps: ["string"],
                    }],
                    type: "string",
                }],
            },
            groups: [{
                name: "string",
                type: "string",
                properties: {
                    actionOnFailure: "string",
                    notificationPreferences: {
                        shouldNotifyOnPause: false,
                        shouldNotifyOnTaskFailure: false,
                        shouldNotifyOnTaskSuccess: false,
                    },
                    pauseDetails: {
                        kind: "string",
                        durationInMinutes: 0,
                    },
                    preCondition: "string",
                    runOn: {
                        kind: "string",
                        condition: "string",
                        host: "string",
                        previousTaskInstanceDetails: [{
                            outputVariableDetails: {
                                outputVariableName: "string",
                                stepName: "string",
                            },
                            resourceId: "string",
                            resourceType: "string",
                        }],
                    },
                },
            }],
            tasks: [{
                stepName: "string",
                taskRecordDetails: {
                    scope: "string",
                    description: "string",
                    executionDetails: {
                        executionType: "string",
                        catalogId: "string",
                        command: "string",
                        configFile: "string",
                        content: {
                            sourceType: "string",
                            bucket: "string",
                            catalogId: "string",
                            checksum: "string",
                            namespace: "string",
                            object: "string",
                        },
                        credentials: [{
                            displayName: "string",
                            id: "string",
                        }],
                        endpoint: "string",
                        isExecutableContent: false,
                        isLocked: false,
                        isReadOutputVariableEnabled: false,
                        targetCompartmentId: "string",
                        variables: {
                            inputVariables: [{
                                description: "string",
                                name: "string",
                                type: "string",
                            }],
                            outputVariables: ["string"],
                        },
                    },
                    isApplySubjectTask: false,
                    isCopyToLibraryEnabled: false,
                    isDiscoveryOutputTask: false,
                    name: "string",
                    osType: "string",
                    platform: "string",
                    properties: {
                        numRetries: 0,
                        timeoutInSeconds: 0,
                    },
                    taskRecordId: "string",
                },
                outputVariableMappings: [{
                    name: "string",
                    outputVariableDetails: {
                        outputVariableName: "string",
                        stepName: "string",
                    },
                }],
                stepProperties: {
                    actionOnFailure: "string",
                    notificationPreferences: {
                        shouldNotifyOnPause: false,
                        shouldNotifyOnTaskFailure: false,
                        shouldNotifyOnTaskSuccess: false,
                    },
                    pauseDetails: {
                        kind: "string",
                        durationInMinutes: 0,
                    },
                    preCondition: "string",
                    runOn: {
                        kind: "string",
                        condition: "string",
                        host: "string",
                        previousTaskInstanceDetails: [{
                            outputVariableDetails: {
                                outputVariableName: "string",
                                stepName: "string",
                            },
                            resourceId: "string",
                            resourceType: "string",
                        }],
                    },
                },
            }],
            isLatest: false,
            rollbackWorkflowDetails: {
                scope: "string",
                workflows: [{
                    groupName: "string",
                    steps: [{
                        type: "string",
                        groupName: "string",
                        stepName: "string",
                        steps: ["string"],
                    }],
                    type: "string",
                }],
            },
            version: "string",
        },
        definedTags: {
            string: "string",
        },
        description: "string",
        estimatedTime: "string",
        freeformTags: {
            string: "string",
        },
        isDefault: false,
        isSudoAccessNeeded: false,
        osType: "string",
        platform: "string",
    });
    
    type: oci:FleetAppsManagement:Runbook
    properties:
        compartmentId: string
        definedTags:
            string: string
        description: string
        displayName: string
        estimatedTime: string
        freeformTags:
            string: string
        isDefault: false
        isSudoAccessNeeded: false
        operation: string
        osType: string
        platform: string
        runbookVersion:
            executionWorkflowDetails:
                workflows:
                    - groupName: string
                      steps:
                        - groupName: string
                          stepName: string
                          steps:
                            - string
                          type: string
                      type: string
            groups:
                - name: string
                  properties:
                    actionOnFailure: string
                    notificationPreferences:
                        shouldNotifyOnPause: false
                        shouldNotifyOnTaskFailure: false
                        shouldNotifyOnTaskSuccess: false
                    pauseDetails:
                        durationInMinutes: 0
                        kind: string
                    preCondition: string
                    runOn:
                        condition: string
                        host: string
                        kind: string
                        previousTaskInstanceDetails:
                            - outputVariableDetails:
                                outputVariableName: string
                                stepName: string
                              resourceId: string
                              resourceType: string
                  type: string
            isLatest: false
            rollbackWorkflowDetails:
                scope: string
                workflows:
                    - groupName: string
                      steps:
                        - groupName: string
                          stepName: string
                          steps:
                            - string
                          type: string
                      type: string
            tasks:
                - outputVariableMappings:
                    - name: string
                      outputVariableDetails:
                        outputVariableName: string
                        stepName: string
                  stepName: string
                  stepProperties:
                    actionOnFailure: string
                    notificationPreferences:
                        shouldNotifyOnPause: false
                        shouldNotifyOnTaskFailure: false
                        shouldNotifyOnTaskSuccess: false
                    pauseDetails:
                        durationInMinutes: 0
                        kind: string
                    preCondition: string
                    runOn:
                        condition: string
                        host: string
                        kind: string
                        previousTaskInstanceDetails:
                            - outputVariableDetails:
                                outputVariableName: string
                                stepName: string
                              resourceId: string
                              resourceType: string
                  taskRecordDetails:
                    description: string
                    executionDetails:
                        catalogId: string
                        command: string
                        configFile: string
                        content:
                            bucket: string
                            catalogId: string
                            checksum: string
                            namespace: string
                            object: string
                            sourceType: string
                        credentials:
                            - displayName: string
                              id: string
                        endpoint: string
                        executionType: string
                        isExecutableContent: false
                        isLocked: false
                        isReadOutputVariableEnabled: false
                        targetCompartmentId: string
                        variables:
                            inputVariables:
                                - description: string
                                  name: string
                                  type: string
                            outputVariables:
                                - string
                    isApplySubjectTask: false
                    isCopyToLibraryEnabled: false
                    isDiscoveryOutputTask: false
                    name: string
                    osType: string
                    platform: string
                    properties:
                        numRetries: 0
                        timeoutInSeconds: 0
                    scope: string
                    taskRecordId: string
            version: string
    

    Runbook Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Runbook resource accepts the following input properties:

    CompartmentId string
    (Updatable)
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    Operation string
    (Updatable) The lifecycle operation performed by the task.
    RunbookVersion RunbookRunbookVersion
    Version for the runbook.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    EstimatedTime string
    (Updatable) Estimated time to successfully complete the runbook execution.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsDefault bool
    (Updatable) Is the runbook default?
    IsSudoAccessNeeded bool
    (Updatable) Does this runbook need SUDO access to execute?
    OsType string
    (Updatable) The OS type for the runbook.
    Platform string
    (Updatable) The platform of the runbook.
    CompartmentId string
    (Updatable)
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    Operation string
    (Updatable) The lifecycle operation performed by the task.
    RunbookVersion RunbookRunbookVersionArgs
    Version for the runbook.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    EstimatedTime string
    (Updatable) Estimated time to successfully complete the runbook execution.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    IsDefault bool
    (Updatable) Is the runbook default?
    IsSudoAccessNeeded bool
    (Updatable) Does this runbook need SUDO access to execute?
    OsType string
    (Updatable) The OS type for the runbook.
    Platform string
    (Updatable) The platform of the runbook.
    compartmentId String
    (Updatable)
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    operation String
    (Updatable) The lifecycle operation performed by the task.
    runbookVersion RunbookRunbookVersion
    Version for the runbook.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    estimatedTime String
    (Updatable) Estimated time to successfully complete the runbook execution.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isDefault Boolean
    (Updatable) Is the runbook default?
    isSudoAccessNeeded Boolean
    (Updatable) Does this runbook need SUDO access to execute?
    osType String
    (Updatable) The OS type for the runbook.
    platform String
    (Updatable) The platform of the runbook.
    compartmentId string
    (Updatable)
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    operation string
    (Updatable) The lifecycle operation performed by the task.
    runbookVersion RunbookRunbookVersion
    Version for the runbook.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    estimatedTime string
    (Updatable) Estimated time to successfully complete the runbook execution.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isDefault boolean
    (Updatable) Is the runbook default?
    isSudoAccessNeeded boolean
    (Updatable) Does this runbook need SUDO access to execute?
    osType string
    (Updatable) The OS type for the runbook.
    platform string
    (Updatable) The platform of the runbook.
    compartment_id str
    (Updatable)
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    operation str
    (Updatable) The lifecycle operation performed by the task.
    runbook_version RunbookRunbookVersionArgs
    Version for the runbook.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    estimated_time str
    (Updatable) Estimated time to successfully complete the runbook execution.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    is_default bool
    (Updatable) Is the runbook default?
    is_sudo_access_needed bool
    (Updatable) Does this runbook need SUDO access to execute?
    os_type str
    (Updatable) The OS type for the runbook.
    platform str
    (Updatable) The platform of the runbook.
    compartmentId String
    (Updatable)
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    operation String
    (Updatable) The lifecycle operation performed by the task.
    runbookVersion Property Map
    Version for the runbook.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    estimatedTime String
    (Updatable) Estimated time to successfully complete the runbook execution.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    isDefault Boolean
    (Updatable) Is the runbook default?
    isSudoAccessNeeded Boolean
    (Updatable) Does this runbook need SUDO access to execute?
    osType String
    (Updatable) The OS type for the runbook.
    platform String
    (Updatable) The platform of the runbook.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Runbook resource produces the following output properties:

    HasDraftVersion bool
    Does this runbook has draft versions?
    Id string
    The provider-assigned unique ID for this managed resource.
    LatestVersion string
    Latest runbook version
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    ResourceRegion string
    Associated region
    State string
    The current state of the runbook.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    Type string
    The type of the runbook.
    HasDraftVersion bool
    Does this runbook has draft versions?
    Id string
    The provider-assigned unique ID for this managed resource.
    LatestVersion string
    Latest runbook version
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    ResourceRegion string
    Associated region
    State string
    The current state of the runbook.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    Type string
    The type of the runbook.
    hasDraftVersion Boolean
    Does this runbook has draft versions?
    id String
    The provider-assigned unique ID for this managed resource.
    latestVersion String
    Latest runbook version
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    resourceRegion String
    Associated region
    state String
    The current state of the runbook.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time this resource was last updated. An RFC3339 formatted datetime string.
    type String
    The type of the runbook.
    hasDraftVersion boolean
    Does this runbook has draft versions?
    id string
    The provider-assigned unique ID for this managed resource.
    latestVersion string
    Latest runbook version
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    resourceRegion string
    Associated region
    state string
    The current state of the runbook.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    type string
    The type of the runbook.
    has_draft_version bool
    Does this runbook has draft versions?
    id str
    The provider-assigned unique ID for this managed resource.
    latest_version str
    Latest runbook version
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    resource_region str
    Associated region
    state str
    The current state of the runbook.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time this resource was created. An RFC3339 formatted datetime string.
    time_updated str
    The time this resource was last updated. An RFC3339 formatted datetime string.
    type str
    The type of the runbook.
    hasDraftVersion Boolean
    Does this runbook has draft versions?
    id String
    The provider-assigned unique ID for this managed resource.
    latestVersion String
    Latest runbook version
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    resourceRegion String
    Associated region
    state String
    The current state of the runbook.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time this resource was last updated. An RFC3339 formatted datetime string.
    type String
    The type of the runbook.

    Look up Existing Runbook Resource

    Get an existing Runbook resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RunbookState, opts?: CustomResourceOptions): Runbook
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            estimated_time: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            has_draft_version: Optional[bool] = None,
            is_default: Optional[bool] = None,
            is_sudo_access_needed: Optional[bool] = None,
            latest_version: Optional[str] = None,
            lifecycle_details: Optional[str] = None,
            operation: Optional[str] = None,
            os_type: Optional[str] = None,
            platform: Optional[str] = None,
            resource_region: Optional[str] = None,
            runbook_version: Optional[RunbookRunbookVersionArgs] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            type: Optional[str] = None) -> Runbook
    func GetRunbook(ctx *Context, name string, id IDInput, state *RunbookState, opts ...ResourceOption) (*Runbook, error)
    public static Runbook Get(string name, Input<string> id, RunbookState? state, CustomResourceOptions? opts = null)
    public static Runbook get(String name, Output<String> id, RunbookState state, CustomResourceOptions options)
    resources:  _:    type: oci:FleetAppsManagement:Runbook    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable)
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    EstimatedTime string
    (Updatable) Estimated time to successfully complete the runbook execution.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    HasDraftVersion bool
    Does this runbook has draft versions?
    IsDefault bool
    (Updatable) Is the runbook default?
    IsSudoAccessNeeded bool
    (Updatable) Does this runbook need SUDO access to execute?
    LatestVersion string
    Latest runbook version
    LifecycleDetails string
    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 string
    (Updatable) The lifecycle operation performed by the task.
    OsType string
    (Updatable) The OS type for the runbook.
    Platform string
    (Updatable) The platform of the runbook.
    ResourceRegion string
    Associated region
    RunbookVersion RunbookRunbookVersion
    Version for the runbook.
    State string
    The current state of the runbook.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    Type string
    The type of the runbook.
    CompartmentId string
    (Updatable)
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    EstimatedTime string
    (Updatable) Estimated time to successfully complete the runbook execution.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    HasDraftVersion bool
    Does this runbook has draft versions?
    IsDefault bool
    (Updatable) Is the runbook default?
    IsSudoAccessNeeded bool
    (Updatable) Does this runbook need SUDO access to execute?
    LatestVersion string
    Latest runbook version
    LifecycleDetails string
    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 string
    (Updatable) The lifecycle operation performed by the task.
    OsType string
    (Updatable) The OS type for the runbook.
    Platform string
    (Updatable) The platform of the runbook.
    ResourceRegion string
    Associated region
    RunbookVersion RunbookRunbookVersionArgs
    Version for the runbook.
    State string
    The current state of the runbook.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    Type string
    The type of the runbook.
    compartmentId String
    (Updatable)
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    estimatedTime String
    (Updatable) Estimated time to successfully complete the runbook execution.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hasDraftVersion Boolean
    Does this runbook has draft versions?
    isDefault Boolean
    (Updatable) Is the runbook default?
    isSudoAccessNeeded Boolean
    (Updatable) Does this runbook need SUDO access to execute?
    latestVersion String
    Latest runbook version
    lifecycleDetails String
    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 String
    (Updatable) The lifecycle operation performed by the task.
    osType String
    (Updatable) The OS type for the runbook.
    platform String
    (Updatable) The platform of the runbook.
    resourceRegion String
    Associated region
    runbookVersion RunbookRunbookVersion
    Version for the runbook.
    state String
    The current state of the runbook.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time this resource was last updated. An RFC3339 formatted datetime string.
    type String
    The type of the runbook.
    compartmentId string
    (Updatable)
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    estimatedTime string
    (Updatable) Estimated time to successfully complete the runbook execution.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hasDraftVersion boolean
    Does this runbook has draft versions?
    isDefault boolean
    (Updatable) Is the runbook default?
    isSudoAccessNeeded boolean
    (Updatable) Does this runbook need SUDO access to execute?
    latestVersion string
    Latest runbook version
    lifecycleDetails string
    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 string
    (Updatable) The lifecycle operation performed by the task.
    osType string
    (Updatable) The OS type for the runbook.
    platform string
    (Updatable) The platform of the runbook.
    resourceRegion string
    Associated region
    runbookVersion RunbookRunbookVersion
    Version for the runbook.
    state string
    The current state of the runbook.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    type string
    The type of the runbook.
    compartment_id str
    (Updatable)
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    estimated_time str
    (Updatable) Estimated time to successfully complete the runbook execution.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    has_draft_version bool
    Does this runbook has draft versions?
    is_default bool
    (Updatable) Is the runbook default?
    is_sudo_access_needed bool
    (Updatable) Does this runbook need SUDO access to execute?
    latest_version str
    Latest runbook version
    lifecycle_details str
    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 str
    (Updatable) The lifecycle operation performed by the task.
    os_type str
    (Updatable) The OS type for the runbook.
    platform str
    (Updatable) The platform of the runbook.
    resource_region str
    Associated region
    runbook_version RunbookRunbookVersionArgs
    Version for the runbook.
    state str
    The current state of the runbook.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time this resource was created. An RFC3339 formatted datetime string.
    time_updated str
    The time this resource was last updated. An RFC3339 formatted datetime string.
    type str
    The type of the runbook.
    compartmentId String
    (Updatable)
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    estimatedTime String
    (Updatable) Estimated time to successfully complete the runbook execution.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hasDraftVersion Boolean
    Does this runbook has draft versions?
    isDefault Boolean
    (Updatable) Is the runbook default?
    isSudoAccessNeeded Boolean
    (Updatable) Does this runbook need SUDO access to execute?
    latestVersion String
    Latest runbook version
    lifecycleDetails String
    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 String
    (Updatable) The lifecycle operation performed by the task.
    osType String
    (Updatable) The OS type for the runbook.
    platform String
    (Updatable) The platform of the runbook.
    resourceRegion String
    Associated region
    runbookVersion Property Map
    Version for the runbook.
    state String
    The current state of the runbook.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time this resource was last updated. An RFC3339 formatted datetime string.
    type String
    The type of the runbook.

    Supporting Types

    RunbookRunbookVersion, RunbookRunbookVersionArgs

    ExecutionWorkflowDetails RunbookRunbookVersionExecutionWorkflowDetails
    Execution Workflow details.
    Groups List<RunbookRunbookVersionGroup>
    The groups of the runbook.
    Tasks List<RunbookRunbookVersionTask>
    A set of tasks to execute in the runbook.
    IsLatest bool
    Is this version the latest?
    RollbackWorkflowDetails RunbookRunbookVersionRollbackWorkflowDetails
    Rollback Workflow details.
    Version string

    The version of the runbook.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    ExecutionWorkflowDetails RunbookRunbookVersionExecutionWorkflowDetails
    Execution Workflow details.
    Groups []RunbookRunbookVersionGroup
    The groups of the runbook.
    Tasks []RunbookRunbookVersionTask
    A set of tasks to execute in the runbook.
    IsLatest bool
    Is this version the latest?
    RollbackWorkflowDetails RunbookRunbookVersionRollbackWorkflowDetails
    Rollback Workflow details.
    Version string

    The version of the runbook.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    executionWorkflowDetails RunbookRunbookVersionExecutionWorkflowDetails
    Execution Workflow details.
    groups List<RunbookRunbookVersionGroup>
    The groups of the runbook.
    tasks List<RunbookRunbookVersionTask>
    A set of tasks to execute in the runbook.
    isLatest Boolean
    Is this version the latest?
    rollbackWorkflowDetails RunbookRunbookVersionRollbackWorkflowDetails
    Rollback Workflow details.
    version String

    The version of the runbook.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    executionWorkflowDetails RunbookRunbookVersionExecutionWorkflowDetails
    Execution Workflow details.
    groups RunbookRunbookVersionGroup[]
    The groups of the runbook.
    tasks RunbookRunbookVersionTask[]
    A set of tasks to execute in the runbook.
    isLatest boolean
    Is this version the latest?
    rollbackWorkflowDetails RunbookRunbookVersionRollbackWorkflowDetails
    Rollback Workflow details.
    version string

    The version of the runbook.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    execution_workflow_details RunbookRunbookVersionExecutionWorkflowDetails
    Execution Workflow details.
    groups Sequence[RunbookRunbookVersionGroup]
    The groups of the runbook.
    tasks Sequence[RunbookRunbookVersionTask]
    A set of tasks to execute in the runbook.
    is_latest bool
    Is this version the latest?
    rollback_workflow_details RunbookRunbookVersionRollbackWorkflowDetails
    Rollback Workflow details.
    version str

    The version of the runbook.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    executionWorkflowDetails Property Map
    Execution Workflow details.
    groups List<Property Map>
    The groups of the runbook.
    tasks List<Property Map>
    A set of tasks to execute in the runbook.
    isLatest Boolean
    Is this version the latest?
    rollbackWorkflowDetails Property Map
    Rollback Workflow details.
    version String

    The version of the runbook.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    RunbookRunbookVersionExecutionWorkflowDetails, RunbookRunbookVersionExecutionWorkflowDetailsArgs

    workflows List<Property Map>
    Execution Workflow for the runbook.

    RunbookRunbookVersionExecutionWorkflowDetailsWorkflow, RunbookRunbookVersionExecutionWorkflowDetailsWorkflowArgs

    GroupName string
    Name of the group.
    Steps List<RunbookRunbookVersionExecutionWorkflowDetailsWorkflowStep>
    Steps within the Group.
    Type string
    Workflow Group Details.
    GroupName string
    Name of the group.
    Steps []RunbookRunbookVersionExecutionWorkflowDetailsWorkflowStep
    Steps within the Group.
    Type string
    Workflow Group Details.
    groupName String
    Name of the group.
    steps List<RunbookRunbookVersionExecutionWorkflowDetailsWorkflowStep>
    Steps within the Group.
    type String
    Workflow Group Details.
    groupName string
    Name of the group.
    steps RunbookRunbookVersionExecutionWorkflowDetailsWorkflowStep[]
    Steps within the Group.
    type string
    Workflow Group Details.
    group_name str
    Name of the group.
    steps Sequence[RunbookRunbookVersionExecutionWorkflowDetailsWorkflowStep]
    Steps within the Group.
    type str
    Workflow Group Details.
    groupName String
    Name of the group.
    steps List<Property Map>
    Steps within the Group.
    type String
    Workflow Group Details.

    RunbookRunbookVersionExecutionWorkflowDetailsWorkflowStep, RunbookRunbookVersionExecutionWorkflowDetailsWorkflowStepArgs

    Type string
    Content Source Details.
    GroupName string
    Name of the group.
    StepName string
    Provide StepName for the Task.
    Steps List<string>
    Tasks within the Group. Provide the stepName for all applicable tasks.
    Type string
    Content Source Details.
    GroupName string
    Name of the group.
    StepName string
    Provide StepName for the Task.
    Steps []string
    Tasks within the Group. Provide the stepName for all applicable tasks.
    type String
    Content Source Details.
    groupName String
    Name of the group.
    stepName String
    Provide StepName for the Task.
    steps List<String>
    Tasks within the Group. Provide the stepName for all applicable tasks.
    type string
    Content Source Details.
    groupName string
    Name of the group.
    stepName string
    Provide StepName for the Task.
    steps string[]
    Tasks within the Group. Provide the stepName for all applicable tasks.
    type str
    Content Source Details.
    group_name str
    Name of the group.
    step_name str
    Provide StepName for the Task.
    steps Sequence[str]
    Tasks within the Group. Provide the stepName for all applicable tasks.
    type String
    Content Source Details.
    groupName String
    Name of the group.
    stepName String
    Provide StepName for the Task.
    steps List<String>
    Tasks within the Group. Provide the stepName for all applicable tasks.

    RunbookRunbookVersionGroup, RunbookRunbookVersionGroupArgs

    Name string
    The name of the group.
    Type string
    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.
    Properties RunbookRunbookVersionGroupProperties
    The properties of the component.
    Name string
    The name of the group.
    Type string
    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.
    Properties RunbookRunbookVersionGroupProperties
    The properties of the component.
    name String
    The name of the group.
    type String
    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.
    properties RunbookRunbookVersionGroupProperties
    The properties of the component.
    name string
    The name of the group.
    type string
    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.
    properties RunbookRunbookVersionGroupProperties
    The properties of the component.
    name str
    The name of the group.
    type str
    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.
    properties RunbookRunbookVersionGroupProperties
    The properties of the component.
    name String
    The name of the group.
    type String
    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.
    properties Property Map
    The properties of the component.

    RunbookRunbookVersionGroupProperties, RunbookRunbookVersionGroupPropertiesArgs

    ActionOnFailure string
    The action to be taken in case of a failure.
    NotificationPreferences RunbookRunbookVersionGroupPropertiesNotificationPreferences
    Preferences to send notifications on the task activities.
    PauseDetails RunbookRunbookVersionGroupPropertiesPauseDetails
    Pause Details
    PreCondition string
    Build control flow conditions that determine the relevance of the task execution.
    RunOn RunbookRunbookVersionGroupPropertiesRunOn
    The runon conditions
    ActionOnFailure string
    The action to be taken in case of a failure.
    NotificationPreferences RunbookRunbookVersionGroupPropertiesNotificationPreferences
    Preferences to send notifications on the task activities.
    PauseDetails RunbookRunbookVersionGroupPropertiesPauseDetails
    Pause Details
    PreCondition string
    Build control flow conditions that determine the relevance of the task execution.
    RunOn RunbookRunbookVersionGroupPropertiesRunOn
    The runon conditions
    actionOnFailure String
    The action to be taken in case of a failure.
    notificationPreferences RunbookRunbookVersionGroupPropertiesNotificationPreferences
    Preferences to send notifications on the task activities.
    pauseDetails RunbookRunbookVersionGroupPropertiesPauseDetails
    Pause Details
    preCondition String
    Build control flow conditions that determine the relevance of the task execution.
    runOn RunbookRunbookVersionGroupPropertiesRunOn
    The runon conditions
    actionOnFailure string
    The action to be taken in case of a failure.
    notificationPreferences RunbookRunbookVersionGroupPropertiesNotificationPreferences
    Preferences to send notifications on the task activities.
    pauseDetails RunbookRunbookVersionGroupPropertiesPauseDetails
    Pause Details
    preCondition string
    Build control flow conditions that determine the relevance of the task execution.
    runOn RunbookRunbookVersionGroupPropertiesRunOn
    The runon conditions
    action_on_failure str
    The action to be taken in case of a failure.
    notification_preferences RunbookRunbookVersionGroupPropertiesNotificationPreferences
    Preferences to send notifications on the task activities.
    pause_details RunbookRunbookVersionGroupPropertiesPauseDetails
    Pause Details
    pre_condition str
    Build control flow conditions that determine the relevance of the task execution.
    run_on RunbookRunbookVersionGroupPropertiesRunOn
    The runon conditions
    actionOnFailure String
    The action to be taken in case of a failure.
    notificationPreferences Property Map
    Preferences to send notifications on the task activities.
    pauseDetails Property Map
    Pause Details
    preCondition String
    Build control flow conditions that determine the relevance of the task execution.
    runOn Property Map
    The runon conditions

    RunbookRunbookVersionGroupPropertiesNotificationPreferences, RunbookRunbookVersionGroupPropertiesNotificationPreferencesArgs

    ShouldNotifyOnPause bool
    Enables notification on pause.
    ShouldNotifyOnTaskFailure bool
    Enables or disables notification on Task Failures.
    ShouldNotifyOnTaskSuccess bool
    Enables or disables notification on Task Success.
    ShouldNotifyOnPause bool
    Enables notification on pause.
    ShouldNotifyOnTaskFailure bool
    Enables or disables notification on Task Failures.
    ShouldNotifyOnTaskSuccess bool
    Enables or disables notification on Task Success.
    shouldNotifyOnPause Boolean
    Enables notification on pause.
    shouldNotifyOnTaskFailure Boolean
    Enables or disables notification on Task Failures.
    shouldNotifyOnTaskSuccess Boolean
    Enables or disables notification on Task Success.
    shouldNotifyOnPause boolean
    Enables notification on pause.
    shouldNotifyOnTaskFailure boolean
    Enables or disables notification on Task Failures.
    shouldNotifyOnTaskSuccess boolean
    Enables or disables notification on Task Success.
    should_notify_on_pause bool
    Enables notification on pause.
    should_notify_on_task_failure bool
    Enables or disables notification on Task Failures.
    should_notify_on_task_success bool
    Enables or disables notification on Task Success.
    shouldNotifyOnPause Boolean
    Enables notification on pause.
    shouldNotifyOnTaskFailure Boolean
    Enables or disables notification on Task Failures.
    shouldNotifyOnTaskSuccess Boolean
    Enables or disables notification on Task Success.

    RunbookRunbookVersionGroupPropertiesPauseDetails, RunbookRunbookVersionGroupPropertiesPauseDetailsArgs

    Kind string
    Pause based On.
    DurationInMinutes int
    Time in minutes to apply Pause.
    Kind string
    Pause based On.
    DurationInMinutes int
    Time in minutes to apply Pause.
    kind String
    Pause based On.
    durationInMinutes Integer
    Time in minutes to apply Pause.
    kind string
    Pause based On.
    durationInMinutes number
    Time in minutes to apply Pause.
    kind str
    Pause based On.
    duration_in_minutes int
    Time in minutes to apply Pause.
    kind String
    Pause based On.
    durationInMinutes Number
    Time in minutes to apply Pause.

    RunbookRunbookVersionGroupPropertiesRunOn, RunbookRunbookVersionGroupPropertiesRunOnArgs

    Kind string
    Run on based On.
    Condition string
    Build control flow conditions that determine the relevance of the task execution.
    Host string
    OCID of the self hosted instance.
    PreviousTaskInstanceDetails List<RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetail>
    Previous Task Instance Details
    Kind string
    Run on based On.
    Condition string
    Build control flow conditions that determine the relevance of the task execution.
    Host string
    OCID of the self hosted instance.
    PreviousTaskInstanceDetails []RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetail
    Previous Task Instance Details
    kind String
    Run on based On.
    condition String
    Build control flow conditions that determine the relevance of the task execution.
    host String
    OCID of the self hosted instance.
    previousTaskInstanceDetails List<RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetail>
    Previous Task Instance Details
    kind string
    Run on based On.
    condition string
    Build control flow conditions that determine the relevance of the task execution.
    host string
    OCID of the self hosted instance.
    previousTaskInstanceDetails RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetail[]
    Previous Task Instance Details
    kind str
    Run on based On.
    condition str
    Build control flow conditions that determine the relevance of the task execution.
    host str
    OCID of the self hosted instance.
    previous_task_instance_details Sequence[RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetail]
    Previous Task Instance Details
    kind String
    Run on based On.
    condition String
    Build control flow conditions that determine the relevance of the task execution.
    host String
    OCID of the self hosted instance.
    previousTaskInstanceDetails List<Property Map>
    Previous Task Instance Details

    RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetail, RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArgs

    OutputVariableDetails RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetails
    The details of the output variable that will be used for mapping.
    ResourceId string
    Resource Ocid.
    ResourceType string
    Resource Type.
    OutputVariableDetails RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetails
    The details of the output variable that will be used for mapping.
    ResourceId string
    Resource Ocid.
    ResourceType string
    Resource Type.
    outputVariableDetails RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetails
    The details of the output variable that will be used for mapping.
    resourceId String
    Resource Ocid.
    resourceType String
    Resource Type.
    outputVariableDetails RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetails
    The details of the output variable that will be used for mapping.
    resourceId string
    Resource Ocid.
    resourceType string
    Resource Type.
    output_variable_details RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetails
    The details of the output variable that will be used for mapping.
    resource_id str
    Resource Ocid.
    resource_type str
    Resource Type.
    outputVariableDetails Property Map
    The details of the output variable that will be used for mapping.
    resourceId String
    Resource Ocid.
    resourceType String
    Resource Type.

    RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetails, RunbookRunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs

    OutputVariableName string
    The name of the output variable whose value has to be mapped.
    StepName string
    The name of the task step the output variable belongs to.
    OutputVariableName string
    The name of the output variable whose value has to be mapped.
    StepName string
    The name of the task step the output variable belongs to.
    outputVariableName String
    The name of the output variable whose value has to be mapped.
    stepName String
    The name of the task step the output variable belongs to.
    outputVariableName string
    The name of the output variable whose value has to be mapped.
    stepName string
    The name of the task step the output variable belongs to.
    output_variable_name str
    The name of the output variable whose value has to be mapped.
    step_name str
    The name of the task step the output variable belongs to.
    outputVariableName String
    The name of the output variable whose value has to be mapped.
    stepName String
    The name of the task step the output variable belongs to.

    RunbookRunbookVersionRollbackWorkflowDetails, RunbookRunbookVersionRollbackWorkflowDetailsArgs

    Scope string
    rollback Scope
    Workflows List<RunbookRunbookVersionRollbackWorkflowDetailsWorkflow>
    Rollback Workflow for the runbook.
    Scope string
    rollback Scope
    Workflows []RunbookRunbookVersionRollbackWorkflowDetailsWorkflow
    Rollback Workflow for the runbook.
    scope String
    rollback Scope
    workflows List<RunbookRunbookVersionRollbackWorkflowDetailsWorkflow>
    Rollback Workflow for the runbook.
    scope string
    rollback Scope
    workflows RunbookRunbookVersionRollbackWorkflowDetailsWorkflow[]
    Rollback Workflow for the runbook.
    scope str
    rollback Scope
    workflows Sequence[RunbookRunbookVersionRollbackWorkflowDetailsWorkflow]
    Rollback Workflow for the runbook.
    scope String
    rollback Scope
    workflows List<Property Map>
    Rollback Workflow for the runbook.

    RunbookRunbookVersionRollbackWorkflowDetailsWorkflow, RunbookRunbookVersionRollbackWorkflowDetailsWorkflowArgs

    GroupName string
    Name of the group.
    Steps List<RunbookRunbookVersionRollbackWorkflowDetailsWorkflowStep>
    Steps within the Group.
    Type string
    Workflow Group Details.
    GroupName string
    Name of the group.
    Steps []RunbookRunbookVersionRollbackWorkflowDetailsWorkflowStep
    Steps within the Group.
    Type string
    Workflow Group Details.
    groupName String
    Name of the group.
    steps List<RunbookRunbookVersionRollbackWorkflowDetailsWorkflowStep>
    Steps within the Group.
    type String
    Workflow Group Details.
    groupName string
    Name of the group.
    steps RunbookRunbookVersionRollbackWorkflowDetailsWorkflowStep[]
    Steps within the Group.
    type string
    Workflow Group Details.
    group_name str
    Name of the group.
    steps Sequence[RunbookRunbookVersionRollbackWorkflowDetailsWorkflowStep]
    Steps within the Group.
    type str
    Workflow Group Details.
    groupName String
    Name of the group.
    steps List<Property Map>
    Steps within the Group.
    type String
    Workflow Group Details.

    RunbookRunbookVersionRollbackWorkflowDetailsWorkflowStep, RunbookRunbookVersionRollbackWorkflowDetailsWorkflowStepArgs

    Type string
    Content Source Details.
    GroupName string
    Name of the group.
    StepName string
    Provide StepName for the Task.
    Steps List<string>
    Tasks within the Group. Provide the stepName for all applicable tasks.
    Type string
    Content Source Details.
    GroupName string
    Name of the group.
    StepName string
    Provide StepName for the Task.
    Steps []string
    Tasks within the Group. Provide the stepName for all applicable tasks.
    type String
    Content Source Details.
    groupName String
    Name of the group.
    stepName String
    Provide StepName for the Task.
    steps List<String>
    Tasks within the Group. Provide the stepName for all applicable tasks.
    type string
    Content Source Details.
    groupName string
    Name of the group.
    stepName string
    Provide StepName for the Task.
    steps string[]
    Tasks within the Group. Provide the stepName for all applicable tasks.
    type str
    Content Source Details.
    group_name str
    Name of the group.
    step_name str
    Provide StepName for the Task.
    steps Sequence[str]
    Tasks within the Group. Provide the stepName for all applicable tasks.
    type String
    Content Source Details.
    groupName String
    Name of the group.
    stepName String
    Provide StepName for the Task.
    steps List<String>
    Tasks within the Group. Provide the stepName for all applicable tasks.

    RunbookRunbookVersionTask, RunbookRunbookVersionTaskArgs

    StepName string
    The name of the task step.
    TaskRecordDetails RunbookRunbookVersionTaskTaskRecordDetails
    The details of the task.
    OutputVariableMappings List<RunbookRunbookVersionTaskOutputVariableMapping>
    Mapping output variables of previous tasks to the input variables of the current task.
    StepProperties RunbookRunbookVersionTaskStepProperties
    The properties of the component.
    StepName string
    The name of the task step.
    TaskRecordDetails RunbookRunbookVersionTaskTaskRecordDetails
    The details of the task.
    OutputVariableMappings []RunbookRunbookVersionTaskOutputVariableMapping
    Mapping output variables of previous tasks to the input variables of the current task.
    StepProperties RunbookRunbookVersionTaskStepProperties
    The properties of the component.
    stepName String
    The name of the task step.
    taskRecordDetails RunbookRunbookVersionTaskTaskRecordDetails
    The details of the task.
    outputVariableMappings List<RunbookRunbookVersionTaskOutputVariableMapping>
    Mapping output variables of previous tasks to the input variables of the current task.
    stepProperties RunbookRunbookVersionTaskStepProperties
    The properties of the component.
    stepName string
    The name of the task step.
    taskRecordDetails RunbookRunbookVersionTaskTaskRecordDetails
    The details of the task.
    outputVariableMappings RunbookRunbookVersionTaskOutputVariableMapping[]
    Mapping output variables of previous tasks to the input variables of the current task.
    stepProperties RunbookRunbookVersionTaskStepProperties
    The properties of the component.
    step_name str
    The name of the task step.
    task_record_details RunbookRunbookVersionTaskTaskRecordDetails
    The details of the task.
    output_variable_mappings Sequence[RunbookRunbookVersionTaskOutputVariableMapping]
    Mapping output variables of previous tasks to the input variables of the current task.
    step_properties RunbookRunbookVersionTaskStepProperties
    The properties of the component.
    stepName String
    The name of the task step.
    taskRecordDetails Property Map
    The details of the task.
    outputVariableMappings List<Property Map>
    Mapping output variables of previous tasks to the input variables of the current task.
    stepProperties Property Map
    The properties of the component.

    RunbookRunbookVersionTaskOutputVariableMapping, RunbookRunbookVersionTaskOutputVariableMappingArgs

    Name string
    The name of the input variable.
    OutputVariableDetails RunbookRunbookVersionTaskOutputVariableMappingOutputVariableDetails
    The details of the output variable that will be used for mapping.
    Name string
    The name of the input variable.
    OutputVariableDetails RunbookRunbookVersionTaskOutputVariableMappingOutputVariableDetails
    The details of the output variable that will be used for mapping.
    name String
    The name of the input variable.
    outputVariableDetails RunbookRunbookVersionTaskOutputVariableMappingOutputVariableDetails
    The details of the output variable that will be used for mapping.
    name string
    The name of the input variable.
    outputVariableDetails RunbookRunbookVersionTaskOutputVariableMappingOutputVariableDetails
    The details of the output variable that will be used for mapping.
    name str
    The name of the input variable.
    output_variable_details RunbookRunbookVersionTaskOutputVariableMappingOutputVariableDetails
    The details of the output variable that will be used for mapping.
    name String
    The name of the input variable.
    outputVariableDetails Property Map
    The details of the output variable that will be used for mapping.

    RunbookRunbookVersionTaskOutputVariableMappingOutputVariableDetails, RunbookRunbookVersionTaskOutputVariableMappingOutputVariableDetailsArgs

    OutputVariableName string
    The name of the output variable whose value has to be mapped.
    StepName string
    The name of the task step the output variable belongs to.
    OutputVariableName string
    The name of the output variable whose value has to be mapped.
    StepName string
    The name of the task step the output variable belongs to.
    outputVariableName String
    The name of the output variable whose value has to be mapped.
    stepName String
    The name of the task step the output variable belongs to.
    outputVariableName string
    The name of the output variable whose value has to be mapped.
    stepName string
    The name of the task step the output variable belongs to.
    output_variable_name str
    The name of the output variable whose value has to be mapped.
    step_name str
    The name of the task step the output variable belongs to.
    outputVariableName String
    The name of the output variable whose value has to be mapped.
    stepName String
    The name of the task step the output variable belongs to.

    RunbookRunbookVersionTaskStepProperties, RunbookRunbookVersionTaskStepPropertiesArgs

    ActionOnFailure string
    The action to be taken in case of a failure.
    NotificationPreferences RunbookRunbookVersionTaskStepPropertiesNotificationPreferences
    Preferences to send notifications on the task activities.
    PauseDetails RunbookRunbookVersionTaskStepPropertiesPauseDetails
    Pause Details
    PreCondition string
    Build control flow conditions that determine the relevance of the task execution.
    RunOn RunbookRunbookVersionTaskStepPropertiesRunOn
    The runon conditions
    ActionOnFailure string
    The action to be taken in case of a failure.
    NotificationPreferences RunbookRunbookVersionTaskStepPropertiesNotificationPreferences
    Preferences to send notifications on the task activities.
    PauseDetails RunbookRunbookVersionTaskStepPropertiesPauseDetails
    Pause Details
    PreCondition string
    Build control flow conditions that determine the relevance of the task execution.
    RunOn RunbookRunbookVersionTaskStepPropertiesRunOn
    The runon conditions
    actionOnFailure String
    The action to be taken in case of a failure.
    notificationPreferences RunbookRunbookVersionTaskStepPropertiesNotificationPreferences
    Preferences to send notifications on the task activities.
    pauseDetails RunbookRunbookVersionTaskStepPropertiesPauseDetails
    Pause Details
    preCondition String
    Build control flow conditions that determine the relevance of the task execution.
    runOn RunbookRunbookVersionTaskStepPropertiesRunOn
    The runon conditions
    actionOnFailure string
    The action to be taken in case of a failure.
    notificationPreferences RunbookRunbookVersionTaskStepPropertiesNotificationPreferences
    Preferences to send notifications on the task activities.
    pauseDetails RunbookRunbookVersionTaskStepPropertiesPauseDetails
    Pause Details
    preCondition string
    Build control flow conditions that determine the relevance of the task execution.
    runOn RunbookRunbookVersionTaskStepPropertiesRunOn
    The runon conditions
    action_on_failure str
    The action to be taken in case of a failure.
    notification_preferences RunbookRunbookVersionTaskStepPropertiesNotificationPreferences
    Preferences to send notifications on the task activities.
    pause_details RunbookRunbookVersionTaskStepPropertiesPauseDetails
    Pause Details
    pre_condition str
    Build control flow conditions that determine the relevance of the task execution.
    run_on RunbookRunbookVersionTaskStepPropertiesRunOn
    The runon conditions
    actionOnFailure String
    The action to be taken in case of a failure.
    notificationPreferences Property Map
    Preferences to send notifications on the task activities.
    pauseDetails Property Map
    Pause Details
    preCondition String
    Build control flow conditions that determine the relevance of the task execution.
    runOn Property Map
    The runon conditions

    RunbookRunbookVersionTaskStepPropertiesNotificationPreferences, RunbookRunbookVersionTaskStepPropertiesNotificationPreferencesArgs

    ShouldNotifyOnPause bool
    Enables notification on pause.
    ShouldNotifyOnTaskFailure bool
    Enables or disables notification on Task Failures.
    ShouldNotifyOnTaskSuccess bool
    Enables or disables notification on Task Success.
    ShouldNotifyOnPause bool
    Enables notification on pause.
    ShouldNotifyOnTaskFailure bool
    Enables or disables notification on Task Failures.
    ShouldNotifyOnTaskSuccess bool
    Enables or disables notification on Task Success.
    shouldNotifyOnPause Boolean
    Enables notification on pause.
    shouldNotifyOnTaskFailure Boolean
    Enables or disables notification on Task Failures.
    shouldNotifyOnTaskSuccess Boolean
    Enables or disables notification on Task Success.
    shouldNotifyOnPause boolean
    Enables notification on pause.
    shouldNotifyOnTaskFailure boolean
    Enables or disables notification on Task Failures.
    shouldNotifyOnTaskSuccess boolean
    Enables or disables notification on Task Success.
    should_notify_on_pause bool
    Enables notification on pause.
    should_notify_on_task_failure bool
    Enables or disables notification on Task Failures.
    should_notify_on_task_success bool
    Enables or disables notification on Task Success.
    shouldNotifyOnPause Boolean
    Enables notification on pause.
    shouldNotifyOnTaskFailure Boolean
    Enables or disables notification on Task Failures.
    shouldNotifyOnTaskSuccess Boolean
    Enables or disables notification on Task Success.

    RunbookRunbookVersionTaskStepPropertiesPauseDetails, RunbookRunbookVersionTaskStepPropertiesPauseDetailsArgs

    Kind string
    Pause based On.
    DurationInMinutes int
    Time in minutes to apply Pause.
    Kind string
    Pause based On.
    DurationInMinutes int
    Time in minutes to apply Pause.
    kind String
    Pause based On.
    durationInMinutes Integer
    Time in minutes to apply Pause.
    kind string
    Pause based On.
    durationInMinutes number
    Time in minutes to apply Pause.
    kind str
    Pause based On.
    duration_in_minutes int
    Time in minutes to apply Pause.
    kind String
    Pause based On.
    durationInMinutes Number
    Time in minutes to apply Pause.

    RunbookRunbookVersionTaskStepPropertiesRunOn, RunbookRunbookVersionTaskStepPropertiesRunOnArgs

    Kind string
    Run on based On.
    Condition string
    Build control flow conditions that determine the relevance of the task execution.
    Host string
    OCID of the self hosted instance.
    PreviousTaskInstanceDetails List<RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetail>
    Previous Task Instance Details
    Kind string
    Run on based On.
    Condition string
    Build control flow conditions that determine the relevance of the task execution.
    Host string
    OCID of the self hosted instance.
    PreviousTaskInstanceDetails []RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetail
    Previous Task Instance Details
    kind String
    Run on based On.
    condition String
    Build control flow conditions that determine the relevance of the task execution.
    host String
    OCID of the self hosted instance.
    previousTaskInstanceDetails List<RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetail>
    Previous Task Instance Details
    kind string
    Run on based On.
    condition string
    Build control flow conditions that determine the relevance of the task execution.
    host string
    OCID of the self hosted instance.
    previousTaskInstanceDetails RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetail[]
    Previous Task Instance Details
    kind str
    Run on based On.
    condition str
    Build control flow conditions that determine the relevance of the task execution.
    host str
    OCID of the self hosted instance.
    previous_task_instance_details Sequence[RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetail]
    Previous Task Instance Details
    kind String
    Run on based On.
    condition String
    Build control flow conditions that determine the relevance of the task execution.
    host String
    OCID of the self hosted instance.
    previousTaskInstanceDetails List<Property Map>
    Previous Task Instance Details

    RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetail, RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArgs

    OutputVariableDetails RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetails
    The details of the output variable that will be used for mapping.
    ResourceId string
    Resource Ocid.
    ResourceType string
    Resource Type.
    OutputVariableDetails RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetails
    The details of the output variable that will be used for mapping.
    ResourceId string
    Resource Ocid.
    ResourceType string
    Resource Type.
    outputVariableDetails RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetails
    The details of the output variable that will be used for mapping.
    resourceId String
    Resource Ocid.
    resourceType String
    Resource Type.
    outputVariableDetails RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetails
    The details of the output variable that will be used for mapping.
    resourceId string
    Resource Ocid.
    resourceType string
    Resource Type.
    output_variable_details RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetails
    The details of the output variable that will be used for mapping.
    resource_id str
    Resource Ocid.
    resource_type str
    Resource Type.
    outputVariableDetails Property Map
    The details of the output variable that will be used for mapping.
    resourceId String
    Resource Ocid.
    resourceType String
    Resource Type.

    RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetails, RunbookRunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs

    OutputVariableName string
    The name of the output variable whose value has to be mapped.
    StepName string
    The name of the task step the output variable belongs to.
    OutputVariableName string
    The name of the output variable whose value has to be mapped.
    StepName string
    The name of the task step the output variable belongs to.
    outputVariableName String
    The name of the output variable whose value has to be mapped.
    stepName String
    The name of the task step the output variable belongs to.
    outputVariableName string
    The name of the output variable whose value has to be mapped.
    stepName string
    The name of the task step the output variable belongs to.
    output_variable_name str
    The name of the output variable whose value has to be mapped.
    step_name str
    The name of the task step the output variable belongs to.
    outputVariableName String
    The name of the output variable whose value has to be mapped.
    stepName String
    The name of the task step the output variable belongs to.

    RunbookRunbookVersionTaskTaskRecordDetails, RunbookRunbookVersionTaskTaskRecordDetailsArgs

    Scope string
    The scope of the task.
    Description string
    The description of the task.
    ExecutionDetails RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetails
    Execution details.
    IsApplySubjectTask bool
    Is this an Apply Subject Task? Ex. Patch Execution Task
    IsCopyToLibraryEnabled bool
    Make a copy of this task in Library
    IsDiscoveryOutputTask bool
    Is this a discovery output task?
    Name string
    The name of the task
    OsType string
    The OS for the task.
    Platform string
    The platform of the runbook.
    Properties RunbookRunbookVersionTaskTaskRecordDetailsProperties
    The properties of the task.
    TaskRecordId string
    The ID of taskRecord.
    Scope string
    The scope of the task.
    Description string
    The description of the task.
    ExecutionDetails RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetails
    Execution details.
    IsApplySubjectTask bool
    Is this an Apply Subject Task? Ex. Patch Execution Task
    IsCopyToLibraryEnabled bool
    Make a copy of this task in Library
    IsDiscoveryOutputTask bool
    Is this a discovery output task?
    Name string
    The name of the task
    OsType string
    The OS for the task.
    Platform string
    The platform of the runbook.
    Properties RunbookRunbookVersionTaskTaskRecordDetailsProperties
    The properties of the task.
    TaskRecordId string
    The ID of taskRecord.
    scope String
    The scope of the task.
    description String
    The description of the task.
    executionDetails RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetails
    Execution details.
    isApplySubjectTask Boolean
    Is this an Apply Subject Task? Ex. Patch Execution Task
    isCopyToLibraryEnabled Boolean
    Make a copy of this task in Library
    isDiscoveryOutputTask Boolean
    Is this a discovery output task?
    name String
    The name of the task
    osType String
    The OS for the task.
    platform String
    The platform of the runbook.
    properties RunbookRunbookVersionTaskTaskRecordDetailsProperties
    The properties of the task.
    taskRecordId String
    The ID of taskRecord.
    scope string
    The scope of the task.
    description string
    The description of the task.
    executionDetails RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetails
    Execution details.
    isApplySubjectTask boolean
    Is this an Apply Subject Task? Ex. Patch Execution Task
    isCopyToLibraryEnabled boolean
    Make a copy of this task in Library
    isDiscoveryOutputTask boolean
    Is this a discovery output task?
    name string
    The name of the task
    osType string
    The OS for the task.
    platform string
    The platform of the runbook.
    properties RunbookRunbookVersionTaskTaskRecordDetailsProperties
    The properties of the task.
    taskRecordId string
    The ID of taskRecord.
    scope str
    The scope of the task.
    description str
    The description of the task.
    execution_details RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetails
    Execution details.
    is_apply_subject_task bool
    Is this an Apply Subject Task? Ex. Patch Execution Task
    is_copy_to_library_enabled bool
    Make a copy of this task in Library
    is_discovery_output_task bool
    Is this a discovery output task?
    name str
    The name of the task
    os_type str
    The OS for the task.
    platform str
    The platform of the runbook.
    properties RunbookRunbookVersionTaskTaskRecordDetailsProperties
    The properties of the task.
    task_record_id str
    The ID of taskRecord.
    scope String
    The scope of the task.
    description String
    The description of the task.
    executionDetails Property Map
    Execution details.
    isApplySubjectTask Boolean
    Is this an Apply Subject Task? Ex. Patch Execution Task
    isCopyToLibraryEnabled Boolean
    Make a copy of this task in Library
    isDiscoveryOutputTask Boolean
    Is this a discovery output task?
    name String
    The name of the task
    osType String
    The OS for the task.
    platform String
    The platform of the runbook.
    properties Property Map
    The properties of the task.
    taskRecordId String
    The ID of taskRecord.

    RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetails, RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsArgs

    ExecutionType string
    The action type of the task
    CatalogId string
    Command string
    Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
    ConfigFile string
    Catalog Id having config file.
    Content RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsContent
    Content Source details.
    Credentials List<RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsCredential>
    Credentials required for executing the task.
    Endpoint string
    Endpoint to be invoked.
    IsExecutableContent bool
    Is the Content an executable file?
    IsLocked bool
    Is the script locked to prevent changes directly in Object Storage?
    IsReadOutputVariableEnabled bool
    Is read output variable enabled
    TargetCompartmentId string
    OCID of the compartment to which the resource belongs to.
    Variables RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariables
    The variable of the task. At least one of the dynamicArguments or output needs to be provided.
    ExecutionType string
    The action type of the task
    CatalogId string
    Command string
    Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
    ConfigFile string
    Catalog Id having config file.
    Content RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsContent
    Content Source details.
    Credentials []RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsCredential
    Credentials required for executing the task.
    Endpoint string
    Endpoint to be invoked.
    IsExecutableContent bool
    Is the Content an executable file?
    IsLocked bool
    Is the script locked to prevent changes directly in Object Storage?
    IsReadOutputVariableEnabled bool
    Is read output variable enabled
    TargetCompartmentId string
    OCID of the compartment to which the resource belongs to.
    Variables RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariables
    The variable of the task. At least one of the dynamicArguments or output needs to be provided.
    executionType String
    The action type of the task
    catalogId String
    command String
    Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
    configFile String
    Catalog Id having config file.
    content RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsContent
    Content Source details.
    credentials List<RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsCredential>
    Credentials required for executing the task.
    endpoint String
    Endpoint to be invoked.
    isExecutableContent Boolean
    Is the Content an executable file?
    isLocked Boolean
    Is the script locked to prevent changes directly in Object Storage?
    isReadOutputVariableEnabled Boolean
    Is read output variable enabled
    targetCompartmentId String
    OCID of the compartment to which the resource belongs to.
    variables RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariables
    The variable of the task. At least one of the dynamicArguments or output needs to be provided.
    executionType string
    The action type of the task
    catalogId string
    command string
    Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
    configFile string
    Catalog Id having config file.
    content RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsContent
    Content Source details.
    credentials RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsCredential[]
    Credentials required for executing the task.
    endpoint string
    Endpoint to be invoked.
    isExecutableContent boolean
    Is the Content an executable file?
    isLocked boolean
    Is the script locked to prevent changes directly in Object Storage?
    isReadOutputVariableEnabled boolean
    Is read output variable enabled
    targetCompartmentId string
    OCID of the compartment to which the resource belongs to.
    variables RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariables
    The variable of the task. At least one of the dynamicArguments or output needs to be provided.
    execution_type str
    The action type of the task
    catalog_id str
    command str
    Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
    config_file str
    Catalog Id having config file.
    content RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsContent
    Content Source details.
    credentials Sequence[RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsCredential]
    Credentials required for executing the task.
    endpoint str
    Endpoint to be invoked.
    is_executable_content bool
    Is the Content an executable file?
    is_locked bool
    Is the script locked to prevent changes directly in Object Storage?
    is_read_output_variable_enabled bool
    Is read output variable enabled
    target_compartment_id str
    OCID of the compartment to which the resource belongs to.
    variables RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariables
    The variable of the task. At least one of the dynamicArguments or output needs to be provided.
    executionType String
    The action type of the task
    catalogId String
    command String
    Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
    configFile String
    Catalog Id having config file.
    content Property Map
    Content Source details.
    credentials List<Property Map>
    Credentials required for executing the task.
    endpoint String
    Endpoint to be invoked.
    isExecutableContent Boolean
    Is the Content an executable file?
    isLocked Boolean
    Is the script locked to prevent changes directly in Object Storage?
    isReadOutputVariableEnabled Boolean
    Is read output variable enabled
    targetCompartmentId String
    OCID of the compartment to which the resource belongs to.
    variables Property Map
    The variable of the task. At least one of the dynamicArguments or output needs to be provided.

    RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsContent, RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsContentArgs

    SourceType string
    Content Source type details.
    Bucket string
    Bucket Name.
    CatalogId string
    Checksum string
    md5 checksum of the artifact.
    Namespace string
    Namespace.
    Object string
    Object Name.
    SourceType string
    Content Source type details.
    Bucket string
    Bucket Name.
    CatalogId string
    Checksum string
    md5 checksum of the artifact.
    Namespace string
    Namespace.
    Object string
    Object Name.
    sourceType String
    Content Source type details.
    bucket String
    Bucket Name.
    catalogId String
    checksum String
    md5 checksum of the artifact.
    namespace String
    Namespace.
    object String
    Object Name.
    sourceType string
    Content Source type details.
    bucket string
    Bucket Name.
    catalogId string
    checksum string
    md5 checksum of the artifact.
    namespace string
    Namespace.
    object string
    Object Name.
    source_type str
    Content Source type details.
    bucket str
    Bucket Name.
    catalog_id str
    checksum str
    md5 checksum of the artifact.
    namespace str
    Namespace.
    object str
    Object Name.
    sourceType String
    Content Source type details.
    bucket String
    Bucket Name.
    catalogId String
    checksum String
    md5 checksum of the artifact.
    namespace String
    Namespace.
    object String
    Object Name.

    RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsCredential, RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArgs

    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    Id string
    The OCID of the resource.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    Id string
    The OCID of the resource.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    id String
    The OCID of the resource.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    id string
    The OCID of the resource.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    id str
    The OCID of the resource.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    id String
    The OCID of the resource.

    RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariables, RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesArgs

    inputVariables List<Property Map>
    The input variables for the task.
    outputVariables List<String>
    The list of output variables.

    RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariable, RunbookRunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArgs

    Description string
    The description of the argument.
    Name string
    The name of the argument.
    Type string
    Input argument Type.
    Description string
    The description of the argument.
    Name string
    The name of the argument.
    Type string
    Input argument Type.
    description String
    The description of the argument.
    name String
    The name of the argument.
    type String
    Input argument Type.
    description string
    The description of the argument.
    name string
    The name of the argument.
    type string
    Input argument Type.
    description str
    The description of the argument.
    name str
    The name of the argument.
    type str
    Input argument Type.
    description String
    The description of the argument.
    name String
    The name of the argument.
    type String
    Input argument Type.

    RunbookRunbookVersionTaskTaskRecordDetailsProperties, RunbookRunbookVersionTaskTaskRecordDetailsPropertiesArgs

    NumRetries int
    The number of retries allowed.
    TimeoutInSeconds int
    The timeout in seconds for the task.
    NumRetries int
    The number of retries allowed.
    TimeoutInSeconds int
    The timeout in seconds for the task.
    numRetries Integer
    The number of retries allowed.
    timeoutInSeconds Integer
    The timeout in seconds for the task.
    numRetries number
    The number of retries allowed.
    timeoutInSeconds number
    The timeout in seconds for the task.
    num_retries int
    The number of retries allowed.
    timeout_in_seconds int
    The timeout in seconds for the task.
    numRetries Number
    The number of retries allowed.
    timeoutInSeconds Number
    The timeout in seconds for the task.

    Import

    Runbooks can be imported using the id, e.g.

    $ pulumi import oci:FleetAppsManagement/runbook:Runbook test_runbook "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi