1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. OsManagementHub
  5. ScheduledJob
Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi

oci.OsManagementHub.ScheduledJob

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi

    This resource provides the Scheduled Job resource in Oracle Cloud Infrastructure Os Management Hub service.

    Creates a new scheduled job.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testScheduledJob = new oci.osmanagementhub.ScheduledJob("test_scheduled_job", {
        compartmentId: compartmentId,
        operations: [{
            operationType: scheduledJobOperationsOperationType,
            manageModuleStreamsDetails: {
                disables: [{
                    moduleName: scheduledJobOperationsManageModuleStreamsDetailsDisableModuleName,
                    streamName: testStream.name,
                    softwareSourceId: testSoftwareSource.id,
                }],
                enables: [{
                    moduleName: scheduledJobOperationsManageModuleStreamsDetailsEnableModuleName,
                    streamName: testStream.name,
                    softwareSourceId: testSoftwareSource.id,
                }],
                installs: [{
                    moduleName: scheduledJobOperationsManageModuleStreamsDetailsInstallModuleName,
                    profileName: testProfile.name,
                    streamName: testStream.name,
                    softwareSourceId: testSoftwareSource.id,
                }],
                removes: [{
                    moduleName: scheduledJobOperationsManageModuleStreamsDetailsRemoveModuleName,
                    profileName: testProfile.name,
                    streamName: testStream.name,
                    softwareSourceId: testSoftwareSource.id,
                }],
            },
            packageNames: scheduledJobOperationsPackageNames,
            softwareSourceIds: scheduledJobOperationsSoftwareSourceIds,
            switchModuleStreamsDetails: {
                moduleName: scheduledJobOperationsSwitchModuleStreamsDetailsModuleName,
                streamName: testStream.name,
                softwareSourceId: testSoftwareSource.id,
            },
            windowsUpdateNames: scheduledJobOperationsWindowsUpdateNames,
        }],
        scheduleType: scheduledJobScheduleType,
        timeNextExecution: scheduledJobTimeNextExecution,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: scheduledJobDescription,
        displayName: scheduledJobDisplayName,
        freeformTags: {
            Department: "Finance",
        },
        isManagedByAutonomousLinux: scheduledJobIsManagedByAutonomousLinux,
        isSubcompartmentIncluded: scheduledJobIsSubcompartmentIncluded,
        lifecycleStageIds: scheduledJobLifecycleStageIds,
        locations: scheduledJobLocations,
        managedCompartmentIds: scheduledJobManagedCompartmentIds,
        managedInstanceGroupIds: scheduledJobManagedInstanceGroupIds,
        managedInstanceIds: scheduledJobManagedInstanceIds,
        recurringRule: scheduledJobRecurringRule,
        retryIntervals: scheduledJobRetryIntervals,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_scheduled_job = oci.os_management_hub.ScheduledJob("test_scheduled_job",
        compartment_id=compartment_id,
        operations=[{
            "operation_type": scheduled_job_operations_operation_type,
            "manage_module_streams_details": {
                "disables": [{
                    "module_name": scheduled_job_operations_manage_module_streams_details_disable_module_name,
                    "stream_name": test_stream["name"],
                    "software_source_id": test_software_source["id"],
                }],
                "enables": [{
                    "module_name": scheduled_job_operations_manage_module_streams_details_enable_module_name,
                    "stream_name": test_stream["name"],
                    "software_source_id": test_software_source["id"],
                }],
                "installs": [{
                    "module_name": scheduled_job_operations_manage_module_streams_details_install_module_name,
                    "profile_name": test_profile["name"],
                    "stream_name": test_stream["name"],
                    "software_source_id": test_software_source["id"],
                }],
                "removes": [{
                    "module_name": scheduled_job_operations_manage_module_streams_details_remove_module_name,
                    "profile_name": test_profile["name"],
                    "stream_name": test_stream["name"],
                    "software_source_id": test_software_source["id"],
                }],
            },
            "package_names": scheduled_job_operations_package_names,
            "software_source_ids": scheduled_job_operations_software_source_ids,
            "switch_module_streams_details": {
                "module_name": scheduled_job_operations_switch_module_streams_details_module_name,
                "stream_name": test_stream["name"],
                "software_source_id": test_software_source["id"],
            },
            "windows_update_names": scheduled_job_operations_windows_update_names,
        }],
        schedule_type=scheduled_job_schedule_type,
        time_next_execution=scheduled_job_time_next_execution,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=scheduled_job_description,
        display_name=scheduled_job_display_name,
        freeform_tags={
            "Department": "Finance",
        },
        is_managed_by_autonomous_linux=scheduled_job_is_managed_by_autonomous_linux,
        is_subcompartment_included=scheduled_job_is_subcompartment_included,
        lifecycle_stage_ids=scheduled_job_lifecycle_stage_ids,
        locations=scheduled_job_locations,
        managed_compartment_ids=scheduled_job_managed_compartment_ids,
        managed_instance_group_ids=scheduled_job_managed_instance_group_ids,
        managed_instance_ids=scheduled_job_managed_instance_ids,
        recurring_rule=scheduled_job_recurring_rule,
        retry_intervals=scheduled_job_retry_intervals)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/OsManagementHub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := OsManagementHub.NewScheduledJob(ctx, "test_scheduled_job", &OsManagementHub.ScheduledJobArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			Operations: osmanagementhub.ScheduledJobOperationArray{
    				&osmanagementhub.ScheduledJobOperationArgs{
    					OperationType: pulumi.Any(scheduledJobOperationsOperationType),
    					ManageModuleStreamsDetails: &osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsArgs{
    						Disables: osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsDisableArray{
    							&osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsDisableArgs{
    								ModuleName:       pulumi.Any(scheduledJobOperationsManageModuleStreamsDetailsDisableModuleName),
    								StreamName:       pulumi.Any(testStream.Name),
    								SoftwareSourceId: pulumi.Any(testSoftwareSource.Id),
    							},
    						},
    						Enables: osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsEnableArray{
    							&osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsEnableArgs{
    								ModuleName:       pulumi.Any(scheduledJobOperationsManageModuleStreamsDetailsEnableModuleName),
    								StreamName:       pulumi.Any(testStream.Name),
    								SoftwareSourceId: pulumi.Any(testSoftwareSource.Id),
    							},
    						},
    						Installs: osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsInstallArray{
    							&osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsInstallArgs{
    								ModuleName:       pulumi.Any(scheduledJobOperationsManageModuleStreamsDetailsInstallModuleName),
    								ProfileName:      pulumi.Any(testProfile.Name),
    								StreamName:       pulumi.Any(testStream.Name),
    								SoftwareSourceId: pulumi.Any(testSoftwareSource.Id),
    							},
    						},
    						Removes: osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsRemoveArray{
    							&osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsRemoveArgs{
    								ModuleName:       pulumi.Any(scheduledJobOperationsManageModuleStreamsDetailsRemoveModuleName),
    								ProfileName:      pulumi.Any(testProfile.Name),
    								StreamName:       pulumi.Any(testStream.Name),
    								SoftwareSourceId: pulumi.Any(testSoftwareSource.Id),
    							},
    						},
    					},
    					PackageNames:      pulumi.Any(scheduledJobOperationsPackageNames),
    					SoftwareSourceIds: pulumi.Any(scheduledJobOperationsSoftwareSourceIds),
    					SwitchModuleStreamsDetails: &osmanagementhub.ScheduledJobOperationSwitchModuleStreamsDetailsArgs{
    						ModuleName:       pulumi.Any(scheduledJobOperationsSwitchModuleStreamsDetailsModuleName),
    						StreamName:       pulumi.Any(testStream.Name),
    						SoftwareSourceId: pulumi.Any(testSoftwareSource.Id),
    					},
    					WindowsUpdateNames: pulumi.Any(scheduledJobOperationsWindowsUpdateNames),
    				},
    			},
    			ScheduleType:      pulumi.Any(scheduledJobScheduleType),
    			TimeNextExecution: pulumi.Any(scheduledJobTimeNextExecution),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			Description: pulumi.Any(scheduledJobDescription),
    			DisplayName: pulumi.Any(scheduledJobDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			IsManagedByAutonomousLinux: pulumi.Any(scheduledJobIsManagedByAutonomousLinux),
    			IsSubcompartmentIncluded:   pulumi.Any(scheduledJobIsSubcompartmentIncluded),
    			LifecycleStageIds:          pulumi.Any(scheduledJobLifecycleStageIds),
    			Locations:                  pulumi.Any(scheduledJobLocations),
    			ManagedCompartmentIds:      pulumi.Any(scheduledJobManagedCompartmentIds),
    			ManagedInstanceGroupIds:    pulumi.Any(scheduledJobManagedInstanceGroupIds),
    			ManagedInstanceIds:         pulumi.Any(scheduledJobManagedInstanceIds),
    			RecurringRule:              pulumi.Any(scheduledJobRecurringRule),
    			RetryIntervals:             pulumi.Any(scheduledJobRetryIntervals),
    		})
    		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 testScheduledJob = new Oci.OsManagementHub.ScheduledJob("test_scheduled_job", new()
        {
            CompartmentId = compartmentId,
            Operations = new[]
            {
                new Oci.OsManagementHub.Inputs.ScheduledJobOperationArgs
                {
                    OperationType = scheduledJobOperationsOperationType,
                    ManageModuleStreamsDetails = new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsArgs
                    {
                        Disables = new[]
                        {
                            new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsDisableArgs
                            {
                                ModuleName = scheduledJobOperationsManageModuleStreamsDetailsDisableModuleName,
                                StreamName = testStream.Name,
                                SoftwareSourceId = testSoftwareSource.Id,
                            },
                        },
                        Enables = new[]
                        {
                            new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsEnableArgs
                            {
                                ModuleName = scheduledJobOperationsManageModuleStreamsDetailsEnableModuleName,
                                StreamName = testStream.Name,
                                SoftwareSourceId = testSoftwareSource.Id,
                            },
                        },
                        Installs = new[]
                        {
                            new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsInstallArgs
                            {
                                ModuleName = scheduledJobOperationsManageModuleStreamsDetailsInstallModuleName,
                                ProfileName = testProfile.Name,
                                StreamName = testStream.Name,
                                SoftwareSourceId = testSoftwareSource.Id,
                            },
                        },
                        Removes = new[]
                        {
                            new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsRemoveArgs
                            {
                                ModuleName = scheduledJobOperationsManageModuleStreamsDetailsRemoveModuleName,
                                ProfileName = testProfile.Name,
                                StreamName = testStream.Name,
                                SoftwareSourceId = testSoftwareSource.Id,
                            },
                        },
                    },
                    PackageNames = scheduledJobOperationsPackageNames,
                    SoftwareSourceIds = scheduledJobOperationsSoftwareSourceIds,
                    SwitchModuleStreamsDetails = new Oci.OsManagementHub.Inputs.ScheduledJobOperationSwitchModuleStreamsDetailsArgs
                    {
                        ModuleName = scheduledJobOperationsSwitchModuleStreamsDetailsModuleName,
                        StreamName = testStream.Name,
                        SoftwareSourceId = testSoftwareSource.Id,
                    },
                    WindowsUpdateNames = scheduledJobOperationsWindowsUpdateNames,
                },
            },
            ScheduleType = scheduledJobScheduleType,
            TimeNextExecution = scheduledJobTimeNextExecution,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = scheduledJobDescription,
            DisplayName = scheduledJobDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            IsManagedByAutonomousLinux = scheduledJobIsManagedByAutonomousLinux,
            IsSubcompartmentIncluded = scheduledJobIsSubcompartmentIncluded,
            LifecycleStageIds = scheduledJobLifecycleStageIds,
            Locations = scheduledJobLocations,
            ManagedCompartmentIds = scheduledJobManagedCompartmentIds,
            ManagedInstanceGroupIds = scheduledJobManagedInstanceGroupIds,
            ManagedInstanceIds = scheduledJobManagedInstanceIds,
            RecurringRule = scheduledJobRecurringRule,
            RetryIntervals = scheduledJobRetryIntervals,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.OsManagementHub.ScheduledJob;
    import com.pulumi.oci.OsManagementHub.ScheduledJobArgs;
    import com.pulumi.oci.OsManagementHub.inputs.ScheduledJobOperationArgs;
    import com.pulumi.oci.OsManagementHub.inputs.ScheduledJobOperationManageModuleStreamsDetailsArgs;
    import com.pulumi.oci.OsManagementHub.inputs.ScheduledJobOperationSwitchModuleStreamsDetailsArgs;
    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 testScheduledJob = new ScheduledJob("testScheduledJob", ScheduledJobArgs.builder()
                .compartmentId(compartmentId)
                .operations(ScheduledJobOperationArgs.builder()
                    .operationType(scheduledJobOperationsOperationType)
                    .manageModuleStreamsDetails(ScheduledJobOperationManageModuleStreamsDetailsArgs.builder()
                        .disables(ScheduledJobOperationManageModuleStreamsDetailsDisableArgs.builder()
                            .moduleName(scheduledJobOperationsManageModuleStreamsDetailsDisableModuleName)
                            .streamName(testStream.name())
                            .softwareSourceId(testSoftwareSource.id())
                            .build())
                        .enables(ScheduledJobOperationManageModuleStreamsDetailsEnableArgs.builder()
                            .moduleName(scheduledJobOperationsManageModuleStreamsDetailsEnableModuleName)
                            .streamName(testStream.name())
                            .softwareSourceId(testSoftwareSource.id())
                            .build())
                        .installs(ScheduledJobOperationManageModuleStreamsDetailsInstallArgs.builder()
                            .moduleName(scheduledJobOperationsManageModuleStreamsDetailsInstallModuleName)
                            .profileName(testProfile.name())
                            .streamName(testStream.name())
                            .softwareSourceId(testSoftwareSource.id())
                            .build())
                        .removes(ScheduledJobOperationManageModuleStreamsDetailsRemoveArgs.builder()
                            .moduleName(scheduledJobOperationsManageModuleStreamsDetailsRemoveModuleName)
                            .profileName(testProfile.name())
                            .streamName(testStream.name())
                            .softwareSourceId(testSoftwareSource.id())
                            .build())
                        .build())
                    .packageNames(scheduledJobOperationsPackageNames)
                    .softwareSourceIds(scheduledJobOperationsSoftwareSourceIds)
                    .switchModuleStreamsDetails(ScheduledJobOperationSwitchModuleStreamsDetailsArgs.builder()
                        .moduleName(scheduledJobOperationsSwitchModuleStreamsDetailsModuleName)
                        .streamName(testStream.name())
                        .softwareSourceId(testSoftwareSource.id())
                        .build())
                    .windowsUpdateNames(scheduledJobOperationsWindowsUpdateNames)
                    .build())
                .scheduleType(scheduledJobScheduleType)
                .timeNextExecution(scheduledJobTimeNextExecution)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(scheduledJobDescription)
                .displayName(scheduledJobDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .isManagedByAutonomousLinux(scheduledJobIsManagedByAutonomousLinux)
                .isSubcompartmentIncluded(scheduledJobIsSubcompartmentIncluded)
                .lifecycleStageIds(scheduledJobLifecycleStageIds)
                .locations(scheduledJobLocations)
                .managedCompartmentIds(scheduledJobManagedCompartmentIds)
                .managedInstanceGroupIds(scheduledJobManagedInstanceGroupIds)
                .managedInstanceIds(scheduledJobManagedInstanceIds)
                .recurringRule(scheduledJobRecurringRule)
                .retryIntervals(scheduledJobRetryIntervals)
                .build());
    
        }
    }
    
    resources:
      testScheduledJob:
        type: oci:OsManagementHub:ScheduledJob
        name: test_scheduled_job
        properties:
          compartmentId: ${compartmentId}
          operations:
            - operationType: ${scheduledJobOperationsOperationType}
              manageModuleStreamsDetails:
                disables:
                  - moduleName: ${scheduledJobOperationsManageModuleStreamsDetailsDisableModuleName}
                    streamName: ${testStream.name}
                    softwareSourceId: ${testSoftwareSource.id}
                enables:
                  - moduleName: ${scheduledJobOperationsManageModuleStreamsDetailsEnableModuleName}
                    streamName: ${testStream.name}
                    softwareSourceId: ${testSoftwareSource.id}
                installs:
                  - moduleName: ${scheduledJobOperationsManageModuleStreamsDetailsInstallModuleName}
                    profileName: ${testProfile.name}
                    streamName: ${testStream.name}
                    softwareSourceId: ${testSoftwareSource.id}
                removes:
                  - moduleName: ${scheduledJobOperationsManageModuleStreamsDetailsRemoveModuleName}
                    profileName: ${testProfile.name}
                    streamName: ${testStream.name}
                    softwareSourceId: ${testSoftwareSource.id}
              packageNames: ${scheduledJobOperationsPackageNames}
              softwareSourceIds: ${scheduledJobOperationsSoftwareSourceIds}
              switchModuleStreamsDetails:
                moduleName: ${scheduledJobOperationsSwitchModuleStreamsDetailsModuleName}
                streamName: ${testStream.name}
                softwareSourceId: ${testSoftwareSource.id}
              windowsUpdateNames: ${scheduledJobOperationsWindowsUpdateNames}
          scheduleType: ${scheduledJobScheduleType}
          timeNextExecution: ${scheduledJobTimeNextExecution}
          definedTags:
            Operations.CostCenter: '42'
          description: ${scheduledJobDescription}
          displayName: ${scheduledJobDisplayName}
          freeformTags:
            Department: Finance
          isManagedByAutonomousLinux: ${scheduledJobIsManagedByAutonomousLinux}
          isSubcompartmentIncluded: ${scheduledJobIsSubcompartmentIncluded}
          lifecycleStageIds: ${scheduledJobLifecycleStageIds}
          locations: ${scheduledJobLocations}
          managedCompartmentIds: ${scheduledJobManagedCompartmentIds}
          managedInstanceGroupIds: ${scheduledJobManagedInstanceGroupIds}
          managedInstanceIds: ${scheduledJobManagedInstanceIds}
          recurringRule: ${scheduledJobRecurringRule}
          retryIntervals: ${scheduledJobRetryIntervals}
    

    Create ScheduledJob Resource

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

    Constructor syntax

    new ScheduledJob(name: string, args: ScheduledJobArgs, opts?: CustomResourceOptions);
    @overload
    def ScheduledJob(resource_name: str,
                     args: ScheduledJobArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def ScheduledJob(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     compartment_id: Optional[str] = None,
                     time_next_execution: Optional[str] = None,
                     schedule_type: Optional[str] = None,
                     operations: Optional[Sequence[_osmanagementhub.ScheduledJobOperationArgs]] = None,
                     freeform_tags: Optional[Mapping[str, str]] = None,
                     is_managed_by_autonomous_linux: Optional[bool] = None,
                     is_subcompartment_included: Optional[bool] = None,
                     lifecycle_stage_ids: Optional[Sequence[str]] = None,
                     locations: Optional[Sequence[str]] = None,
                     managed_compartment_ids: Optional[Sequence[str]] = None,
                     managed_instance_group_ids: Optional[Sequence[str]] = None,
                     managed_instance_ids: Optional[Sequence[str]] = None,
                     display_name: Optional[str] = None,
                     recurring_rule: Optional[str] = None,
                     retry_intervals: Optional[Sequence[int]] = None,
                     description: Optional[str] = None,
                     defined_tags: Optional[Mapping[str, str]] = None)
    func NewScheduledJob(ctx *Context, name string, args ScheduledJobArgs, opts ...ResourceOption) (*ScheduledJob, error)
    public ScheduledJob(string name, ScheduledJobArgs args, CustomResourceOptions? opts = null)
    public ScheduledJob(String name, ScheduledJobArgs args)
    public ScheduledJob(String name, ScheduledJobArgs args, CustomResourceOptions options)
    
    type: oci:OsManagementHub:ScheduledJob
    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 ScheduledJobArgs
    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 ScheduledJobArgs
    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 ScheduledJobArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ScheduledJobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ScheduledJobArgs
    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 scheduledJobResource = new Oci.OsManagementHub.ScheduledJob("scheduledJobResource", new()
    {
        CompartmentId = "string",
        TimeNextExecution = "string",
        ScheduleType = "string",
        Operations = new[]
        {
            new Oci.OsManagementHub.Inputs.ScheduledJobOperationArgs
            {
                OperationType = "string",
                ManageModuleStreamsDetails = new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsArgs
                {
                    Disables = new[]
                    {
                        new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsDisableArgs
                        {
                            ModuleName = "string",
                            StreamName = "string",
                            SoftwareSourceId = "string",
                        },
                    },
                    Enables = new[]
                    {
                        new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsEnableArgs
                        {
                            ModuleName = "string",
                            StreamName = "string",
                            SoftwareSourceId = "string",
                        },
                    },
                    Installs = new[]
                    {
                        new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsInstallArgs
                        {
                            ModuleName = "string",
                            ProfileName = "string",
                            StreamName = "string",
                            SoftwareSourceId = "string",
                        },
                    },
                    Removes = new[]
                    {
                        new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsRemoveArgs
                        {
                            ModuleName = "string",
                            ProfileName = "string",
                            StreamName = "string",
                            SoftwareSourceId = "string",
                        },
                    },
                },
                PackageNames = new[]
                {
                    "string",
                },
                SoftwareSourceIds = new[]
                {
                    "string",
                },
                SwitchModuleStreamsDetails = new Oci.OsManagementHub.Inputs.ScheduledJobOperationSwitchModuleStreamsDetailsArgs
                {
                    ModuleName = "string",
                    StreamName = "string",
                    SoftwareSourceId = "string",
                },
                WindowsUpdateNames = new[]
                {
                    "string",
                },
            },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        IsManagedByAutonomousLinux = false,
        IsSubcompartmentIncluded = false,
        LifecycleStageIds = new[]
        {
            "string",
        },
        Locations = new[]
        {
            "string",
        },
        ManagedCompartmentIds = new[]
        {
            "string",
        },
        ManagedInstanceGroupIds = new[]
        {
            "string",
        },
        ManagedInstanceIds = new[]
        {
            "string",
        },
        DisplayName = "string",
        RecurringRule = "string",
        RetryIntervals = new[]
        {
            0,
        },
        Description = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := OsManagementHub.NewScheduledJob(ctx, "scheduledJobResource", &OsManagementHub.ScheduledJobArgs{
    	CompartmentId:     pulumi.String("string"),
    	TimeNextExecution: pulumi.String("string"),
    	ScheduleType:      pulumi.String("string"),
    	Operations: osmanagementhub.ScheduledJobOperationArray{
    		&osmanagementhub.ScheduledJobOperationArgs{
    			OperationType: pulumi.String("string"),
    			ManageModuleStreamsDetails: &osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsArgs{
    				Disables: osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsDisableArray{
    					&osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsDisableArgs{
    						ModuleName:       pulumi.String("string"),
    						StreamName:       pulumi.String("string"),
    						SoftwareSourceId: pulumi.String("string"),
    					},
    				},
    				Enables: osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsEnableArray{
    					&osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsEnableArgs{
    						ModuleName:       pulumi.String("string"),
    						StreamName:       pulumi.String("string"),
    						SoftwareSourceId: pulumi.String("string"),
    					},
    				},
    				Installs: osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsInstallArray{
    					&osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsInstallArgs{
    						ModuleName:       pulumi.String("string"),
    						ProfileName:      pulumi.String("string"),
    						StreamName:       pulumi.String("string"),
    						SoftwareSourceId: pulumi.String("string"),
    					},
    				},
    				Removes: osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsRemoveArray{
    					&osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsRemoveArgs{
    						ModuleName:       pulumi.String("string"),
    						ProfileName:      pulumi.String("string"),
    						StreamName:       pulumi.String("string"),
    						SoftwareSourceId: pulumi.String("string"),
    					},
    				},
    			},
    			PackageNames: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SoftwareSourceIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SwitchModuleStreamsDetails: &osmanagementhub.ScheduledJobOperationSwitchModuleStreamsDetailsArgs{
    				ModuleName:       pulumi.String("string"),
    				StreamName:       pulumi.String("string"),
    				SoftwareSourceId: pulumi.String("string"),
    			},
    			WindowsUpdateNames: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IsManagedByAutonomousLinux: pulumi.Bool(false),
    	IsSubcompartmentIncluded:   pulumi.Bool(false),
    	LifecycleStageIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Locations: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ManagedCompartmentIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ManagedInstanceGroupIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ManagedInstanceIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DisplayName:   pulumi.String("string"),
    	RecurringRule: pulumi.String("string"),
    	RetryIntervals: pulumi.IntArray{
    		pulumi.Int(0),
    	},
    	Description: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var scheduledJobResource = new ScheduledJob("scheduledJobResource", ScheduledJobArgs.builder()
        .compartmentId("string")
        .timeNextExecution("string")
        .scheduleType("string")
        .operations(ScheduledJobOperationArgs.builder()
            .operationType("string")
            .manageModuleStreamsDetails(ScheduledJobOperationManageModuleStreamsDetailsArgs.builder()
                .disables(ScheduledJobOperationManageModuleStreamsDetailsDisableArgs.builder()
                    .moduleName("string")
                    .streamName("string")
                    .softwareSourceId("string")
                    .build())
                .enables(ScheduledJobOperationManageModuleStreamsDetailsEnableArgs.builder()
                    .moduleName("string")
                    .streamName("string")
                    .softwareSourceId("string")
                    .build())
                .installs(ScheduledJobOperationManageModuleStreamsDetailsInstallArgs.builder()
                    .moduleName("string")
                    .profileName("string")
                    .streamName("string")
                    .softwareSourceId("string")
                    .build())
                .removes(ScheduledJobOperationManageModuleStreamsDetailsRemoveArgs.builder()
                    .moduleName("string")
                    .profileName("string")
                    .streamName("string")
                    .softwareSourceId("string")
                    .build())
                .build())
            .packageNames("string")
            .softwareSourceIds("string")
            .switchModuleStreamsDetails(ScheduledJobOperationSwitchModuleStreamsDetailsArgs.builder()
                .moduleName("string")
                .streamName("string")
                .softwareSourceId("string")
                .build())
            .windowsUpdateNames("string")
            .build())
        .freeformTags(Map.of("string", "string"))
        .isManagedByAutonomousLinux(false)
        .isSubcompartmentIncluded(false)
        .lifecycleStageIds("string")
        .locations("string")
        .managedCompartmentIds("string")
        .managedInstanceGroupIds("string")
        .managedInstanceIds("string")
        .displayName("string")
        .recurringRule("string")
        .retryIntervals(0)
        .description("string")
        .definedTags(Map.of("string", "string"))
        .build());
    
    scheduled_job_resource = oci.os_management_hub.ScheduledJob("scheduledJobResource",
        compartment_id="string",
        time_next_execution="string",
        schedule_type="string",
        operations=[{
            "operation_type": "string",
            "manage_module_streams_details": {
                "disables": [{
                    "module_name": "string",
                    "stream_name": "string",
                    "software_source_id": "string",
                }],
                "enables": [{
                    "module_name": "string",
                    "stream_name": "string",
                    "software_source_id": "string",
                }],
                "installs": [{
                    "module_name": "string",
                    "profile_name": "string",
                    "stream_name": "string",
                    "software_source_id": "string",
                }],
                "removes": [{
                    "module_name": "string",
                    "profile_name": "string",
                    "stream_name": "string",
                    "software_source_id": "string",
                }],
            },
            "package_names": ["string"],
            "software_source_ids": ["string"],
            "switch_module_streams_details": {
                "module_name": "string",
                "stream_name": "string",
                "software_source_id": "string",
            },
            "windows_update_names": ["string"],
        }],
        freeform_tags={
            "string": "string",
        },
        is_managed_by_autonomous_linux=False,
        is_subcompartment_included=False,
        lifecycle_stage_ids=["string"],
        locations=["string"],
        managed_compartment_ids=["string"],
        managed_instance_group_ids=["string"],
        managed_instance_ids=["string"],
        display_name="string",
        recurring_rule="string",
        retry_intervals=[0],
        description="string",
        defined_tags={
            "string": "string",
        })
    
    const scheduledJobResource = new oci.osmanagementhub.ScheduledJob("scheduledJobResource", {
        compartmentId: "string",
        timeNextExecution: "string",
        scheduleType: "string",
        operations: [{
            operationType: "string",
            manageModuleStreamsDetails: {
                disables: [{
                    moduleName: "string",
                    streamName: "string",
                    softwareSourceId: "string",
                }],
                enables: [{
                    moduleName: "string",
                    streamName: "string",
                    softwareSourceId: "string",
                }],
                installs: [{
                    moduleName: "string",
                    profileName: "string",
                    streamName: "string",
                    softwareSourceId: "string",
                }],
                removes: [{
                    moduleName: "string",
                    profileName: "string",
                    streamName: "string",
                    softwareSourceId: "string",
                }],
            },
            packageNames: ["string"],
            softwareSourceIds: ["string"],
            switchModuleStreamsDetails: {
                moduleName: "string",
                streamName: "string",
                softwareSourceId: "string",
            },
            windowsUpdateNames: ["string"],
        }],
        freeformTags: {
            string: "string",
        },
        isManagedByAutonomousLinux: false,
        isSubcompartmentIncluded: false,
        lifecycleStageIds: ["string"],
        locations: ["string"],
        managedCompartmentIds: ["string"],
        managedInstanceGroupIds: ["string"],
        managedInstanceIds: ["string"],
        displayName: "string",
        recurringRule: "string",
        retryIntervals: [0],
        description: "string",
        definedTags: {
            string: "string",
        },
    });
    
    type: oci:OsManagementHub:ScheduledJob
    properties:
        compartmentId: string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        isManagedByAutonomousLinux: false
        isSubcompartmentIncluded: false
        lifecycleStageIds:
            - string
        locations:
            - string
        managedCompartmentIds:
            - string
        managedInstanceGroupIds:
            - string
        managedInstanceIds:
            - string
        operations:
            - manageModuleStreamsDetails:
                disables:
                    - moduleName: string
                      softwareSourceId: string
                      streamName: string
                enables:
                    - moduleName: string
                      softwareSourceId: string
                      streamName: string
                installs:
                    - moduleName: string
                      profileName: string
                      softwareSourceId: string
                      streamName: string
                removes:
                    - moduleName: string
                      profileName: string
                      softwareSourceId: string
                      streamName: string
              operationType: string
              packageNames:
                - string
              softwareSourceIds:
                - string
              switchModuleStreamsDetails:
                moduleName: string
                softwareSourceId: string
                streamName: string
              windowsUpdateNames:
                - string
        recurringRule: string
        retryIntervals:
            - 0
        scheduleType: string
        timeNextExecution: string
    

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

    CompartmentId string
    (Updatable) The OCID of the compartment that contains the scheduled job.
    Operations List<ScheduledJobOperation>
    (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:

    • UPDATE_PACKAGES
    • UPDATE_ALL
    • UPDATE_SECURITY
    • UPDATE_BUGFIX
    • UPDATE_ENHANCEMENT
    • UPDATE_OTHER
    • UPDATE_KSPLICE_USERSPACE
    • UPDATE_KSPLICE_KERNEL
    ScheduleType string
    (Updatable) The type of scheduling frequency for the scheduled job.
    TimeNextExecution string

    (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).

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

    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
    DisplayName string
    (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    IsManagedByAutonomousLinux bool
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    IsSubcompartmentIncluded bool
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    LifecycleStageIds List<string>
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
    Locations List<string>
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    ManagedCompartmentIds List<string>
    The compartment OCIDs that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
    ManagedInstanceGroupIds List<string>
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
    ManagedInstanceIds List<string>
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
    RecurringRule string
    (Updatable) The frequency schedule for a recurring scheduled job.
    RetryIntervals List<int>
    (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the scheduled job.
    Operations []ScheduledJobOperationArgs
    (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:

    • UPDATE_PACKAGES
    • UPDATE_ALL
    • UPDATE_SECURITY
    • UPDATE_BUGFIX
    • UPDATE_ENHANCEMENT
    • UPDATE_OTHER
    • UPDATE_KSPLICE_USERSPACE
    • UPDATE_KSPLICE_KERNEL
    ScheduleType string
    (Updatable) The type of scheduling frequency for the scheduled job.
    TimeNextExecution string

    (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).

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

    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
    DisplayName string
    (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    IsManagedByAutonomousLinux bool
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    IsSubcompartmentIncluded bool
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    LifecycleStageIds []string
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
    Locations []string
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    ManagedCompartmentIds []string
    The compartment OCIDs that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
    ManagedInstanceGroupIds []string
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
    ManagedInstanceIds []string
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
    RecurringRule string
    (Updatable) The frequency schedule for a recurring scheduled job.
    RetryIntervals []int
    (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the scheduled job.
    operations List<ScheduledJobOperation>
    (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:

    • UPDATE_PACKAGES
    • UPDATE_ALL
    • UPDATE_SECURITY
    • UPDATE_BUGFIX
    • UPDATE_ENHANCEMENT
    • UPDATE_OTHER
    • UPDATE_KSPLICE_USERSPACE
    • UPDATE_KSPLICE_KERNEL
    scheduleType String
    (Updatable) The type of scheduling frequency for the scheduled job.
    timeNextExecution String

    (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).

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

    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
    displayName String
    (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    isManagedByAutonomousLinux Boolean
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    isSubcompartmentIncluded Boolean
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    lifecycleStageIds List<String>
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
    locations List<String>
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    managedCompartmentIds List<String>
    The compartment OCIDs that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
    managedInstanceGroupIds List<String>
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
    managedInstanceIds List<String>
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
    recurringRule String
    (Updatable) The frequency schedule for a recurring scheduled job.
    retryIntervals List<Integer>
    (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the scheduled job.
    operations ScheduledJobOperation[]
    (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:

    • UPDATE_PACKAGES
    • UPDATE_ALL
    • UPDATE_SECURITY
    • UPDATE_BUGFIX
    • UPDATE_ENHANCEMENT
    • UPDATE_OTHER
    • UPDATE_KSPLICE_USERSPACE
    • UPDATE_KSPLICE_KERNEL
    scheduleType string
    (Updatable) The type of scheduling frequency for the scheduled job.
    timeNextExecution string

    (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).

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

    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
    displayName string
    (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    isManagedByAutonomousLinux boolean
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    isSubcompartmentIncluded boolean
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    lifecycleStageIds string[]
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
    locations string[]
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    managedCompartmentIds string[]
    The compartment OCIDs that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
    managedInstanceGroupIds string[]
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
    managedInstanceIds string[]
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
    recurringRule string
    (Updatable) The frequency schedule for a recurring scheduled job.
    retryIntervals number[]
    (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the scheduled job.
    operations Sequence[osmanagementhub.ScheduledJobOperationArgs]
    (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:

    • UPDATE_PACKAGES
    • UPDATE_ALL
    • UPDATE_SECURITY
    • UPDATE_BUGFIX
    • UPDATE_ENHANCEMENT
    • UPDATE_OTHER
    • UPDATE_KSPLICE_USERSPACE
    • UPDATE_KSPLICE_KERNEL
    schedule_type str
    (Updatable) The type of scheduling frequency for the scheduled job.
    time_next_execution str

    (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).

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

    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
    display_name str
    (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    is_managed_by_autonomous_linux bool
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    is_subcompartment_included bool
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    lifecycle_stage_ids Sequence[str]
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
    locations Sequence[str]
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    managed_compartment_ids Sequence[str]
    The compartment OCIDs that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
    managed_instance_group_ids Sequence[str]
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
    managed_instance_ids Sequence[str]
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
    recurring_rule str
    (Updatable) The frequency schedule for a recurring scheduled job.
    retry_intervals Sequence[int]
    (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the scheduled job.
    operations List<Property Map>
    (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:

    • UPDATE_PACKAGES
    • UPDATE_ALL
    • UPDATE_SECURITY
    • UPDATE_BUGFIX
    • UPDATE_ENHANCEMENT
    • UPDATE_OTHER
    • UPDATE_KSPLICE_USERSPACE
    • UPDATE_KSPLICE_KERNEL
    scheduleType String
    (Updatable) The type of scheduling frequency for the scheduled job.
    timeNextExecution String

    (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).

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

    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
    displayName String
    (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    isManagedByAutonomousLinux Boolean
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    isSubcompartmentIncluded Boolean
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    lifecycleStageIds List<String>
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
    locations List<String>
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    managedCompartmentIds List<String>
    The compartment OCIDs that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
    managedInstanceGroupIds List<String>
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
    managedInstanceIds List<String>
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
    recurringRule String
    (Updatable) The frequency schedule for a recurring scheduled job.
    retryIntervals List<Number>
    (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    IsRestricted bool
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    State string
    The current state of the scheduled job.
    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 scheduled job was created (in RFC 3339 format).
    TimeLastExecution string
    The time of the last execution of this scheduled job (in RFC 3339 format).
    TimeUpdated string
    The time this scheduled job was updated (in RFC 3339 format).
    WorkRequestIds List<string>
    The list of work request OCIDs associated with this scheduled job.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsRestricted bool
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    State string
    The current state of the scheduled job.
    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 scheduled job was created (in RFC 3339 format).
    TimeLastExecution string
    The time of the last execution of this scheduled job (in RFC 3339 format).
    TimeUpdated string
    The time this scheduled job was updated (in RFC 3339 format).
    WorkRequestIds []string
    The list of work request OCIDs associated with this scheduled job.
    id String
    The provider-assigned unique ID for this managed resource.
    isRestricted Boolean
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    state String
    The current state of the scheduled job.
    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 scheduled job was created (in RFC 3339 format).
    timeLastExecution String
    The time of the last execution of this scheduled job (in RFC 3339 format).
    timeUpdated String
    The time this scheduled job was updated (in RFC 3339 format).
    workRequestIds List<String>
    The list of work request OCIDs associated with this scheduled job.
    id string
    The provider-assigned unique ID for this managed resource.
    isRestricted boolean
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    state string
    The current state of the scheduled job.
    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 scheduled job was created (in RFC 3339 format).
    timeLastExecution string
    The time of the last execution of this scheduled job (in RFC 3339 format).
    timeUpdated string
    The time this scheduled job was updated (in RFC 3339 format).
    workRequestIds string[]
    The list of work request OCIDs associated with this scheduled job.
    id str
    The provider-assigned unique ID for this managed resource.
    is_restricted bool
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    state str
    The current state of the scheduled job.
    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 scheduled job was created (in RFC 3339 format).
    time_last_execution str
    The time of the last execution of this scheduled job (in RFC 3339 format).
    time_updated str
    The time this scheduled job was updated (in RFC 3339 format).
    work_request_ids Sequence[str]
    The list of work request OCIDs associated with this scheduled job.
    id String
    The provider-assigned unique ID for this managed resource.
    isRestricted Boolean
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    state String
    The current state of the scheduled job.
    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 scheduled job was created (in RFC 3339 format).
    timeLastExecution String
    The time of the last execution of this scheduled job (in RFC 3339 format).
    timeUpdated String
    The time this scheduled job was updated (in RFC 3339 format).
    workRequestIds List<String>
    The list of work request OCIDs associated with this scheduled job.

    Look up Existing ScheduledJob Resource

    Get an existing ScheduledJob 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?: ScheduledJobState, opts?: CustomResourceOptions): ScheduledJob
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            is_managed_by_autonomous_linux: Optional[bool] = None,
            is_restricted: Optional[bool] = None,
            is_subcompartment_included: Optional[bool] = None,
            lifecycle_stage_ids: Optional[Sequence[str]] = None,
            locations: Optional[Sequence[str]] = None,
            managed_compartment_ids: Optional[Sequence[str]] = None,
            managed_instance_group_ids: Optional[Sequence[str]] = None,
            managed_instance_ids: Optional[Sequence[str]] = None,
            operations: Optional[Sequence[_osmanagementhub.ScheduledJobOperationArgs]] = None,
            recurring_rule: Optional[str] = None,
            retry_intervals: Optional[Sequence[int]] = None,
            schedule_type: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_last_execution: Optional[str] = None,
            time_next_execution: Optional[str] = None,
            time_updated: Optional[str] = None,
            work_request_ids: Optional[Sequence[str]] = None) -> ScheduledJob
    func GetScheduledJob(ctx *Context, name string, id IDInput, state *ScheduledJobState, opts ...ResourceOption) (*ScheduledJob, error)
    public static ScheduledJob Get(string name, Input<string> id, ScheduledJobState? state, CustomResourceOptions? opts = null)
    public static ScheduledJob get(String name, Output<String> id, ScheduledJobState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the scheduled job.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
    DisplayName string
    (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    IsManagedByAutonomousLinux bool
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    IsRestricted bool
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    IsSubcompartmentIncluded bool
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    LifecycleStageIds List<string>
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
    Locations List<string>
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    ManagedCompartmentIds List<string>
    The compartment OCIDs that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
    ManagedInstanceGroupIds List<string>
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
    ManagedInstanceIds List<string>
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
    Operations List<ScheduledJobOperation>
    (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:

    • UPDATE_PACKAGES
    • UPDATE_ALL
    • UPDATE_SECURITY
    • UPDATE_BUGFIX
    • UPDATE_ENHANCEMENT
    • UPDATE_OTHER
    • UPDATE_KSPLICE_USERSPACE
    • UPDATE_KSPLICE_KERNEL
    RecurringRule string
    (Updatable) The frequency schedule for a recurring scheduled job.
    RetryIntervals List<int>
    (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
    ScheduleType string
    (Updatable) The type of scheduling frequency for the scheduled job.
    State string
    The current state of the scheduled job.
    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 scheduled job was created (in RFC 3339 format).
    TimeLastExecution string
    The time of the last execution of this scheduled job (in RFC 3339 format).
    TimeNextExecution string

    (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).

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

    TimeUpdated string
    The time this scheduled job was updated (in RFC 3339 format).
    WorkRequestIds List<string>
    The list of work request OCIDs associated with this scheduled job.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the scheduled job.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
    DisplayName string
    (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    IsManagedByAutonomousLinux bool
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    IsRestricted bool
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    IsSubcompartmentIncluded bool
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    LifecycleStageIds []string
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
    Locations []string
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    ManagedCompartmentIds []string
    The compartment OCIDs that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
    ManagedInstanceGroupIds []string
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
    ManagedInstanceIds []string
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
    Operations []ScheduledJobOperationArgs
    (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:

    • UPDATE_PACKAGES
    • UPDATE_ALL
    • UPDATE_SECURITY
    • UPDATE_BUGFIX
    • UPDATE_ENHANCEMENT
    • UPDATE_OTHER
    • UPDATE_KSPLICE_USERSPACE
    • UPDATE_KSPLICE_KERNEL
    RecurringRule string
    (Updatable) The frequency schedule for a recurring scheduled job.
    RetryIntervals []int
    (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
    ScheduleType string
    (Updatable) The type of scheduling frequency for the scheduled job.
    State string
    The current state of the scheduled job.
    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 scheduled job was created (in RFC 3339 format).
    TimeLastExecution string
    The time of the last execution of this scheduled job (in RFC 3339 format).
    TimeNextExecution string

    (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).

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

    TimeUpdated string
    The time this scheduled job was updated (in RFC 3339 format).
    WorkRequestIds []string
    The list of work request OCIDs associated with this scheduled job.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the scheduled job.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
    displayName String
    (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    isManagedByAutonomousLinux Boolean
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    isRestricted Boolean
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    isSubcompartmentIncluded Boolean
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    lifecycleStageIds List<String>
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
    locations List<String>
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    managedCompartmentIds List<String>
    The compartment OCIDs that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
    managedInstanceGroupIds List<String>
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
    managedInstanceIds List<String>
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
    operations List<ScheduledJobOperation>
    (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:

    • UPDATE_PACKAGES
    • UPDATE_ALL
    • UPDATE_SECURITY
    • UPDATE_BUGFIX
    • UPDATE_ENHANCEMENT
    • UPDATE_OTHER
    • UPDATE_KSPLICE_USERSPACE
    • UPDATE_KSPLICE_KERNEL
    recurringRule String
    (Updatable) The frequency schedule for a recurring scheduled job.
    retryIntervals List<Integer>
    (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
    scheduleType String
    (Updatable) The type of scheduling frequency for the scheduled job.
    state String
    The current state of the scheduled job.
    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 scheduled job was created (in RFC 3339 format).
    timeLastExecution String
    The time of the last execution of this scheduled job (in RFC 3339 format).
    timeNextExecution String

    (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).

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

    timeUpdated String
    The time this scheduled job was updated (in RFC 3339 format).
    workRequestIds List<String>
    The list of work request OCIDs associated with this scheduled job.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the scheduled job.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
    displayName string
    (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    isManagedByAutonomousLinux boolean
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    isRestricted boolean
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    isSubcompartmentIncluded boolean
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    lifecycleStageIds string[]
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
    locations string[]
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    managedCompartmentIds string[]
    The compartment OCIDs that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
    managedInstanceGroupIds string[]
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
    managedInstanceIds string[]
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
    operations ScheduledJobOperation[]
    (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:

    • UPDATE_PACKAGES
    • UPDATE_ALL
    • UPDATE_SECURITY
    • UPDATE_BUGFIX
    • UPDATE_ENHANCEMENT
    • UPDATE_OTHER
    • UPDATE_KSPLICE_USERSPACE
    • UPDATE_KSPLICE_KERNEL
    recurringRule string
    (Updatable) The frequency schedule for a recurring scheduled job.
    retryIntervals number[]
    (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
    scheduleType string
    (Updatable) The type of scheduling frequency for the scheduled job.
    state string
    The current state of the scheduled job.
    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 scheduled job was created (in RFC 3339 format).
    timeLastExecution string
    The time of the last execution of this scheduled job (in RFC 3339 format).
    timeNextExecution string

    (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).

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

    timeUpdated string
    The time this scheduled job was updated (in RFC 3339 format).
    workRequestIds string[]
    The list of work request OCIDs associated with this scheduled job.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the scheduled job.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
    display_name str
    (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    is_managed_by_autonomous_linux bool
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    is_restricted bool
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    is_subcompartment_included bool
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    lifecycle_stage_ids Sequence[str]
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
    locations Sequence[str]
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    managed_compartment_ids Sequence[str]
    The compartment OCIDs that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
    managed_instance_group_ids Sequence[str]
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
    managed_instance_ids Sequence[str]
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
    operations Sequence[osmanagementhub.ScheduledJobOperationArgs]
    (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:

    • UPDATE_PACKAGES
    • UPDATE_ALL
    • UPDATE_SECURITY
    • UPDATE_BUGFIX
    • UPDATE_ENHANCEMENT
    • UPDATE_OTHER
    • UPDATE_KSPLICE_USERSPACE
    • UPDATE_KSPLICE_KERNEL
    recurring_rule str
    (Updatable) The frequency schedule for a recurring scheduled job.
    retry_intervals Sequence[int]
    (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
    schedule_type str
    (Updatable) The type of scheduling frequency for the scheduled job.
    state str
    The current state of the scheduled job.
    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 scheduled job was created (in RFC 3339 format).
    time_last_execution str
    The time of the last execution of this scheduled job (in RFC 3339 format).
    time_next_execution str

    (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).

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

    time_updated str
    The time this scheduled job was updated (in RFC 3339 format).
    work_request_ids Sequence[str]
    The list of work request OCIDs associated with this scheduled job.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the scheduled job.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) User-specified description of the scheduled job. Avoid entering confidential information.
    displayName String
    (Updatable) User-friendly name for the scheduled job. Does not have to be unique and you can change the name later. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    isManagedByAutonomousLinux Boolean
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    isRestricted Boolean
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    isSubcompartmentIncluded Boolean
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    lifecycleStageIds List<String>
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or managedCompartmentIds.
    locations List<String>
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    managedCompartmentIds List<String>
    The compartment OCIDs that this scheduled job operates on. To apply the job to all compartments in the tenancy, set this to the tenancy OCID (root compartment) and set isSubcompartmentIncluded to true. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedInstanceGroupIds, or lifecycleStageIds.
    managedInstanceGroupIds List<String>
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceIds, or managedCompartmentIds, or lifecycleStageIds.
    managedInstanceIds List<String>
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore you must supply either this or managedInstanceGroupIds, or managedCompartmentIds, or lifecycleStageIds.
    operations List<Property Map>
    (Updatable) The list of operations this scheduled job needs to perform. A scheduled job supports only one operation type, unless it is one of the following:

    • UPDATE_PACKAGES
    • UPDATE_ALL
    • UPDATE_SECURITY
    • UPDATE_BUGFIX
    • UPDATE_ENHANCEMENT
    • UPDATE_OTHER
    • UPDATE_KSPLICE_USERSPACE
    • UPDATE_KSPLICE_KERNEL
    recurringRule String
    (Updatable) The frequency schedule for a recurring scheduled job.
    retryIntervals List<Number>
    (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
    scheduleType String
    (Updatable) The type of scheduling frequency for the scheduled job.
    state String
    The current state of the scheduled job.
    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 scheduled job was created (in RFC 3339 format).
    timeLastExecution String
    The time of the last execution of this scheduled job (in RFC 3339 format).
    timeNextExecution String

    (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).

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

    timeUpdated String
    The time this scheduled job was updated (in RFC 3339 format).
    workRequestIds List<String>
    The list of work request OCIDs associated with this scheduled job.

    Supporting Types

    ScheduledJobOperation, ScheduledJobOperationArgs

    OperationType string
    (Updatable) The type of operation this scheduled job performs.
    ManageModuleStreamsDetails ScheduledJobOperationManageModuleStreamsDetails
    (Updatable) The set of changes to make to the state of the modules, streams, and profiles on the managed target.
    PackageNames List<string>
    (Updatable) The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
    SoftwareSourceIds List<string>
    (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
    SwitchModuleStreamsDetails ScheduledJobOperationSwitchModuleStreamsDetails
    (Updatable) Provides the information used to update a module stream.
    WindowsUpdateNames List<string>
    (Updatable) Unique identifier for the Windows update. This parameter only applies if the scheduled job is for installing Windows updates. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. For example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'.
    OperationType string
    (Updatable) The type of operation this scheduled job performs.
    ManageModuleStreamsDetails ScheduledJobOperationManageModuleStreamsDetails
    (Updatable) The set of changes to make to the state of the modules, streams, and profiles on the managed target.
    PackageNames []string
    (Updatable) The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
    SoftwareSourceIds []string
    (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
    SwitchModuleStreamsDetails ScheduledJobOperationSwitchModuleStreamsDetails
    (Updatable) Provides the information used to update a module stream.
    WindowsUpdateNames []string
    (Updatable) Unique identifier for the Windows update. This parameter only applies if the scheduled job is for installing Windows updates. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. For example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'.
    operationType String
    (Updatable) The type of operation this scheduled job performs.
    manageModuleStreamsDetails ScheduledJobOperationManageModuleStreamsDetails
    (Updatable) The set of changes to make to the state of the modules, streams, and profiles on the managed target.
    packageNames List<String>
    (Updatable) The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
    softwareSourceIds List<String>
    (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
    switchModuleStreamsDetails ScheduledJobOperationSwitchModuleStreamsDetails
    (Updatable) Provides the information used to update a module stream.
    windowsUpdateNames List<String>
    (Updatable) Unique identifier for the Windows update. This parameter only applies if the scheduled job is for installing Windows updates. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. For example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'.
    operationType string
    (Updatable) The type of operation this scheduled job performs.
    manageModuleStreamsDetails ScheduledJobOperationManageModuleStreamsDetails
    (Updatable) The set of changes to make to the state of the modules, streams, and profiles on the managed target.
    packageNames string[]
    (Updatable) The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
    softwareSourceIds string[]
    (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
    switchModuleStreamsDetails ScheduledJobOperationSwitchModuleStreamsDetails
    (Updatable) Provides the information used to update a module stream.
    windowsUpdateNames string[]
    (Updatable) Unique identifier for the Windows update. This parameter only applies if the scheduled job is for installing Windows updates. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. For example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'.
    operation_type str
    (Updatable) The type of operation this scheduled job performs.
    manage_module_streams_details osmanagementhub.ScheduledJobOperationManageModuleStreamsDetails
    (Updatable) The set of changes to make to the state of the modules, streams, and profiles on the managed target.
    package_names Sequence[str]
    (Updatable) The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
    software_source_ids Sequence[str]
    (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
    switch_module_streams_details osmanagementhub.ScheduledJobOperationSwitchModuleStreamsDetails
    (Updatable) Provides the information used to update a module stream.
    windows_update_names Sequence[str]
    (Updatable) Unique identifier for the Windows update. This parameter only applies if the scheduled job is for installing Windows updates. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. For example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'.
    operationType String
    (Updatable) The type of operation this scheduled job performs.
    manageModuleStreamsDetails Property Map
    (Updatable) The set of changes to make to the state of the modules, streams, and profiles on the managed target.
    packageNames List<String>
    (Updatable) The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
    softwareSourceIds List<String>
    (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
    switchModuleStreamsDetails Property Map
    (Updatable) Provides the information used to update a module stream.
    windowsUpdateNames List<String>
    (Updatable) Unique identifier for the Windows update. This parameter only applies if the scheduled job is for installing Windows updates. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. For example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'.

    ScheduledJobOperationManageModuleStreamsDetails, ScheduledJobOperationManageModuleStreamsDetailsArgs

    Disables List<ScheduledJobOperationManageModuleStreamsDetailsDisable>
    (Updatable) The set of module streams to disable.
    Enables List<ScheduledJobOperationManageModuleStreamsDetailsEnable>
    (Updatable) The set of module streams to enable.
    Installs List<ScheduledJobOperationManageModuleStreamsDetailsInstall>
    (Updatable) The set of module stream profiles to install.
    Removes List<ScheduledJobOperationManageModuleStreamsDetailsRemove>
    (Updatable) The set of module stream profiles to remove.
    Disables []ScheduledJobOperationManageModuleStreamsDetailsDisable
    (Updatable) The set of module streams to disable.
    Enables []ScheduledJobOperationManageModuleStreamsDetailsEnable
    (Updatable) The set of module streams to enable.
    Installs []ScheduledJobOperationManageModuleStreamsDetailsInstall
    (Updatable) The set of module stream profiles to install.
    Removes []ScheduledJobOperationManageModuleStreamsDetailsRemove
    (Updatable) The set of module stream profiles to remove.
    disables List<ScheduledJobOperationManageModuleStreamsDetailsDisable>
    (Updatable) The set of module streams to disable.
    enables List<ScheduledJobOperationManageModuleStreamsDetailsEnable>
    (Updatable) The set of module streams to enable.
    installs List<ScheduledJobOperationManageModuleStreamsDetailsInstall>
    (Updatable) The set of module stream profiles to install.
    removes List<ScheduledJobOperationManageModuleStreamsDetailsRemove>
    (Updatable) The set of module stream profiles to remove.
    disables ScheduledJobOperationManageModuleStreamsDetailsDisable[]
    (Updatable) The set of module streams to disable.
    enables ScheduledJobOperationManageModuleStreamsDetailsEnable[]
    (Updatable) The set of module streams to enable.
    installs ScheduledJobOperationManageModuleStreamsDetailsInstall[]
    (Updatable) The set of module stream profiles to install.
    removes ScheduledJobOperationManageModuleStreamsDetailsRemove[]
    (Updatable) The set of module stream profiles to remove.
    disables List<Property Map>
    (Updatable) The set of module streams to disable.
    enables List<Property Map>
    (Updatable) The set of module streams to enable.
    installs List<Property Map>
    (Updatable) The set of module stream profiles to install.
    removes List<Property Map>
    (Updatable) The set of module stream profiles to remove.

    ScheduledJobOperationManageModuleStreamsDetailsDisable, ScheduledJobOperationManageModuleStreamsDetailsDisableArgs

    ModuleName string
    (Updatable) The name of a module.
    StreamName string
    (Updatable) The name of a stream of the specified module.
    SoftwareSourceId string
    (Updatable) The OCID of the software source that contains the module stream.
    ModuleName string
    (Updatable) The name of a module.
    StreamName string
    (Updatable) The name of a stream of the specified module.
    SoftwareSourceId string
    (Updatable) The OCID of the software source that contains the module stream.
    moduleName String
    (Updatable) The name of a module.
    streamName String
    (Updatable) The name of a stream of the specified module.
    softwareSourceId String
    (Updatable) The OCID of the software source that contains the module stream.
    moduleName string
    (Updatable) The name of a module.
    streamName string
    (Updatable) The name of a stream of the specified module.
    softwareSourceId string
    (Updatable) The OCID of the software source that contains the module stream.
    module_name str
    (Updatable) The name of a module.
    stream_name str
    (Updatable) The name of a stream of the specified module.
    software_source_id str
    (Updatable) The OCID of the software source that contains the module stream.
    moduleName String
    (Updatable) The name of a module.
    streamName String
    (Updatable) The name of a stream of the specified module.
    softwareSourceId String
    (Updatable) The OCID of the software source that contains the module stream.

    ScheduledJobOperationManageModuleStreamsDetailsEnable, ScheduledJobOperationManageModuleStreamsDetailsEnableArgs

    ModuleName string
    (Updatable) The name of a module.
    StreamName string
    (Updatable) The name of a stream of the specified module.
    SoftwareSourceId string
    (Updatable) The OCID of the software source that contains the module stream.
    ModuleName string
    (Updatable) The name of a module.
    StreamName string
    (Updatable) The name of a stream of the specified module.
    SoftwareSourceId string
    (Updatable) The OCID of the software source that contains the module stream.
    moduleName String
    (Updatable) The name of a module.
    streamName String
    (Updatable) The name of a stream of the specified module.
    softwareSourceId String
    (Updatable) The OCID of the software source that contains the module stream.
    moduleName string
    (Updatable) The name of a module.
    streamName string
    (Updatable) The name of a stream of the specified module.
    softwareSourceId string
    (Updatable) The OCID of the software source that contains the module stream.
    module_name str
    (Updatable) The name of a module.
    stream_name str
    (Updatable) The name of a stream of the specified module.
    software_source_id str
    (Updatable) The OCID of the software source that contains the module stream.
    moduleName String
    (Updatable) The name of a module.
    streamName String
    (Updatable) The name of a stream of the specified module.
    softwareSourceId String
    (Updatable) The OCID of the software source that contains the module stream.

    ScheduledJobOperationManageModuleStreamsDetailsInstall, ScheduledJobOperationManageModuleStreamsDetailsInstallArgs

    ModuleName string
    (Updatable) The name of a module.
    ProfileName string
    (Updatable) The name of a profile of the specified module stream.
    StreamName string
    (Updatable) The name of a stream of the specified module.
    SoftwareSourceId string
    (Updatable) The OCID of the software source that contains the module stream.
    ModuleName string
    (Updatable) The name of a module.
    ProfileName string
    (Updatable) The name of a profile of the specified module stream.
    StreamName string
    (Updatable) The name of a stream of the specified module.
    SoftwareSourceId string
    (Updatable) The OCID of the software source that contains the module stream.
    moduleName String
    (Updatable) The name of a module.
    profileName String
    (Updatable) The name of a profile of the specified module stream.
    streamName String
    (Updatable) The name of a stream of the specified module.
    softwareSourceId String
    (Updatable) The OCID of the software source that contains the module stream.
    moduleName string
    (Updatable) The name of a module.
    profileName string
    (Updatable) The name of a profile of the specified module stream.
    streamName string
    (Updatable) The name of a stream of the specified module.
    softwareSourceId string
    (Updatable) The OCID of the software source that contains the module stream.
    module_name str
    (Updatable) The name of a module.
    profile_name str
    (Updatable) The name of a profile of the specified module stream.
    stream_name str
    (Updatable) The name of a stream of the specified module.
    software_source_id str
    (Updatable) The OCID of the software source that contains the module stream.
    moduleName String
    (Updatable) The name of a module.
    profileName String
    (Updatable) The name of a profile of the specified module stream.
    streamName String
    (Updatable) The name of a stream of the specified module.
    softwareSourceId String
    (Updatable) The OCID of the software source that contains the module stream.

    ScheduledJobOperationManageModuleStreamsDetailsRemove, ScheduledJobOperationManageModuleStreamsDetailsRemoveArgs

    ModuleName string
    (Updatable) The name of a module.
    ProfileName string
    (Updatable) The name of a profile of the specified module stream.
    StreamName string
    (Updatable) The name of a stream of the specified module.
    SoftwareSourceId string
    (Updatable) The OCID of the software source that contains the module stream.
    ModuleName string
    (Updatable) The name of a module.
    ProfileName string
    (Updatable) The name of a profile of the specified module stream.
    StreamName string
    (Updatable) The name of a stream of the specified module.
    SoftwareSourceId string
    (Updatable) The OCID of the software source that contains the module stream.
    moduleName String
    (Updatable) The name of a module.
    profileName String
    (Updatable) The name of a profile of the specified module stream.
    streamName String
    (Updatable) The name of a stream of the specified module.
    softwareSourceId String
    (Updatable) The OCID of the software source that contains the module stream.
    moduleName string
    (Updatable) The name of a module.
    profileName string
    (Updatable) The name of a profile of the specified module stream.
    streamName string
    (Updatable) The name of a stream of the specified module.
    softwareSourceId string
    (Updatable) The OCID of the software source that contains the module stream.
    module_name str
    (Updatable) The name of a module.
    profile_name str
    (Updatable) The name of a profile of the specified module stream.
    stream_name str
    (Updatable) The name of a stream of the specified module.
    software_source_id str
    (Updatable) The OCID of the software source that contains the module stream.
    moduleName String
    (Updatable) The name of a module.
    profileName String
    (Updatable) The name of a profile of the specified module stream.
    streamName String
    (Updatable) The name of a stream of the specified module.
    softwareSourceId String
    (Updatable) The OCID of the software source that contains the module stream.

    ScheduledJobOperationSwitchModuleStreamsDetails, ScheduledJobOperationSwitchModuleStreamsDetailsArgs

    ModuleName string
    (Updatable) The name of a module.
    StreamName string
    (Updatable) The name of a stream of the specified module.
    SoftwareSourceId string
    (Updatable) The OCID of the software source that contains the module stream.
    ModuleName string
    (Updatable) The name of a module.
    StreamName string
    (Updatable) The name of a stream of the specified module.
    SoftwareSourceId string
    (Updatable) The OCID of the software source that contains the module stream.
    moduleName String
    (Updatable) The name of a module.
    streamName String
    (Updatable) The name of a stream of the specified module.
    softwareSourceId String
    (Updatable) The OCID of the software source that contains the module stream.
    moduleName string
    (Updatable) The name of a module.
    streamName string
    (Updatable) The name of a stream of the specified module.
    softwareSourceId string
    (Updatable) The OCID of the software source that contains the module stream.
    module_name str
    (Updatable) The name of a module.
    stream_name str
    (Updatable) The name of a stream of the specified module.
    software_source_id str
    (Updatable) The OCID of the software source that contains the module stream.
    moduleName String
    (Updatable) The name of a module.
    streamName String
    (Updatable) The name of a stream of the specified module.
    softwareSourceId String
    (Updatable) The OCID of the software source that contains the module stream.

    Import

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

    $ pulumi import oci:OsManagementHub/scheduledJob:ScheduledJob test_scheduled_job "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 v2.18.0 published on Friday, Nov 22, 2024 by Pulumi