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

oci.OsManagementHub.getScheduledJobs

Explore with Pulumi AI

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

    This data source provides the list of Scheduled Jobs in Oracle Cloud Infrastructure Os Management Hub service.

    Lists scheduled jobs that match the specified compartment or scheduled job OCID.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testScheduledJobs = oci.OsManagementHub.getScheduledJobs({
        compartmentId: compartmentId,
        compartmentIdInSubtree: scheduledJobCompartmentIdInSubtree,
        displayName: scheduledJobDisplayName,
        displayNameContains: scheduledJobDisplayNameContains,
        id: scheduledJobId,
        isManagedByAutonomousLinux: scheduledJobIsManagedByAutonomousLinux,
        isRestricted: scheduledJobIsRestricted,
        lifecycleStageId: testLifecycleStage.id,
        locations: scheduledJobLocation,
        locationNotEqualTos: scheduledJobLocationNotEqualTo,
        managedCompartmentId: testCompartment.id,
        managedInstanceGroupId: testManagedInstanceGroup.id,
        managedInstanceId: testManagedInstance.id,
        operationType: scheduledJobOperationType,
        scheduleType: scheduledJobScheduleType,
        state: scheduledJobState,
        timeEnd: scheduledJobTimeEnd,
        timeStart: scheduledJobTimeStart,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_scheduled_jobs = oci.OsManagementHub.get_scheduled_jobs(compartment_id=compartment_id,
        compartment_id_in_subtree=scheduled_job_compartment_id_in_subtree,
        display_name=scheduled_job_display_name,
        display_name_contains=scheduled_job_display_name_contains,
        id=scheduled_job_id,
        is_managed_by_autonomous_linux=scheduled_job_is_managed_by_autonomous_linux,
        is_restricted=scheduled_job_is_restricted,
        lifecycle_stage_id=test_lifecycle_stage["id"],
        locations=scheduled_job_location,
        location_not_equal_tos=scheduled_job_location_not_equal_to,
        managed_compartment_id=test_compartment["id"],
        managed_instance_group_id=test_managed_instance_group["id"],
        managed_instance_id=test_managed_instance["id"],
        operation_type=scheduled_job_operation_type,
        schedule_type=scheduled_job_schedule_type,
        state=scheduled_job_state,
        time_end=scheduled_job_time_end,
        time_start=scheduled_job_time_start)
    
    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.GetScheduledJobs(ctx, &osmanagementhub.GetScheduledJobsArgs{
    			CompartmentId:              pulumi.StringRef(compartmentId),
    			CompartmentIdInSubtree:     pulumi.BoolRef(scheduledJobCompartmentIdInSubtree),
    			DisplayName:                pulumi.StringRef(scheduledJobDisplayName),
    			DisplayNameContains:        pulumi.StringRef(scheduledJobDisplayNameContains),
    			Id:                         pulumi.StringRef(scheduledJobId),
    			IsManagedByAutonomousLinux: pulumi.BoolRef(scheduledJobIsManagedByAutonomousLinux),
    			IsRestricted:               pulumi.BoolRef(scheduledJobIsRestricted),
    			LifecycleStageId:           pulumi.StringRef(testLifecycleStage.Id),
    			Locations:                  scheduledJobLocation,
    			LocationNotEqualTos:        scheduledJobLocationNotEqualTo,
    			ManagedCompartmentId:       pulumi.StringRef(testCompartment.Id),
    			ManagedInstanceGroupId:     pulumi.StringRef(testManagedInstanceGroup.Id),
    			ManagedInstanceId:          pulumi.StringRef(testManagedInstance.Id),
    			OperationType:              pulumi.StringRef(scheduledJobOperationType),
    			ScheduleType:               pulumi.StringRef(scheduledJobScheduleType),
    			State:                      pulumi.StringRef(scheduledJobState),
    			TimeEnd:                    pulumi.StringRef(scheduledJobTimeEnd),
    			TimeStart:                  pulumi.StringRef(scheduledJobTimeStart),
    		}, nil)
    		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 testScheduledJobs = Oci.OsManagementHub.GetScheduledJobs.Invoke(new()
        {
            CompartmentId = compartmentId,
            CompartmentIdInSubtree = scheduledJobCompartmentIdInSubtree,
            DisplayName = scheduledJobDisplayName,
            DisplayNameContains = scheduledJobDisplayNameContains,
            Id = scheduledJobId,
            IsManagedByAutonomousLinux = scheduledJobIsManagedByAutonomousLinux,
            IsRestricted = scheduledJobIsRestricted,
            LifecycleStageId = testLifecycleStage.Id,
            Locations = scheduledJobLocation,
            LocationNotEqualTos = scheduledJobLocationNotEqualTo,
            ManagedCompartmentId = testCompartment.Id,
            ManagedInstanceGroupId = testManagedInstanceGroup.Id,
            ManagedInstanceId = testManagedInstance.Id,
            OperationType = scheduledJobOperationType,
            ScheduleType = scheduledJobScheduleType,
            State = scheduledJobState,
            TimeEnd = scheduledJobTimeEnd,
            TimeStart = scheduledJobTimeStart,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.OsManagementHub.OsManagementHubFunctions;
    import com.pulumi.oci.OsManagementHub.inputs.GetScheduledJobsArgs;
    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) {
            final var testScheduledJobs = OsManagementHubFunctions.getScheduledJobs(GetScheduledJobsArgs.builder()
                .compartmentId(compartmentId)
                .compartmentIdInSubtree(scheduledJobCompartmentIdInSubtree)
                .displayName(scheduledJobDisplayName)
                .displayNameContains(scheduledJobDisplayNameContains)
                .id(scheduledJobId)
                .isManagedByAutonomousLinux(scheduledJobIsManagedByAutonomousLinux)
                .isRestricted(scheduledJobIsRestricted)
                .lifecycleStageId(testLifecycleStage.id())
                .locations(scheduledJobLocation)
                .locationNotEqualTos(scheduledJobLocationNotEqualTo)
                .managedCompartmentId(testCompartment.id())
                .managedInstanceGroupId(testManagedInstanceGroup.id())
                .managedInstanceId(testManagedInstance.id())
                .operationType(scheduledJobOperationType)
                .scheduleType(scheduledJobScheduleType)
                .state(scheduledJobState)
                .timeEnd(scheduledJobTimeEnd)
                .timeStart(scheduledJobTimeStart)
                .build());
    
        }
    }
    
    variables:
      testScheduledJobs:
        fn::invoke:
          Function: oci:OsManagementHub:getScheduledJobs
          Arguments:
            compartmentId: ${compartmentId}
            compartmentIdInSubtree: ${scheduledJobCompartmentIdInSubtree}
            displayName: ${scheduledJobDisplayName}
            displayNameContains: ${scheduledJobDisplayNameContains}
            id: ${scheduledJobId}
            isManagedByAutonomousLinux: ${scheduledJobIsManagedByAutonomousLinux}
            isRestricted: ${scheduledJobIsRestricted}
            lifecycleStageId: ${testLifecycleStage.id}
            locations: ${scheduledJobLocation}
            locationNotEqualTos: ${scheduledJobLocationNotEqualTo}
            managedCompartmentId: ${testCompartment.id}
            managedInstanceGroupId: ${testManagedInstanceGroup.id}
            managedInstanceId: ${testManagedInstance.id}
            operationType: ${scheduledJobOperationType}
            scheduleType: ${scheduledJobScheduleType}
            state: ${scheduledJobState}
            timeEnd: ${scheduledJobTimeEnd}
            timeStart: ${scheduledJobTimeStart}
    

    Using getScheduledJobs

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getScheduledJobs(args: GetScheduledJobsArgs, opts?: InvokeOptions): Promise<GetScheduledJobsResult>
    function getScheduledJobsOutput(args: GetScheduledJobsOutputArgs, opts?: InvokeOptions): Output<GetScheduledJobsResult>
    def get_scheduled_jobs(compartment_id: Optional[str] = None,
                           compartment_id_in_subtree: Optional[bool] = None,
                           display_name: Optional[str] = None,
                           display_name_contains: Optional[str] = None,
                           filters: Optional[Sequence[_osmanagementhub.GetScheduledJobsFilter]] = None,
                           id: Optional[str] = None,
                           is_managed_by_autonomous_linux: Optional[bool] = None,
                           is_restricted: Optional[bool] = None,
                           lifecycle_stage_id: Optional[str] = None,
                           location_not_equal_tos: Optional[Sequence[str]] = None,
                           locations: Optional[Sequence[str]] = None,
                           managed_compartment_id: Optional[str] = None,
                           managed_instance_group_id: Optional[str] = None,
                           managed_instance_id: Optional[str] = None,
                           operation_type: Optional[str] = None,
                           schedule_type: Optional[str] = None,
                           state: Optional[str] = None,
                           time_end: Optional[str] = None,
                           time_start: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetScheduledJobsResult
    def get_scheduled_jobs_output(compartment_id: Optional[pulumi.Input[str]] = None,
                           compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                           display_name: Optional[pulumi.Input[str]] = None,
                           display_name_contains: Optional[pulumi.Input[str]] = None,
                           filters: Optional[pulumi.Input[Sequence[pulumi.Input[_osmanagementhub.GetScheduledJobsFilterArgs]]]] = None,
                           id: Optional[pulumi.Input[str]] = None,
                           is_managed_by_autonomous_linux: Optional[pulumi.Input[bool]] = None,
                           is_restricted: Optional[pulumi.Input[bool]] = None,
                           lifecycle_stage_id: Optional[pulumi.Input[str]] = None,
                           location_not_equal_tos: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           locations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           managed_compartment_id: Optional[pulumi.Input[str]] = None,
                           managed_instance_group_id: Optional[pulumi.Input[str]] = None,
                           managed_instance_id: Optional[pulumi.Input[str]] = None,
                           operation_type: Optional[pulumi.Input[str]] = None,
                           schedule_type: Optional[pulumi.Input[str]] = None,
                           state: Optional[pulumi.Input[str]] = None,
                           time_end: Optional[pulumi.Input[str]] = None,
                           time_start: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetScheduledJobsResult]
    func GetScheduledJobs(ctx *Context, args *GetScheduledJobsArgs, opts ...InvokeOption) (*GetScheduledJobsResult, error)
    func GetScheduledJobsOutput(ctx *Context, args *GetScheduledJobsOutputArgs, opts ...InvokeOption) GetScheduledJobsResultOutput

    > Note: This function is named GetScheduledJobs in the Go SDK.

    public static class GetScheduledJobs 
    {
        public static Task<GetScheduledJobsResult> InvokeAsync(GetScheduledJobsArgs args, InvokeOptions? opts = null)
        public static Output<GetScheduledJobsResult> Invoke(GetScheduledJobsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetScheduledJobsResult> getScheduledJobs(GetScheduledJobsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:OsManagementHub/getScheduledJobs:getScheduledJobs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    CompartmentIdInSubtree bool
    Indicates whether to include subcompartments in the returned results. Default is false.
    DisplayName string
    A filter to return resources that match the given user-friendly name.
    DisplayNameContains string
    A filter to return resources that may partially match the given display name.
    Filters List<GetScheduledJobsFilter>
    Id string
    The OCID of the scheduled job. A filter to return the specified job.
    IsManagedByAutonomousLinux bool
    Indicates whether to list only resources managed by the Autonomous Linux service.
    IsRestricted bool
    A filter to return only restricted scheduled jobs.
    LifecycleStageId string
    The OCID of the lifecycle stage. This resource returns resources associated with this lifecycle stage.
    LocationNotEqualTos List<string>
    A filter to return only resources whose location does not match the given value.
    Locations List<string>
    A filter to return only resources whose location matches the given value.
    ManagedCompartmentId string
    The OCID of the managed compartment. This filter returns resources associated with this compartment.
    ManagedInstanceGroupId string
    The OCID of the managed instance group. This filter returns resources associated with this group.
    ManagedInstanceId string
    The OCID of the managed instance. This filter returns resources associated with this managed instance.
    OperationType string
    A filter to return only scheduled jobs with the given operation type.
    ScheduleType string
    A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).
    State string
    A filter to return only scheduled jobs currently in the given state.
    TimeEnd string
    A filter to return only resources with a date on or before the given value, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
    TimeStart string
    A filter to return only resources with a date on or after the given value, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    CompartmentIdInSubtree bool
    Indicates whether to include subcompartments in the returned results. Default is false.
    DisplayName string
    A filter to return resources that match the given user-friendly name.
    DisplayNameContains string
    A filter to return resources that may partially match the given display name.
    Filters []GetScheduledJobsFilter
    Id string
    The OCID of the scheduled job. A filter to return the specified job.
    IsManagedByAutonomousLinux bool
    Indicates whether to list only resources managed by the Autonomous Linux service.
    IsRestricted bool
    A filter to return only restricted scheduled jobs.
    LifecycleStageId string
    The OCID of the lifecycle stage. This resource returns resources associated with this lifecycle stage.
    LocationNotEqualTos []string
    A filter to return only resources whose location does not match the given value.
    Locations []string
    A filter to return only resources whose location matches the given value.
    ManagedCompartmentId string
    The OCID of the managed compartment. This filter returns resources associated with this compartment.
    ManagedInstanceGroupId string
    The OCID of the managed instance group. This filter returns resources associated with this group.
    ManagedInstanceId string
    The OCID of the managed instance. This filter returns resources associated with this managed instance.
    OperationType string
    A filter to return only scheduled jobs with the given operation type.
    ScheduleType string
    A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).
    State string
    A filter to return only scheduled jobs currently in the given state.
    TimeEnd string
    A filter to return only resources with a date on or before the given value, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
    TimeStart string
    A filter to return only resources with a date on or after the given value, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
    compartmentId String
    (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    compartmentIdInSubtree Boolean
    Indicates whether to include subcompartments in the returned results. Default is false.
    displayName String
    A filter to return resources that match the given user-friendly name.
    displayNameContains String
    A filter to return resources that may partially match the given display name.
    filters List<GetScheduledJobsFilter>
    id String
    The OCID of the scheduled job. A filter to return the specified job.
    isManagedByAutonomousLinux Boolean
    Indicates whether to list only resources managed by the Autonomous Linux service.
    isRestricted Boolean
    A filter to return only restricted scheduled jobs.
    lifecycleStageId String
    The OCID of the lifecycle stage. This resource returns resources associated with this lifecycle stage.
    locationNotEqualTos List<String>
    A filter to return only resources whose location does not match the given value.
    locations List<String>
    A filter to return only resources whose location matches the given value.
    managedCompartmentId String
    The OCID of the managed compartment. This filter returns resources associated with this compartment.
    managedInstanceGroupId String
    The OCID of the managed instance group. This filter returns resources associated with this group.
    managedInstanceId String
    The OCID of the managed instance. This filter returns resources associated with this managed instance.
    operationType String
    A filter to return only scheduled jobs with the given operation type.
    scheduleType String
    A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).
    state String
    A filter to return only scheduled jobs currently in the given state.
    timeEnd String
    A filter to return only resources with a date on or before the given value, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
    timeStart String
    A filter to return only resources with a date on or after the given value, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
    compartmentId string
    (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    compartmentIdInSubtree boolean
    Indicates whether to include subcompartments in the returned results. Default is false.
    displayName string
    A filter to return resources that match the given user-friendly name.
    displayNameContains string
    A filter to return resources that may partially match the given display name.
    filters GetScheduledJobsFilter[]
    id string
    The OCID of the scheduled job. A filter to return the specified job.
    isManagedByAutonomousLinux boolean
    Indicates whether to list only resources managed by the Autonomous Linux service.
    isRestricted boolean
    A filter to return only restricted scheduled jobs.
    lifecycleStageId string
    The OCID of the lifecycle stage. This resource returns resources associated with this lifecycle stage.
    locationNotEqualTos string[]
    A filter to return only resources whose location does not match the given value.
    locations string[]
    A filter to return only resources whose location matches the given value.
    managedCompartmentId string
    The OCID of the managed compartment. This filter returns resources associated with this compartment.
    managedInstanceGroupId string
    The OCID of the managed instance group. This filter returns resources associated with this group.
    managedInstanceId string
    The OCID of the managed instance. This filter returns resources associated with this managed instance.
    operationType string
    A filter to return only scheduled jobs with the given operation type.
    scheduleType string
    A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).
    state string
    A filter to return only scheduled jobs currently in the given state.
    timeEnd string
    A filter to return only resources with a date on or before the given value, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
    timeStart string
    A filter to return only resources with a date on or after the given value, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
    compartment_id str
    (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    compartment_id_in_subtree bool
    Indicates whether to include subcompartments in the returned results. Default is false.
    display_name str
    A filter to return resources that match the given user-friendly name.
    display_name_contains str
    A filter to return resources that may partially match the given display name.
    filters Sequence[osmanagementhub.GetScheduledJobsFilter]
    id str
    The OCID of the scheduled job. A filter to return the specified job.
    is_managed_by_autonomous_linux bool
    Indicates whether to list only resources managed by the Autonomous Linux service.
    is_restricted bool
    A filter to return only restricted scheduled jobs.
    lifecycle_stage_id str
    The OCID of the lifecycle stage. This resource returns resources associated with this lifecycle stage.
    location_not_equal_tos Sequence[str]
    A filter to return only resources whose location does not match the given value.
    locations Sequence[str]
    A filter to return only resources whose location matches the given value.
    managed_compartment_id str
    The OCID of the managed compartment. This filter returns resources associated with this compartment.
    managed_instance_group_id str
    The OCID of the managed instance group. This filter returns resources associated with this group.
    managed_instance_id str
    The OCID of the managed instance. This filter returns resources associated with this managed instance.
    operation_type str
    A filter to return only scheduled jobs with the given operation type.
    schedule_type str
    A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).
    state str
    A filter to return only scheduled jobs currently in the given state.
    time_end str
    A filter to return only resources with a date on or before the given value, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
    time_start str
    A filter to return only resources with a date on or after the given value, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
    compartmentId String
    (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    compartmentIdInSubtree Boolean
    Indicates whether to include subcompartments in the returned results. Default is false.
    displayName String
    A filter to return resources that match the given user-friendly name.
    displayNameContains String
    A filter to return resources that may partially match the given display name.
    filters List<Property Map>
    id String
    The OCID of the scheduled job. A filter to return the specified job.
    isManagedByAutonomousLinux Boolean
    Indicates whether to list only resources managed by the Autonomous Linux service.
    isRestricted Boolean
    A filter to return only restricted scheduled jobs.
    lifecycleStageId String
    The OCID of the lifecycle stage. This resource returns resources associated with this lifecycle stage.
    locationNotEqualTos List<String>
    A filter to return only resources whose location does not match the given value.
    locations List<String>
    A filter to return only resources whose location matches the given value.
    managedCompartmentId String
    The OCID of the managed compartment. This filter returns resources associated with this compartment.
    managedInstanceGroupId String
    The OCID of the managed instance group. This filter returns resources associated with this group.
    managedInstanceId String
    The OCID of the managed instance. This filter returns resources associated with this managed instance.
    operationType String
    A filter to return only scheduled jobs with the given operation type.
    scheduleType String
    A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).
    state String
    A filter to return only scheduled jobs currently in the given state.
    timeEnd String
    A filter to return only resources with a date on or before the given value, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
    timeStart String
    A filter to return only resources with a date on or after the given value, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z

    getScheduledJobs Result

    The following output properties are available:

    ScheduledJobCollections List<GetScheduledJobsScheduledJobCollection>
    The list of scheduled_job_collection.
    CompartmentId string
    The OCID of the compartment that contains the scheduled job.
    CompartmentIdInSubtree bool
    DisplayName string
    User-friendly name for the scheduled job.
    DisplayNameContains string
    Filters List<GetScheduledJobsFilter>
    Id string
    The OCID of the scheduled job.
    IsManagedByAutonomousLinux bool
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    IsRestricted bool
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    LifecycleStageId string
    LocationNotEqualTos List<string>
    Locations List<string>
    ManagedCompartmentId string
    ManagedInstanceGroupId string
    ManagedInstanceId string
    OperationType string
    The type of operation this scheduled job performs.
    ScheduleType string
    The type of scheduling frequency for the job.
    State string
    The current state of the scheduled job.
    TimeEnd string
    TimeStart string
    ScheduledJobCollections []GetScheduledJobsScheduledJobCollection
    The list of scheduled_job_collection.
    CompartmentId string
    The OCID of the compartment that contains the scheduled job.
    CompartmentIdInSubtree bool
    DisplayName string
    User-friendly name for the scheduled job.
    DisplayNameContains string
    Filters []GetScheduledJobsFilter
    Id string
    The OCID of the scheduled job.
    IsManagedByAutonomousLinux bool
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    IsRestricted bool
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    LifecycleStageId string
    LocationNotEqualTos []string
    Locations []string
    ManagedCompartmentId string
    ManagedInstanceGroupId string
    ManagedInstanceId string
    OperationType string
    The type of operation this scheduled job performs.
    ScheduleType string
    The type of scheduling frequency for the job.
    State string
    The current state of the scheduled job.
    TimeEnd string
    TimeStart string
    scheduledJobCollections List<GetScheduledJobsScheduledJobCollection>
    The list of scheduled_job_collection.
    compartmentId String
    The OCID of the compartment that contains the scheduled job.
    compartmentIdInSubtree Boolean
    displayName String
    User-friendly name for the scheduled job.
    displayNameContains String
    filters List<GetScheduledJobsFilter>
    id String
    The OCID of the scheduled job.
    isManagedByAutonomousLinux Boolean
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    isRestricted Boolean
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    lifecycleStageId String
    locationNotEqualTos List<String>
    locations List<String>
    managedCompartmentId String
    managedInstanceGroupId String
    managedInstanceId String
    operationType String
    The type of operation this scheduled job performs.
    scheduleType String
    The type of scheduling frequency for the job.
    state String
    The current state of the scheduled job.
    timeEnd String
    timeStart String
    scheduledJobCollections GetScheduledJobsScheduledJobCollection[]
    The list of scheduled_job_collection.
    compartmentId string
    The OCID of the compartment that contains the scheduled job.
    compartmentIdInSubtree boolean
    displayName string
    User-friendly name for the scheduled job.
    displayNameContains string
    filters GetScheduledJobsFilter[]
    id string
    The OCID of the scheduled job.
    isManagedByAutonomousLinux boolean
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    isRestricted boolean
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    lifecycleStageId string
    locationNotEqualTos string[]
    locations string[]
    managedCompartmentId string
    managedInstanceGroupId string
    managedInstanceId string
    operationType string
    The type of operation this scheduled job performs.
    scheduleType string
    The type of scheduling frequency for the job.
    state string
    The current state of the scheduled job.
    timeEnd string
    timeStart string
    scheduled_job_collections Sequence[osmanagementhub.GetScheduledJobsScheduledJobCollection]
    The list of scheduled_job_collection.
    compartment_id str
    The OCID of the compartment that contains the scheduled job.
    compartment_id_in_subtree bool
    display_name str
    User-friendly name for the scheduled job.
    display_name_contains str
    filters Sequence[osmanagementhub.GetScheduledJobsFilter]
    id str
    The OCID of the scheduled job.
    is_managed_by_autonomous_linux bool
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    is_restricted bool
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    lifecycle_stage_id str
    location_not_equal_tos Sequence[str]
    locations Sequence[str]
    managed_compartment_id str
    managed_instance_group_id str
    managed_instance_id str
    operation_type str
    The type of operation this scheduled job performs.
    schedule_type str
    The type of scheduling frequency for the job.
    state str
    The current state of the scheduled job.
    time_end str
    time_start str
    scheduledJobCollections List<Property Map>
    The list of scheduled_job_collection.
    compartmentId String
    The OCID of the compartment that contains the scheduled job.
    compartmentIdInSubtree Boolean
    displayName String
    User-friendly name for the scheduled job.
    displayNameContains String
    filters List<Property Map>
    id String
    The OCID of the scheduled job.
    isManagedByAutonomousLinux Boolean
    Indicates whether this scheduled job is managed by the Autonomous Linux service.
    isRestricted Boolean
    Indicates if the schedule job has restricted update and deletion capabilities. For restricted scheduled jobs, you can update only the timeNextExecution, recurringRule, and tags.
    lifecycleStageId String
    locationNotEqualTos List<String>
    locations List<String>
    managedCompartmentId String
    managedInstanceGroupId String
    managedInstanceId String
    operationType String
    The type of operation this scheduled job performs.
    scheduleType String
    The type of scheduling frequency for the job.
    state String
    The current state of the scheduled job.
    timeEnd String
    timeStart String

    Supporting Types

    GetScheduledJobsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetScheduledJobsScheduledJobCollection

    GetScheduledJobsScheduledJobCollectionItem

    CompartmentId string
    (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    DefinedTags Dictionary<string, string>
    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
    User-specified description for the scheduled job.
    DisplayName string
    A filter to return resources that match the given user-friendly name.
    FreeformTags Dictionary<string, string>
    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"}
    Id string
    The OCID of the scheduled job. A filter to return the specified job.
    IsManagedByAutonomousLinux bool
    Indicates whether to list only resources managed by the Autonomous Linux service.
    IsRestricted bool
    A filter to return only restricted scheduled jobs.
    IsSubcompartmentIncluded bool
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    LifecycleStageIds List<string>
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedInstanceGroupIds, and managedCompartmentIds.
    Locations List<string>
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    ManagedCompartmentIds List<string>
    The compartment OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedInstanceGroupIds, and lifecycleStageIds.
    ManagedInstanceGroupIds List<string>
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedCompartmentIds, and lifecycleStageIds.
    ManagedInstanceIds List<string>
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceGroupIds, managedCompartmentIds, and lifecycleStageIds.
    Operations List<GetScheduledJobsScheduledJobCollectionItemOperation>
    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
    The frequency schedule for a recurring scheduled job.
    RetryIntervals List<int>
    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
    A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).
    State string
    A filter to return only scheduled jobs currently in the given state.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this scheduled job was created (in RFC 3339 format).
    TimeLastExecution string
    The time of the last execution of this scheduled job (in RFC 3339 format).
    TimeNextExecution string
    The 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).
    WorkRequestIds List<string>
    The list of work request OCIDs associated with this scheduled job.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    DefinedTags map[string]string
    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
    User-specified description for the scheduled job.
    DisplayName string
    A filter to return resources that match the given user-friendly name.
    FreeformTags map[string]string
    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"}
    Id string
    The OCID of the scheduled job. A filter to return the specified job.
    IsManagedByAutonomousLinux bool
    Indicates whether to list only resources managed by the Autonomous Linux service.
    IsRestricted bool
    A filter to return only restricted scheduled jobs.
    IsSubcompartmentIncluded bool
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    LifecycleStageIds []string
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedInstanceGroupIds, and managedCompartmentIds.
    Locations []string
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    ManagedCompartmentIds []string
    The compartment OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedInstanceGroupIds, and lifecycleStageIds.
    ManagedInstanceGroupIds []string
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedCompartmentIds, and lifecycleStageIds.
    ManagedInstanceIds []string
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceGroupIds, managedCompartmentIds, and lifecycleStageIds.
    Operations []GetScheduledJobsScheduledJobCollectionItemOperation
    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
    The frequency schedule for a recurring scheduled job.
    RetryIntervals []int
    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
    A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).
    State string
    A filter to return only scheduled jobs currently in the given state.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time this scheduled job was created (in RFC 3339 format).
    TimeLastExecution string
    The time of the last execution of this scheduled job (in RFC 3339 format).
    TimeNextExecution string
    The 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).
    WorkRequestIds []string
    The list of work request OCIDs associated with this scheduled job.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    definedTags Map<String,String>
    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
    User-specified description for the scheduled job.
    displayName String
    A filter to return resources that match the given user-friendly name.
    freeformTags Map<String,String>
    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"}
    id String
    The OCID of the scheduled job. A filter to return the specified job.
    isManagedByAutonomousLinux Boolean
    Indicates whether to list only resources managed by the Autonomous Linux service.
    isRestricted Boolean
    A filter to return only restricted scheduled jobs.
    isSubcompartmentIncluded Boolean
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    lifecycleStageIds List<String>
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedInstanceGroupIds, and managedCompartmentIds.
    locations List<String>
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    managedCompartmentIds List<String>
    The compartment OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedInstanceGroupIds, and lifecycleStageIds.
    managedInstanceGroupIds List<String>
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedCompartmentIds, and lifecycleStageIds.
    managedInstanceIds List<String>
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceGroupIds, managedCompartmentIds, and lifecycleStageIds.
    operations List<GetScheduledJobsScheduledJobCollectionItemOperation>
    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
    The frequency schedule for a recurring scheduled job.
    retryIntervals List<Integer>
    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
    A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).
    state String
    A filter to return only scheduled jobs currently in the given state.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this scheduled job was created (in RFC 3339 format).
    timeLastExecution String
    The time of the last execution of this scheduled job (in RFC 3339 format).
    timeNextExecution String
    The 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).
    workRequestIds List<String>
    The list of work request OCIDs associated with this scheduled job.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    definedTags {[key: string]: string}
    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
    User-specified description for the scheduled job.
    displayName string
    A filter to return resources that match the given user-friendly name.
    freeformTags {[key: string]: string}
    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"}
    id string
    The OCID of the scheduled job. A filter to return the specified job.
    isManagedByAutonomousLinux boolean
    Indicates whether to list only resources managed by the Autonomous Linux service.
    isRestricted boolean
    A filter to return only restricted scheduled jobs.
    isSubcompartmentIncluded boolean
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    lifecycleStageIds string[]
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedInstanceGroupIds, and managedCompartmentIds.
    locations string[]
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    managedCompartmentIds string[]
    The compartment OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedInstanceGroupIds, and lifecycleStageIds.
    managedInstanceGroupIds string[]
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedCompartmentIds, and lifecycleStageIds.
    managedInstanceIds string[]
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceGroupIds, managedCompartmentIds, and lifecycleStageIds.
    operations GetScheduledJobsScheduledJobCollectionItemOperation[]
    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
    The frequency schedule for a recurring scheduled job.
    retryIntervals number[]
    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
    A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).
    state string
    A filter to return only scheduled jobs currently in the given state.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time this scheduled job was created (in RFC 3339 format).
    timeLastExecution string
    The time of the last execution of this scheduled job (in RFC 3339 format).
    timeNextExecution string
    The 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).
    workRequestIds string[]
    The list of work request OCIDs associated with this scheduled job.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    defined_tags Mapping[str, str]
    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
    User-specified description for the scheduled job.
    display_name str
    A filter to return resources that match the given user-friendly name.
    freeform_tags Mapping[str, str]
    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"}
    id str
    The OCID of the scheduled job. A filter to return the specified job.
    is_managed_by_autonomous_linux bool
    Indicates whether to list only resources managed by the Autonomous Linux service.
    is_restricted bool
    A filter to return only restricted scheduled jobs.
    is_subcompartment_included bool
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    lifecycle_stage_ids Sequence[str]
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedInstanceGroupIds, and managedCompartmentIds.
    locations Sequence[str]
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    managed_compartment_ids Sequence[str]
    The compartment OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedInstanceGroupIds, and lifecycleStageIds.
    managed_instance_group_ids Sequence[str]
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedCompartmentIds, and lifecycleStageIds.
    managed_instance_ids Sequence[str]
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceGroupIds, managedCompartmentIds, and lifecycleStageIds.
    operations Sequence[osmanagementhub.GetScheduledJobsScheduledJobCollectionItemOperation]
    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
    The frequency schedule for a recurring scheduled job.
    retry_intervals Sequence[int]
    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
    A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).
    state str
    A filter to return only scheduled jobs currently in the given state.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time this scheduled job was created (in RFC 3339 format).
    time_last_execution str
    The time of the last execution of this scheduled job (in RFC 3339 format).
    time_next_execution str
    The 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_ids Sequence[str]
    The list of work request OCIDs associated with this scheduled job.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
    definedTags Map<String>
    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
    User-specified description for the scheduled job.
    displayName String
    A filter to return resources that match the given user-friendly name.
    freeformTags Map<String>
    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"}
    id String
    The OCID of the scheduled job. A filter to return the specified job.
    isManagedByAutonomousLinux Boolean
    Indicates whether to list only resources managed by the Autonomous Linux service.
    isRestricted Boolean
    A filter to return only restricted scheduled jobs.
    isSubcompartmentIncluded Boolean
    Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
    lifecycleStageIds List<String>
    The lifecycle stage OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedInstanceGroupIds, and managedCompartmentIds.
    locations List<String>
    The list of locations this scheduled job should operate on for a job targeting on compartments. (Empty list means apply to all locations). This can only be set when managedCompartmentIds is not empty.
    managedCompartmentIds List<String>
    The compartment OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedInstanceGroupIds, and lifecycleStageIds.
    managedInstanceGroupIds List<String>
    The managed instance group OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceIds, managedCompartmentIds, and lifecycleStageIds.
    managedInstanceIds List<String>
    The managed instance OCIDs that this scheduled job operates on. A scheduled job can only operate on one type of target, therefore this parameter is mutually exclusive with managedInstanceGroupIds, managedCompartmentIds, and lifecycleStageIds.
    operations List<Property Map>
    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
    The frequency schedule for a recurring scheduled job.
    retryIntervals List<Number>
    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
    A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).
    state String
    A filter to return only scheduled jobs currently in the given state.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time this scheduled job was created (in RFC 3339 format).
    timeLastExecution String
    The time of the last execution of this scheduled job (in RFC 3339 format).
    timeNextExecution String
    The 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).
    workRequestIds List<String>
    The list of work request OCIDs associated with this scheduled job.

    GetScheduledJobsScheduledJobCollectionItemOperation

    ManageModuleStreamsDetails List<GetScheduledJobsScheduledJobCollectionItemOperationManageModuleStreamsDetail>
    The set of changes to make to the state of the modules, streams, and profiles on the managed target.
    OperationType string
    A filter to return only scheduled jobs with the given operation type.
    PackageNames List<string>
    The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
    SoftwareSourceIds List<string>
    The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
    SwitchModuleStreamsDetails List<GetScheduledJobsScheduledJobCollectionItemOperationSwitchModuleStreamsDetail>
    Provides the information used to update a module stream.
    WindowsUpdateNames List<string>
    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'.
    ManageModuleStreamsDetails []GetScheduledJobsScheduledJobCollectionItemOperationManageModuleStreamsDetail
    The set of changes to make to the state of the modules, streams, and profiles on the managed target.
    OperationType string
    A filter to return only scheduled jobs with the given operation type.
    PackageNames []string
    The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
    SoftwareSourceIds []string
    The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
    SwitchModuleStreamsDetails []GetScheduledJobsScheduledJobCollectionItemOperationSwitchModuleStreamsDetail
    Provides the information used to update a module stream.
    WindowsUpdateNames []string
    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'.
    manageModuleStreamsDetails List<GetScheduledJobsScheduledJobCollectionItemOperationManageModuleStreamsDetail>
    The set of changes to make to the state of the modules, streams, and profiles on the managed target.
    operationType String
    A filter to return only scheduled jobs with the given operation type.
    packageNames List<String>
    The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
    softwareSourceIds List<String>
    The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
    switchModuleStreamsDetails List<GetScheduledJobsScheduledJobCollectionItemOperationSwitchModuleStreamsDetail>
    Provides the information used to update a module stream.
    windowsUpdateNames List<String>
    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'.
    manageModuleStreamsDetails GetScheduledJobsScheduledJobCollectionItemOperationManageModuleStreamsDetail[]
    The set of changes to make to the state of the modules, streams, and profiles on the managed target.
    operationType string
    A filter to return only scheduled jobs with the given operation type.
    packageNames string[]
    The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
    softwareSourceIds string[]
    The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
    switchModuleStreamsDetails GetScheduledJobsScheduledJobCollectionItemOperationSwitchModuleStreamsDetail[]
    Provides the information used to update a module stream.
    windowsUpdateNames string[]
    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'.
    manage_module_streams_details Sequence[osmanagementhub.GetScheduledJobsScheduledJobCollectionItemOperationManageModuleStreamsDetail]
    The set of changes to make to the state of the modules, streams, and profiles on the managed target.
    operation_type str
    A filter to return only scheduled jobs with the given operation type.
    package_names Sequence[str]
    The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
    software_source_ids Sequence[str]
    The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
    switch_module_streams_details Sequence[osmanagementhub.GetScheduledJobsScheduledJobCollectionItemOperationSwitchModuleStreamsDetail]
    Provides the information used to update a module stream.
    windows_update_names Sequence[str]
    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'.
    manageModuleStreamsDetails List<Property Map>
    The set of changes to make to the state of the modules, streams, and profiles on the managed target.
    operationType String
    A filter to return only scheduled jobs with the given operation type.
    packageNames List<String>
    The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
    softwareSourceIds List<String>
    The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
    switchModuleStreamsDetails List<Property Map>
    Provides the information used to update a module stream.
    windowsUpdateNames List<String>
    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'.

    GetScheduledJobsScheduledJobCollectionItemOperationManageModuleStreamsDetail

    disables List<Property Map>
    The set of module streams to disable.
    enables List<Property Map>
    The set of module streams to enable.
    installs List<Property Map>
    The set of module stream profiles to install.
    removes List<Property Map>
    The set of module stream profiles to remove.

    GetScheduledJobsScheduledJobCollectionItemOperationManageModuleStreamsDetailDisable

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

    GetScheduledJobsScheduledJobCollectionItemOperationManageModuleStreamsDetailEnable

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

    GetScheduledJobsScheduledJobCollectionItemOperationManageModuleStreamsDetailInstall

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

    GetScheduledJobsScheduledJobCollectionItemOperationManageModuleStreamsDetailRemove

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

    GetScheduledJobsScheduledJobCollectionItemOperationSwitchModuleStreamsDetail

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

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi