oci.FleetAppsManagement.RunbookVersion
Explore with Pulumi AI
This resource provides the Runbook Version resource in Oracle Cloud Infrastructure Fleet Apps Management service.
Add RunbookVersion in Fleet Application Management.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testRunbookVersion = new oci.fleetappsmanagement.RunbookVersion("test_runbook_version", {
executionWorkflowDetails: {
workflows: [{
groupName: testGroup.name,
steps: [{
type: runbookVersionExecutionWorkflowDetailsWorkflowStepsType,
groupName: testGroup.name,
stepName: runbookVersionExecutionWorkflowDetailsWorkflowStepsStepName,
steps: runbookVersionExecutionWorkflowDetailsWorkflowStepsSteps,
}],
type: runbookVersionExecutionWorkflowDetailsWorkflowType,
}],
},
groups: [{
name: runbookVersionGroupsName,
type: runbookVersionGroupsType,
properties: {
actionOnFailure: runbookVersionGroupsPropertiesActionOnFailure,
notificationPreferences: {
shouldNotifyOnPause: runbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnPause,
shouldNotifyOnTaskFailure: runbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskFailure,
shouldNotifyOnTaskSuccess: runbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess,
},
pauseDetails: {
kind: runbookVersionGroupsPropertiesPauseDetailsKind,
durationInMinutes: runbookVersionGroupsPropertiesPauseDetailsDurationInMinutes,
},
preCondition: runbookVersionGroupsPropertiesPreCondition,
runOn: {
kind: runbookVersionGroupsPropertiesRunOnKind,
condition: runbookVersionGroupsPropertiesRunOnCondition,
host: runbookVersionGroupsPropertiesRunOnHost,
previousTaskInstanceDetails: [{
outputVariableDetails: {
outputVariableName: runbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName,
stepName: runbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName,
},
resourceId: testResource.id,
resourceType: runbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsResourceType,
}],
},
},
}],
runbookId: testRunbook.id,
tasks: [{
stepName: runbookVersionTasksStepName,
taskRecordDetails: {
scope: runbookVersionTasksTaskRecordDetailsScope,
description: runbookVersionTasksTaskRecordDetailsDescription,
executionDetails: {
executionType: runbookVersionTasksTaskRecordDetailsExecutionDetailsExecutionType,
catalogId: testCatalog.id,
command: runbookVersionTasksTaskRecordDetailsExecutionDetailsCommand,
configFile: runbookVersionTasksTaskRecordDetailsExecutionDetailsConfigFile,
content: {
sourceType: runbookVersionTasksTaskRecordDetailsExecutionDetailsContentSourceType,
bucket: runbookVersionTasksTaskRecordDetailsExecutionDetailsContentBucket,
catalogId: testCatalog.id,
checksum: runbookVersionTasksTaskRecordDetailsExecutionDetailsContentChecksum,
namespace: runbookVersionTasksTaskRecordDetailsExecutionDetailsContentNamespace,
object: runbookVersionTasksTaskRecordDetailsExecutionDetailsContentObject,
},
credentials: [{
displayName: runbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsDisplayName,
id: runbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsId,
}],
endpoint: runbookVersionTasksTaskRecordDetailsExecutionDetailsEndpoint,
isExecutableContent: runbookVersionTasksTaskRecordDetailsExecutionDetailsIsExecutableContent,
isLocked: runbookVersionTasksTaskRecordDetailsExecutionDetailsIsLocked,
isReadOutputVariableEnabled: runbookVersionTasksTaskRecordDetailsExecutionDetailsIsReadOutputVariableEnabled,
targetCompartmentId: testCompartment.id,
variables: {
inputVariables: [{
description: runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesDescription,
name: runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesName,
type: runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesType,
}],
outputVariables: runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesOutputVariables,
},
},
isApplySubjectTask: runbookVersionTasksTaskRecordDetailsIsApplySubjectTask,
isCopyToLibraryEnabled: runbookVersionTasksTaskRecordDetailsIsCopyToLibraryEnabled,
isDiscoveryOutputTask: runbookVersionTasksTaskRecordDetailsIsDiscoveryOutputTask,
name: runbookVersionTasksTaskRecordDetailsName,
osType: runbookVersionTasksTaskRecordDetailsOsType,
platform: runbookVersionTasksTaskRecordDetailsPlatform,
properties: {
numRetries: runbookVersionTasksTaskRecordDetailsPropertiesNumRetries,
timeoutInSeconds: runbookVersionTasksTaskRecordDetailsPropertiesTimeoutInSeconds,
},
taskRecordId: testTaskRecord.id,
},
outputVariableMappings: [{
name: runbookVersionTasksOutputVariableMappingsName,
outputVariableDetails: {
outputVariableName: runbookVersionTasksOutputVariableMappingsOutputVariableDetailsOutputVariableName,
stepName: runbookVersionTasksOutputVariableMappingsOutputVariableDetailsStepName,
},
}],
stepProperties: {
actionOnFailure: runbookVersionTasksStepPropertiesActionOnFailure,
notificationPreferences: {
shouldNotifyOnPause: runbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnPause,
shouldNotifyOnTaskFailure: runbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskFailure,
shouldNotifyOnTaskSuccess: runbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess,
},
pauseDetails: {
kind: runbookVersionTasksStepPropertiesPauseDetailsKind,
durationInMinutes: runbookVersionTasksStepPropertiesPauseDetailsDurationInMinutes,
},
preCondition: runbookVersionTasksStepPropertiesPreCondition,
runOn: {
kind: runbookVersionTasksStepPropertiesRunOnKind,
condition: runbookVersionTasksStepPropertiesRunOnCondition,
host: runbookVersionTasksStepPropertiesRunOnHost,
previousTaskInstanceDetails: [{
outputVariableDetails: {
outputVariableName: runbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName,
stepName: runbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName,
},
resourceId: testResource.id,
resourceType: runbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsResourceType,
}],
},
},
}],
definedTags: {
"foo-namespace.bar-key": "value",
},
freeformTags: {
"bar-key": "value",
},
rollbackWorkflowDetails: {
scope: runbookVersionRollbackWorkflowDetailsScope,
workflows: [{
groupName: testGroup.name,
steps: [{
type: runbookVersionRollbackWorkflowDetailsWorkflowStepsType,
groupName: testGroup.name,
stepName: runbookVersionRollbackWorkflowDetailsWorkflowStepsStepName,
steps: runbookVersionRollbackWorkflowDetailsWorkflowStepsSteps,
}],
type: runbookVersionRollbackWorkflowDetailsWorkflowType,
}],
},
});
import pulumi
import pulumi_oci as oci
test_runbook_version = oci.fleet_apps_management.RunbookVersion("test_runbook_version",
execution_workflow_details={
"workflows": [{
"group_name": test_group["name"],
"steps": [{
"type": runbook_version_execution_workflow_details_workflow_steps_type,
"group_name": test_group["name"],
"step_name": runbook_version_execution_workflow_details_workflow_steps_step_name,
"steps": runbook_version_execution_workflow_details_workflow_steps_steps,
}],
"type": runbook_version_execution_workflow_details_workflow_type,
}],
},
groups=[{
"name": runbook_version_groups_name,
"type": runbook_version_groups_type,
"properties": {
"action_on_failure": runbook_version_groups_properties_action_on_failure,
"notification_preferences": {
"should_notify_on_pause": runbook_version_groups_properties_notification_preferences_should_notify_on_pause,
"should_notify_on_task_failure": runbook_version_groups_properties_notification_preferences_should_notify_on_task_failure,
"should_notify_on_task_success": runbook_version_groups_properties_notification_preferences_should_notify_on_task_success,
},
"pause_details": {
"kind": runbook_version_groups_properties_pause_details_kind,
"duration_in_minutes": runbook_version_groups_properties_pause_details_duration_in_minutes,
},
"pre_condition": runbook_version_groups_properties_pre_condition,
"run_on": {
"kind": runbook_version_groups_properties_run_on_kind,
"condition": runbook_version_groups_properties_run_on_condition,
"host": runbook_version_groups_properties_run_on_host,
"previous_task_instance_details": [{
"output_variable_details": {
"output_variable_name": runbook_version_groups_properties_run_on_previous_task_instance_details_output_variable_details_output_variable_name,
"step_name": runbook_version_groups_properties_run_on_previous_task_instance_details_output_variable_details_step_name,
},
"resource_id": test_resource["id"],
"resource_type": runbook_version_groups_properties_run_on_previous_task_instance_details_resource_type,
}],
},
},
}],
runbook_id=test_runbook["id"],
tasks=[{
"step_name": runbook_version_tasks_step_name,
"task_record_details": {
"scope": runbook_version_tasks_task_record_details_scope,
"description": runbook_version_tasks_task_record_details_description,
"execution_details": {
"execution_type": runbook_version_tasks_task_record_details_execution_details_execution_type,
"catalog_id": test_catalog["id"],
"command": runbook_version_tasks_task_record_details_execution_details_command,
"config_file": runbook_version_tasks_task_record_details_execution_details_config_file,
"content": {
"source_type": runbook_version_tasks_task_record_details_execution_details_content_source_type,
"bucket": runbook_version_tasks_task_record_details_execution_details_content_bucket,
"catalog_id": test_catalog["id"],
"checksum": runbook_version_tasks_task_record_details_execution_details_content_checksum,
"namespace": runbook_version_tasks_task_record_details_execution_details_content_namespace,
"object": runbook_version_tasks_task_record_details_execution_details_content_object,
},
"credentials": [{
"display_name": runbook_version_tasks_task_record_details_execution_details_credentials_display_name,
"id": runbook_version_tasks_task_record_details_execution_details_credentials_id,
}],
"endpoint": runbook_version_tasks_task_record_details_execution_details_endpoint,
"is_executable_content": runbook_version_tasks_task_record_details_execution_details_is_executable_content,
"is_locked": runbook_version_tasks_task_record_details_execution_details_is_locked,
"is_read_output_variable_enabled": runbook_version_tasks_task_record_details_execution_details_is_read_output_variable_enabled,
"target_compartment_id": test_compartment["id"],
"variables": {
"input_variables": [{
"description": runbook_version_tasks_task_record_details_execution_details_variables_input_variables_description,
"name": runbook_version_tasks_task_record_details_execution_details_variables_input_variables_name,
"type": runbook_version_tasks_task_record_details_execution_details_variables_input_variables_type,
}],
"output_variables": runbook_version_tasks_task_record_details_execution_details_variables_output_variables,
},
},
"is_apply_subject_task": runbook_version_tasks_task_record_details_is_apply_subject_task,
"is_copy_to_library_enabled": runbook_version_tasks_task_record_details_is_copy_to_library_enabled,
"is_discovery_output_task": runbook_version_tasks_task_record_details_is_discovery_output_task,
"name": runbook_version_tasks_task_record_details_name,
"os_type": runbook_version_tasks_task_record_details_os_type,
"platform": runbook_version_tasks_task_record_details_platform,
"properties": {
"num_retries": runbook_version_tasks_task_record_details_properties_num_retries,
"timeout_in_seconds": runbook_version_tasks_task_record_details_properties_timeout_in_seconds,
},
"task_record_id": test_task_record["id"],
},
"output_variable_mappings": [{
"name": runbook_version_tasks_output_variable_mappings_name,
"output_variable_details": {
"output_variable_name": runbook_version_tasks_output_variable_mappings_output_variable_details_output_variable_name,
"step_name": runbook_version_tasks_output_variable_mappings_output_variable_details_step_name,
},
}],
"step_properties": {
"action_on_failure": runbook_version_tasks_step_properties_action_on_failure,
"notification_preferences": {
"should_notify_on_pause": runbook_version_tasks_step_properties_notification_preferences_should_notify_on_pause,
"should_notify_on_task_failure": runbook_version_tasks_step_properties_notification_preferences_should_notify_on_task_failure,
"should_notify_on_task_success": runbook_version_tasks_step_properties_notification_preferences_should_notify_on_task_success,
},
"pause_details": {
"kind": runbook_version_tasks_step_properties_pause_details_kind,
"duration_in_minutes": runbook_version_tasks_step_properties_pause_details_duration_in_minutes,
},
"pre_condition": runbook_version_tasks_step_properties_pre_condition,
"run_on": {
"kind": runbook_version_tasks_step_properties_run_on_kind,
"condition": runbook_version_tasks_step_properties_run_on_condition,
"host": runbook_version_tasks_step_properties_run_on_host,
"previous_task_instance_details": [{
"output_variable_details": {
"output_variable_name": runbook_version_tasks_step_properties_run_on_previous_task_instance_details_output_variable_details_output_variable_name,
"step_name": runbook_version_tasks_step_properties_run_on_previous_task_instance_details_output_variable_details_step_name,
},
"resource_id": test_resource["id"],
"resource_type": runbook_version_tasks_step_properties_run_on_previous_task_instance_details_resource_type,
}],
},
},
}],
defined_tags={
"foo-namespace.bar-key": "value",
},
freeform_tags={
"bar-key": "value",
},
rollback_workflow_details={
"scope": runbook_version_rollback_workflow_details_scope,
"workflows": [{
"group_name": test_group["name"],
"steps": [{
"type": runbook_version_rollback_workflow_details_workflow_steps_type,
"group_name": test_group["name"],
"step_name": runbook_version_rollback_workflow_details_workflow_steps_step_name,
"steps": runbook_version_rollback_workflow_details_workflow_steps_steps,
}],
"type": runbook_version_rollback_workflow_details_workflow_type,
}],
})
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.NewRunbookVersion(ctx, "test_runbook_version", &fleetappsmanagement.RunbookVersionArgs{
ExecutionWorkflowDetails: &fleetappsmanagement.RunbookVersionExecutionWorkflowDetailsArgs{
Workflows: fleetappsmanagement.RunbookVersionExecutionWorkflowDetailsWorkflowArray{
&fleetappsmanagement.RunbookVersionExecutionWorkflowDetailsWorkflowArgs{
GroupName: pulumi.Any(testGroup.Name),
Steps: fleetappsmanagement.RunbookVersionExecutionWorkflowDetailsWorkflowStepArray{
&fleetappsmanagement.RunbookVersionExecutionWorkflowDetailsWorkflowStepArgs{
Type: pulumi.Any(runbookVersionExecutionWorkflowDetailsWorkflowStepsType),
GroupName: pulumi.Any(testGroup.Name),
StepName: pulumi.Any(runbookVersionExecutionWorkflowDetailsWorkflowStepsStepName),
Steps: pulumi.Any(runbookVersionExecutionWorkflowDetailsWorkflowStepsSteps),
},
},
Type: pulumi.Any(runbookVersionExecutionWorkflowDetailsWorkflowType),
},
},
},
Groups: fleetappsmanagement.RunbookVersionGroupArray{
&fleetappsmanagement.RunbookVersionGroupArgs{
Name: pulumi.Any(runbookVersionGroupsName),
Type: pulumi.Any(runbookVersionGroupsType),
Properties: &fleetappsmanagement.RunbookVersionGroupPropertiesArgs{
ActionOnFailure: pulumi.Any(runbookVersionGroupsPropertiesActionOnFailure),
NotificationPreferences: &fleetappsmanagement.RunbookVersionGroupPropertiesNotificationPreferencesArgs{
ShouldNotifyOnPause: pulumi.Any(runbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnPause),
ShouldNotifyOnTaskFailure: pulumi.Any(runbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskFailure),
ShouldNotifyOnTaskSuccess: pulumi.Any(runbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess),
},
PauseDetails: &fleetappsmanagement.RunbookVersionGroupPropertiesPauseDetailsArgs{
Kind: pulumi.Any(runbookVersionGroupsPropertiesPauseDetailsKind),
DurationInMinutes: pulumi.Any(runbookVersionGroupsPropertiesPauseDetailsDurationInMinutes),
},
PreCondition: pulumi.Any(runbookVersionGroupsPropertiesPreCondition),
RunOn: &fleetappsmanagement.RunbookVersionGroupPropertiesRunOnArgs{
Kind: pulumi.Any(runbookVersionGroupsPropertiesRunOnKind),
Condition: pulumi.Any(runbookVersionGroupsPropertiesRunOnCondition),
Host: pulumi.Any(runbookVersionGroupsPropertiesRunOnHost),
PreviousTaskInstanceDetails: fleetappsmanagement.RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArray{
&fleetappsmanagement.RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArgs{
OutputVariableDetails: &fleetappsmanagement.RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs{
OutputVariableName: pulumi.Any(runbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName),
StepName: pulumi.Any(runbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName),
},
ResourceId: pulumi.Any(testResource.Id),
ResourceType: pulumi.Any(runbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsResourceType),
},
},
},
},
},
},
RunbookId: pulumi.Any(testRunbook.Id),
Tasks: fleetappsmanagement.RunbookVersionTaskArray{
&fleetappsmanagement.RunbookVersionTaskArgs{
StepName: pulumi.Any(runbookVersionTasksStepName),
TaskRecordDetails: &fleetappsmanagement.RunbookVersionTaskTaskRecordDetailsArgs{
Scope: pulumi.Any(runbookVersionTasksTaskRecordDetailsScope),
Description: pulumi.Any(runbookVersionTasksTaskRecordDetailsDescription),
ExecutionDetails: &fleetappsmanagement.RunbookVersionTaskTaskRecordDetailsExecutionDetailsArgs{
ExecutionType: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsExecutionType),
CatalogId: pulumi.Any(testCatalog.Id),
Command: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsCommand),
ConfigFile: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsConfigFile),
Content: &fleetappsmanagement.RunbookVersionTaskTaskRecordDetailsExecutionDetailsContentArgs{
SourceType: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsContentSourceType),
Bucket: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsContentBucket),
CatalogId: pulumi.Any(testCatalog.Id),
Checksum: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsContentChecksum),
Namespace: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsContentNamespace),
Object: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsContentObject),
},
Credentials: fleetappsmanagement.RunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArray{
&fleetappsmanagement.RunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArgs{
DisplayName: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsDisplayName),
Id: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsId),
},
},
Endpoint: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsEndpoint),
IsExecutableContent: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsIsExecutableContent),
IsLocked: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsIsLocked),
IsReadOutputVariableEnabled: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsIsReadOutputVariableEnabled),
TargetCompartmentId: pulumi.Any(testCompartment.Id),
Variables: &fleetappsmanagement.RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesArgs{
InputVariables: fleetappsmanagement.RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArray{
&fleetappsmanagement.RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArgs{
Description: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesDescription),
Name: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesName),
Type: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesType),
},
},
OutputVariables: pulumi.Any(runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesOutputVariables),
},
},
IsApplySubjectTask: pulumi.Any(runbookVersionTasksTaskRecordDetailsIsApplySubjectTask),
IsCopyToLibraryEnabled: pulumi.Any(runbookVersionTasksTaskRecordDetailsIsCopyToLibraryEnabled),
IsDiscoveryOutputTask: pulumi.Any(runbookVersionTasksTaskRecordDetailsIsDiscoveryOutputTask),
Name: pulumi.Any(runbookVersionTasksTaskRecordDetailsName),
OsType: pulumi.Any(runbookVersionTasksTaskRecordDetailsOsType),
Platform: pulumi.Any(runbookVersionTasksTaskRecordDetailsPlatform),
Properties: &fleetappsmanagement.RunbookVersionTaskTaskRecordDetailsPropertiesArgs{
NumRetries: pulumi.Any(runbookVersionTasksTaskRecordDetailsPropertiesNumRetries),
TimeoutInSeconds: pulumi.Any(runbookVersionTasksTaskRecordDetailsPropertiesTimeoutInSeconds),
},
TaskRecordId: pulumi.Any(testTaskRecord.Id),
},
OutputVariableMappings: fleetappsmanagement.RunbookVersionTaskOutputVariableMappingArray{
&fleetappsmanagement.RunbookVersionTaskOutputVariableMappingArgs{
Name: pulumi.Any(runbookVersionTasksOutputVariableMappingsName),
OutputVariableDetails: &fleetappsmanagement.RunbookVersionTaskOutputVariableMappingOutputVariableDetailsArgs{
OutputVariableName: pulumi.Any(runbookVersionTasksOutputVariableMappingsOutputVariableDetailsOutputVariableName),
StepName: pulumi.Any(runbookVersionTasksOutputVariableMappingsOutputVariableDetailsStepName),
},
},
},
StepProperties: &fleetappsmanagement.RunbookVersionTaskStepPropertiesArgs{
ActionOnFailure: pulumi.Any(runbookVersionTasksStepPropertiesActionOnFailure),
NotificationPreferences: &fleetappsmanagement.RunbookVersionTaskStepPropertiesNotificationPreferencesArgs{
ShouldNotifyOnPause: pulumi.Any(runbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnPause),
ShouldNotifyOnTaskFailure: pulumi.Any(runbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskFailure),
ShouldNotifyOnTaskSuccess: pulumi.Any(runbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess),
},
PauseDetails: &fleetappsmanagement.RunbookVersionTaskStepPropertiesPauseDetailsArgs{
Kind: pulumi.Any(runbookVersionTasksStepPropertiesPauseDetailsKind),
DurationInMinutes: pulumi.Any(runbookVersionTasksStepPropertiesPauseDetailsDurationInMinutes),
},
PreCondition: pulumi.Any(runbookVersionTasksStepPropertiesPreCondition),
RunOn: &fleetappsmanagement.RunbookVersionTaskStepPropertiesRunOnArgs{
Kind: pulumi.Any(runbookVersionTasksStepPropertiesRunOnKind),
Condition: pulumi.Any(runbookVersionTasksStepPropertiesRunOnCondition),
Host: pulumi.Any(runbookVersionTasksStepPropertiesRunOnHost),
PreviousTaskInstanceDetails: fleetappsmanagement.RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArray{
&fleetappsmanagement.RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArgs{
OutputVariableDetails: &fleetappsmanagement.RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs{
OutputVariableName: pulumi.Any(runbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName),
StepName: pulumi.Any(runbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName),
},
ResourceId: pulumi.Any(testResource.Id),
ResourceType: pulumi.Any(runbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsResourceType),
},
},
},
},
},
},
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
RollbackWorkflowDetails: &fleetappsmanagement.RunbookVersionRollbackWorkflowDetailsArgs{
Scope: pulumi.Any(runbookVersionRollbackWorkflowDetailsScope),
Workflows: fleetappsmanagement.RunbookVersionRollbackWorkflowDetailsWorkflowArray{
&fleetappsmanagement.RunbookVersionRollbackWorkflowDetailsWorkflowArgs{
GroupName: pulumi.Any(testGroup.Name),
Steps: fleetappsmanagement.RunbookVersionRollbackWorkflowDetailsWorkflowStepArray{
&fleetappsmanagement.RunbookVersionRollbackWorkflowDetailsWorkflowStepArgs{
Type: pulumi.Any(runbookVersionRollbackWorkflowDetailsWorkflowStepsType),
GroupName: pulumi.Any(testGroup.Name),
StepName: pulumi.Any(runbookVersionRollbackWorkflowDetailsWorkflowStepsStepName),
Steps: pulumi.Any(runbookVersionRollbackWorkflowDetailsWorkflowStepsSteps),
},
},
Type: pulumi.Any(runbookVersionRollbackWorkflowDetailsWorkflowType),
},
},
},
})
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 testRunbookVersion = new Oci.FleetAppsManagement.RunbookVersion("test_runbook_version", new()
{
ExecutionWorkflowDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionExecutionWorkflowDetailsArgs
{
Workflows = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionExecutionWorkflowDetailsWorkflowArgs
{
GroupName = testGroup.Name,
Steps = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionExecutionWorkflowDetailsWorkflowStepArgs
{
Type = runbookVersionExecutionWorkflowDetailsWorkflowStepsType,
GroupName = testGroup.Name,
StepName = runbookVersionExecutionWorkflowDetailsWorkflowStepsStepName,
Steps = runbookVersionExecutionWorkflowDetailsWorkflowStepsSteps,
},
},
Type = runbookVersionExecutionWorkflowDetailsWorkflowType,
},
},
},
Groups = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionGroupArgs
{
Name = runbookVersionGroupsName,
Type = runbookVersionGroupsType,
Properties = new Oci.FleetAppsManagement.Inputs.RunbookVersionGroupPropertiesArgs
{
ActionOnFailure = runbookVersionGroupsPropertiesActionOnFailure,
NotificationPreferences = new Oci.FleetAppsManagement.Inputs.RunbookVersionGroupPropertiesNotificationPreferencesArgs
{
ShouldNotifyOnPause = runbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnPause,
ShouldNotifyOnTaskFailure = runbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskFailure,
ShouldNotifyOnTaskSuccess = runbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess,
},
PauseDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionGroupPropertiesPauseDetailsArgs
{
Kind = runbookVersionGroupsPropertiesPauseDetailsKind,
DurationInMinutes = runbookVersionGroupsPropertiesPauseDetailsDurationInMinutes,
},
PreCondition = runbookVersionGroupsPropertiesPreCondition,
RunOn = new Oci.FleetAppsManagement.Inputs.RunbookVersionGroupPropertiesRunOnArgs
{
Kind = runbookVersionGroupsPropertiesRunOnKind,
Condition = runbookVersionGroupsPropertiesRunOnCondition,
Host = runbookVersionGroupsPropertiesRunOnHost,
PreviousTaskInstanceDetails = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArgs
{
OutputVariableDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs
{
OutputVariableName = runbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName,
StepName = runbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName,
},
ResourceId = testResource.Id,
ResourceType = runbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsResourceType,
},
},
},
},
},
},
RunbookId = testRunbook.Id,
Tasks = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskArgs
{
StepName = runbookVersionTasksStepName,
TaskRecordDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskTaskRecordDetailsArgs
{
Scope = runbookVersionTasksTaskRecordDetailsScope,
Description = runbookVersionTasksTaskRecordDetailsDescription,
ExecutionDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskTaskRecordDetailsExecutionDetailsArgs
{
ExecutionType = runbookVersionTasksTaskRecordDetailsExecutionDetailsExecutionType,
CatalogId = testCatalog.Id,
Command = runbookVersionTasksTaskRecordDetailsExecutionDetailsCommand,
ConfigFile = runbookVersionTasksTaskRecordDetailsExecutionDetailsConfigFile,
Content = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskTaskRecordDetailsExecutionDetailsContentArgs
{
SourceType = runbookVersionTasksTaskRecordDetailsExecutionDetailsContentSourceType,
Bucket = runbookVersionTasksTaskRecordDetailsExecutionDetailsContentBucket,
CatalogId = testCatalog.Id,
Checksum = runbookVersionTasksTaskRecordDetailsExecutionDetailsContentChecksum,
Namespace = runbookVersionTasksTaskRecordDetailsExecutionDetailsContentNamespace,
Object = runbookVersionTasksTaskRecordDetailsExecutionDetailsContentObject,
},
Credentials = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArgs
{
DisplayName = runbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsDisplayName,
Id = runbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsId,
},
},
Endpoint = runbookVersionTasksTaskRecordDetailsExecutionDetailsEndpoint,
IsExecutableContent = runbookVersionTasksTaskRecordDetailsExecutionDetailsIsExecutableContent,
IsLocked = runbookVersionTasksTaskRecordDetailsExecutionDetailsIsLocked,
IsReadOutputVariableEnabled = runbookVersionTasksTaskRecordDetailsExecutionDetailsIsReadOutputVariableEnabled,
TargetCompartmentId = testCompartment.Id,
Variables = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesArgs
{
InputVariables = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArgs
{
Description = runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesDescription,
Name = runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesName,
Type = runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesType,
},
},
OutputVariables = runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesOutputVariables,
},
},
IsApplySubjectTask = runbookVersionTasksTaskRecordDetailsIsApplySubjectTask,
IsCopyToLibraryEnabled = runbookVersionTasksTaskRecordDetailsIsCopyToLibraryEnabled,
IsDiscoveryOutputTask = runbookVersionTasksTaskRecordDetailsIsDiscoveryOutputTask,
Name = runbookVersionTasksTaskRecordDetailsName,
OsType = runbookVersionTasksTaskRecordDetailsOsType,
Platform = runbookVersionTasksTaskRecordDetailsPlatform,
Properties = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskTaskRecordDetailsPropertiesArgs
{
NumRetries = runbookVersionTasksTaskRecordDetailsPropertiesNumRetries,
TimeoutInSeconds = runbookVersionTasksTaskRecordDetailsPropertiesTimeoutInSeconds,
},
TaskRecordId = testTaskRecord.Id,
},
OutputVariableMappings = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskOutputVariableMappingArgs
{
Name = runbookVersionTasksOutputVariableMappingsName,
OutputVariableDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskOutputVariableMappingOutputVariableDetailsArgs
{
OutputVariableName = runbookVersionTasksOutputVariableMappingsOutputVariableDetailsOutputVariableName,
StepName = runbookVersionTasksOutputVariableMappingsOutputVariableDetailsStepName,
},
},
},
StepProperties = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskStepPropertiesArgs
{
ActionOnFailure = runbookVersionTasksStepPropertiesActionOnFailure,
NotificationPreferences = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskStepPropertiesNotificationPreferencesArgs
{
ShouldNotifyOnPause = runbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnPause,
ShouldNotifyOnTaskFailure = runbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskFailure,
ShouldNotifyOnTaskSuccess = runbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess,
},
PauseDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskStepPropertiesPauseDetailsArgs
{
Kind = runbookVersionTasksStepPropertiesPauseDetailsKind,
DurationInMinutes = runbookVersionTasksStepPropertiesPauseDetailsDurationInMinutes,
},
PreCondition = runbookVersionTasksStepPropertiesPreCondition,
RunOn = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskStepPropertiesRunOnArgs
{
Kind = runbookVersionTasksStepPropertiesRunOnKind,
Condition = runbookVersionTasksStepPropertiesRunOnCondition,
Host = runbookVersionTasksStepPropertiesRunOnHost,
PreviousTaskInstanceDetails = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArgs
{
OutputVariableDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs
{
OutputVariableName = runbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName,
StepName = runbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName,
},
ResourceId = testResource.Id,
ResourceType = runbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsResourceType,
},
},
},
},
},
},
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
FreeformTags =
{
{ "bar-key", "value" },
},
RollbackWorkflowDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionRollbackWorkflowDetailsArgs
{
Scope = runbookVersionRollbackWorkflowDetailsScope,
Workflows = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionRollbackWorkflowDetailsWorkflowArgs
{
GroupName = testGroup.Name,
Steps = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionRollbackWorkflowDetailsWorkflowStepArgs
{
Type = runbookVersionRollbackWorkflowDetailsWorkflowStepsType,
GroupName = testGroup.Name,
StepName = runbookVersionRollbackWorkflowDetailsWorkflowStepsStepName,
Steps = runbookVersionRollbackWorkflowDetailsWorkflowStepsSteps,
},
},
Type = runbookVersionRollbackWorkflowDetailsWorkflowType,
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FleetAppsManagement.RunbookVersion;
import com.pulumi.oci.FleetAppsManagement.RunbookVersionArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionExecutionWorkflowDetailsArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionGroupArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionGroupPropertiesArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionGroupPropertiesNotificationPreferencesArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionGroupPropertiesPauseDetailsArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionGroupPropertiesRunOnArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionTaskArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionTaskTaskRecordDetailsArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionTaskTaskRecordDetailsExecutionDetailsArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionTaskTaskRecordDetailsExecutionDetailsContentArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionTaskTaskRecordDetailsPropertiesArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionTaskStepPropertiesArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionTaskStepPropertiesNotificationPreferencesArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionTaskStepPropertiesPauseDetailsArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionTaskStepPropertiesRunOnArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.RunbookVersionRollbackWorkflowDetailsArgs;
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 testRunbookVersion = new RunbookVersion("testRunbookVersion", RunbookVersionArgs.builder()
.executionWorkflowDetails(RunbookVersionExecutionWorkflowDetailsArgs.builder()
.workflows(RunbookVersionExecutionWorkflowDetailsWorkflowArgs.builder()
.groupName(testGroup.name())
.steps(RunbookVersionExecutionWorkflowDetailsWorkflowStepArgs.builder()
.type(runbookVersionExecutionWorkflowDetailsWorkflowStepsType)
.groupName(testGroup.name())
.stepName(runbookVersionExecutionWorkflowDetailsWorkflowStepsStepName)
.steps(runbookVersionExecutionWorkflowDetailsWorkflowStepsSteps)
.build())
.type(runbookVersionExecutionWorkflowDetailsWorkflowType)
.build())
.build())
.groups(RunbookVersionGroupArgs.builder()
.name(runbookVersionGroupsName)
.type(runbookVersionGroupsType)
.properties(RunbookVersionGroupPropertiesArgs.builder()
.actionOnFailure(runbookVersionGroupsPropertiesActionOnFailure)
.notificationPreferences(RunbookVersionGroupPropertiesNotificationPreferencesArgs.builder()
.shouldNotifyOnPause(runbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnPause)
.shouldNotifyOnTaskFailure(runbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskFailure)
.shouldNotifyOnTaskSuccess(runbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess)
.build())
.pauseDetails(RunbookVersionGroupPropertiesPauseDetailsArgs.builder()
.kind(runbookVersionGroupsPropertiesPauseDetailsKind)
.durationInMinutes(runbookVersionGroupsPropertiesPauseDetailsDurationInMinutes)
.build())
.preCondition(runbookVersionGroupsPropertiesPreCondition)
.runOn(RunbookVersionGroupPropertiesRunOnArgs.builder()
.kind(runbookVersionGroupsPropertiesRunOnKind)
.condition(runbookVersionGroupsPropertiesRunOnCondition)
.host(runbookVersionGroupsPropertiesRunOnHost)
.previousTaskInstanceDetails(RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArgs.builder()
.outputVariableDetails(RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs.builder()
.outputVariableName(runbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName)
.stepName(runbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName)
.build())
.resourceId(testResource.id())
.resourceType(runbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsResourceType)
.build())
.build())
.build())
.build())
.runbookId(testRunbook.id())
.tasks(RunbookVersionTaskArgs.builder()
.stepName(runbookVersionTasksStepName)
.taskRecordDetails(RunbookVersionTaskTaskRecordDetailsArgs.builder()
.scope(runbookVersionTasksTaskRecordDetailsScope)
.description(runbookVersionTasksTaskRecordDetailsDescription)
.executionDetails(RunbookVersionTaskTaskRecordDetailsExecutionDetailsArgs.builder()
.executionType(runbookVersionTasksTaskRecordDetailsExecutionDetailsExecutionType)
.catalogId(testCatalog.id())
.command(runbookVersionTasksTaskRecordDetailsExecutionDetailsCommand)
.configFile(runbookVersionTasksTaskRecordDetailsExecutionDetailsConfigFile)
.content(RunbookVersionTaskTaskRecordDetailsExecutionDetailsContentArgs.builder()
.sourceType(runbookVersionTasksTaskRecordDetailsExecutionDetailsContentSourceType)
.bucket(runbookVersionTasksTaskRecordDetailsExecutionDetailsContentBucket)
.catalogId(testCatalog.id())
.checksum(runbookVersionTasksTaskRecordDetailsExecutionDetailsContentChecksum)
.namespace(runbookVersionTasksTaskRecordDetailsExecutionDetailsContentNamespace)
.object(runbookVersionTasksTaskRecordDetailsExecutionDetailsContentObject)
.build())
.credentials(RunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArgs.builder()
.displayName(runbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsDisplayName)
.id(runbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsId)
.build())
.endpoint(runbookVersionTasksTaskRecordDetailsExecutionDetailsEndpoint)
.isExecutableContent(runbookVersionTasksTaskRecordDetailsExecutionDetailsIsExecutableContent)
.isLocked(runbookVersionTasksTaskRecordDetailsExecutionDetailsIsLocked)
.isReadOutputVariableEnabled(runbookVersionTasksTaskRecordDetailsExecutionDetailsIsReadOutputVariableEnabled)
.targetCompartmentId(testCompartment.id())
.variables(RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesArgs.builder()
.inputVariables(RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArgs.builder()
.description(runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesDescription)
.name(runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesName)
.type(runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesType)
.build())
.outputVariables(runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesOutputVariables)
.build())
.build())
.isApplySubjectTask(runbookVersionTasksTaskRecordDetailsIsApplySubjectTask)
.isCopyToLibraryEnabled(runbookVersionTasksTaskRecordDetailsIsCopyToLibraryEnabled)
.isDiscoveryOutputTask(runbookVersionTasksTaskRecordDetailsIsDiscoveryOutputTask)
.name(runbookVersionTasksTaskRecordDetailsName)
.osType(runbookVersionTasksTaskRecordDetailsOsType)
.platform(runbookVersionTasksTaskRecordDetailsPlatform)
.properties(RunbookVersionTaskTaskRecordDetailsPropertiesArgs.builder()
.numRetries(runbookVersionTasksTaskRecordDetailsPropertiesNumRetries)
.timeoutInSeconds(runbookVersionTasksTaskRecordDetailsPropertiesTimeoutInSeconds)
.build())
.taskRecordId(testTaskRecord.id())
.build())
.outputVariableMappings(RunbookVersionTaskOutputVariableMappingArgs.builder()
.name(runbookVersionTasksOutputVariableMappingsName)
.outputVariableDetails(RunbookVersionTaskOutputVariableMappingOutputVariableDetailsArgs.builder()
.outputVariableName(runbookVersionTasksOutputVariableMappingsOutputVariableDetailsOutputVariableName)
.stepName(runbookVersionTasksOutputVariableMappingsOutputVariableDetailsStepName)
.build())
.build())
.stepProperties(RunbookVersionTaskStepPropertiesArgs.builder()
.actionOnFailure(runbookVersionTasksStepPropertiesActionOnFailure)
.notificationPreferences(RunbookVersionTaskStepPropertiesNotificationPreferencesArgs.builder()
.shouldNotifyOnPause(runbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnPause)
.shouldNotifyOnTaskFailure(runbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskFailure)
.shouldNotifyOnTaskSuccess(runbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess)
.build())
.pauseDetails(RunbookVersionTaskStepPropertiesPauseDetailsArgs.builder()
.kind(runbookVersionTasksStepPropertiesPauseDetailsKind)
.durationInMinutes(runbookVersionTasksStepPropertiesPauseDetailsDurationInMinutes)
.build())
.preCondition(runbookVersionTasksStepPropertiesPreCondition)
.runOn(RunbookVersionTaskStepPropertiesRunOnArgs.builder()
.kind(runbookVersionTasksStepPropertiesRunOnKind)
.condition(runbookVersionTasksStepPropertiesRunOnCondition)
.host(runbookVersionTasksStepPropertiesRunOnHost)
.previousTaskInstanceDetails(RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArgs.builder()
.outputVariableDetails(RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs.builder()
.outputVariableName(runbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName)
.stepName(runbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName)
.build())
.resourceId(testResource.id())
.resourceType(runbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsResourceType)
.build())
.build())
.build())
.build())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.freeformTags(Map.of("bar-key", "value"))
.rollbackWorkflowDetails(RunbookVersionRollbackWorkflowDetailsArgs.builder()
.scope(runbookVersionRollbackWorkflowDetailsScope)
.workflows(RunbookVersionRollbackWorkflowDetailsWorkflowArgs.builder()
.groupName(testGroup.name())
.steps(RunbookVersionRollbackWorkflowDetailsWorkflowStepArgs.builder()
.type(runbookVersionRollbackWorkflowDetailsWorkflowStepsType)
.groupName(testGroup.name())
.stepName(runbookVersionRollbackWorkflowDetailsWorkflowStepsStepName)
.steps(runbookVersionRollbackWorkflowDetailsWorkflowStepsSteps)
.build())
.type(runbookVersionRollbackWorkflowDetailsWorkflowType)
.build())
.build())
.build());
}
}
resources:
testRunbookVersion:
type: oci:FleetAppsManagement:RunbookVersion
name: test_runbook_version
properties:
executionWorkflowDetails:
workflows:
- groupName: ${testGroup.name}
steps:
- type: ${runbookVersionExecutionWorkflowDetailsWorkflowStepsType}
groupName: ${testGroup.name}
stepName: ${runbookVersionExecutionWorkflowDetailsWorkflowStepsStepName}
steps: ${runbookVersionExecutionWorkflowDetailsWorkflowStepsSteps}
type: ${runbookVersionExecutionWorkflowDetailsWorkflowType}
groups:
- name: ${runbookVersionGroupsName}
type: ${runbookVersionGroupsType}
properties:
actionOnFailure: ${runbookVersionGroupsPropertiesActionOnFailure}
notificationPreferences:
shouldNotifyOnPause: ${runbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnPause}
shouldNotifyOnTaskFailure: ${runbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskFailure}
shouldNotifyOnTaskSuccess: ${runbookVersionGroupsPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess}
pauseDetails:
kind: ${runbookVersionGroupsPropertiesPauseDetailsKind}
durationInMinutes: ${runbookVersionGroupsPropertiesPauseDetailsDurationInMinutes}
preCondition: ${runbookVersionGroupsPropertiesPreCondition}
runOn:
kind: ${runbookVersionGroupsPropertiesRunOnKind}
condition: ${runbookVersionGroupsPropertiesRunOnCondition}
host: ${runbookVersionGroupsPropertiesRunOnHost}
previousTaskInstanceDetails:
- outputVariableDetails:
outputVariableName: ${runbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName}
stepName: ${runbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName}
resourceId: ${testResource.id}
resourceType: ${runbookVersionGroupsPropertiesRunOnPreviousTaskInstanceDetailsResourceType}
runbookId: ${testRunbook.id}
tasks:
- stepName: ${runbookVersionTasksStepName}
taskRecordDetails:
scope: ${runbookVersionTasksTaskRecordDetailsScope}
description: ${runbookVersionTasksTaskRecordDetailsDescription}
executionDetails:
executionType: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsExecutionType}
catalogId: ${testCatalog.id}
command: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsCommand}
configFile: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsConfigFile}
content:
sourceType: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsContentSourceType}
bucket: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsContentBucket}
catalogId: ${testCatalog.id}
checksum: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsContentChecksum}
namespace: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsContentNamespace}
object: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsContentObject}
credentials:
- displayName: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsDisplayName}
id: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsCredentialsId}
endpoint: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsEndpoint}
isExecutableContent: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsIsExecutableContent}
isLocked: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsIsLocked}
isReadOutputVariableEnabled: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsIsReadOutputVariableEnabled}
targetCompartmentId: ${testCompartment.id}
variables:
inputVariables:
- description: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesDescription}
name: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesName}
type: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesInputVariablesType}
outputVariables: ${runbookVersionTasksTaskRecordDetailsExecutionDetailsVariablesOutputVariables}
isApplySubjectTask: ${runbookVersionTasksTaskRecordDetailsIsApplySubjectTask}
isCopyToLibraryEnabled: ${runbookVersionTasksTaskRecordDetailsIsCopyToLibraryEnabled}
isDiscoveryOutputTask: ${runbookVersionTasksTaskRecordDetailsIsDiscoveryOutputTask}
name: ${runbookVersionTasksTaskRecordDetailsName}
osType: ${runbookVersionTasksTaskRecordDetailsOsType}
platform: ${runbookVersionTasksTaskRecordDetailsPlatform}
properties:
numRetries: ${runbookVersionTasksTaskRecordDetailsPropertiesNumRetries}
timeoutInSeconds: ${runbookVersionTasksTaskRecordDetailsPropertiesTimeoutInSeconds}
taskRecordId: ${testTaskRecord.id}
outputVariableMappings:
- name: ${runbookVersionTasksOutputVariableMappingsName}
outputVariableDetails:
outputVariableName: ${runbookVersionTasksOutputVariableMappingsOutputVariableDetailsOutputVariableName}
stepName: ${runbookVersionTasksOutputVariableMappingsOutputVariableDetailsStepName}
stepProperties:
actionOnFailure: ${runbookVersionTasksStepPropertiesActionOnFailure}
notificationPreferences:
shouldNotifyOnPause: ${runbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnPause}
shouldNotifyOnTaskFailure: ${runbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskFailure}
shouldNotifyOnTaskSuccess: ${runbookVersionTasksStepPropertiesNotificationPreferencesShouldNotifyOnTaskSuccess}
pauseDetails:
kind: ${runbookVersionTasksStepPropertiesPauseDetailsKind}
durationInMinutes: ${runbookVersionTasksStepPropertiesPauseDetailsDurationInMinutes}
preCondition: ${runbookVersionTasksStepPropertiesPreCondition}
runOn:
kind: ${runbookVersionTasksStepPropertiesRunOnKind}
condition: ${runbookVersionTasksStepPropertiesRunOnCondition}
host: ${runbookVersionTasksStepPropertiesRunOnHost}
previousTaskInstanceDetails:
- outputVariableDetails:
outputVariableName: ${runbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsOutputVariableName}
stepName: ${runbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsOutputVariableDetailsStepName}
resourceId: ${testResource.id}
resourceType: ${runbookVersionTasksStepPropertiesRunOnPreviousTaskInstanceDetailsResourceType}
definedTags:
foo-namespace.bar-key: value
freeformTags:
bar-key: value
rollbackWorkflowDetails:
scope: ${runbookVersionRollbackWorkflowDetailsScope}
workflows:
- groupName: ${testGroup.name}
steps:
- type: ${runbookVersionRollbackWorkflowDetailsWorkflowStepsType}
groupName: ${testGroup.name}
stepName: ${runbookVersionRollbackWorkflowDetailsWorkflowStepsStepName}
steps: ${runbookVersionRollbackWorkflowDetailsWorkflowStepsSteps}
type: ${runbookVersionRollbackWorkflowDetailsWorkflowType}
Create RunbookVersion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RunbookVersion(name: string, args: RunbookVersionArgs, opts?: CustomResourceOptions);
@overload
def RunbookVersion(resource_name: str,
args: RunbookVersionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RunbookVersion(resource_name: str,
opts: Optional[ResourceOptions] = None,
execution_workflow_details: Optional[RunbookVersionExecutionWorkflowDetailsArgs] = None,
groups: Optional[Sequence[RunbookVersionGroupArgs]] = None,
runbook_id: Optional[str] = None,
tasks: Optional[Sequence[RunbookVersionTaskArgs]] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
rollback_workflow_details: Optional[RunbookVersionRollbackWorkflowDetailsArgs] = None)
func NewRunbookVersion(ctx *Context, name string, args RunbookVersionArgs, opts ...ResourceOption) (*RunbookVersion, error)
public RunbookVersion(string name, RunbookVersionArgs args, CustomResourceOptions? opts = null)
public RunbookVersion(String name, RunbookVersionArgs args)
public RunbookVersion(String name, RunbookVersionArgs args, CustomResourceOptions options)
type: oci:FleetAppsManagement:RunbookVersion
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 RunbookVersionArgs
- 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 RunbookVersionArgs
- 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 RunbookVersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RunbookVersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RunbookVersionArgs
- 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 runbookVersionResource = new Oci.FleetAppsManagement.RunbookVersion("runbookVersionResource", new()
{
ExecutionWorkflowDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionExecutionWorkflowDetailsArgs
{
Workflows = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionExecutionWorkflowDetailsWorkflowArgs
{
GroupName = "string",
Steps = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionExecutionWorkflowDetailsWorkflowStepArgs
{
Type = "string",
GroupName = "string",
StepName = "string",
Steps = new[]
{
"string",
},
},
},
Type = "string",
},
},
},
Groups = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionGroupArgs
{
Name = "string",
Type = "string",
Properties = new Oci.FleetAppsManagement.Inputs.RunbookVersionGroupPropertiesArgs
{
ActionOnFailure = "string",
NotificationPreferences = new Oci.FleetAppsManagement.Inputs.RunbookVersionGroupPropertiesNotificationPreferencesArgs
{
ShouldNotifyOnPause = false,
ShouldNotifyOnTaskFailure = false,
ShouldNotifyOnTaskSuccess = false,
},
PauseDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionGroupPropertiesPauseDetailsArgs
{
Kind = "string",
DurationInMinutes = 0,
},
PreCondition = "string",
RunOn = new Oci.FleetAppsManagement.Inputs.RunbookVersionGroupPropertiesRunOnArgs
{
Kind = "string",
Condition = "string",
Host = "string",
PreviousTaskInstanceDetails = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArgs
{
OutputVariableDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs
{
OutputVariableName = "string",
StepName = "string",
},
ResourceId = "string",
ResourceType = "string",
},
},
},
},
},
},
RunbookId = "string",
Tasks = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskArgs
{
StepName = "string",
TaskRecordDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskTaskRecordDetailsArgs
{
Scope = "string",
Description = "string",
ExecutionDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskTaskRecordDetailsExecutionDetailsArgs
{
ExecutionType = "string",
CatalogId = "string",
Command = "string",
ConfigFile = "string",
Content = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskTaskRecordDetailsExecutionDetailsContentArgs
{
SourceType = "string",
Bucket = "string",
CatalogId = "string",
Checksum = "string",
Namespace = "string",
Object = "string",
},
Credentials = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArgs
{
DisplayName = "string",
Id = "string",
},
},
Endpoint = "string",
IsExecutableContent = false,
IsLocked = false,
IsReadOutputVariableEnabled = false,
TargetCompartmentId = "string",
Variables = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesArgs
{
InputVariables = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArgs
{
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.RunbookVersionTaskTaskRecordDetailsPropertiesArgs
{
NumRetries = 0,
TimeoutInSeconds = 0,
},
TaskRecordId = "string",
},
OutputVariableMappings = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskOutputVariableMappingArgs
{
Name = "string",
OutputVariableDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskOutputVariableMappingOutputVariableDetailsArgs
{
OutputVariableName = "string",
StepName = "string",
},
},
},
StepProperties = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskStepPropertiesArgs
{
ActionOnFailure = "string",
NotificationPreferences = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskStepPropertiesNotificationPreferencesArgs
{
ShouldNotifyOnPause = false,
ShouldNotifyOnTaskFailure = false,
ShouldNotifyOnTaskSuccess = false,
},
PauseDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskStepPropertiesPauseDetailsArgs
{
Kind = "string",
DurationInMinutes = 0,
},
PreCondition = "string",
RunOn = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskStepPropertiesRunOnArgs
{
Kind = "string",
Condition = "string",
Host = "string",
PreviousTaskInstanceDetails = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArgs
{
OutputVariableDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs
{
OutputVariableName = "string",
StepName = "string",
},
ResourceId = "string",
ResourceType = "string",
},
},
},
},
},
},
DefinedTags =
{
{ "string", "string" },
},
FreeformTags =
{
{ "string", "string" },
},
RollbackWorkflowDetails = new Oci.FleetAppsManagement.Inputs.RunbookVersionRollbackWorkflowDetailsArgs
{
Scope = "string",
Workflows = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionRollbackWorkflowDetailsWorkflowArgs
{
GroupName = "string",
Steps = new[]
{
new Oci.FleetAppsManagement.Inputs.RunbookVersionRollbackWorkflowDetailsWorkflowStepArgs
{
Type = "string",
GroupName = "string",
StepName = "string",
Steps = new[]
{
"string",
},
},
},
Type = "string",
},
},
},
});
example, err := fleetappsmanagement.NewRunbookVersion(ctx, "runbookVersionResource", &fleetappsmanagement.RunbookVersionArgs{
ExecutionWorkflowDetails: &fleetappsmanagement.RunbookVersionExecutionWorkflowDetailsArgs{
Workflows: fleetappsmanagement.RunbookVersionExecutionWorkflowDetailsWorkflowArray{
&fleetappsmanagement.RunbookVersionExecutionWorkflowDetailsWorkflowArgs{
GroupName: pulumi.String("string"),
Steps: fleetappsmanagement.RunbookVersionExecutionWorkflowDetailsWorkflowStepArray{
&fleetappsmanagement.RunbookVersionExecutionWorkflowDetailsWorkflowStepArgs{
Type: pulumi.String("string"),
GroupName: pulumi.String("string"),
StepName: pulumi.String("string"),
Steps: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Type: pulumi.String("string"),
},
},
},
Groups: fleetappsmanagement.RunbookVersionGroupArray{
&fleetappsmanagement.RunbookVersionGroupArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Properties: &fleetappsmanagement.RunbookVersionGroupPropertiesArgs{
ActionOnFailure: pulumi.String("string"),
NotificationPreferences: &fleetappsmanagement.RunbookVersionGroupPropertiesNotificationPreferencesArgs{
ShouldNotifyOnPause: pulumi.Bool(false),
ShouldNotifyOnTaskFailure: pulumi.Bool(false),
ShouldNotifyOnTaskSuccess: pulumi.Bool(false),
},
PauseDetails: &fleetappsmanagement.RunbookVersionGroupPropertiesPauseDetailsArgs{
Kind: pulumi.String("string"),
DurationInMinutes: pulumi.Int(0),
},
PreCondition: pulumi.String("string"),
RunOn: &fleetappsmanagement.RunbookVersionGroupPropertiesRunOnArgs{
Kind: pulumi.String("string"),
Condition: pulumi.String("string"),
Host: pulumi.String("string"),
PreviousTaskInstanceDetails: fleetappsmanagement.RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArray{
&fleetappsmanagement.RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArgs{
OutputVariableDetails: &fleetappsmanagement.RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs{
OutputVariableName: pulumi.String("string"),
StepName: pulumi.String("string"),
},
ResourceId: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
},
},
},
},
},
RunbookId: pulumi.String("string"),
Tasks: fleetappsmanagement.RunbookVersionTaskArray{
&fleetappsmanagement.RunbookVersionTaskArgs{
StepName: pulumi.String("string"),
TaskRecordDetails: &fleetappsmanagement.RunbookVersionTaskTaskRecordDetailsArgs{
Scope: pulumi.String("string"),
Description: pulumi.String("string"),
ExecutionDetails: &fleetappsmanagement.RunbookVersionTaskTaskRecordDetailsExecutionDetailsArgs{
ExecutionType: pulumi.String("string"),
CatalogId: pulumi.String("string"),
Command: pulumi.String("string"),
ConfigFile: pulumi.String("string"),
Content: &fleetappsmanagement.RunbookVersionTaskTaskRecordDetailsExecutionDetailsContentArgs{
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.RunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArray{
&fleetappsmanagement.RunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArgs{
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.RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesArgs{
InputVariables: fleetappsmanagement.RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArray{
&fleetappsmanagement.RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArgs{
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.RunbookVersionTaskTaskRecordDetailsPropertiesArgs{
NumRetries: pulumi.Int(0),
TimeoutInSeconds: pulumi.Int(0),
},
TaskRecordId: pulumi.String("string"),
},
OutputVariableMappings: fleetappsmanagement.RunbookVersionTaskOutputVariableMappingArray{
&fleetappsmanagement.RunbookVersionTaskOutputVariableMappingArgs{
Name: pulumi.String("string"),
OutputVariableDetails: &fleetappsmanagement.RunbookVersionTaskOutputVariableMappingOutputVariableDetailsArgs{
OutputVariableName: pulumi.String("string"),
StepName: pulumi.String("string"),
},
},
},
StepProperties: &fleetappsmanagement.RunbookVersionTaskStepPropertiesArgs{
ActionOnFailure: pulumi.String("string"),
NotificationPreferences: &fleetappsmanagement.RunbookVersionTaskStepPropertiesNotificationPreferencesArgs{
ShouldNotifyOnPause: pulumi.Bool(false),
ShouldNotifyOnTaskFailure: pulumi.Bool(false),
ShouldNotifyOnTaskSuccess: pulumi.Bool(false),
},
PauseDetails: &fleetappsmanagement.RunbookVersionTaskStepPropertiesPauseDetailsArgs{
Kind: pulumi.String("string"),
DurationInMinutes: pulumi.Int(0),
},
PreCondition: pulumi.String("string"),
RunOn: &fleetappsmanagement.RunbookVersionTaskStepPropertiesRunOnArgs{
Kind: pulumi.String("string"),
Condition: pulumi.String("string"),
Host: pulumi.String("string"),
PreviousTaskInstanceDetails: fleetappsmanagement.RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArray{
&fleetappsmanagement.RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArgs{
OutputVariableDetails: &fleetappsmanagement.RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs{
OutputVariableName: pulumi.String("string"),
StepName: pulumi.String("string"),
},
ResourceId: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
},
},
},
},
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
RollbackWorkflowDetails: &fleetappsmanagement.RunbookVersionRollbackWorkflowDetailsArgs{
Scope: pulumi.String("string"),
Workflows: fleetappsmanagement.RunbookVersionRollbackWorkflowDetailsWorkflowArray{
&fleetappsmanagement.RunbookVersionRollbackWorkflowDetailsWorkflowArgs{
GroupName: pulumi.String("string"),
Steps: fleetappsmanagement.RunbookVersionRollbackWorkflowDetailsWorkflowStepArray{
&fleetappsmanagement.RunbookVersionRollbackWorkflowDetailsWorkflowStepArgs{
Type: pulumi.String("string"),
GroupName: pulumi.String("string"),
StepName: pulumi.String("string"),
Steps: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Type: pulumi.String("string"),
},
},
},
})
var runbookVersionResource = new RunbookVersion("runbookVersionResource", RunbookVersionArgs.builder()
.executionWorkflowDetails(RunbookVersionExecutionWorkflowDetailsArgs.builder()
.workflows(RunbookVersionExecutionWorkflowDetailsWorkflowArgs.builder()
.groupName("string")
.steps(RunbookVersionExecutionWorkflowDetailsWorkflowStepArgs.builder()
.type("string")
.groupName("string")
.stepName("string")
.steps("string")
.build())
.type("string")
.build())
.build())
.groups(RunbookVersionGroupArgs.builder()
.name("string")
.type("string")
.properties(RunbookVersionGroupPropertiesArgs.builder()
.actionOnFailure("string")
.notificationPreferences(RunbookVersionGroupPropertiesNotificationPreferencesArgs.builder()
.shouldNotifyOnPause(false)
.shouldNotifyOnTaskFailure(false)
.shouldNotifyOnTaskSuccess(false)
.build())
.pauseDetails(RunbookVersionGroupPropertiesPauseDetailsArgs.builder()
.kind("string")
.durationInMinutes(0)
.build())
.preCondition("string")
.runOn(RunbookVersionGroupPropertiesRunOnArgs.builder()
.kind("string")
.condition("string")
.host("string")
.previousTaskInstanceDetails(RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArgs.builder()
.outputVariableDetails(RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs.builder()
.outputVariableName("string")
.stepName("string")
.build())
.resourceId("string")
.resourceType("string")
.build())
.build())
.build())
.build())
.runbookId("string")
.tasks(RunbookVersionTaskArgs.builder()
.stepName("string")
.taskRecordDetails(RunbookVersionTaskTaskRecordDetailsArgs.builder()
.scope("string")
.description("string")
.executionDetails(RunbookVersionTaskTaskRecordDetailsExecutionDetailsArgs.builder()
.executionType("string")
.catalogId("string")
.command("string")
.configFile("string")
.content(RunbookVersionTaskTaskRecordDetailsExecutionDetailsContentArgs.builder()
.sourceType("string")
.bucket("string")
.catalogId("string")
.checksum("string")
.namespace("string")
.object("string")
.build())
.credentials(RunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArgs.builder()
.displayName("string")
.id("string")
.build())
.endpoint("string")
.isExecutableContent(false)
.isLocked(false)
.isReadOutputVariableEnabled(false)
.targetCompartmentId("string")
.variables(RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesArgs.builder()
.inputVariables(RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArgs.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(RunbookVersionTaskTaskRecordDetailsPropertiesArgs.builder()
.numRetries(0)
.timeoutInSeconds(0)
.build())
.taskRecordId("string")
.build())
.outputVariableMappings(RunbookVersionTaskOutputVariableMappingArgs.builder()
.name("string")
.outputVariableDetails(RunbookVersionTaskOutputVariableMappingOutputVariableDetailsArgs.builder()
.outputVariableName("string")
.stepName("string")
.build())
.build())
.stepProperties(RunbookVersionTaskStepPropertiesArgs.builder()
.actionOnFailure("string")
.notificationPreferences(RunbookVersionTaskStepPropertiesNotificationPreferencesArgs.builder()
.shouldNotifyOnPause(false)
.shouldNotifyOnTaskFailure(false)
.shouldNotifyOnTaskSuccess(false)
.build())
.pauseDetails(RunbookVersionTaskStepPropertiesPauseDetailsArgs.builder()
.kind("string")
.durationInMinutes(0)
.build())
.preCondition("string")
.runOn(RunbookVersionTaskStepPropertiesRunOnArgs.builder()
.kind("string")
.condition("string")
.host("string")
.previousTaskInstanceDetails(RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArgs.builder()
.outputVariableDetails(RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs.builder()
.outputVariableName("string")
.stepName("string")
.build())
.resourceId("string")
.resourceType("string")
.build())
.build())
.build())
.build())
.definedTags(Map.of("string", "string"))
.freeformTags(Map.of("string", "string"))
.rollbackWorkflowDetails(RunbookVersionRollbackWorkflowDetailsArgs.builder()
.scope("string")
.workflows(RunbookVersionRollbackWorkflowDetailsWorkflowArgs.builder()
.groupName("string")
.steps(RunbookVersionRollbackWorkflowDetailsWorkflowStepArgs.builder()
.type("string")
.groupName("string")
.stepName("string")
.steps("string")
.build())
.type("string")
.build())
.build())
.build());
runbook_version_resource = oci.fleetappsmanagement.RunbookVersion("runbookVersionResource",
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",
}],
},
},
}],
runbook_id="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",
}],
},
},
}],
defined_tags={
"string": "string",
},
freeform_tags={
"string": "string",
},
rollback_workflow_details={
"scope": "string",
"workflows": [{
"group_name": "string",
"steps": [{
"type": "string",
"group_name": "string",
"step_name": "string",
"steps": ["string"],
}],
"type": "string",
}],
})
const runbookVersionResource = new oci.fleetappsmanagement.RunbookVersion("runbookVersionResource", {
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",
}],
},
},
}],
runbookId: "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",
}],
},
},
}],
definedTags: {
string: "string",
},
freeformTags: {
string: "string",
},
rollbackWorkflowDetails: {
scope: "string",
workflows: [{
groupName: "string",
steps: [{
type: "string",
groupName: "string",
stepName: "string",
steps: ["string"],
}],
type: "string",
}],
},
});
type: oci:FleetAppsManagement:RunbookVersion
properties:
definedTags:
string: string
executionWorkflowDetails:
workflows:
- groupName: string
steps:
- groupName: string
stepName: string
steps:
- string
type: string
type: string
freeformTags:
string: 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
rollbackWorkflowDetails:
scope: string
workflows:
- groupName: string
steps:
- groupName: string
stepName: string
steps:
- string
type: string
type: string
runbookId: 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
RunbookVersion 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 RunbookVersion resource accepts the following input properties:
- Execution
Workflow RunbookDetails Version Execution Workflow Details - (Updatable) Execution Workflow details.
- Groups
List<Runbook
Version Group> - (Updatable) The groups of the runbook.
- Runbook
Id string - The OCID of the resource.
- Tasks
List<Runbook
Version Task> - (Updatable) A set of tasks to execute in the runbook.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example:
{"bar-key": "value"}
- Rollback
Workflow RunbookDetails Version Rollback Workflow Details - (Updatable) Rollback Workflow details.
- Execution
Workflow RunbookDetails Version Execution Workflow Details Args - (Updatable) Execution Workflow details.
- Groups
[]Runbook
Version Group Args - (Updatable) The groups of the runbook.
- Runbook
Id string - The OCID of the resource.
- Tasks
[]Runbook
Version Task Args - (Updatable) A set of tasks to execute in the runbook.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example:
{"bar-key": "value"}
- Rollback
Workflow RunbookDetails Version Rollback Workflow Details Args - (Updatable) Rollback Workflow details.
- execution
Workflow RunbookDetails Version Execution Workflow Details - (Updatable) Execution Workflow details.
- groups
List<Runbook
Version Group> - (Updatable) The groups of the runbook.
- runbook
Id String - The OCID of the resource.
- tasks
List<Runbook
Version Task> - (Updatable) A set of tasks to execute in the runbook.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example:
{"bar-key": "value"}
- rollback
Workflow RunbookDetails Version Rollback Workflow Details - (Updatable) Rollback Workflow details.
- execution
Workflow RunbookDetails Version Execution Workflow Details - (Updatable) Execution Workflow details.
- groups
Runbook
Version Group[] - (Updatable) The groups of the runbook.
- runbook
Id string - The OCID of the resource.
- tasks
Runbook
Version Task[] - (Updatable) A set of tasks to execute in the runbook.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example:
{"bar-key": "value"}
- rollback
Workflow RunbookDetails Version Rollback Workflow Details - (Updatable) Rollback Workflow details.
- execution_
workflow_ Runbookdetails Version Execution Workflow Details Args - (Updatable) Execution Workflow details.
- groups
Sequence[Runbook
Version Group Args] - (Updatable) The groups of the runbook.
- runbook_
id str - The OCID of the resource.
- tasks
Sequence[Runbook
Version Task Args] - (Updatable) A set of tasks to execute in the runbook.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example:
{"bar-key": "value"}
- rollback_
workflow_ Runbookdetails Version Rollback Workflow Details Args - (Updatable) Rollback Workflow details.
- execution
Workflow Property MapDetails - (Updatable) Execution Workflow details.
- groups List<Property Map>
- (Updatable) The groups of the runbook.
- runbook
Id String - The OCID of the resource.
- tasks List<Property Map>
- (Updatable) A set of tasks to execute in the runbook.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example:
{"bar-key": "value"}
- rollback
Workflow Property MapDetails - (Updatable) Rollback Workflow details.
Outputs
All input properties are implicitly available as output properties. Additionally, the RunbookVersion resource produces the following output properties:
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Latest bool - Lifecycle
Details 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.
- Name string
- The name of the task
- State string
- The current state of the FleetResource.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Latest bool - Lifecycle
Details 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.
- Name string
- The name of the task
- State string
- The current state of the FleetResource.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- is
Latest Boolean - lifecycle
Details 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.
- name String
- The name of the task
- state String
- The current state of the FleetResource.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- is
Latest boolean - lifecycle
Details 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.
- name string
- The name of the task
- state string
- The current state of the FleetResource.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- compartment_
id str - id str
- The provider-assigned unique ID for this managed resource.
- is_
latest bool - 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.
- name str
- The name of the task
- state str
- The current state of the FleetResource.
- 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.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- is
Latest Boolean - lifecycle
Details 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.
- name String
- The name of the task
- state String
- The current state of the FleetResource.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
Look up Existing RunbookVersion Resource
Get an existing RunbookVersion 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?: RunbookVersionState, opts?: CustomResourceOptions): RunbookVersion
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
execution_workflow_details: Optional[RunbookVersionExecutionWorkflowDetailsArgs] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
groups: Optional[Sequence[RunbookVersionGroupArgs]] = None,
is_latest: Optional[bool] = None,
lifecycle_details: Optional[str] = None,
name: Optional[str] = None,
rollback_workflow_details: Optional[RunbookVersionRollbackWorkflowDetailsArgs] = None,
runbook_id: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
tasks: Optional[Sequence[RunbookVersionTaskArgs]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> RunbookVersion
func GetRunbookVersion(ctx *Context, name string, id IDInput, state *RunbookVersionState, opts ...ResourceOption) (*RunbookVersion, error)
public static RunbookVersion Get(string name, Input<string> id, RunbookVersionState? state, CustomResourceOptions? opts = null)
public static RunbookVersion get(String name, Output<String> id, RunbookVersionState state, CustomResourceOptions options)
resources: _: type: oci:FleetAppsManagement:RunbookVersion 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.
- Compartment
Id string - Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Execution
Workflow RunbookDetails Version Execution Workflow Details - (Updatable) Execution Workflow details.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example:
{"bar-key": "value"}
- Groups
List<Runbook
Version Group> - (Updatable) The groups of the runbook.
- Is
Latest bool - Lifecycle
Details 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.
- Name string
- The name of the task
- Rollback
Workflow RunbookDetails Version Rollback Workflow Details - (Updatable) Rollback Workflow details.
- Runbook
Id string - The OCID of the resource.
- State string
- The current state of the FleetResource.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Tasks
List<Runbook
Version Task> - (Updatable) A set of tasks to execute in the runbook.
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Compartment
Id string - map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Execution
Workflow RunbookDetails Version Execution Workflow Details Args - (Updatable) Execution Workflow details.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example:
{"bar-key": "value"}
- Groups
[]Runbook
Version Group Args - (Updatable) The groups of the runbook.
- Is
Latest bool - Lifecycle
Details 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.
- Name string
- The name of the task
- Rollback
Workflow RunbookDetails Version Rollback Workflow Details Args - (Updatable) Rollback Workflow details.
- Runbook
Id string - The OCID of the resource.
- State string
- The current state of the FleetResource.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Tasks
[]Runbook
Version Task Args - (Updatable) A set of tasks to execute in the runbook.
- Time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- compartment
Id String - Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- execution
Workflow RunbookDetails Version Execution Workflow Details - (Updatable) Execution Workflow details.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example:
{"bar-key": "value"}
- groups
List<Runbook
Version Group> - (Updatable) The groups of the runbook.
- is
Latest Boolean - lifecycle
Details 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.
- name String
- The name of the task
- rollback
Workflow RunbookDetails Version Rollback Workflow Details - (Updatable) Rollback Workflow details.
- runbook
Id String - The OCID of the resource.
- state String
- The current state of the FleetResource.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- tasks
List<Runbook
Version Task> - (Updatable) A set of tasks to execute in the runbook.
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- compartment
Id string - {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- execution
Workflow RunbookDetails Version Execution Workflow Details - (Updatable) Execution Workflow details.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example:
{"bar-key": "value"}
- groups
Runbook
Version Group[] - (Updatable) The groups of the runbook.
- is
Latest boolean - lifecycle
Details 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.
- name string
- The name of the task
- rollback
Workflow RunbookDetails Version Rollback Workflow Details - (Updatable) Rollback Workflow details.
- runbook
Id string - The OCID of the resource.
- state string
- The current state of the FleetResource.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- tasks
Runbook
Version Task[] - (Updatable) A set of tasks to execute in the runbook.
- time
Created string - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- compartment_
id str - Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- execution_
workflow_ Runbookdetails Version Execution Workflow Details Args - (Updatable) Execution Workflow details.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example:
{"bar-key": "value"}
- groups
Sequence[Runbook
Version Group Args] - (Updatable) The groups of the runbook.
- is_
latest bool - 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.
- name str
- The name of the task
- rollback_
workflow_ Runbookdetails Version Rollback Workflow Details Args - (Updatable) Rollback Workflow details.
- runbook_
id str - The OCID of the resource.
- state str
- The current state of the FleetResource.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- tasks
Sequence[Runbook
Version Task Args] - (Updatable) A set of tasks to execute in the runbook.
- 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.
- compartment
Id String - Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- execution
Workflow Property MapDetails - (Updatable) Execution Workflow details.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example:
{"bar-key": "value"}
- groups List<Property Map>
- (Updatable) The groups of the runbook.
- is
Latest Boolean - lifecycle
Details 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.
- name String
- The name of the task
- rollback
Workflow Property MapDetails - (Updatable) Rollback Workflow details.
- runbook
Id String - The OCID of the resource.
- state String
- The current state of the FleetResource.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- tasks List<Property Map>
- (Updatable) A set of tasks to execute in the runbook.
- time
Created String - The time this resource was created. An RFC3339 formatted datetime string.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
Supporting Types
RunbookVersionExecutionWorkflowDetails, RunbookVersionExecutionWorkflowDetailsArgs
- Workflows
List<Runbook
Version Execution Workflow Details Workflow> - (Updatable) Execution Workflow for the runbook.
- Workflows
[]Runbook
Version Execution Workflow Details Workflow - (Updatable) Execution Workflow for the runbook.
- workflows
List<Runbook
Version Execution Workflow Details Workflow> - (Updatable) Execution Workflow for the runbook.
- workflows
Runbook
Version Execution Workflow Details Workflow[] - (Updatable) Execution Workflow for the runbook.
- workflows
Sequence[Runbook
Version Execution Workflow Details Workflow] - (Updatable) Execution Workflow for the runbook.
- workflows List<Property Map>
- (Updatable) Execution Workflow for the runbook.
RunbookVersionExecutionWorkflowDetailsWorkflow, RunbookVersionExecutionWorkflowDetailsWorkflowArgs
- Group
Name string - (Updatable) Name of the group.
- Steps
List<Runbook
Version Execution Workflow Details Workflow Step> - (Updatable) Steps within the Group.
- Type string
- (Updatable) Workflow Group Details.
- Group
Name string - (Updatable) Name of the group.
- Steps
[]Runbook
Version Execution Workflow Details Workflow Step - (Updatable) Steps within the Group.
- Type string
- (Updatable) Workflow Group Details.
- group
Name String - (Updatable) Name of the group.
- steps
List<Runbook
Version Execution Workflow Details Workflow Step> - (Updatable) Steps within the Group.
- type String
- (Updatable) Workflow Group Details.
- group
Name string - (Updatable) Name of the group.
- steps
Runbook
Version Execution Workflow Details Workflow Step[] - (Updatable) Steps within the Group.
- type string
- (Updatable) Workflow Group Details.
- group_
name str - (Updatable) Name of the group.
- steps
Sequence[Runbook
Version Execution Workflow Details Workflow Step] - (Updatable) Steps within the Group.
- type str
- (Updatable) Workflow Group Details.
- group
Name String - (Updatable) Name of the group.
- steps List<Property Map>
- (Updatable) Steps within the Group.
- type String
- (Updatable) Workflow Group Details.
RunbookVersionExecutionWorkflowDetailsWorkflowStep, RunbookVersionExecutionWorkflowDetailsWorkflowStepArgs
- type str
- (Updatable) Content Source Details.
- group_
name str - (Updatable) Name of the group.
- step_
name str - (Updatable) Provide StepName for the Task.
- steps Sequence[str]
- (Updatable) Tasks within the Group. Provide the stepName for all applicable tasks.
RunbookVersionGroup, RunbookVersionGroupArgs
- Name string
- (Updatable) The name of the group.
- Type string
- (Updatable) 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
Runbook
Version Group Properties - (Updatable) The properties of the component.
- Name string
- (Updatable) The name of the group.
- Type string
- (Updatable) 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
Runbook
Version Group Properties - (Updatable) The properties of the component.
- name String
- (Updatable) The name of the group.
- type String
- (Updatable) 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
Runbook
Version Group Properties - (Updatable) The properties of the component.
- name string
- (Updatable) The name of the group.
- type string
- (Updatable) 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
Runbook
Version Group Properties - (Updatable) The properties of the component.
- name str
- (Updatable) The name of the group.
- type str
- (Updatable) 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
Runbook
Version Group Properties - (Updatable) The properties of the component.
- name String
- (Updatable) The name of the group.
- type String
- (Updatable) 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
- (Updatable) The properties of the component.
RunbookVersionGroupProperties, RunbookVersionGroupPropertiesArgs
- Action
On stringFailure - (Updatable) The action to be taken in case of a failure.
- Notification
Preferences RunbookVersion Group Properties Notification Preferences - (Updatable) Preferences to send notifications on the task activities.
- Pause
Details RunbookVersion Group Properties Pause Details - (Updatable) Pause Details
- Pre
Condition string - (Updatable) Build control flow conditions that determine the relevance of the task execution.
- Run
On RunbookVersion Group Properties Run On - (Updatable) The runon conditions
- Action
On stringFailure - (Updatable) The action to be taken in case of a failure.
- Notification
Preferences RunbookVersion Group Properties Notification Preferences - (Updatable) Preferences to send notifications on the task activities.
- Pause
Details RunbookVersion Group Properties Pause Details - (Updatable) Pause Details
- Pre
Condition string - (Updatable) Build control flow conditions that determine the relevance of the task execution.
- Run
On RunbookVersion Group Properties Run On - (Updatable) The runon conditions
- action
On StringFailure - (Updatable) The action to be taken in case of a failure.
- notification
Preferences RunbookVersion Group Properties Notification Preferences - (Updatable) Preferences to send notifications on the task activities.
- pause
Details RunbookVersion Group Properties Pause Details - (Updatable) Pause Details
- pre
Condition String - (Updatable) Build control flow conditions that determine the relevance of the task execution.
- run
On RunbookVersion Group Properties Run On - (Updatable) The runon conditions
- action
On stringFailure - (Updatable) The action to be taken in case of a failure.
- notification
Preferences RunbookVersion Group Properties Notification Preferences - (Updatable) Preferences to send notifications on the task activities.
- pause
Details RunbookVersion Group Properties Pause Details - (Updatable) Pause Details
- pre
Condition string - (Updatable) Build control flow conditions that determine the relevance of the task execution.
- run
On RunbookVersion Group Properties Run On - (Updatable) The runon conditions
- action_
on_ strfailure - (Updatable) The action to be taken in case of a failure.
- notification_
preferences RunbookVersion Group Properties Notification Preferences - (Updatable) Preferences to send notifications on the task activities.
- pause_
details RunbookVersion Group Properties Pause Details - (Updatable) Pause Details
- pre_
condition str - (Updatable) Build control flow conditions that determine the relevance of the task execution.
- run_
on RunbookVersion Group Properties Run On - (Updatable) The runon conditions
- action
On StringFailure - (Updatable) The action to be taken in case of a failure.
- notification
Preferences Property Map - (Updatable) Preferences to send notifications on the task activities.
- pause
Details Property Map - (Updatable) Pause Details
- pre
Condition String - (Updatable) Build control flow conditions that determine the relevance of the task execution.
- run
On Property Map - (Updatable) The runon conditions
RunbookVersionGroupPropertiesNotificationPreferences, RunbookVersionGroupPropertiesNotificationPreferencesArgs
- Should
Notify boolOn Pause - (Updatable) Enables notification on pause.
- Should
Notify boolOn Task Failure - (Updatable) Enables or disables notification on Task Failures.
- Should
Notify boolOn Task Success - (Updatable) Enables or disables notification on Task Success.
- Should
Notify boolOn Pause - (Updatable) Enables notification on pause.
- Should
Notify boolOn Task Failure - (Updatable) Enables or disables notification on Task Failures.
- Should
Notify boolOn Task Success - (Updatable) Enables or disables notification on Task Success.
- should
Notify BooleanOn Pause - (Updatable) Enables notification on pause.
- should
Notify BooleanOn Task Failure - (Updatable) Enables or disables notification on Task Failures.
- should
Notify BooleanOn Task Success - (Updatable) Enables or disables notification on Task Success.
- should
Notify booleanOn Pause - (Updatable) Enables notification on pause.
- should
Notify booleanOn Task Failure - (Updatable) Enables or disables notification on Task Failures.
- should
Notify booleanOn Task Success - (Updatable) Enables or disables notification on Task Success.
- should_
notify_ boolon_ pause - (Updatable) Enables notification on pause.
- should_
notify_ boolon_ task_ failure - (Updatable) Enables or disables notification on Task Failures.
- should_
notify_ boolon_ task_ success - (Updatable) Enables or disables notification on Task Success.
- should
Notify BooleanOn Pause - (Updatable) Enables notification on pause.
- should
Notify BooleanOn Task Failure - (Updatable) Enables or disables notification on Task Failures.
- should
Notify BooleanOn Task Success - (Updatable) Enables or disables notification on Task Success.
RunbookVersionGroupPropertiesPauseDetails, RunbookVersionGroupPropertiesPauseDetailsArgs
- Kind string
- (Updatable) Pause based On.
- Duration
In intMinutes - (Updatable) Time in minutes to apply Pause.
- Kind string
- (Updatable) Pause based On.
- Duration
In intMinutes - (Updatable) Time in minutes to apply Pause.
- kind String
- (Updatable) Pause based On.
- duration
In IntegerMinutes - (Updatable) Time in minutes to apply Pause.
- kind string
- (Updatable) Pause based On.
- duration
In numberMinutes - (Updatable) Time in minutes to apply Pause.
- kind str
- (Updatable) Pause based On.
- duration_
in_ intminutes - (Updatable) Time in minutes to apply Pause.
- kind String
- (Updatable) Pause based On.
- duration
In NumberMinutes - (Updatable) Time in minutes to apply Pause.
RunbookVersionGroupPropertiesRunOn, RunbookVersionGroupPropertiesRunOnArgs
- Kind string
- (Updatable) Run on based On.
- Condition string
- (Updatable) Build control flow conditions that determine the relevance of the task execution.
- Host string
- (Updatable) OCID of the self hosted instance.
- Previous
Task List<RunbookInstance Details Version Group Properties Run On Previous Task Instance Detail> - (Updatable) Previous Task Instance Details
- Kind string
- (Updatable) Run on based On.
- Condition string
- (Updatable) Build control flow conditions that determine the relevance of the task execution.
- Host string
- (Updatable) OCID of the self hosted instance.
- Previous
Task []RunbookInstance Details Version Group Properties Run On Previous Task Instance Detail - (Updatable) Previous Task Instance Details
- kind String
- (Updatable) Run on based On.
- condition String
- (Updatable) Build control flow conditions that determine the relevance of the task execution.
- host String
- (Updatable) OCID of the self hosted instance.
- previous
Task List<RunbookInstance Details Version Group Properties Run On Previous Task Instance Detail> - (Updatable) Previous Task Instance Details
- kind string
- (Updatable) Run on based On.
- condition string
- (Updatable) Build control flow conditions that determine the relevance of the task execution.
- host string
- (Updatable) OCID of the self hosted instance.
- previous
Task RunbookInstance Details Version Group Properties Run On Previous Task Instance Detail[] - (Updatable) Previous Task Instance Details
- kind str
- (Updatable) Run on based On.
- condition str
- (Updatable) Build control flow conditions that determine the relevance of the task execution.
- host str
- (Updatable) OCID of the self hosted instance.
- previous_
task_ Sequence[Runbookinstance_ details Version Group Properties Run On Previous Task Instance Detail] - (Updatable) Previous Task Instance Details
- kind String
- (Updatable) Run on based On.
- condition String
- (Updatable) Build control flow conditions that determine the relevance of the task execution.
- host String
- (Updatable) OCID of the self hosted instance.
- previous
Task List<Property Map>Instance Details - (Updatable) Previous Task Instance Details
RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetail, RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailArgs
- Output
Variable RunbookDetails Version Group Properties Run On Previous Task Instance Detail Output Variable Details - (Updatable) The details of the output variable that will be used for mapping.
- Resource
Id string - (Updatable) Resource Ocid.
- Resource
Type string - (Updatable) Resource Type.
- Output
Variable RunbookDetails Version Group Properties Run On Previous Task Instance Detail Output Variable Details - (Updatable) The details of the output variable that will be used for mapping.
- Resource
Id string - (Updatable) Resource Ocid.
- Resource
Type string - (Updatable) Resource Type.
- output
Variable RunbookDetails Version Group Properties Run On Previous Task Instance Detail Output Variable Details - (Updatable) The details of the output variable that will be used for mapping.
- resource
Id String - (Updatable) Resource Ocid.
- resource
Type String - (Updatable) Resource Type.
- output
Variable RunbookDetails Version Group Properties Run On Previous Task Instance Detail Output Variable Details - (Updatable) The details of the output variable that will be used for mapping.
- resource
Id string - (Updatable) Resource Ocid.
- resource
Type string - (Updatable) Resource Type.
- output_
variable_ Runbookdetails Version Group Properties Run On Previous Task Instance Detail Output Variable Details - (Updatable) The details of the output variable that will be used for mapping.
- resource_
id str - (Updatable) Resource Ocid.
- resource_
type str - (Updatable) Resource Type.
- output
Variable Property MapDetails - (Updatable) The details of the output variable that will be used for mapping.
- resource
Id String - (Updatable) Resource Ocid.
- resource
Type String - (Updatable) Resource Type.
RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetails, RunbookVersionGroupPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs
- Output
Variable stringName - (Updatable) The name of the output variable whose value has to be mapped.
- Step
Name string - (Updatable) The name of the task step the output variable belongs to.
- Output
Variable stringName - (Updatable) The name of the output variable whose value has to be mapped.
- Step
Name string - (Updatable) The name of the task step the output variable belongs to.
- output
Variable StringName - (Updatable) The name of the output variable whose value has to be mapped.
- step
Name String - (Updatable) The name of the task step the output variable belongs to.
- output
Variable stringName - (Updatable) The name of the output variable whose value has to be mapped.
- step
Name string - (Updatable) The name of the task step the output variable belongs to.
- output_
variable_ strname - (Updatable) The name of the output variable whose value has to be mapped.
- step_
name str - (Updatable) The name of the task step the output variable belongs to.
- output
Variable StringName - (Updatable) The name of the output variable whose value has to be mapped.
- step
Name String - (Updatable) The name of the task step the output variable belongs to.
RunbookVersionRollbackWorkflowDetails, RunbookVersionRollbackWorkflowDetailsArgs
- Scope string
- (Updatable) rollback Scope
- Workflows
List<Runbook
Version Rollback Workflow Details Workflow> - (Updatable) Rollback Workflow for the runbook.
- Scope string
- (Updatable) rollback Scope
- Workflows
[]Runbook
Version Rollback Workflow Details Workflow - (Updatable) Rollback Workflow for the runbook.
- scope String
- (Updatable) rollback Scope
- workflows
List<Runbook
Version Rollback Workflow Details Workflow> - (Updatable) Rollback Workflow for the runbook.
- scope string
- (Updatable) rollback Scope
- workflows
Runbook
Version Rollback Workflow Details Workflow[] - (Updatable) Rollback Workflow for the runbook.
- scope str
- (Updatable) rollback Scope
- workflows
Sequence[Runbook
Version Rollback Workflow Details Workflow] - (Updatable) Rollback Workflow for the runbook.
- scope String
- (Updatable) rollback Scope
- workflows List<Property Map>
- (Updatable) Rollback Workflow for the runbook.
RunbookVersionRollbackWorkflowDetailsWorkflow, RunbookVersionRollbackWorkflowDetailsWorkflowArgs
- Group
Name string - (Updatable) Name of the group.
- Steps
List<Runbook
Version Rollback Workflow Details Workflow Step> - (Updatable) Steps within the Group.
- Type string
- (Updatable) Workflow Group Details.
- Group
Name string - (Updatable) Name of the group.
- Steps
[]Runbook
Version Rollback Workflow Details Workflow Step - (Updatable) Steps within the Group.
- Type string
- (Updatable) Workflow Group Details.
- group
Name String - (Updatable) Name of the group.
- steps
List<Runbook
Version Rollback Workflow Details Workflow Step> - (Updatable) Steps within the Group.
- type String
- (Updatable) Workflow Group Details.
- group
Name string - (Updatable) Name of the group.
- steps
Runbook
Version Rollback Workflow Details Workflow Step[] - (Updatable) Steps within the Group.
- type string
- (Updatable) Workflow Group Details.
- group_
name str - (Updatable) Name of the group.
- steps
Sequence[Runbook
Version Rollback Workflow Details Workflow Step] - (Updatable) Steps within the Group.
- type str
- (Updatable) Workflow Group Details.
- group
Name String - (Updatable) Name of the group.
- steps List<Property Map>
- (Updatable) Steps within the Group.
- type String
- (Updatable) Workflow Group Details.
RunbookVersionRollbackWorkflowDetailsWorkflowStep, RunbookVersionRollbackWorkflowDetailsWorkflowStepArgs
- type str
- (Updatable) Content Source Details.
- group_
name str - (Updatable) Name of the group.
- step_
name str - (Updatable) Provide StepName for the Task.
- steps Sequence[str]
- (Updatable) Tasks within the Group. Provide the stepName for all applicable tasks.
RunbookVersionTask, RunbookVersionTaskArgs
- Step
Name string - (Updatable) The name of the task step.
- Task
Record RunbookDetails Version Task Task Record Details - (Updatable) The details of the task.
- Output
Variable List<RunbookMappings Version Task Output Variable Mapping> - (Updatable) Mapping output variables of previous tasks to the input variables of the current task.
- Step
Properties RunbookVersion Task Step Properties - (Updatable) The properties of the component.
- Step
Name string - (Updatable) The name of the task step.
- Task
Record RunbookDetails Version Task Task Record Details - (Updatable) The details of the task.
- Output
Variable []RunbookMappings Version Task Output Variable Mapping - (Updatable) Mapping output variables of previous tasks to the input variables of the current task.
- Step
Properties RunbookVersion Task Step Properties - (Updatable) The properties of the component.
- step
Name String - (Updatable) The name of the task step.
- task
Record RunbookDetails Version Task Task Record Details - (Updatable) The details of the task.
- output
Variable List<RunbookMappings Version Task Output Variable Mapping> - (Updatable) Mapping output variables of previous tasks to the input variables of the current task.
- step
Properties RunbookVersion Task Step Properties - (Updatable) The properties of the component.
- step
Name string - (Updatable) The name of the task step.
- task
Record RunbookDetails Version Task Task Record Details - (Updatable) The details of the task.
- output
Variable RunbookMappings Version Task Output Variable Mapping[] - (Updatable) Mapping output variables of previous tasks to the input variables of the current task.
- step
Properties RunbookVersion Task Step Properties - (Updatable) The properties of the component.
- step_
name str - (Updatable) The name of the task step.
- task_
record_ Runbookdetails Version Task Task Record Details - (Updatable) The details of the task.
- output_
variable_ Sequence[Runbookmappings Version Task Output Variable Mapping] - (Updatable) Mapping output variables of previous tasks to the input variables of the current task.
- step_
properties RunbookVersion Task Step Properties - (Updatable) The properties of the component.
- step
Name String - (Updatable) The name of the task step.
- task
Record Property MapDetails - (Updatable) The details of the task.
- output
Variable List<Property Map>Mappings - (Updatable) Mapping output variables of previous tasks to the input variables of the current task.
- step
Properties Property Map - (Updatable) The properties of the component.
RunbookVersionTaskOutputVariableMapping, RunbookVersionTaskOutputVariableMappingArgs
- Name string
- (Updatable) The name of the input variable.
- Output
Variable RunbookDetails Version Task Output Variable Mapping Output Variable Details - (Updatable) The details of the output variable that will be used for mapping.
- Name string
- (Updatable) The name of the input variable.
- Output
Variable RunbookDetails Version Task Output Variable Mapping Output Variable Details - (Updatable) The details of the output variable that will be used for mapping.
- name String
- (Updatable) The name of the input variable.
- output
Variable RunbookDetails Version Task Output Variable Mapping Output Variable Details - (Updatable) The details of the output variable that will be used for mapping.
- name string
- (Updatable) The name of the input variable.
- output
Variable RunbookDetails Version Task Output Variable Mapping Output Variable Details - (Updatable) The details of the output variable that will be used for mapping.
- name str
- (Updatable) The name of the input variable.
- output_
variable_ Runbookdetails Version Task Output Variable Mapping Output Variable Details - (Updatable) The details of the output variable that will be used for mapping.
- name String
- (Updatable) The name of the input variable.
- output
Variable Property MapDetails - (Updatable) The details of the output variable that will be used for mapping.
RunbookVersionTaskOutputVariableMappingOutputVariableDetails, RunbookVersionTaskOutputVariableMappingOutputVariableDetailsArgs
- Output
Variable stringName - (Updatable) The name of the output variable whose value has to be mapped.
- Step
Name string - (Updatable) The name of the task step the output variable belongs to.
- Output
Variable stringName - (Updatable) The name of the output variable whose value has to be mapped.
- Step
Name string - (Updatable) The name of the task step the output variable belongs to.
- output
Variable StringName - (Updatable) The name of the output variable whose value has to be mapped.
- step
Name String - (Updatable) The name of the task step the output variable belongs to.
- output
Variable stringName - (Updatable) The name of the output variable whose value has to be mapped.
- step
Name string - (Updatable) The name of the task step the output variable belongs to.
- output_
variable_ strname - (Updatable) The name of the output variable whose value has to be mapped.
- step_
name str - (Updatable) The name of the task step the output variable belongs to.
- output
Variable StringName - (Updatable) The name of the output variable whose value has to be mapped.
- step
Name String - (Updatable) The name of the task step the output variable belongs to.
RunbookVersionTaskStepProperties, RunbookVersionTaskStepPropertiesArgs
- Action
On stringFailure - (Updatable) The action to be taken in case of a failure.
- Notification
Preferences RunbookVersion Task Step Properties Notification Preferences - (Updatable) Preferences to send notifications on the task activities.
- Pause
Details RunbookVersion Task Step Properties Pause Details - (Updatable) Pause Details
- Pre
Condition string - (Updatable) Build control flow conditions that determine the relevance of the task execution.
- Run
On RunbookVersion Task Step Properties Run On - (Updatable) The runon conditions
- Action
On stringFailure - (Updatable) The action to be taken in case of a failure.
- Notification
Preferences RunbookVersion Task Step Properties Notification Preferences - (Updatable) Preferences to send notifications on the task activities.
- Pause
Details RunbookVersion Task Step Properties Pause Details - (Updatable) Pause Details
- Pre
Condition string - (Updatable) Build control flow conditions that determine the relevance of the task execution.
- Run
On RunbookVersion Task Step Properties Run On - (Updatable) The runon conditions
- action
On StringFailure - (Updatable) The action to be taken in case of a failure.
- notification
Preferences RunbookVersion Task Step Properties Notification Preferences - (Updatable) Preferences to send notifications on the task activities.
- pause
Details RunbookVersion Task Step Properties Pause Details - (Updatable) Pause Details
- pre
Condition String - (Updatable) Build control flow conditions that determine the relevance of the task execution.
- run
On RunbookVersion Task Step Properties Run On - (Updatable) The runon conditions
- action
On stringFailure - (Updatable) The action to be taken in case of a failure.
- notification
Preferences RunbookVersion Task Step Properties Notification Preferences - (Updatable) Preferences to send notifications on the task activities.
- pause
Details RunbookVersion Task Step Properties Pause Details - (Updatable) Pause Details
- pre
Condition string - (Updatable) Build control flow conditions that determine the relevance of the task execution.
- run
On RunbookVersion Task Step Properties Run On - (Updatable) The runon conditions
- action_
on_ strfailure - (Updatable) The action to be taken in case of a failure.
- notification_
preferences RunbookVersion Task Step Properties Notification Preferences - (Updatable) Preferences to send notifications on the task activities.
- pause_
details RunbookVersion Task Step Properties Pause Details - (Updatable) Pause Details
- pre_
condition str - (Updatable) Build control flow conditions that determine the relevance of the task execution.
- run_
on RunbookVersion Task Step Properties Run On - (Updatable) The runon conditions
- action
On StringFailure - (Updatable) The action to be taken in case of a failure.
- notification
Preferences Property Map - (Updatable) Preferences to send notifications on the task activities.
- pause
Details Property Map - (Updatable) Pause Details
- pre
Condition String - (Updatable) Build control flow conditions that determine the relevance of the task execution.
- run
On Property Map - (Updatable) The runon conditions
RunbookVersionTaskStepPropertiesNotificationPreferences, RunbookVersionTaskStepPropertiesNotificationPreferencesArgs
- Should
Notify boolOn Pause - (Updatable) Enables notification on pause.
- Should
Notify boolOn Task Failure - (Updatable) Enables or disables notification on Task Failures.
- Should
Notify boolOn Task Success - (Updatable) Enables or disables notification on Task Success.
- Should
Notify boolOn Pause - (Updatable) Enables notification on pause.
- Should
Notify boolOn Task Failure - (Updatable) Enables or disables notification on Task Failures.
- Should
Notify boolOn Task Success - (Updatable) Enables or disables notification on Task Success.
- should
Notify BooleanOn Pause - (Updatable) Enables notification on pause.
- should
Notify BooleanOn Task Failure - (Updatable) Enables or disables notification on Task Failures.
- should
Notify BooleanOn Task Success - (Updatable) Enables or disables notification on Task Success.
- should
Notify booleanOn Pause - (Updatable) Enables notification on pause.
- should
Notify booleanOn Task Failure - (Updatable) Enables or disables notification on Task Failures.
- should
Notify booleanOn Task Success - (Updatable) Enables or disables notification on Task Success.
- should_
notify_ boolon_ pause - (Updatable) Enables notification on pause.
- should_
notify_ boolon_ task_ failure - (Updatable) Enables or disables notification on Task Failures.
- should_
notify_ boolon_ task_ success - (Updatable) Enables or disables notification on Task Success.
- should
Notify BooleanOn Pause - (Updatable) Enables notification on pause.
- should
Notify BooleanOn Task Failure - (Updatable) Enables or disables notification on Task Failures.
- should
Notify BooleanOn Task Success - (Updatable) Enables or disables notification on Task Success.
RunbookVersionTaskStepPropertiesPauseDetails, RunbookVersionTaskStepPropertiesPauseDetailsArgs
- Kind string
- (Updatable) Pause based On.
- Duration
In intMinutes - (Updatable) Time in minutes to apply Pause.
- Kind string
- (Updatable) Pause based On.
- Duration
In intMinutes - (Updatable) Time in minutes to apply Pause.
- kind String
- (Updatable) Pause based On.
- duration
In IntegerMinutes - (Updatable) Time in minutes to apply Pause.
- kind string
- (Updatable) Pause based On.
- duration
In numberMinutes - (Updatable) Time in minutes to apply Pause.
- kind str
- (Updatable) Pause based On.
- duration_
in_ intminutes - (Updatable) Time in minutes to apply Pause.
- kind String
- (Updatable) Pause based On.
- duration
In NumberMinutes - (Updatable) Time in minutes to apply Pause.
RunbookVersionTaskStepPropertiesRunOn, RunbookVersionTaskStepPropertiesRunOnArgs
- Kind string
- (Updatable) Run on based On.
- Condition string
- (Updatable) Build control flow conditions that determine the relevance of the task execution.
- Host string
- (Updatable) OCID of the self hosted instance.
- Previous
Task List<RunbookInstance Details Version Task Step Properties Run On Previous Task Instance Detail> - (Updatable) Previous Task Instance Details
- Kind string
- (Updatable) Run on based On.
- Condition string
- (Updatable) Build control flow conditions that determine the relevance of the task execution.
- Host string
- (Updatable) OCID of the self hosted instance.
- Previous
Task []RunbookInstance Details Version Task Step Properties Run On Previous Task Instance Detail - (Updatable) Previous Task Instance Details
- kind String
- (Updatable) Run on based On.
- condition String
- (Updatable) Build control flow conditions that determine the relevance of the task execution.
- host String
- (Updatable) OCID of the self hosted instance.
- previous
Task List<RunbookInstance Details Version Task Step Properties Run On Previous Task Instance Detail> - (Updatable) Previous Task Instance Details
- kind string
- (Updatable) Run on based On.
- condition string
- (Updatable) Build control flow conditions that determine the relevance of the task execution.
- host string
- (Updatable) OCID of the self hosted instance.
- previous
Task RunbookInstance Details Version Task Step Properties Run On Previous Task Instance Detail[] - (Updatable) Previous Task Instance Details
- kind str
- (Updatable) Run on based On.
- condition str
- (Updatable) Build control flow conditions that determine the relevance of the task execution.
- host str
- (Updatable) OCID of the self hosted instance.
- previous_
task_ Sequence[Runbookinstance_ details Version Task Step Properties Run On Previous Task Instance Detail] - (Updatable) Previous Task Instance Details
- kind String
- (Updatable) Run on based On.
- condition String
- (Updatable) Build control flow conditions that determine the relevance of the task execution.
- host String
- (Updatable) OCID of the self hosted instance.
- previous
Task List<Property Map>Instance Details - (Updatable) Previous Task Instance Details
RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetail, RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailArgs
- Output
Variable RunbookDetails Version Task Step Properties Run On Previous Task Instance Detail Output Variable Details - (Updatable) The details of the output variable that will be used for mapping.
- Resource
Id string - (Updatable) Resource Ocid.
- Resource
Type string - (Updatable) Resource Type.
- Output
Variable RunbookDetails Version Task Step Properties Run On Previous Task Instance Detail Output Variable Details - (Updatable) The details of the output variable that will be used for mapping.
- Resource
Id string - (Updatable) Resource Ocid.
- Resource
Type string - (Updatable) Resource Type.
- output
Variable RunbookDetails Version Task Step Properties Run On Previous Task Instance Detail Output Variable Details - (Updatable) The details of the output variable that will be used for mapping.
- resource
Id String - (Updatable) Resource Ocid.
- resource
Type String - (Updatable) Resource Type.
- output
Variable RunbookDetails Version Task Step Properties Run On Previous Task Instance Detail Output Variable Details - (Updatable) The details of the output variable that will be used for mapping.
- resource
Id string - (Updatable) Resource Ocid.
- resource
Type string - (Updatable) Resource Type.
- output_
variable_ Runbookdetails Version Task Step Properties Run On Previous Task Instance Detail Output Variable Details - (Updatable) The details of the output variable that will be used for mapping.
- resource_
id str - (Updatable) Resource Ocid.
- resource_
type str - (Updatable) Resource Type.
- output
Variable Property MapDetails - (Updatable) The details of the output variable that will be used for mapping.
- resource
Id String - (Updatable) Resource Ocid.
- resource
Type String - (Updatable) Resource Type.
RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetails, RunbookVersionTaskStepPropertiesRunOnPreviousTaskInstanceDetailOutputVariableDetailsArgs
- Output
Variable stringName - (Updatable) The name of the output variable whose value has to be mapped.
- Step
Name string - (Updatable) The name of the task step the output variable belongs to.
- Output
Variable stringName - (Updatable) The name of the output variable whose value has to be mapped.
- Step
Name string - (Updatable) The name of the task step the output variable belongs to.
- output
Variable StringName - (Updatable) The name of the output variable whose value has to be mapped.
- step
Name String - (Updatable) The name of the task step the output variable belongs to.
- output
Variable stringName - (Updatable) The name of the output variable whose value has to be mapped.
- step
Name string - (Updatable) The name of the task step the output variable belongs to.
- output_
variable_ strname - (Updatable) The name of the output variable whose value has to be mapped.
- step_
name str - (Updatable) The name of the task step the output variable belongs to.
- output
Variable StringName - (Updatable) The name of the output variable whose value has to be mapped.
- step
Name String - (Updatable) The name of the task step the output variable belongs to.
RunbookVersionTaskTaskRecordDetails, RunbookVersionTaskTaskRecordDetailsArgs
- Scope string
- (Updatable) The scope of the task.
- Description string
- (Updatable) The description of the task.
- Execution
Details RunbookVersion Task Task Record Details Execution Details - (Updatable) Execution details.
- Is
Apply boolSubject Task - (Updatable) Is this an Apply Subject Task? Ex. Patch Execution Task
- Is
Copy boolTo Library Enabled - (Updatable) Make a copy of this task in Library
- Is
Discovery boolOutput Task - (Updatable) Is this a discovery output task?
- Name string
- (Updatable) The name of the task
- Os
Type string - (Updatable) The OS for the task.
- Platform string
- (Updatable) The platform of the runbook.
- Properties
Runbook
Version Task Task Record Details Properties - (Updatable) The properties of the task.
- Task
Record stringId (Updatable) The ID of taskRecord.
** 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
- Scope string
- (Updatable) The scope of the task.
- Description string
- (Updatable) The description of the task.
- Execution
Details RunbookVersion Task Task Record Details Execution Details - (Updatable) Execution details.
- Is
Apply boolSubject Task - (Updatable) Is this an Apply Subject Task? Ex. Patch Execution Task
- Is
Copy boolTo Library Enabled - (Updatable) Make a copy of this task in Library
- Is
Discovery boolOutput Task - (Updatable) Is this a discovery output task?
- Name string
- (Updatable) The name of the task
- Os
Type string - (Updatable) The OS for the task.
- Platform string
- (Updatable) The platform of the runbook.
- Properties
Runbook
Version Task Task Record Details Properties - (Updatable) The properties of the task.
- Task
Record stringId (Updatable) The ID of taskRecord.
** 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
- scope String
- (Updatable) The scope of the task.
- description String
- (Updatable) The description of the task.
- execution
Details RunbookVersion Task Task Record Details Execution Details - (Updatable) Execution details.
- is
Apply BooleanSubject Task - (Updatable) Is this an Apply Subject Task? Ex. Patch Execution Task
- is
Copy BooleanTo Library Enabled - (Updatable) Make a copy of this task in Library
- is
Discovery BooleanOutput Task - (Updatable) Is this a discovery output task?
- name String
- (Updatable) The name of the task
- os
Type String - (Updatable) The OS for the task.
- platform String
- (Updatable) The platform of the runbook.
- properties
Runbook
Version Task Task Record Details Properties - (Updatable) The properties of the task.
- task
Record StringId (Updatable) The ID of taskRecord.
** 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
- scope string
- (Updatable) The scope of the task.
- description string
- (Updatable) The description of the task.
- execution
Details RunbookVersion Task Task Record Details Execution Details - (Updatable) Execution details.
- is
Apply booleanSubject Task - (Updatable) Is this an Apply Subject Task? Ex. Patch Execution Task
- is
Copy booleanTo Library Enabled - (Updatable) Make a copy of this task in Library
- is
Discovery booleanOutput Task - (Updatable) Is this a discovery output task?
- name string
- (Updatable) The name of the task
- os
Type string - (Updatable) The OS for the task.
- platform string
- (Updatable) The platform of the runbook.
- properties
Runbook
Version Task Task Record Details Properties - (Updatable) The properties of the task.
- task
Record stringId (Updatable) The ID of taskRecord.
** 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
- scope str
- (Updatable) The scope of the task.
- description str
- (Updatable) The description of the task.
- execution_
details RunbookVersion Task Task Record Details Execution Details - (Updatable) Execution details.
- is_
apply_ boolsubject_ task - (Updatable) Is this an Apply Subject Task? Ex. Patch Execution Task
- is_
copy_ boolto_ library_ enabled - (Updatable) Make a copy of this task in Library
- is_
discovery_ booloutput_ task - (Updatable) Is this a discovery output task?
- name str
- (Updatable) The name of the task
- os_
type str - (Updatable) The OS for the task.
- platform str
- (Updatable) The platform of the runbook.
- properties
Runbook
Version Task Task Record Details Properties - (Updatable) The properties of the task.
- task_
record_ strid (Updatable) The ID of taskRecord.
** 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
- scope String
- (Updatable) The scope of the task.
- description String
- (Updatable) The description of the task.
- execution
Details Property Map - (Updatable) Execution details.
- is
Apply BooleanSubject Task - (Updatable) Is this an Apply Subject Task? Ex. Patch Execution Task
- is
Copy BooleanTo Library Enabled - (Updatable) Make a copy of this task in Library
- is
Discovery BooleanOutput Task - (Updatable) Is this a discovery output task?
- name String
- (Updatable) The name of the task
- os
Type String - (Updatable) The OS for the task.
- platform String
- (Updatable) The platform of the runbook.
- properties Property Map
- (Updatable) The properties of the task.
- task
Record StringId (Updatable) The ID of taskRecord.
** 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
RunbookVersionTaskTaskRecordDetailsExecutionDetails, RunbookVersionTaskTaskRecordDetailsExecutionDetailsArgs
- Execution
Type string - (Updatable) The action type of the task
- Catalog
Id string - Command string
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- Config
File string - (Updatable) Catalog Id having config file.
- Content
Runbook
Version Task Task Record Details Execution Details Content - (Updatable) Content Source details.
- Credentials
List<Runbook
Version Task Task Record Details Execution Details Credential> - (Updatable) Credentials required for executing the task.
- Endpoint string
- (Updatable) Endpoint to be invoked.
- Is
Executable boolContent - (Updatable) Is the Content an executable file?
- Is
Locked bool - (Updatable) Is the script locked to prevent changes directly in Object Storage?
- Is
Read boolOutput Variable Enabled - (Updatable) Is read output variable enabled
- Target
Compartment stringId - (Updatable) OCID of the compartment to which the resource belongs to.
- Variables
Runbook
Version Task Task Record Details Execution Details Variables - (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- Execution
Type string - (Updatable) The action type of the task
- Catalog
Id string - Command string
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- Config
File string - (Updatable) Catalog Id having config file.
- Content
Runbook
Version Task Task Record Details Execution Details Content - (Updatable) Content Source details.
- Credentials
[]Runbook
Version Task Task Record Details Execution Details Credential - (Updatable) Credentials required for executing the task.
- Endpoint string
- (Updatable) Endpoint to be invoked.
- Is
Executable boolContent - (Updatable) Is the Content an executable file?
- Is
Locked bool - (Updatable) Is the script locked to prevent changes directly in Object Storage?
- Is
Read boolOutput Variable Enabled - (Updatable) Is read output variable enabled
- Target
Compartment stringId - (Updatable) OCID of the compartment to which the resource belongs to.
- Variables
Runbook
Version Task Task Record Details Execution Details Variables - (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- execution
Type String - (Updatable) The action type of the task
- catalog
Id String - command String
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- config
File String - (Updatable) Catalog Id having config file.
- content
Runbook
Version Task Task Record Details Execution Details Content - (Updatable) Content Source details.
- credentials
List<Runbook
Version Task Task Record Details Execution Details Credential> - (Updatable) Credentials required for executing the task.
- endpoint String
- (Updatable) Endpoint to be invoked.
- is
Executable BooleanContent - (Updatable) Is the Content an executable file?
- is
Locked Boolean - (Updatable) Is the script locked to prevent changes directly in Object Storage?
- is
Read BooleanOutput Variable Enabled - (Updatable) Is read output variable enabled
- target
Compartment StringId - (Updatable) OCID of the compartment to which the resource belongs to.
- variables
Runbook
Version Task Task Record Details Execution Details Variables - (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- execution
Type string - (Updatable) The action type of the task
- catalog
Id string - command string
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- config
File string - (Updatable) Catalog Id having config file.
- content
Runbook
Version Task Task Record Details Execution Details Content - (Updatable) Content Source details.
- credentials
Runbook
Version Task Task Record Details Execution Details Credential[] - (Updatable) Credentials required for executing the task.
- endpoint string
- (Updatable) Endpoint to be invoked.
- is
Executable booleanContent - (Updatable) Is the Content an executable file?
- is
Locked boolean - (Updatable) Is the script locked to prevent changes directly in Object Storage?
- is
Read booleanOutput Variable Enabled - (Updatable) Is read output variable enabled
- target
Compartment stringId - (Updatable) OCID of the compartment to which the resource belongs to.
- variables
Runbook
Version Task Task Record Details Execution Details Variables - (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- execution_
type str - (Updatable) The action type of the task
- catalog_
id str - command str
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- config_
file str - (Updatable) Catalog Id having config file.
- content
Runbook
Version Task Task Record Details Execution Details Content - (Updatable) Content Source details.
- credentials
Sequence[Runbook
Version Task Task Record Details Execution Details Credential] - (Updatable) Credentials required for executing the task.
- endpoint str
- (Updatable) Endpoint to be invoked.
- is_
executable_ boolcontent - (Updatable) Is the Content an executable file?
- is_
locked bool - (Updatable) Is the script locked to prevent changes directly in Object Storage?
- is_
read_ booloutput_ variable_ enabled - (Updatable) Is read output variable enabled
- target_
compartment_ strid - (Updatable) OCID of the compartment to which the resource belongs to.
- variables
Runbook
Version Task Task Record Details Execution Details Variables - (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
- execution
Type String - (Updatable) The action type of the task
- catalog
Id String - command String
- (Updatable) Optional command to execute the content. You can provide any commands/arguments that can't be part of the script.
- config
File String - (Updatable) Catalog Id having config file.
- content Property Map
- (Updatable) Content Source details.
- credentials List<Property Map>
- (Updatable) Credentials required for executing the task.
- endpoint String
- (Updatable) Endpoint to be invoked.
- is
Executable BooleanContent - (Updatable) Is the Content an executable file?
- is
Locked Boolean - (Updatable) Is the script locked to prevent changes directly in Object Storage?
- is
Read BooleanOutput Variable Enabled - (Updatable) Is read output variable enabled
- target
Compartment StringId - (Updatable) OCID of the compartment to which the resource belongs to.
- variables Property Map
- (Updatable) The variable of the task. At least one of the dynamicArguments or output needs to be provided.
RunbookVersionTaskTaskRecordDetailsExecutionDetailsContent, RunbookVersionTaskTaskRecordDetailsExecutionDetailsContentArgs
- source_
type str - (Updatable) Content Source type details.
- bucket str
- (Updatable) Bucket Name.
- catalog_
id str - checksum str
- (Updatable) md5 checksum of the artifact.
- namespace str
- (Updatable) Namespace.
- object str
- (Updatable) Object Name.
RunbookVersionTaskTaskRecordDetailsExecutionDetailsCredential, RunbookVersionTaskTaskRecordDetailsExecutionDetailsCredentialArgs
- Display
Name string - (Updatable) A user-friendly name. Does not
have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Id string
- (Updatable) The OCID of the resource.
- Display
Name string - (Updatable) A user-friendly name. Does not
have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Id string
- (Updatable) The OCID of the resource.
- display
Name String - (Updatable) A user-friendly name. Does not
have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- id String
- (Updatable) The OCID of the resource.
- display
Name string - (Updatable) A user-friendly name. Does not
have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- id string
- (Updatable) The OCID of the resource.
- 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
- id str
- (Updatable) The OCID of the resource.
- display
Name String - (Updatable) A user-friendly name. Does not
have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- id String
- (Updatable) The OCID of the resource.
RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariables, RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesArgs
- Input
Variables List<RunbookVersion Task Task Record Details Execution Details Variables Input Variable> - (Updatable) The input variables for the task.
- Output
Variables List<string> - (Updatable) The list of output variables.
- Input
Variables []RunbookVersion Task Task Record Details Execution Details Variables Input Variable - (Updatable) The input variables for the task.
- Output
Variables []string - (Updatable) The list of output variables.
- input
Variables List<RunbookVersion Task Task Record Details Execution Details Variables Input Variable> - (Updatable) The input variables for the task.
- output
Variables List<String> - (Updatable) The list of output variables.
- input
Variables RunbookVersion Task Task Record Details Execution Details Variables Input Variable[] - (Updatable) The input variables for the task.
- output
Variables string[] - (Updatable) The list of output variables.
- input_
variables Sequence[RunbookVersion Task Task Record Details Execution Details Variables Input Variable] - (Updatable) The input variables for the task.
- output_
variables Sequence[str] - (Updatable) The list of output variables.
- input
Variables List<Property Map> - (Updatable) The input variables for the task.
- output
Variables List<String> - (Updatable) The list of output variables.
RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariable, RunbookVersionTaskTaskRecordDetailsExecutionDetailsVariablesInputVariableArgs
- Description string
- (Updatable) The description of the argument.
- Name string
- (Updatable) The name of the argument.
- Type string
- (Updatable) Input argument Type.
- Description string
- (Updatable) The description of the argument.
- Name string
- (Updatable) The name of the argument.
- Type string
- (Updatable) Input argument Type.
- description String
- (Updatable) The description of the argument.
- name String
- (Updatable) The name of the argument.
- type String
- (Updatable) Input argument Type.
- description string
- (Updatable) The description of the argument.
- name string
- (Updatable) The name of the argument.
- type string
- (Updatable) Input argument Type.
- description str
- (Updatable) The description of the argument.
- name str
- (Updatable) The name of the argument.
- type str
- (Updatable) Input argument Type.
- description String
- (Updatable) The description of the argument.
- name String
- (Updatable) The name of the argument.
- type String
- (Updatable) Input argument Type.
RunbookVersionTaskTaskRecordDetailsProperties, RunbookVersionTaskTaskRecordDetailsPropertiesArgs
- Num
Retries int - (Updatable) The number of retries allowed.
- Timeout
In intSeconds - (Updatable) The timeout in seconds for the task.
- Num
Retries int - (Updatable) The number of retries allowed.
- Timeout
In intSeconds - (Updatable) The timeout in seconds for the task.
- num
Retries Integer - (Updatable) The number of retries allowed.
- timeout
In IntegerSeconds - (Updatable) The timeout in seconds for the task.
- num
Retries number - (Updatable) The number of retries allowed.
- timeout
In numberSeconds - (Updatable) The timeout in seconds for the task.
- num_
retries int - (Updatable) The number of retries allowed.
- timeout_
in_ intseconds - (Updatable) The timeout in seconds for the task.
- num
Retries Number - (Updatable) The number of retries allowed.
- timeout
In NumberSeconds - (Updatable) The timeout in seconds for the task.
Import
RunbookVersions can be imported using the id
, e.g.
$ pulumi import oci:FleetAppsManagement/runbookVersion:RunbookVersion test_runbook_version "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.