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

oci.FleetAppsManagement.SchedulerDefinition

Explore with Pulumi AI

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

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

    Create a SchedulerDefinition to perform lifecycle operations.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSchedulerDefinition = new oci.fleetappsmanagement.SchedulerDefinition("test_scheduler_definition", {
        actionGroups: [{
            fleetId: testFleet.id,
            kind: schedulerDefinitionActionGroupsKind,
            runbookId: testRunbook.id,
            runbookVersionName: testRunbookVersion.name,
            displayName: schedulerDefinitionActionGroupsDisplayName,
            sequence: schedulerDefinitionActionGroupsSequence,
        }],
        compartmentId: compartmentId,
        schedule: {
            executionStartdate: schedulerDefinitionScheduleExecutionStartdate,
            type: schedulerDefinitionScheduleType,
            duration: schedulerDefinitionScheduleDuration,
            maintenanceWindowId: testMaintenanceWindow.id,
            recurrences: schedulerDefinitionScheduleRecurrences,
        },
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        description: schedulerDefinitionDescription,
        displayName: schedulerDefinitionDisplayName,
        freeformTags: {
            "bar-key": "value",
        },
        runBooks: [{
            runbookId: testRunbook.id,
            runbookVersionName: testRunbookVersion.name,
            inputParameters: [{
                stepName: schedulerDefinitionRunBooksInputParametersStepName,
                arguments: [{
                    kind: schedulerDefinitionRunBooksInputParametersArgumentsKind,
                    name: schedulerDefinitionRunBooksInputParametersArgumentsName,
                    content: {
                        bucket: schedulerDefinitionRunBooksInputParametersArgumentsContentBucket,
                        checksum: schedulerDefinitionRunBooksInputParametersArgumentsContentChecksum,
                        namespace: schedulerDefinitionRunBooksInputParametersArgumentsContentNamespace,
                        object: schedulerDefinitionRunBooksInputParametersArgumentsContentObject,
                        sourceType: schedulerDefinitionRunBooksInputParametersArgumentsContentSourceType,
                    },
                    value: schedulerDefinitionRunBooksInputParametersArgumentsValue,
                }],
            }],
        }],
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_scheduler_definition = oci.fleet_apps_management.SchedulerDefinition("test_scheduler_definition",
        action_groups=[{
            "fleet_id": test_fleet["id"],
            "kind": scheduler_definition_action_groups_kind,
            "runbook_id": test_runbook["id"],
            "runbook_version_name": test_runbook_version["name"],
            "display_name": scheduler_definition_action_groups_display_name,
            "sequence": scheduler_definition_action_groups_sequence,
        }],
        compartment_id=compartment_id,
        schedule={
            "execution_startdate": scheduler_definition_schedule_execution_startdate,
            "type": scheduler_definition_schedule_type,
            "duration": scheduler_definition_schedule_duration,
            "maintenance_window_id": test_maintenance_window["id"],
            "recurrences": scheduler_definition_schedule_recurrences,
        },
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        description=scheduler_definition_description,
        display_name=scheduler_definition_display_name,
        freeform_tags={
            "bar-key": "value",
        },
        run_books=[{
            "runbook_id": test_runbook["id"],
            "runbook_version_name": test_runbook_version["name"],
            "input_parameters": [{
                "step_name": scheduler_definition_run_books_input_parameters_step_name,
                "arguments": [{
                    "kind": scheduler_definition_run_books_input_parameters_arguments_kind,
                    "name": scheduler_definition_run_books_input_parameters_arguments_name,
                    "content": {
                        "bucket": scheduler_definition_run_books_input_parameters_arguments_content_bucket,
                        "checksum": scheduler_definition_run_books_input_parameters_arguments_content_checksum,
                        "namespace": scheduler_definition_run_books_input_parameters_arguments_content_namespace,
                        "object": scheduler_definition_run_books_input_parameters_arguments_content_object,
                        "source_type": scheduler_definition_run_books_input_parameters_arguments_content_source_type,
                    },
                    "value": scheduler_definition_run_books_input_parameters_arguments_value,
                }],
            }],
        }])
    
    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.NewSchedulerDefinition(ctx, "test_scheduler_definition", &fleetappsmanagement.SchedulerDefinitionArgs{
    			ActionGroups: fleetappsmanagement.SchedulerDefinitionActionGroupArray{
    				&fleetappsmanagement.SchedulerDefinitionActionGroupArgs{
    					FleetId:            pulumi.Any(testFleet.Id),
    					Kind:               pulumi.Any(schedulerDefinitionActionGroupsKind),
    					RunbookId:          pulumi.Any(testRunbook.Id),
    					RunbookVersionName: pulumi.Any(testRunbookVersion.Name),
    					DisplayName:        pulumi.Any(schedulerDefinitionActionGroupsDisplayName),
    					Sequence:           pulumi.Any(schedulerDefinitionActionGroupsSequence),
    				},
    			},
    			CompartmentId: pulumi.Any(compartmentId),
    			Schedule: &fleetappsmanagement.SchedulerDefinitionScheduleArgs{
    				ExecutionStartdate:  pulumi.Any(schedulerDefinitionScheduleExecutionStartdate),
    				Type:                pulumi.Any(schedulerDefinitionScheduleType),
    				Duration:            pulumi.Any(schedulerDefinitionScheduleDuration),
    				MaintenanceWindowId: pulumi.Any(testMaintenanceWindow.Id),
    				Recurrences:         pulumi.Any(schedulerDefinitionScheduleRecurrences),
    			},
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			Description: pulumi.Any(schedulerDefinitionDescription),
    			DisplayName: pulumi.Any(schedulerDefinitionDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    			RunBooks: fleetappsmanagement.SchedulerDefinitionRunBookArray{
    				&fleetappsmanagement.SchedulerDefinitionRunBookArgs{
    					RunbookId:          pulumi.Any(testRunbook.Id),
    					RunbookVersionName: pulumi.Any(testRunbookVersion.Name),
    					InputParameters: fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArray{
    						&fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgs{
    							StepName: pulumi.Any(schedulerDefinitionRunBooksInputParametersStepName),
    							Arguments: fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgumentArray{
    								&fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgumentArgs{
    									Kind: pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsKind),
    									Name: pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsName),
    									Content: &fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgumentContentArgs{
    										Bucket:     pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsContentBucket),
    										Checksum:   pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsContentChecksum),
    										Namespace:  pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsContentNamespace),
    										Object:     pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsContentObject),
    										SourceType: pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsContentSourceType),
    									},
    									Value: pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsValue),
    								},
    							},
    						},
    					},
    				},
    			},
    		})
    		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 testSchedulerDefinition = new Oci.FleetAppsManagement.SchedulerDefinition("test_scheduler_definition", new()
        {
            ActionGroups = new[]
            {
                new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionActionGroupArgs
                {
                    FleetId = testFleet.Id,
                    Kind = schedulerDefinitionActionGroupsKind,
                    RunbookId = testRunbook.Id,
                    RunbookVersionName = testRunbookVersion.Name,
                    DisplayName = schedulerDefinitionActionGroupsDisplayName,
                    Sequence = schedulerDefinitionActionGroupsSequence,
                },
            },
            CompartmentId = compartmentId,
            Schedule = new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionScheduleArgs
            {
                ExecutionStartdate = schedulerDefinitionScheduleExecutionStartdate,
                Type = schedulerDefinitionScheduleType,
                Duration = schedulerDefinitionScheduleDuration,
                MaintenanceWindowId = testMaintenanceWindow.Id,
                Recurrences = schedulerDefinitionScheduleRecurrences,
            },
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = schedulerDefinitionDescription,
            DisplayName = schedulerDefinitionDisplayName,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            RunBooks = new[]
            {
                new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookArgs
                {
                    RunbookId = testRunbook.Id,
                    RunbookVersionName = testRunbookVersion.Name,
                    InputParameters = new[]
                    {
                        new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookInputParameterArgs
                        {
                            StepName = schedulerDefinitionRunBooksInputParametersStepName,
                            Arguments = new[]
                            {
                                new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookInputParameterArgumentArgs
                                {
                                    Kind = schedulerDefinitionRunBooksInputParametersArgumentsKind,
                                    Name = schedulerDefinitionRunBooksInputParametersArgumentsName,
                                    Content = new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookInputParameterArgumentContentArgs
                                    {
                                        Bucket = schedulerDefinitionRunBooksInputParametersArgumentsContentBucket,
                                        Checksum = schedulerDefinitionRunBooksInputParametersArgumentsContentChecksum,
                                        Namespace = schedulerDefinitionRunBooksInputParametersArgumentsContentNamespace,
                                        Object = schedulerDefinitionRunBooksInputParametersArgumentsContentObject,
                                        SourceType = schedulerDefinitionRunBooksInputParametersArgumentsContentSourceType,
                                    },
                                    Value = schedulerDefinitionRunBooksInputParametersArgumentsValue,
                                },
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.FleetAppsManagement.SchedulerDefinition;
    import com.pulumi.oci.FleetAppsManagement.SchedulerDefinitionArgs;
    import com.pulumi.oci.FleetAppsManagement.inputs.SchedulerDefinitionActionGroupArgs;
    import com.pulumi.oci.FleetAppsManagement.inputs.SchedulerDefinitionScheduleArgs;
    import com.pulumi.oci.FleetAppsManagement.inputs.SchedulerDefinitionRunBookArgs;
    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 testSchedulerDefinition = new SchedulerDefinition("testSchedulerDefinition", SchedulerDefinitionArgs.builder()
                .actionGroups(SchedulerDefinitionActionGroupArgs.builder()
                    .fleetId(testFleet.id())
                    .kind(schedulerDefinitionActionGroupsKind)
                    .runbookId(testRunbook.id())
                    .runbookVersionName(testRunbookVersion.name())
                    .displayName(schedulerDefinitionActionGroupsDisplayName)
                    .sequence(schedulerDefinitionActionGroupsSequence)
                    .build())
                .compartmentId(compartmentId)
                .schedule(SchedulerDefinitionScheduleArgs.builder()
                    .executionStartdate(schedulerDefinitionScheduleExecutionStartdate)
                    .type(schedulerDefinitionScheduleType)
                    .duration(schedulerDefinitionScheduleDuration)
                    .maintenanceWindowId(testMaintenanceWindow.id())
                    .recurrences(schedulerDefinitionScheduleRecurrences)
                    .build())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .description(schedulerDefinitionDescription)
                .displayName(schedulerDefinitionDisplayName)
                .freeformTags(Map.of("bar-key", "value"))
                .runBooks(SchedulerDefinitionRunBookArgs.builder()
                    .runbookId(testRunbook.id())
                    .runbookVersionName(testRunbookVersion.name())
                    .inputParameters(SchedulerDefinitionRunBookInputParameterArgs.builder()
                        .stepName(schedulerDefinitionRunBooksInputParametersStepName)
                        .arguments(SchedulerDefinitionRunBookInputParameterArgumentArgs.builder()
                            .kind(schedulerDefinitionRunBooksInputParametersArgumentsKind)
                            .name(schedulerDefinitionRunBooksInputParametersArgumentsName)
                            .content(SchedulerDefinitionRunBookInputParameterArgumentContentArgs.builder()
                                .bucket(schedulerDefinitionRunBooksInputParametersArgumentsContentBucket)
                                .checksum(schedulerDefinitionRunBooksInputParametersArgumentsContentChecksum)
                                .namespace(schedulerDefinitionRunBooksInputParametersArgumentsContentNamespace)
                                .object(schedulerDefinitionRunBooksInputParametersArgumentsContentObject)
                                .sourceType(schedulerDefinitionRunBooksInputParametersArgumentsContentSourceType)
                                .build())
                            .value(schedulerDefinitionRunBooksInputParametersArgumentsValue)
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      testSchedulerDefinition:
        type: oci:FleetAppsManagement:SchedulerDefinition
        name: test_scheduler_definition
        properties:
          actionGroups:
            - fleetId: ${testFleet.id}
              kind: ${schedulerDefinitionActionGroupsKind}
              runbookId: ${testRunbook.id}
              runbookVersionName: ${testRunbookVersion.name}
              displayName: ${schedulerDefinitionActionGroupsDisplayName}
              sequence: ${schedulerDefinitionActionGroupsSequence}
          compartmentId: ${compartmentId}
          schedule:
            executionStartdate: ${schedulerDefinitionScheduleExecutionStartdate}
            type: ${schedulerDefinitionScheduleType}
            duration: ${schedulerDefinitionScheduleDuration}
            maintenanceWindowId: ${testMaintenanceWindow.id}
            recurrences: ${schedulerDefinitionScheduleRecurrences}
          definedTags:
            foo-namespace.bar-key: value
          description: ${schedulerDefinitionDescription}
          displayName: ${schedulerDefinitionDisplayName}
          freeformTags:
            bar-key: value
          runBooks:
            - runbookId: ${testRunbook.id}
              runbookVersionName: ${testRunbookVersion.name}
              inputParameters:
                - stepName: ${schedulerDefinitionRunBooksInputParametersStepName}
                  arguments:
                    - kind: ${schedulerDefinitionRunBooksInputParametersArgumentsKind}
                      name: ${schedulerDefinitionRunBooksInputParametersArgumentsName}
                      content:
                        bucket: ${schedulerDefinitionRunBooksInputParametersArgumentsContentBucket}
                        checksum: ${schedulerDefinitionRunBooksInputParametersArgumentsContentChecksum}
                        namespace: ${schedulerDefinitionRunBooksInputParametersArgumentsContentNamespace}
                        object: ${schedulerDefinitionRunBooksInputParametersArgumentsContentObject}
                        sourceType: ${schedulerDefinitionRunBooksInputParametersArgumentsContentSourceType}
                      value: ${schedulerDefinitionRunBooksInputParametersArgumentsValue}
    

    Create SchedulerDefinition Resource

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

    Constructor syntax

    new SchedulerDefinition(name: string, args: SchedulerDefinitionArgs, opts?: CustomResourceOptions);
    @overload
    def SchedulerDefinition(resource_name: str,
                            args: SchedulerDefinitionArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def SchedulerDefinition(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            action_groups: Optional[Sequence[SchedulerDefinitionActionGroupArgs]] = None,
                            compartment_id: Optional[str] = None,
                            schedule: Optional[SchedulerDefinitionScheduleArgs] = None,
                            defined_tags: Optional[Mapping[str, str]] = None,
                            description: Optional[str] = None,
                            display_name: Optional[str] = None,
                            freeform_tags: Optional[Mapping[str, str]] = None,
                            run_books: Optional[Sequence[SchedulerDefinitionRunBookArgs]] = None)
    func NewSchedulerDefinition(ctx *Context, name string, args SchedulerDefinitionArgs, opts ...ResourceOption) (*SchedulerDefinition, error)
    public SchedulerDefinition(string name, SchedulerDefinitionArgs args, CustomResourceOptions? opts = null)
    public SchedulerDefinition(String name, SchedulerDefinitionArgs args)
    public SchedulerDefinition(String name, SchedulerDefinitionArgs args, CustomResourceOptions options)
    
    type: oci:FleetAppsManagement:SchedulerDefinition
    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 SchedulerDefinitionArgs
    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 SchedulerDefinitionArgs
    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 SchedulerDefinitionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SchedulerDefinitionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SchedulerDefinitionArgs
    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 schedulerDefinitionResource = new Oci.FleetAppsManagement.SchedulerDefinition("schedulerDefinitionResource", new()
    {
        ActionGroups = new[]
        {
            new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionActionGroupArgs
            {
                FleetId = "string",
                Kind = "string",
                RunbookId = "string",
                RunbookVersionName = "string",
                DisplayName = "string",
                Sequence = 0,
            },
        },
        CompartmentId = "string",
        Schedule = new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionScheduleArgs
        {
            ExecutionStartdate = "string",
            Type = "string",
            Duration = "string",
            MaintenanceWindowId = "string",
            Recurrences = "string",
        },
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        RunBooks = new[]
        {
            new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookArgs
            {
                RunbookId = "string",
                RunbookVersionName = "string",
                InputParameters = new[]
                {
                    new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookInputParameterArgs
                    {
                        StepName = "string",
                        Arguments = new[]
                        {
                            new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookInputParameterArgumentArgs
                            {
                                Kind = "string",
                                Name = "string",
                                Content = new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookInputParameterArgumentContentArgs
                                {
                                    Bucket = "string",
                                    Checksum = "string",
                                    Namespace = "string",
                                    Object = "string",
                                    SourceType = "string",
                                },
                                Value = "string",
                            },
                        },
                    },
                },
            },
        },
    });
    
    example, err := fleetappsmanagement.NewSchedulerDefinition(ctx, "schedulerDefinitionResource", &fleetappsmanagement.SchedulerDefinitionArgs{
    	ActionGroups: fleetappsmanagement.SchedulerDefinitionActionGroupArray{
    		&fleetappsmanagement.SchedulerDefinitionActionGroupArgs{
    			FleetId:            pulumi.String("string"),
    			Kind:               pulumi.String("string"),
    			RunbookId:          pulumi.String("string"),
    			RunbookVersionName: pulumi.String("string"),
    			DisplayName:        pulumi.String("string"),
    			Sequence:           pulumi.Int(0),
    		},
    	},
    	CompartmentId: pulumi.String("string"),
    	Schedule: &fleetappsmanagement.SchedulerDefinitionScheduleArgs{
    		ExecutionStartdate:  pulumi.String("string"),
    		Type:                pulumi.String("string"),
    		Duration:            pulumi.String("string"),
    		MaintenanceWindowId: pulumi.String("string"),
    		Recurrences:         pulumi.String("string"),
    	},
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	RunBooks: fleetappsmanagement.SchedulerDefinitionRunBookArray{
    		&fleetappsmanagement.SchedulerDefinitionRunBookArgs{
    			RunbookId:          pulumi.String("string"),
    			RunbookVersionName: pulumi.String("string"),
    			InputParameters: fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArray{
    				&fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgs{
    					StepName: pulumi.String("string"),
    					Arguments: fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgumentArray{
    						&fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgumentArgs{
    							Kind: pulumi.String("string"),
    							Name: pulumi.String("string"),
    							Content: &fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgumentContentArgs{
    								Bucket:     pulumi.String("string"),
    								Checksum:   pulumi.String("string"),
    								Namespace:  pulumi.String("string"),
    								Object:     pulumi.String("string"),
    								SourceType: pulumi.String("string"),
    							},
    							Value: pulumi.String("string"),
    						},
    					},
    				},
    			},
    		},
    	},
    })
    
    var schedulerDefinitionResource = new SchedulerDefinition("schedulerDefinitionResource", SchedulerDefinitionArgs.builder()
        .actionGroups(SchedulerDefinitionActionGroupArgs.builder()
            .fleetId("string")
            .kind("string")
            .runbookId("string")
            .runbookVersionName("string")
            .displayName("string")
            .sequence(0)
            .build())
        .compartmentId("string")
        .schedule(SchedulerDefinitionScheduleArgs.builder()
            .executionStartdate("string")
            .type("string")
            .duration("string")
            .maintenanceWindowId("string")
            .recurrences("string")
            .build())
        .definedTags(Map.of("string", "string"))
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .runBooks(SchedulerDefinitionRunBookArgs.builder()
            .runbookId("string")
            .runbookVersionName("string")
            .inputParameters(SchedulerDefinitionRunBookInputParameterArgs.builder()
                .stepName("string")
                .arguments(SchedulerDefinitionRunBookInputParameterArgumentArgs.builder()
                    .kind("string")
                    .name("string")
                    .content(SchedulerDefinitionRunBookInputParameterArgumentContentArgs.builder()
                        .bucket("string")
                        .checksum("string")
                        .namespace("string")
                        .object("string")
                        .sourceType("string")
                        .build())
                    .value("string")
                    .build())
                .build())
            .build())
        .build());
    
    scheduler_definition_resource = oci.fleetappsmanagement.SchedulerDefinition("schedulerDefinitionResource",
        action_groups=[{
            "fleet_id": "string",
            "kind": "string",
            "runbook_id": "string",
            "runbook_version_name": "string",
            "display_name": "string",
            "sequence": 0,
        }],
        compartment_id="string",
        schedule={
            "execution_startdate": "string",
            "type": "string",
            "duration": "string",
            "maintenance_window_id": "string",
            "recurrences": "string",
        },
        defined_tags={
            "string": "string",
        },
        description="string",
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        run_books=[{
            "runbook_id": "string",
            "runbook_version_name": "string",
            "input_parameters": [{
                "step_name": "string",
                "arguments": [{
                    "kind": "string",
                    "name": "string",
                    "content": {
                        "bucket": "string",
                        "checksum": "string",
                        "namespace": "string",
                        "object": "string",
                        "source_type": "string",
                    },
                    "value": "string",
                }],
            }],
        }])
    
    const schedulerDefinitionResource = new oci.fleetappsmanagement.SchedulerDefinition("schedulerDefinitionResource", {
        actionGroups: [{
            fleetId: "string",
            kind: "string",
            runbookId: "string",
            runbookVersionName: "string",
            displayName: "string",
            sequence: 0,
        }],
        compartmentId: "string",
        schedule: {
            executionStartdate: "string",
            type: "string",
            duration: "string",
            maintenanceWindowId: "string",
            recurrences: "string",
        },
        definedTags: {
            string: "string",
        },
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        runBooks: [{
            runbookId: "string",
            runbookVersionName: "string",
            inputParameters: [{
                stepName: "string",
                arguments: [{
                    kind: "string",
                    name: "string",
                    content: {
                        bucket: "string",
                        checksum: "string",
                        namespace: "string",
                        object: "string",
                        sourceType: "string",
                    },
                    value: "string",
                }],
            }],
        }],
    });
    
    type: oci:FleetAppsManagement:SchedulerDefinition
    properties:
        actionGroups:
            - displayName: string
              fleetId: string
              kind: string
              runbookId: string
              runbookVersionName: string
              sequence: 0
        compartmentId: string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        runBooks:
            - inputParameters:
                - arguments:
                    - content:
                        bucket: string
                        checksum: string
                        namespace: string
                        object: string
                        sourceType: string
                      kind: string
                      name: string
                      value: string
                  stepName: string
              runbookId: string
              runbookVersionName: string
        schedule:
            duration: string
            executionStartdate: string
            maintenanceWindowId: string
            recurrences: string
            type: string
    

    SchedulerDefinition 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 SchedulerDefinition resource accepts the following input properties:

    ActionGroups List<SchedulerDefinitionActionGroup>
    (Updatable) Action Groups associated with the Schedule.
    CompartmentId string
    Compartment OCID
    Schedule SchedulerDefinitionSchedule
    (Updatable) Schedule Information.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    RunBooks List<SchedulerDefinitionRunBook>
    (Updatable) Runbooks.
    ActionGroups []SchedulerDefinitionActionGroupArgs
    (Updatable) Action Groups associated with the Schedule.
    CompartmentId string
    Compartment OCID
    Schedule SchedulerDefinitionScheduleArgs
    (Updatable) Schedule Information.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    RunBooks []SchedulerDefinitionRunBookArgs
    (Updatable) Runbooks.
    actionGroups List<SchedulerDefinitionActionGroup>
    (Updatable) Action Groups associated with the Schedule.
    compartmentId String
    Compartment OCID
    schedule SchedulerDefinitionSchedule
    (Updatable) Schedule Information.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    runBooks List<SchedulerDefinitionRunBook>
    (Updatable) Runbooks.
    actionGroups SchedulerDefinitionActionGroup[]
    (Updatable) Action Groups associated with the Schedule.
    compartmentId string
    Compartment OCID
    schedule SchedulerDefinitionSchedule
    (Updatable) Schedule Information.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    runBooks SchedulerDefinitionRunBook[]
    (Updatable) Runbooks.
    action_groups Sequence[SchedulerDefinitionActionGroupArgs]
    (Updatable) Action Groups associated with the Schedule.
    compartment_id str
    Compartment OCID
    schedule SchedulerDefinitionScheduleArgs
    (Updatable) Schedule Information.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    run_books Sequence[SchedulerDefinitionRunBookArgs]
    (Updatable) Runbooks.
    actionGroups List<Property Map>
    (Updatable) Action Groups associated with the Schedule.
    compartmentId String
    Compartment OCID
    schedule Property Map
    (Updatable) Schedule Information.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    runBooks List<Property Map>
    (Updatable) Runbooks.

    Outputs

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

    CountOfAffectedActionGroups int
    Count of Action Groups affected by the Schedule.
    CountOfAffectedResources int
    Count of Resources affected by the Schedule.
    CountOfAffectedTargets int
    Count of Targets affected by the Schedule.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleOperations List<string>
    All LifeCycle Operations that are part of the schedule.
    Products List<string>
    All products that are part of the schedule for PRODUCT ActionGroup Type.
    ResourceRegion string
    Associated region
    State string
    The current state of the SchedulerDefinition.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeOfNextRun string
    The scheduled date for the next run of the Job.
    TimeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    CountOfAffectedActionGroups int
    Count of Action Groups affected by the Schedule.
    CountOfAffectedResources int
    Count of Resources affected by the Schedule.
    CountOfAffectedTargets int
    Count of Targets affected by the Schedule.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleOperations []string
    All LifeCycle Operations that are part of the schedule.
    Products []string
    All products that are part of the schedule for PRODUCT ActionGroup Type.
    ResourceRegion string
    Associated region
    State string
    The current state of the SchedulerDefinition.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeOfNextRun string
    The scheduled date for the next run of the Job.
    TimeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    countOfAffectedActionGroups Integer
    Count of Action Groups affected by the Schedule.
    countOfAffectedResources Integer
    Count of Resources affected by the Schedule.
    countOfAffectedTargets Integer
    Count of Targets affected by the Schedule.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    lifecycleOperations List<String>
    All LifeCycle Operations that are part of the schedule.
    products List<String>
    All products that are part of the schedule for PRODUCT ActionGroup Type.
    resourceRegion String
    Associated region
    state String
    The current state of the SchedulerDefinition.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeOfNextRun String
    The scheduled date for the next run of the Job.
    timeUpdated String
    The time this resource was last updated. An RFC3339 formatted datetime string.
    countOfAffectedActionGroups number
    Count of Action Groups affected by the Schedule.
    countOfAffectedResources number
    Count of Resources affected by the Schedule.
    countOfAffectedTargets number
    Count of Targets affected by the Schedule.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    lifecycleOperations string[]
    All LifeCycle Operations that are part of the schedule.
    products string[]
    All products that are part of the schedule for PRODUCT ActionGroup Type.
    resourceRegion string
    Associated region
    state string
    The current state of the SchedulerDefinition.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    timeOfNextRun string
    The scheduled date for the next run of the Job.
    timeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    count_of_affected_action_groups int
    Count of Action Groups affected by the Schedule.
    count_of_affected_resources int
    Count of Resources affected by the Schedule.
    count_of_affected_targets int
    Count of Targets affected by the Schedule.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    lifecycle_operations Sequence[str]
    All LifeCycle Operations that are part of the schedule.
    products Sequence[str]
    All products that are part of the schedule for PRODUCT ActionGroup Type.
    resource_region str
    Associated region
    state str
    The current state of the SchedulerDefinition.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time this resource was created. An RFC3339 formatted datetime string.
    time_of_next_run str
    The scheduled date for the next run of the Job.
    time_updated str
    The time this resource was last updated. An RFC3339 formatted datetime string.
    countOfAffectedActionGroups Number
    Count of Action Groups affected by the Schedule.
    countOfAffectedResources Number
    Count of Resources affected by the Schedule.
    countOfAffectedTargets Number
    Count of Targets affected by the Schedule.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    lifecycleOperations List<String>
    All LifeCycle Operations that are part of the schedule.
    products List<String>
    All products that are part of the schedule for PRODUCT ActionGroup Type.
    resourceRegion String
    Associated region
    state String
    The current state of the SchedulerDefinition.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeOfNextRun String
    The scheduled date for the next run of the Job.
    timeUpdated String
    The time this resource was last updated. An RFC3339 formatted datetime string.

    Look up Existing SchedulerDefinition Resource

    Get an existing SchedulerDefinition 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?: SchedulerDefinitionState, opts?: CustomResourceOptions): SchedulerDefinition
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action_groups: Optional[Sequence[SchedulerDefinitionActionGroupArgs]] = None,
            compartment_id: Optional[str] = None,
            count_of_affected_action_groups: Optional[int] = None,
            count_of_affected_resources: Optional[int] = None,
            count_of_affected_targets: Optional[int] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            lifecycle_details: Optional[str] = None,
            lifecycle_operations: Optional[Sequence[str]] = None,
            products: Optional[Sequence[str]] = None,
            resource_region: Optional[str] = None,
            run_books: Optional[Sequence[SchedulerDefinitionRunBookArgs]] = None,
            schedule: Optional[SchedulerDefinitionScheduleArgs] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_of_next_run: Optional[str] = None,
            time_updated: Optional[str] = None) -> SchedulerDefinition
    func GetSchedulerDefinition(ctx *Context, name string, id IDInput, state *SchedulerDefinitionState, opts ...ResourceOption) (*SchedulerDefinition, error)
    public static SchedulerDefinition Get(string name, Input<string> id, SchedulerDefinitionState? state, CustomResourceOptions? opts = null)
    public static SchedulerDefinition get(String name, Output<String> id, SchedulerDefinitionState state, CustomResourceOptions options)
    resources:  _:    type: oci:FleetAppsManagement:SchedulerDefinition    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ActionGroups List<SchedulerDefinitionActionGroup>
    (Updatable) Action Groups associated with the Schedule.
    CompartmentId string
    Compartment OCID
    CountOfAffectedActionGroups int
    Count of Action Groups affected by the Schedule.
    CountOfAffectedResources int
    Count of Resources affected by the Schedule.
    CountOfAffectedTargets int
    Count of Targets affected by the Schedule.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleOperations List<string>
    All LifeCycle Operations that are part of the schedule.
    Products List<string>
    All products that are part of the schedule for PRODUCT ActionGroup Type.
    ResourceRegion string
    Associated region
    RunBooks List<SchedulerDefinitionRunBook>
    (Updatable) Runbooks.
    Schedule SchedulerDefinitionSchedule
    (Updatable) Schedule Information.
    State string
    The current state of the SchedulerDefinition.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeOfNextRun string
    The scheduled date for the next run of the Job.
    TimeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    ActionGroups []SchedulerDefinitionActionGroupArgs
    (Updatable) Action Groups associated with the Schedule.
    CompartmentId string
    Compartment OCID
    CountOfAffectedActionGroups int
    Count of Action Groups affected by the Schedule.
    CountOfAffectedResources int
    Count of Resources affected by the Schedule.
    CountOfAffectedTargets int
    Count of Targets affected by the Schedule.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    LifecycleOperations []string
    All LifeCycle Operations that are part of the schedule.
    Products []string
    All products that are part of the schedule for PRODUCT ActionGroup Type.
    ResourceRegion string
    Associated region
    RunBooks []SchedulerDefinitionRunBookArgs
    (Updatable) Runbooks.
    Schedule SchedulerDefinitionScheduleArgs
    (Updatable) Schedule Information.
    State string
    The current state of the SchedulerDefinition.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    TimeOfNextRun string
    The scheduled date for the next run of the Job.
    TimeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    actionGroups List<SchedulerDefinitionActionGroup>
    (Updatable) Action Groups associated with the Schedule.
    compartmentId String
    Compartment OCID
    countOfAffectedActionGroups Integer
    Count of Action Groups affected by the Schedule.
    countOfAffectedResources Integer
    Count of Resources affected by the Schedule.
    countOfAffectedTargets Integer
    Count of Targets affected by the Schedule.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    lifecycleOperations List<String>
    All LifeCycle Operations that are part of the schedule.
    products List<String>
    All products that are part of the schedule for PRODUCT ActionGroup Type.
    resourceRegion String
    Associated region
    runBooks List<SchedulerDefinitionRunBook>
    (Updatable) Runbooks.
    schedule SchedulerDefinitionSchedule
    (Updatable) Schedule Information.
    state String
    The current state of the SchedulerDefinition.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeOfNextRun String
    The scheduled date for the next run of the Job.
    timeUpdated String
    The time this resource was last updated. An RFC3339 formatted datetime string.
    actionGroups SchedulerDefinitionActionGroup[]
    (Updatable) Action Groups associated with the Schedule.
    compartmentId string
    Compartment OCID
    countOfAffectedActionGroups number
    Count of Action Groups affected by the Schedule.
    countOfAffectedResources number
    Count of Resources affected by the Schedule.
    countOfAffectedTargets number
    Count of Targets affected by the Schedule.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    lifecycleOperations string[]
    All LifeCycle Operations that are part of the schedule.
    products string[]
    All products that are part of the schedule for PRODUCT ActionGroup Type.
    resourceRegion string
    Associated region
    runBooks SchedulerDefinitionRunBook[]
    (Updatable) Runbooks.
    schedule SchedulerDefinitionSchedule
    (Updatable) Schedule Information.
    state string
    The current state of the SchedulerDefinition.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time this resource was created. An RFC3339 formatted datetime string.
    timeOfNextRun string
    The scheduled date for the next run of the Job.
    timeUpdated string
    The time this resource was last updated. An RFC3339 formatted datetime string.
    action_groups Sequence[SchedulerDefinitionActionGroupArgs]
    (Updatable) Action Groups associated with the Schedule.
    compartment_id str
    Compartment OCID
    count_of_affected_action_groups int
    Count of Action Groups affected by the Schedule.
    count_of_affected_resources int
    Count of Resources affected by the Schedule.
    count_of_affected_targets int
    Count of Targets affected by the Schedule.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    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.
    lifecycle_operations Sequence[str]
    All LifeCycle Operations that are part of the schedule.
    products Sequence[str]
    All products that are part of the schedule for PRODUCT ActionGroup Type.
    resource_region str
    Associated region
    run_books Sequence[SchedulerDefinitionRunBookArgs]
    (Updatable) Runbooks.
    schedule SchedulerDefinitionScheduleArgs
    (Updatable) Schedule Information.
    state str
    The current state of the SchedulerDefinition.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time this resource was created. An RFC3339 formatted datetime string.
    time_of_next_run str
    The scheduled date for the next run of the Job.
    time_updated str
    The time this resource was last updated. An RFC3339 formatted datetime string.
    actionGroups List<Property Map>
    (Updatable) Action Groups associated with the Schedule.
    compartmentId String
    Compartment OCID
    countOfAffectedActionGroups Number
    Count of Action Groups affected by the Schedule.
    countOfAffectedResources Number
    Count of Resources affected by the Schedule.
    countOfAffectedTargets Number
    Count of Targets affected by the Schedule.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    lifecycleOperations List<String>
    All LifeCycle Operations that are part of the schedule.
    products List<String>
    All products that are part of the schedule for PRODUCT ActionGroup Type.
    resourceRegion String
    Associated region
    runBooks List<Property Map>
    (Updatable) Runbooks.
    schedule Property Map
    (Updatable) Schedule Information.
    state String
    The current state of the SchedulerDefinition.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this resource was created. An RFC3339 formatted datetime string.
    timeOfNextRun String
    The scheduled date for the next run of the Job.
    timeUpdated String
    The time this resource was last updated. An RFC3339 formatted datetime string.

    Supporting Types

    SchedulerDefinitionActionGroup, SchedulerDefinitionActionGroupArgs

    FleetId string
    (Updatable) ID of the fleet
    Kind string
    (Updatable) Action Group kind
    RunbookId string
    (Updatable) ID of the runbook
    RunbookVersionName string
    (Updatable) Name of the runbook version
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    Sequence int
    (Updatable) Sequence of the Action Group. Action groups will be executed in a seuential order. All Action Groups having the same sequence will be executed parallely. If no value is provided a default value of 1 will be given.
    FleetId string
    (Updatable) ID of the fleet
    Kind string
    (Updatable) Action Group kind
    RunbookId string
    (Updatable) ID of the runbook
    RunbookVersionName string
    (Updatable) Name of the runbook version
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    Sequence int
    (Updatable) Sequence of the Action Group. Action groups will be executed in a seuential order. All Action Groups having the same sequence will be executed parallely. If no value is provided a default value of 1 will be given.
    fleetId String
    (Updatable) ID of the fleet
    kind String
    (Updatable) Action Group kind
    runbookId String
    (Updatable) ID of the runbook
    runbookVersionName String
    (Updatable) Name of the runbook version
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    sequence Integer
    (Updatable) Sequence of the Action Group. Action groups will be executed in a seuential order. All Action Groups having the same sequence will be executed parallely. If no value is provided a default value of 1 will be given.
    fleetId string
    (Updatable) ID of the fleet
    kind string
    (Updatable) Action Group kind
    runbookId string
    (Updatable) ID of the runbook
    runbookVersionName string
    (Updatable) Name of the runbook version
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    sequence number
    (Updatable) Sequence of the Action Group. Action groups will be executed in a seuential order. All Action Groups having the same sequence will be executed parallely. If no value is provided a default value of 1 will be given.
    fleet_id str
    (Updatable) ID of the fleet
    kind str
    (Updatable) Action Group kind
    runbook_id str
    (Updatable) ID of the runbook
    runbook_version_name str
    (Updatable) Name of the runbook version
    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
    sequence int
    (Updatable) Sequence of the Action Group. Action groups will be executed in a seuential order. All Action Groups having the same sequence will be executed parallely. If no value is provided a default value of 1 will be given.
    fleetId String
    (Updatable) ID of the fleet
    kind String
    (Updatable) Action Group kind
    runbookId String
    (Updatable) ID of the runbook
    runbookVersionName String
    (Updatable) Name of the runbook version
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
    sequence Number
    (Updatable) Sequence of the Action Group. Action groups will be executed in a seuential order. All Action Groups having the same sequence will be executed parallely. If no value is provided a default value of 1 will be given.

    SchedulerDefinitionRunBook, SchedulerDefinitionRunBookArgs

    RunbookId string
    (Updatable) The ID of the Runbook
    RunbookVersionName string
    (Updatable) The runbook version name
    InputParameters List<SchedulerDefinitionRunBookInputParameter>
    (Updatable) Input Parameters for the Task
    RunbookId string
    (Updatable) The ID of the Runbook
    RunbookVersionName string
    (Updatable) The runbook version name
    InputParameters []SchedulerDefinitionRunBookInputParameter
    (Updatable) Input Parameters for the Task
    runbookId String
    (Updatable) The ID of the Runbook
    runbookVersionName String
    (Updatable) The runbook version name
    inputParameters List<SchedulerDefinitionRunBookInputParameter>
    (Updatable) Input Parameters for the Task
    runbookId string
    (Updatable) The ID of the Runbook
    runbookVersionName string
    (Updatable) The runbook version name
    inputParameters SchedulerDefinitionRunBookInputParameter[]
    (Updatable) Input Parameters for the Task
    runbook_id str
    (Updatable) The ID of the Runbook
    runbook_version_name str
    (Updatable) The runbook version name
    input_parameters Sequence[SchedulerDefinitionRunBookInputParameter]
    (Updatable) Input Parameters for the Task
    runbookId String
    (Updatable) The ID of the Runbook
    runbookVersionName String
    (Updatable) The runbook version name
    inputParameters List<Property Map>
    (Updatable) Input Parameters for the Task

    SchedulerDefinitionRunBookInputParameter, SchedulerDefinitionRunBookInputParameterArgs

    StepName string
    (Updatable) stepName for which the input parameters are provided
    Arguments List<SchedulerDefinitionRunBookInputParameterArgument>
    (Updatable) Arguments for the Task
    StepName string
    (Updatable) stepName for which the input parameters are provided
    Arguments []SchedulerDefinitionRunBookInputParameterArgument
    (Updatable) Arguments for the Task
    stepName String
    (Updatable) stepName for which the input parameters are provided
    arguments List<SchedulerDefinitionRunBookInputParameterArgument>
    (Updatable) Arguments for the Task
    stepName string
    (Updatable) stepName for which the input parameters are provided
    arguments SchedulerDefinitionRunBookInputParameterArgument[]
    (Updatable) Arguments for the Task
    step_name str
    (Updatable) stepName for which the input parameters are provided
    arguments Sequence[SchedulerDefinitionRunBookInputParameterArgument]
    (Updatable) Arguments for the Task
    stepName String
    (Updatable) stepName for which the input parameters are provided
    arguments List<Property Map>
    (Updatable) Arguments for the Task

    SchedulerDefinitionRunBookInputParameterArgument, SchedulerDefinitionRunBookInputParameterArgumentArgs

    Kind string
    (Updatable) Task argument kind
    Name string
    (Updatable) Name of the input variable
    Content SchedulerDefinitionRunBookInputParameterArgumentContent
    (Updatable) Content Source details.
    Value string
    (Updatable) The task input
    Kind string
    (Updatable) Task argument kind
    Name string
    (Updatable) Name of the input variable
    Content SchedulerDefinitionRunBookInputParameterArgumentContent
    (Updatable) Content Source details.
    Value string
    (Updatable) The task input
    kind String
    (Updatable) Task argument kind
    name String
    (Updatable) Name of the input variable
    content SchedulerDefinitionRunBookInputParameterArgumentContent
    (Updatable) Content Source details.
    value String
    (Updatable) The task input
    kind string
    (Updatable) Task argument kind
    name string
    (Updatable) Name of the input variable
    content SchedulerDefinitionRunBookInputParameterArgumentContent
    (Updatable) Content Source details.
    value string
    (Updatable) The task input
    kind str
    (Updatable) Task argument kind
    name str
    (Updatable) Name of the input variable
    content SchedulerDefinitionRunBookInputParameterArgumentContent
    (Updatable) Content Source details.
    value str
    (Updatable) The task input
    kind String
    (Updatable) Task argument kind
    name String
    (Updatable) Name of the input variable
    content Property Map
    (Updatable) Content Source details.
    value String
    (Updatable) The task input

    SchedulerDefinitionRunBookInputParameterArgumentContent, SchedulerDefinitionRunBookInputParameterArgumentContentArgs

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

    SchedulerDefinitionSchedule, SchedulerDefinitionScheduleArgs

    ExecutionStartdate string
    (Updatable) Start Date for the schedule. An RFC3339 formatted datetime string
    Type string

    (Updatable) Schedule Type

    ** 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

    Duration string
    (Updatable) Duration of the schedule.
    MaintenanceWindowId string
    (Updatable) Provide MaintenanceWindowId
    Recurrences string
    (Updatable) Recurrence rule specification if recurring
    ExecutionStartdate string
    (Updatable) Start Date for the schedule. An RFC3339 formatted datetime string
    Type string

    (Updatable) Schedule Type

    ** 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

    Duration string
    (Updatable) Duration of the schedule.
    MaintenanceWindowId string
    (Updatable) Provide MaintenanceWindowId
    Recurrences string
    (Updatable) Recurrence rule specification if recurring
    executionStartdate String
    (Updatable) Start Date for the schedule. An RFC3339 formatted datetime string
    type String

    (Updatable) Schedule Type

    ** 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

    duration String
    (Updatable) Duration of the schedule.
    maintenanceWindowId String
    (Updatable) Provide MaintenanceWindowId
    recurrences String
    (Updatable) Recurrence rule specification if recurring
    executionStartdate string
    (Updatable) Start Date for the schedule. An RFC3339 formatted datetime string
    type string

    (Updatable) Schedule Type

    ** 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

    duration string
    (Updatable) Duration of the schedule.
    maintenanceWindowId string
    (Updatable) Provide MaintenanceWindowId
    recurrences string
    (Updatable) Recurrence rule specification if recurring
    execution_startdate str
    (Updatable) Start Date for the schedule. An RFC3339 formatted datetime string
    type str

    (Updatable) Schedule Type

    ** 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

    duration str
    (Updatable) Duration of the schedule.
    maintenance_window_id str
    (Updatable) Provide MaintenanceWindowId
    recurrences str
    (Updatable) Recurrence rule specification if recurring
    executionStartdate String
    (Updatable) Start Date for the schedule. An RFC3339 formatted datetime string
    type String

    (Updatable) Schedule Type

    ** 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

    duration String
    (Updatable) Duration of the schedule.
    maintenanceWindowId String
    (Updatable) Provide MaintenanceWindowId
    recurrences String
    (Updatable) Recurrence rule specification if recurring

    Import

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

    $ pulumi import oci:FleetAppsManagement/schedulerDefinition:SchedulerDefinition test_scheduler_definition "id"
    

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

    Package Details

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