oci.OsManagementHub.ScheduledJob
Explore with Pulumi AI
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,
        rebootTimeoutInMins: scheduledJobOperationsRebootTimeoutInMins,
        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,
    workRequestId: testWorkRequest.id,
});
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,
        "reboot_timeout_in_mins": scheduled_job_operations_reboot_timeout_in_mins,
        "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,
    work_request_id=test_work_request["id"])
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),
					RebootTimeoutInMins: pulumi.Any(scheduledJobOperationsRebootTimeoutInMins),
					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),
			WorkRequestId:              pulumi.Any(testWorkRequest.Id),
		})
		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,
                RebootTimeoutInMins = scheduledJobOperationsRebootTimeoutInMins,
                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,
        WorkRequestId = testWorkRequest.Id,
    });
});
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)
                .rebootTimeoutInMins(scheduledJobOperationsRebootTimeoutInMins)
                .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)
            .workRequestId(testWorkRequest.id())
            .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}
          rebootTimeoutInMins: ${scheduledJobOperationsRebootTimeoutInMins}
          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}
      workRequestId: ${testWorkRequest.id}
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,
                 managed_instance_ids: Optional[Sequence[str]] = 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,
                 is_managed_by_autonomous_linux: Optional[bool] = 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,
                 work_request_id: Optional[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",
            },
            RebootTimeoutInMins = 0,
            SoftwareSourceIds = new[]
            {
                "string",
            },
            SwitchModuleStreamsDetails = new Oci.OsManagementHub.Inputs.ScheduledJobOperationSwitchModuleStreamsDetailsArgs
            {
                ModuleName = "string",
                StreamName = "string",
                SoftwareSourceId = "string",
            },
            WindowsUpdateNames = new[]
            {
                "string",
            },
        },
    },
    FreeformTags = 
    {
        { "string", "string" },
    },
    ManagedInstanceIds = new[]
    {
        "string",
    },
    IsSubcompartmentIncluded = false,
    LifecycleStageIds = new[]
    {
        "string",
    },
    Locations = new[]
    {
        "string",
    },
    ManagedCompartmentIds = new[]
    {
        "string",
    },
    ManagedInstanceGroupIds = new[]
    {
        "string",
    },
    IsManagedByAutonomousLinux = false,
    DisplayName = "string",
    RecurringRule = "string",
    RetryIntervals = new[]
    {
        0,
    },
    Description = "string",
    DefinedTags = 
    {
        { "string", "string" },
    },
    WorkRequestId = "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"),
			},
			RebootTimeoutInMins: pulumi.Int(0),
			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"),
	},
	ManagedInstanceIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	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"),
	},
	IsManagedByAutonomousLinux: pulumi.Bool(false),
	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"),
	},
	WorkRequestId: 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")
        .rebootTimeoutInMins(0)
        .softwareSourceIds("string")
        .switchModuleStreamsDetails(ScheduledJobOperationSwitchModuleStreamsDetailsArgs.builder()
            .moduleName("string")
            .streamName("string")
            .softwareSourceId("string")
            .build())
        .windowsUpdateNames("string")
        .build())
    .freeformTags(Map.of("string", "string"))
    .managedInstanceIds("string")
    .isSubcompartmentIncluded(false)
    .lifecycleStageIds("string")
    .locations("string")
    .managedCompartmentIds("string")
    .managedInstanceGroupIds("string")
    .isManagedByAutonomousLinux(false)
    .displayName("string")
    .recurringRule("string")
    .retryIntervals(0)
    .description("string")
    .definedTags(Map.of("string", "string"))
    .workRequestId("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"],
        "reboot_timeout_in_mins": 0,
        "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",
    },
    managed_instance_ids=["string"],
    is_subcompartment_included=False,
    lifecycle_stage_ids=["string"],
    locations=["string"],
    managed_compartment_ids=["string"],
    managed_instance_group_ids=["string"],
    is_managed_by_autonomous_linux=False,
    display_name="string",
    recurring_rule="string",
    retry_intervals=[0],
    description="string",
    defined_tags={
        "string": "string",
    },
    work_request_id="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"],
        rebootTimeoutInMins: 0,
        softwareSourceIds: ["string"],
        switchModuleStreamsDetails: {
            moduleName: "string",
            streamName: "string",
            softwareSourceId: "string",
        },
        windowsUpdateNames: ["string"],
    }],
    freeformTags: {
        string: "string",
    },
    managedInstanceIds: ["string"],
    isSubcompartmentIncluded: false,
    lifecycleStageIds: ["string"],
    locations: ["string"],
    managedCompartmentIds: ["string"],
    managedInstanceGroupIds: ["string"],
    isManagedByAutonomousLinux: false,
    displayName: "string",
    recurringRule: "string",
    retryIntervals: [0],
    description: "string",
    definedTags: {
        string: "string",
    },
    workRequestId: "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
          rebootTimeoutInMins: 0
          softwareSourceIds:
            - string
          switchModuleStreamsDetails:
            moduleName: string
            softwareSourceId: string
            streamName: string
          windowsUpdateNames:
            - string
    recurringRule: string
    retryIntervals:
        - 0
    scheduleType: string
    timeNextExecution: string
    workRequestId: 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<ScheduledJob Operation> 
- (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.
- TimeNext stringExecution 
- (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
- 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.
- 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"}
- IsManaged boolBy Autonomous Linux 
- Indicates whether this scheduled job is managed by the Autonomous Linux service.
- IsSubcompartment boolIncluded 
- Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- LifecycleStage List<string>Ids 
- 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.
- ManagedCompartment List<string>Ids 
- 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.
- ManagedInstance List<string>Group Ids 
- 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.
- ManagedInstance List<string>Ids 
- 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.
- WorkRequest stringId 
- The OCID for the work request that will be rerun. - ** 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 
- CompartmentId string
- (Updatable) The OCID of the compartment that contains the scheduled job.
- Operations
[]ScheduledJob Operation Args 
- (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.
- TimeNext stringExecution 
- (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
- 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.
- 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"}
- IsManaged boolBy Autonomous Linux 
- Indicates whether this scheduled job is managed by the Autonomous Linux service.
- IsSubcompartment boolIncluded 
- Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- LifecycleStage []stringIds 
- 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.
- ManagedCompartment []stringIds 
- 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.
- ManagedInstance []stringGroup Ids 
- 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.
- ManagedInstance []stringIds 
- 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.
- WorkRequest stringId 
- The OCID for the work request that will be rerun. - ** 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 
- compartmentId String
- (Updatable) The OCID of the compartment that contains the scheduled job.
- operations
List<ScheduledJob Operation> 
- (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.
- timeNext StringExecution 
- (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
- 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.
- 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"}
- isManaged BooleanBy Autonomous Linux 
- Indicates whether this scheduled job is managed by the Autonomous Linux service.
- isSubcompartment BooleanIncluded 
- Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- lifecycleStage List<String>Ids 
- 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.
- managedCompartment List<String>Ids 
- 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.
- managedInstance List<String>Group Ids 
- 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.
- managedInstance List<String>Ids 
- 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.
- workRequest StringId 
- The OCID for the work request that will be rerun. - ** 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 
- compartmentId string
- (Updatable) The OCID of the compartment that contains the scheduled job.
- operations
ScheduledJob Operation[] 
- (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.
- timeNext stringExecution 
- (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
- {[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.
- {[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"}
- isManaged booleanBy Autonomous Linux 
- Indicates whether this scheduled job is managed by the Autonomous Linux service.
- isSubcompartment booleanIncluded 
- Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- lifecycleStage string[]Ids 
- 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.
- managedCompartment string[]Ids 
- 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.
- managedInstance string[]Group Ids 
- 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.
- managedInstance string[]Ids 
- 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.
- workRequest stringId 
- The OCID for the work request that will be rerun. - ** 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 
- compartment_id str
- (Updatable) The OCID of the compartment that contains the scheduled job.
- operations
Sequence[osmanagementhub.Scheduled Job Operation Args] 
- (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_ strexecution 
- (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
- 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.
- 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_ boolby_ autonomous_ linux 
- Indicates whether this scheduled job is managed by the Autonomous Linux service.
- is_subcompartment_ boolincluded 
- Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- lifecycle_stage_ Sequence[str]ids 
- 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_ Sequence[str]ids 
- 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_ Sequence[str]group_ ids 
- 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_ Sequence[str]ids 
- 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.
- work_request_ strid 
- The OCID for the work request that will be rerun. - ** 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 
- 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.
- timeNext StringExecution 
- (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
- 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.
- 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"}
- isManaged BooleanBy Autonomous Linux 
- Indicates whether this scheduled job is managed by the Autonomous Linux service.
- isSubcompartment BooleanIncluded 
- Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- lifecycleStage List<String>Ids 
- 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.
- managedCompartment List<String>Ids 
- 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.
- managedInstance List<String>Group Ids 
- 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.
- managedInstance List<String>Ids 
- 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.
- workRequest StringId 
- The OCID for the work request that will be rerun. - ** 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 
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.
- 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).
- TimeLast stringExecution 
- 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).
- WorkRequest List<string>Ids 
- 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.
- 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).
- TimeLast stringExecution 
- 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).
- WorkRequest []stringIds 
- 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.
- 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).
- timeLast StringExecution 
- 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).
- workRequest List<String>Ids 
- 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.
- {[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).
- timeLast stringExecution 
- 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).
- workRequest string[]Ids 
- 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.
- 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_ strexecution 
- 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_ Sequence[str]ids 
- 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.
- 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).
- timeLast StringExecution 
- 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).
- workRequest List<String>Ids 
- 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_id: Optional[str] = None,
        work_request_ids: Optional[Sequence[str]] = None) -> ScheduledJobfunc 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)resources:  _:    type: oci:OsManagementHub:ScheduledJob    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CompartmentId string
- (Updatable) The OCID of the compartment that contains the scheduled job.
- 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.
- 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"}
- IsManaged boolBy Autonomous Linux 
- 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.
- IsSubcompartment boolIncluded 
- Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- LifecycleStage List<string>Ids 
- 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.
- ManagedCompartment List<string>Ids 
- 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.
- ManagedInstance List<string>Group Ids 
- 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.
- ManagedInstance List<string>Ids 
- 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<ScheduledJob Operation> 
- (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.
- 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).
- TimeLast stringExecution 
- The time of the last execution of this scheduled job (in RFC 3339 format).
- TimeNext stringExecution 
- (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
- TimeUpdated string
- The time this scheduled job was updated (in RFC 3339 format).
- WorkRequest stringId 
- The OCID for the work request that will be rerun. - ** 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 
- WorkRequest List<string>Ids 
- The list of work request OCIDs associated with this scheduled job.
- CompartmentId string
- (Updatable) The OCID of the compartment that contains the scheduled job.
- 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.
- 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"}
- IsManaged boolBy Autonomous Linux 
- 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.
- IsSubcompartment boolIncluded 
- Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- LifecycleStage []stringIds 
- 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.
- ManagedCompartment []stringIds 
- 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.
- ManagedInstance []stringGroup Ids 
- 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.
- ManagedInstance []stringIds 
- 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
[]ScheduledJob Operation Args 
- (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.
- 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).
- TimeLast stringExecution 
- The time of the last execution of this scheduled job (in RFC 3339 format).
- TimeNext stringExecution 
- (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
- TimeUpdated string
- The time this scheduled job was updated (in RFC 3339 format).
- WorkRequest stringId 
- The OCID for the work request that will be rerun. - ** 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 
- WorkRequest []stringIds 
- The list of work request OCIDs associated with this scheduled job.
- compartmentId String
- (Updatable) The OCID of the compartment that contains the scheduled job.
- 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.
- 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"}
- isManaged BooleanBy Autonomous Linux 
- 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.
- isSubcompartment BooleanIncluded 
- Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- lifecycleStage List<String>Ids 
- 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.
- managedCompartment List<String>Ids 
- 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.
- managedInstance List<String>Group Ids 
- 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.
- managedInstance List<String>Ids 
- 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<ScheduledJob Operation> 
- (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.
- 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).
- timeLast StringExecution 
- The time of the last execution of this scheduled job (in RFC 3339 format).
- timeNext StringExecution 
- (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
- timeUpdated String
- The time this scheduled job was updated (in RFC 3339 format).
- workRequest StringId 
- The OCID for the work request that will be rerun. - ** 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 
- workRequest List<String>Ids 
- The list of work request OCIDs associated with this scheduled job.
- compartmentId string
- (Updatable) The OCID of the compartment that contains the scheduled job.
- {[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.
- {[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"}
- isManaged booleanBy Autonomous Linux 
- 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.
- isSubcompartment booleanIncluded 
- Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- lifecycleStage string[]Ids 
- 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.
- managedCompartment string[]Ids 
- 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.
- managedInstance string[]Group Ids 
- 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.
- managedInstance string[]Ids 
- 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
ScheduledJob Operation[] 
- (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.
- {[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).
- timeLast stringExecution 
- The time of the last execution of this scheduled job (in RFC 3339 format).
- timeNext stringExecution 
- (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
- timeUpdated string
- The time this scheduled job was updated (in RFC 3339 format).
- workRequest stringId 
- The OCID for the work request that will be rerun. - ** 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 
- workRequest string[]Ids 
- 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.
- 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.
- 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_ boolby_ autonomous_ linux 
- 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_ boolincluded 
- Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- lifecycle_stage_ Sequence[str]ids 
- 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_ Sequence[str]ids 
- 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_ Sequence[str]group_ ids 
- 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_ Sequence[str]ids 
- 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.Scheduled Job Operation Args] 
- (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.
- 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_ strexecution 
- The time of the last execution of this scheduled job (in RFC 3339 format).
- time_next_ strexecution 
- (Updatable) The desired time of the next 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_ strid 
- The OCID for the work request that will be rerun. - ** 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 
- work_request_ Sequence[str]ids 
- The list of work request OCIDs associated with this scheduled job.
- compartmentId String
- (Updatable) The OCID of the compartment that contains the scheduled job.
- 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.
- 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"}
- isManaged BooleanBy Autonomous Linux 
- 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.
- isSubcompartment BooleanIncluded 
- Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- lifecycleStage List<String>Ids 
- 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.
- managedCompartment List<String>Ids 
- 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.
- managedInstance List<String>Group Ids 
- 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.
- managedInstance List<String>Ids 
- 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.
- 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).
- timeLast StringExecution 
- The time of the last execution of this scheduled job (in RFC 3339 format).
- timeNext StringExecution 
- (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
- timeUpdated String
- The time this scheduled job was updated (in RFC 3339 format).
- workRequest StringId 
- The OCID for the work request that will be rerun. - ** 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 
- workRequest List<String>Ids 
- 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.
- ManageModule ScheduledStreams Details Job Operation Manage Module Streams Details 
- (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.
- RebootTimeout intIn Mins 
- (Updatable) The number of minutes the service waits for the reboot to complete. If the instance doesn't reboot within the timeout, the service marks the reboot job as failed.
- SoftwareSource List<string>Ids 
- (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
- SwitchModule ScheduledStreams Details Job Operation Switch Module Streams Details 
- (Updatable) Provides the information used to update a module stream.
- WindowsUpdate List<string>Names 
- (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.
- ManageModule ScheduledStreams Details Job Operation Manage Module Streams Details 
- (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.
- RebootTimeout intIn Mins 
- (Updatable) The number of minutes the service waits for the reboot to complete. If the instance doesn't reboot within the timeout, the service marks the reboot job as failed.
- SoftwareSource []stringIds 
- (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
- SwitchModule ScheduledStreams Details Job Operation Switch Module Streams Details 
- (Updatable) Provides the information used to update a module stream.
- WindowsUpdate []stringNames 
- (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.
- manageModule ScheduledStreams Details Job Operation Manage Module Streams Details 
- (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.
- rebootTimeout IntegerIn Mins 
- (Updatable) The number of minutes the service waits for the reboot to complete. If the instance doesn't reboot within the timeout, the service marks the reboot job as failed.
- softwareSource List<String>Ids 
- (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
- switchModule ScheduledStreams Details Job Operation Switch Module Streams Details 
- (Updatable) Provides the information used to update a module stream.
- windowsUpdate List<String>Names 
- (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.
- manageModule ScheduledStreams Details Job Operation Manage Module Streams Details 
- (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.
- rebootTimeout numberIn Mins 
- (Updatable) The number of minutes the service waits for the reboot to complete. If the instance doesn't reboot within the timeout, the service marks the reboot job as failed.
- softwareSource string[]Ids 
- (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
- switchModule ScheduledStreams Details Job Operation Switch Module Streams Details 
- (Updatable) Provides the information used to update a module stream.
- windowsUpdate string[]Names 
- (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_ osmanagementhub.streams_ details Scheduled Job Operation Manage Module Streams Details 
- (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.
- reboot_timeout_ intin_ mins 
- (Updatable) The number of minutes the service waits for the reboot to complete. If the instance doesn't reboot within the timeout, the service marks the reboot job as failed.
- software_source_ Sequence[str]ids 
- (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
- switch_module_ osmanagementhub.streams_ details Scheduled Job Operation Switch Module Streams Details 
- (Updatable) Provides the information used to update a module stream.
- windows_update_ Sequence[str]names 
- (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.
- manageModule Property MapStreams Details 
- (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.
- rebootTimeout NumberIn Mins 
- (Updatable) The number of minutes the service waits for the reboot to complete. If the instance doesn't reboot within the timeout, the service marks the reboot job as failed.
- softwareSource List<String>Ids 
- (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
- switchModule Property MapStreams Details 
- (Updatable) Provides the information used to update a module stream.
- windowsUpdate List<String>Names 
- (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<ScheduledJob Operation Manage Module Streams Details Disable> 
- (Updatable) The set of module streams to disable.
- Enables
List<ScheduledJob Operation Manage Module Streams Details Enable> 
- (Updatable) The set of module streams to enable.
- Installs
List<ScheduledJob Operation Manage Module Streams Details Install> 
- (Updatable) The set of module stream profiles to install.
- Removes
List<ScheduledJob Operation Manage Module Streams Details Remove> 
- (Updatable) The set of module stream profiles to remove.
- Disables
[]ScheduledJob Operation Manage Module Streams Details Disable 
- (Updatable) The set of module streams to disable.
- Enables
[]ScheduledJob Operation Manage Module Streams Details Enable 
- (Updatable) The set of module streams to enable.
- Installs
[]ScheduledJob Operation Manage Module Streams Details Install 
- (Updatable) The set of module stream profiles to install.
- Removes
[]ScheduledJob Operation Manage Module Streams Details Remove 
- (Updatable) The set of module stream profiles to remove.
- disables
List<ScheduledJob Operation Manage Module Streams Details Disable> 
- (Updatable) The set of module streams to disable.
- enables
List<ScheduledJob Operation Manage Module Streams Details Enable> 
- (Updatable) The set of module streams to enable.
- installs
List<ScheduledJob Operation Manage Module Streams Details Install> 
- (Updatable) The set of module stream profiles to install.
- removes
List<ScheduledJob Operation Manage Module Streams Details Remove> 
- (Updatable) The set of module stream profiles to remove.
- disables
ScheduledJob Operation Manage Module Streams Details Disable[] 
- (Updatable) The set of module streams to disable.
- enables
ScheduledJob Operation Manage Module Streams Details Enable[] 
- (Updatable) The set of module streams to enable.
- installs
ScheduledJob Operation Manage Module Streams Details Install[] 
- (Updatable) The set of module stream profiles to install.
- removes
ScheduledJob Operation Manage Module Streams Details Remove[] 
- (Updatable) The set of module stream profiles to remove.
- disables
Sequence[osmanagementhub.Scheduled Job Operation Manage Module Streams Details Disable] 
- (Updatable) The set of module streams to disable.
- enables
Sequence[osmanagementhub.Scheduled Job Operation Manage Module Streams Details Enable] 
- (Updatable) The set of module streams to enable.
- installs
Sequence[osmanagementhub.Scheduled Job Operation Manage Module Streams Details Install] 
- (Updatable) The set of module stream profiles to install.
- removes
Sequence[osmanagementhub.Scheduled Job Operation Manage Module Streams Details Remove] 
- (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.
- SoftwareSource stringId 
- (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.
- SoftwareSource stringId 
- (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.
- softwareSource StringId 
- (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.
- softwareSource stringId 
- (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_ strid 
- (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.
- softwareSource StringId 
- (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.
- SoftwareSource stringId 
- (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.
- SoftwareSource stringId 
- (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.
- softwareSource StringId 
- (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.
- softwareSource stringId 
- (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_ strid 
- (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.
- softwareSource StringId 
- (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.
- SoftwareSource stringId 
- (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.
- SoftwareSource stringId 
- (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.
- softwareSource StringId 
- (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.
- softwareSource stringId 
- (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_ strid 
- (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.
- softwareSource StringId 
- (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.
- SoftwareSource stringId 
- (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.
- SoftwareSource stringId 
- (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.
- softwareSource StringId 
- (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.
- softwareSource stringId 
- (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_ strid 
- (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.
- softwareSource StringId 
- (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.
- SoftwareSource stringId 
- (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.
- SoftwareSource stringId 
- (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.
- softwareSource StringId 
- (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.
- softwareSource stringId 
- (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_ strid 
- (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.
- softwareSource StringId 
- (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 ociTerraform Provider.