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,
softwareSourceIds: scheduledJobOperationsSoftwareSourceIds,
switchModuleStreamsDetails: {
moduleName: scheduledJobOperationsSwitchModuleStreamsDetailsModuleName,
streamName: testStream.name,
softwareSourceId: testSoftwareSource.id,
},
windowsUpdateNames: scheduledJobOperationsWindowsUpdateNames,
}],
scheduleType: scheduledJobScheduleType,
timeNextExecution: scheduledJobTimeNextExecution,
definedTags: {
"Operations.CostCenter": "42",
},
description: scheduledJobDescription,
displayName: scheduledJobDisplayName,
freeformTags: {
Department: "Finance",
},
isManagedByAutonomousLinux: scheduledJobIsManagedByAutonomousLinux,
isSubcompartmentIncluded: scheduledJobIsSubcompartmentIncluded,
lifecycleStageIds: scheduledJobLifecycleStageIds,
locations: scheduledJobLocations,
managedCompartmentIds: scheduledJobManagedCompartmentIds,
managedInstanceGroupIds: scheduledJobManagedInstanceGroupIds,
managedInstanceIds: scheduledJobManagedInstanceIds,
recurringRule: scheduledJobRecurringRule,
retryIntervals: scheduledJobRetryIntervals,
});
import pulumi
import pulumi_oci as oci
test_scheduled_job = oci.os_management_hub.ScheduledJob("test_scheduled_job",
compartment_id=compartment_id,
operations=[{
"operation_type": scheduled_job_operations_operation_type,
"manage_module_streams_details": {
"disables": [{
"module_name": scheduled_job_operations_manage_module_streams_details_disable_module_name,
"stream_name": test_stream["name"],
"software_source_id": test_software_source["id"],
}],
"enables": [{
"module_name": scheduled_job_operations_manage_module_streams_details_enable_module_name,
"stream_name": test_stream["name"],
"software_source_id": test_software_source["id"],
}],
"installs": [{
"module_name": scheduled_job_operations_manage_module_streams_details_install_module_name,
"profile_name": test_profile["name"],
"stream_name": test_stream["name"],
"software_source_id": test_software_source["id"],
}],
"removes": [{
"module_name": scheduled_job_operations_manage_module_streams_details_remove_module_name,
"profile_name": test_profile["name"],
"stream_name": test_stream["name"],
"software_source_id": test_software_source["id"],
}],
},
"package_names": scheduled_job_operations_package_names,
"software_source_ids": scheduled_job_operations_software_source_ids,
"switch_module_streams_details": {
"module_name": scheduled_job_operations_switch_module_streams_details_module_name,
"stream_name": test_stream["name"],
"software_source_id": test_software_source["id"],
},
"windows_update_names": scheduled_job_operations_windows_update_names,
}],
schedule_type=scheduled_job_schedule_type,
time_next_execution=scheduled_job_time_next_execution,
defined_tags={
"Operations.CostCenter": "42",
},
description=scheduled_job_description,
display_name=scheduled_job_display_name,
freeform_tags={
"Department": "Finance",
},
is_managed_by_autonomous_linux=scheduled_job_is_managed_by_autonomous_linux,
is_subcompartment_included=scheduled_job_is_subcompartment_included,
lifecycle_stage_ids=scheduled_job_lifecycle_stage_ids,
locations=scheduled_job_locations,
managed_compartment_ids=scheduled_job_managed_compartment_ids,
managed_instance_group_ids=scheduled_job_managed_instance_group_ids,
managed_instance_ids=scheduled_job_managed_instance_ids,
recurring_rule=scheduled_job_recurring_rule,
retry_intervals=scheduled_job_retry_intervals)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/OsManagementHub"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := OsManagementHub.NewScheduledJob(ctx, "test_scheduled_job", &OsManagementHub.ScheduledJobArgs{
CompartmentId: pulumi.Any(compartmentId),
Operations: osmanagementhub.ScheduledJobOperationArray{
&osmanagementhub.ScheduledJobOperationArgs{
OperationType: pulumi.Any(scheduledJobOperationsOperationType),
ManageModuleStreamsDetails: &osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsArgs{
Disables: osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsDisableArray{
&osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsDisableArgs{
ModuleName: pulumi.Any(scheduledJobOperationsManageModuleStreamsDetailsDisableModuleName),
StreamName: pulumi.Any(testStream.Name),
SoftwareSourceId: pulumi.Any(testSoftwareSource.Id),
},
},
Enables: osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsEnableArray{
&osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsEnableArgs{
ModuleName: pulumi.Any(scheduledJobOperationsManageModuleStreamsDetailsEnableModuleName),
StreamName: pulumi.Any(testStream.Name),
SoftwareSourceId: pulumi.Any(testSoftwareSource.Id),
},
},
Installs: osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsInstallArray{
&osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsInstallArgs{
ModuleName: pulumi.Any(scheduledJobOperationsManageModuleStreamsDetailsInstallModuleName),
ProfileName: pulumi.Any(testProfile.Name),
StreamName: pulumi.Any(testStream.Name),
SoftwareSourceId: pulumi.Any(testSoftwareSource.Id),
},
},
Removes: osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsRemoveArray{
&osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsRemoveArgs{
ModuleName: pulumi.Any(scheduledJobOperationsManageModuleStreamsDetailsRemoveModuleName),
ProfileName: pulumi.Any(testProfile.Name),
StreamName: pulumi.Any(testStream.Name),
SoftwareSourceId: pulumi.Any(testSoftwareSource.Id),
},
},
},
PackageNames: pulumi.Any(scheduledJobOperationsPackageNames),
SoftwareSourceIds: pulumi.Any(scheduledJobOperationsSoftwareSourceIds),
SwitchModuleStreamsDetails: &osmanagementhub.ScheduledJobOperationSwitchModuleStreamsDetailsArgs{
ModuleName: pulumi.Any(scheduledJobOperationsSwitchModuleStreamsDetailsModuleName),
StreamName: pulumi.Any(testStream.Name),
SoftwareSourceId: pulumi.Any(testSoftwareSource.Id),
},
WindowsUpdateNames: pulumi.Any(scheduledJobOperationsWindowsUpdateNames),
},
},
ScheduleType: pulumi.Any(scheduledJobScheduleType),
TimeNextExecution: pulumi.Any(scheduledJobTimeNextExecution),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
Description: pulumi.Any(scheduledJobDescription),
DisplayName: pulumi.Any(scheduledJobDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
IsManagedByAutonomousLinux: pulumi.Any(scheduledJobIsManagedByAutonomousLinux),
IsSubcompartmentIncluded: pulumi.Any(scheduledJobIsSubcompartmentIncluded),
LifecycleStageIds: pulumi.Any(scheduledJobLifecycleStageIds),
Locations: pulumi.Any(scheduledJobLocations),
ManagedCompartmentIds: pulumi.Any(scheduledJobManagedCompartmentIds),
ManagedInstanceGroupIds: pulumi.Any(scheduledJobManagedInstanceGroupIds),
ManagedInstanceIds: pulumi.Any(scheduledJobManagedInstanceIds),
RecurringRule: pulumi.Any(scheduledJobRecurringRule),
RetryIntervals: pulumi.Any(scheduledJobRetryIntervals),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testScheduledJob = new Oci.OsManagementHub.ScheduledJob("test_scheduled_job", new()
{
CompartmentId = compartmentId,
Operations = new[]
{
new Oci.OsManagementHub.Inputs.ScheduledJobOperationArgs
{
OperationType = scheduledJobOperationsOperationType,
ManageModuleStreamsDetails = new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsArgs
{
Disables = new[]
{
new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsDisableArgs
{
ModuleName = scheduledJobOperationsManageModuleStreamsDetailsDisableModuleName,
StreamName = testStream.Name,
SoftwareSourceId = testSoftwareSource.Id,
},
},
Enables = new[]
{
new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsEnableArgs
{
ModuleName = scheduledJobOperationsManageModuleStreamsDetailsEnableModuleName,
StreamName = testStream.Name,
SoftwareSourceId = testSoftwareSource.Id,
},
},
Installs = new[]
{
new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsInstallArgs
{
ModuleName = scheduledJobOperationsManageModuleStreamsDetailsInstallModuleName,
ProfileName = testProfile.Name,
StreamName = testStream.Name,
SoftwareSourceId = testSoftwareSource.Id,
},
},
Removes = new[]
{
new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsRemoveArgs
{
ModuleName = scheduledJobOperationsManageModuleStreamsDetailsRemoveModuleName,
ProfileName = testProfile.Name,
StreamName = testStream.Name,
SoftwareSourceId = testSoftwareSource.Id,
},
},
},
PackageNames = scheduledJobOperationsPackageNames,
SoftwareSourceIds = scheduledJobOperationsSoftwareSourceIds,
SwitchModuleStreamsDetails = new Oci.OsManagementHub.Inputs.ScheduledJobOperationSwitchModuleStreamsDetailsArgs
{
ModuleName = scheduledJobOperationsSwitchModuleStreamsDetailsModuleName,
StreamName = testStream.Name,
SoftwareSourceId = testSoftwareSource.Id,
},
WindowsUpdateNames = scheduledJobOperationsWindowsUpdateNames,
},
},
ScheduleType = scheduledJobScheduleType,
TimeNextExecution = scheduledJobTimeNextExecution,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
Description = scheduledJobDescription,
DisplayName = scheduledJobDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
IsManagedByAutonomousLinux = scheduledJobIsManagedByAutonomousLinux,
IsSubcompartmentIncluded = scheduledJobIsSubcompartmentIncluded,
LifecycleStageIds = scheduledJobLifecycleStageIds,
Locations = scheduledJobLocations,
ManagedCompartmentIds = scheduledJobManagedCompartmentIds,
ManagedInstanceGroupIds = scheduledJobManagedInstanceGroupIds,
ManagedInstanceIds = scheduledJobManagedInstanceIds,
RecurringRule = scheduledJobRecurringRule,
RetryIntervals = scheduledJobRetryIntervals,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.OsManagementHub.ScheduledJob;
import com.pulumi.oci.OsManagementHub.ScheduledJobArgs;
import com.pulumi.oci.OsManagementHub.inputs.ScheduledJobOperationArgs;
import com.pulumi.oci.OsManagementHub.inputs.ScheduledJobOperationManageModuleStreamsDetailsArgs;
import com.pulumi.oci.OsManagementHub.inputs.ScheduledJobOperationSwitchModuleStreamsDetailsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testScheduledJob = new ScheduledJob("testScheduledJob", ScheduledJobArgs.builder()
.compartmentId(compartmentId)
.operations(ScheduledJobOperationArgs.builder()
.operationType(scheduledJobOperationsOperationType)
.manageModuleStreamsDetails(ScheduledJobOperationManageModuleStreamsDetailsArgs.builder()
.disables(ScheduledJobOperationManageModuleStreamsDetailsDisableArgs.builder()
.moduleName(scheduledJobOperationsManageModuleStreamsDetailsDisableModuleName)
.streamName(testStream.name())
.softwareSourceId(testSoftwareSource.id())
.build())
.enables(ScheduledJobOperationManageModuleStreamsDetailsEnableArgs.builder()
.moduleName(scheduledJobOperationsManageModuleStreamsDetailsEnableModuleName)
.streamName(testStream.name())
.softwareSourceId(testSoftwareSource.id())
.build())
.installs(ScheduledJobOperationManageModuleStreamsDetailsInstallArgs.builder()
.moduleName(scheduledJobOperationsManageModuleStreamsDetailsInstallModuleName)
.profileName(testProfile.name())
.streamName(testStream.name())
.softwareSourceId(testSoftwareSource.id())
.build())
.removes(ScheduledJobOperationManageModuleStreamsDetailsRemoveArgs.builder()
.moduleName(scheduledJobOperationsManageModuleStreamsDetailsRemoveModuleName)
.profileName(testProfile.name())
.streamName(testStream.name())
.softwareSourceId(testSoftwareSource.id())
.build())
.build())
.packageNames(scheduledJobOperationsPackageNames)
.softwareSourceIds(scheduledJobOperationsSoftwareSourceIds)
.switchModuleStreamsDetails(ScheduledJobOperationSwitchModuleStreamsDetailsArgs.builder()
.moduleName(scheduledJobOperationsSwitchModuleStreamsDetailsModuleName)
.streamName(testStream.name())
.softwareSourceId(testSoftwareSource.id())
.build())
.windowsUpdateNames(scheduledJobOperationsWindowsUpdateNames)
.build())
.scheduleType(scheduledJobScheduleType)
.timeNextExecution(scheduledJobTimeNextExecution)
.definedTags(Map.of("Operations.CostCenter", "42"))
.description(scheduledJobDescription)
.displayName(scheduledJobDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.isManagedByAutonomousLinux(scheduledJobIsManagedByAutonomousLinux)
.isSubcompartmentIncluded(scheduledJobIsSubcompartmentIncluded)
.lifecycleStageIds(scheduledJobLifecycleStageIds)
.locations(scheduledJobLocations)
.managedCompartmentIds(scheduledJobManagedCompartmentIds)
.managedInstanceGroupIds(scheduledJobManagedInstanceGroupIds)
.managedInstanceIds(scheduledJobManagedInstanceIds)
.recurringRule(scheduledJobRecurringRule)
.retryIntervals(scheduledJobRetryIntervals)
.build());
}
}
resources:
testScheduledJob:
type: oci:OsManagementHub:ScheduledJob
name: test_scheduled_job
properties:
compartmentId: ${compartmentId}
operations:
- operationType: ${scheduledJobOperationsOperationType}
manageModuleStreamsDetails:
disables:
- moduleName: ${scheduledJobOperationsManageModuleStreamsDetailsDisableModuleName}
streamName: ${testStream.name}
softwareSourceId: ${testSoftwareSource.id}
enables:
- moduleName: ${scheduledJobOperationsManageModuleStreamsDetailsEnableModuleName}
streamName: ${testStream.name}
softwareSourceId: ${testSoftwareSource.id}
installs:
- moduleName: ${scheduledJobOperationsManageModuleStreamsDetailsInstallModuleName}
profileName: ${testProfile.name}
streamName: ${testStream.name}
softwareSourceId: ${testSoftwareSource.id}
removes:
- moduleName: ${scheduledJobOperationsManageModuleStreamsDetailsRemoveModuleName}
profileName: ${testProfile.name}
streamName: ${testStream.name}
softwareSourceId: ${testSoftwareSource.id}
packageNames: ${scheduledJobOperationsPackageNames}
softwareSourceIds: ${scheduledJobOperationsSoftwareSourceIds}
switchModuleStreamsDetails:
moduleName: ${scheduledJobOperationsSwitchModuleStreamsDetailsModuleName}
streamName: ${testStream.name}
softwareSourceId: ${testSoftwareSource.id}
windowsUpdateNames: ${scheduledJobOperationsWindowsUpdateNames}
scheduleType: ${scheduledJobScheduleType}
timeNextExecution: ${scheduledJobTimeNextExecution}
definedTags:
Operations.CostCenter: '42'
description: ${scheduledJobDescription}
displayName: ${scheduledJobDisplayName}
freeformTags:
Department: Finance
isManagedByAutonomousLinux: ${scheduledJobIsManagedByAutonomousLinux}
isSubcompartmentIncluded: ${scheduledJobIsSubcompartmentIncluded}
lifecycleStageIds: ${scheduledJobLifecycleStageIds}
locations: ${scheduledJobLocations}
managedCompartmentIds: ${scheduledJobManagedCompartmentIds}
managedInstanceGroupIds: ${scheduledJobManagedInstanceGroupIds}
managedInstanceIds: ${scheduledJobManagedInstanceIds}
recurringRule: ${scheduledJobRecurringRule}
retryIntervals: ${scheduledJobRetryIntervals}
Create ScheduledJob Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScheduledJob(name: string, args: ScheduledJobArgs, opts?: CustomResourceOptions);
@overload
def ScheduledJob(resource_name: str,
args: ScheduledJobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ScheduledJob(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
time_next_execution: Optional[str] = None,
schedule_type: Optional[str] = None,
operations: Optional[Sequence[_osmanagementhub.ScheduledJobOperationArgs]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_managed_by_autonomous_linux: Optional[bool] = None,
is_subcompartment_included: Optional[bool] = None,
lifecycle_stage_ids: Optional[Sequence[str]] = None,
locations: Optional[Sequence[str]] = None,
managed_compartment_ids: Optional[Sequence[str]] = None,
managed_instance_group_ids: Optional[Sequence[str]] = None,
managed_instance_ids: Optional[Sequence[str]] = None,
display_name: Optional[str] = None,
recurring_rule: Optional[str] = None,
retry_intervals: Optional[Sequence[int]] = None,
description: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None)
func NewScheduledJob(ctx *Context, name string, args ScheduledJobArgs, opts ...ResourceOption) (*ScheduledJob, error)
public ScheduledJob(string name, ScheduledJobArgs args, CustomResourceOptions? opts = null)
public ScheduledJob(String name, ScheduledJobArgs args)
public ScheduledJob(String name, ScheduledJobArgs args, CustomResourceOptions options)
type: oci:OsManagementHub:ScheduledJob
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ScheduledJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ScheduledJobArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ScheduledJobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScheduledJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScheduledJobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var scheduledJobResource = new Oci.OsManagementHub.ScheduledJob("scheduledJobResource", new()
{
CompartmentId = "string",
TimeNextExecution = "string",
ScheduleType = "string",
Operations = new[]
{
new Oci.OsManagementHub.Inputs.ScheduledJobOperationArgs
{
OperationType = "string",
ManageModuleStreamsDetails = new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsArgs
{
Disables = new[]
{
new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsDisableArgs
{
ModuleName = "string",
StreamName = "string",
SoftwareSourceId = "string",
},
},
Enables = new[]
{
new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsEnableArgs
{
ModuleName = "string",
StreamName = "string",
SoftwareSourceId = "string",
},
},
Installs = new[]
{
new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsInstallArgs
{
ModuleName = "string",
ProfileName = "string",
StreamName = "string",
SoftwareSourceId = "string",
},
},
Removes = new[]
{
new Oci.OsManagementHub.Inputs.ScheduledJobOperationManageModuleStreamsDetailsRemoveArgs
{
ModuleName = "string",
ProfileName = "string",
StreamName = "string",
SoftwareSourceId = "string",
},
},
},
PackageNames = new[]
{
"string",
},
SoftwareSourceIds = new[]
{
"string",
},
SwitchModuleStreamsDetails = new Oci.OsManagementHub.Inputs.ScheduledJobOperationSwitchModuleStreamsDetailsArgs
{
ModuleName = "string",
StreamName = "string",
SoftwareSourceId = "string",
},
WindowsUpdateNames = new[]
{
"string",
},
},
},
FreeformTags =
{
{ "string", "string" },
},
IsManagedByAutonomousLinux = false,
IsSubcompartmentIncluded = false,
LifecycleStageIds = new[]
{
"string",
},
Locations = new[]
{
"string",
},
ManagedCompartmentIds = new[]
{
"string",
},
ManagedInstanceGroupIds = new[]
{
"string",
},
ManagedInstanceIds = new[]
{
"string",
},
DisplayName = "string",
RecurringRule = "string",
RetryIntervals = new[]
{
0,
},
Description = "string",
DefinedTags =
{
{ "string", "string" },
},
});
example, err := OsManagementHub.NewScheduledJob(ctx, "scheduledJobResource", &OsManagementHub.ScheduledJobArgs{
CompartmentId: pulumi.String("string"),
TimeNextExecution: pulumi.String("string"),
ScheduleType: pulumi.String("string"),
Operations: osmanagementhub.ScheduledJobOperationArray{
&osmanagementhub.ScheduledJobOperationArgs{
OperationType: pulumi.String("string"),
ManageModuleStreamsDetails: &osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsArgs{
Disables: osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsDisableArray{
&osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsDisableArgs{
ModuleName: pulumi.String("string"),
StreamName: pulumi.String("string"),
SoftwareSourceId: pulumi.String("string"),
},
},
Enables: osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsEnableArray{
&osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsEnableArgs{
ModuleName: pulumi.String("string"),
StreamName: pulumi.String("string"),
SoftwareSourceId: pulumi.String("string"),
},
},
Installs: osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsInstallArray{
&osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsInstallArgs{
ModuleName: pulumi.String("string"),
ProfileName: pulumi.String("string"),
StreamName: pulumi.String("string"),
SoftwareSourceId: pulumi.String("string"),
},
},
Removes: osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsRemoveArray{
&osmanagementhub.ScheduledJobOperationManageModuleStreamsDetailsRemoveArgs{
ModuleName: pulumi.String("string"),
ProfileName: pulumi.String("string"),
StreamName: pulumi.String("string"),
SoftwareSourceId: pulumi.String("string"),
},
},
},
PackageNames: pulumi.StringArray{
pulumi.String("string"),
},
SoftwareSourceIds: pulumi.StringArray{
pulumi.String("string"),
},
SwitchModuleStreamsDetails: &osmanagementhub.ScheduledJobOperationSwitchModuleStreamsDetailsArgs{
ModuleName: pulumi.String("string"),
StreamName: pulumi.String("string"),
SoftwareSourceId: pulumi.String("string"),
},
WindowsUpdateNames: pulumi.StringArray{
pulumi.String("string"),
},
},
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
IsManagedByAutonomousLinux: pulumi.Bool(false),
IsSubcompartmentIncluded: pulumi.Bool(false),
LifecycleStageIds: pulumi.StringArray{
pulumi.String("string"),
},
Locations: pulumi.StringArray{
pulumi.String("string"),
},
ManagedCompartmentIds: pulumi.StringArray{
pulumi.String("string"),
},
ManagedInstanceGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
ManagedInstanceIds: pulumi.StringArray{
pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
RecurringRule: pulumi.String("string"),
RetryIntervals: pulumi.IntArray{
pulumi.Int(0),
},
Description: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var scheduledJobResource = new ScheduledJob("scheduledJobResource", ScheduledJobArgs.builder()
.compartmentId("string")
.timeNextExecution("string")
.scheduleType("string")
.operations(ScheduledJobOperationArgs.builder()
.operationType("string")
.manageModuleStreamsDetails(ScheduledJobOperationManageModuleStreamsDetailsArgs.builder()
.disables(ScheduledJobOperationManageModuleStreamsDetailsDisableArgs.builder()
.moduleName("string")
.streamName("string")
.softwareSourceId("string")
.build())
.enables(ScheduledJobOperationManageModuleStreamsDetailsEnableArgs.builder()
.moduleName("string")
.streamName("string")
.softwareSourceId("string")
.build())
.installs(ScheduledJobOperationManageModuleStreamsDetailsInstallArgs.builder()
.moduleName("string")
.profileName("string")
.streamName("string")
.softwareSourceId("string")
.build())
.removes(ScheduledJobOperationManageModuleStreamsDetailsRemoveArgs.builder()
.moduleName("string")
.profileName("string")
.streamName("string")
.softwareSourceId("string")
.build())
.build())
.packageNames("string")
.softwareSourceIds("string")
.switchModuleStreamsDetails(ScheduledJobOperationSwitchModuleStreamsDetailsArgs.builder()
.moduleName("string")
.streamName("string")
.softwareSourceId("string")
.build())
.windowsUpdateNames("string")
.build())
.freeformTags(Map.of("string", "string"))
.isManagedByAutonomousLinux(false)
.isSubcompartmentIncluded(false)
.lifecycleStageIds("string")
.locations("string")
.managedCompartmentIds("string")
.managedInstanceGroupIds("string")
.managedInstanceIds("string")
.displayName("string")
.recurringRule("string")
.retryIntervals(0)
.description("string")
.definedTags(Map.of("string", "string"))
.build());
scheduled_job_resource = oci.os_management_hub.ScheduledJob("scheduledJobResource",
compartment_id="string",
time_next_execution="string",
schedule_type="string",
operations=[{
"operation_type": "string",
"manage_module_streams_details": {
"disables": [{
"module_name": "string",
"stream_name": "string",
"software_source_id": "string",
}],
"enables": [{
"module_name": "string",
"stream_name": "string",
"software_source_id": "string",
}],
"installs": [{
"module_name": "string",
"profile_name": "string",
"stream_name": "string",
"software_source_id": "string",
}],
"removes": [{
"module_name": "string",
"profile_name": "string",
"stream_name": "string",
"software_source_id": "string",
}],
},
"package_names": ["string"],
"software_source_ids": ["string"],
"switch_module_streams_details": {
"module_name": "string",
"stream_name": "string",
"software_source_id": "string",
},
"windows_update_names": ["string"],
}],
freeform_tags={
"string": "string",
},
is_managed_by_autonomous_linux=False,
is_subcompartment_included=False,
lifecycle_stage_ids=["string"],
locations=["string"],
managed_compartment_ids=["string"],
managed_instance_group_ids=["string"],
managed_instance_ids=["string"],
display_name="string",
recurring_rule="string",
retry_intervals=[0],
description="string",
defined_tags={
"string": "string",
})
const scheduledJobResource = new oci.osmanagementhub.ScheduledJob("scheduledJobResource", {
compartmentId: "string",
timeNextExecution: "string",
scheduleType: "string",
operations: [{
operationType: "string",
manageModuleStreamsDetails: {
disables: [{
moduleName: "string",
streamName: "string",
softwareSourceId: "string",
}],
enables: [{
moduleName: "string",
streamName: "string",
softwareSourceId: "string",
}],
installs: [{
moduleName: "string",
profileName: "string",
streamName: "string",
softwareSourceId: "string",
}],
removes: [{
moduleName: "string",
profileName: "string",
streamName: "string",
softwareSourceId: "string",
}],
},
packageNames: ["string"],
softwareSourceIds: ["string"],
switchModuleStreamsDetails: {
moduleName: "string",
streamName: "string",
softwareSourceId: "string",
},
windowsUpdateNames: ["string"],
}],
freeformTags: {
string: "string",
},
isManagedByAutonomousLinux: false,
isSubcompartmentIncluded: false,
lifecycleStageIds: ["string"],
locations: ["string"],
managedCompartmentIds: ["string"],
managedInstanceGroupIds: ["string"],
managedInstanceIds: ["string"],
displayName: "string",
recurringRule: "string",
retryIntervals: [0],
description: "string",
definedTags: {
string: "string",
},
});
type: oci:OsManagementHub:ScheduledJob
properties:
compartmentId: string
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
isManagedByAutonomousLinux: false
isSubcompartmentIncluded: false
lifecycleStageIds:
- string
locations:
- string
managedCompartmentIds:
- string
managedInstanceGroupIds:
- string
managedInstanceIds:
- string
operations:
- manageModuleStreamsDetails:
disables:
- moduleName: string
softwareSourceId: string
streamName: string
enables:
- moduleName: string
softwareSourceId: string
streamName: string
installs:
- moduleName: string
profileName: string
softwareSourceId: string
streamName: string
removes:
- moduleName: string
profileName: string
softwareSourceId: string
streamName: string
operationType: string
packageNames:
- string
softwareSourceIds:
- string
switchModuleStreamsDetails:
moduleName: string
softwareSourceId: string
streamName: string
windowsUpdateNames:
- string
recurringRule: string
retryIntervals:
- 0
scheduleType: string
timeNextExecution: string
ScheduledJob Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ScheduledJob resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the scheduled job.
- Operations
List<Scheduled
Job 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
- Schedule
Type string - (Updatable) The type of scheduling frequency for the scheduled job.
- Time
Next stringExecution (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- Display
Name 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"}
- 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 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.
- Managed
Compartment 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.
- Managed
Instance 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.
- Managed
Instance 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.
- Recurring
Rule string - (Updatable) The frequency schedule for a recurring scheduled job.
- Retry
Intervals 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.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the scheduled job.
- Operations
[]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 string - (Updatable) The type of scheduling frequency for the scheduled job.
- Time
Next stringExecution (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- Display
Name 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"}
- 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 []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.
- Managed
Compartment []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.
- Managed
Instance []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.
- Managed
Instance []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.
- Recurring
Rule string - (Updatable) The frequency schedule for a recurring scheduled job.
- Retry
Intervals []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.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the scheduled job.
- operations
List<Scheduled
Job 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
- schedule
Type String - (Updatable) The type of scheduling frequency for the scheduled job.
- time
Next StringExecution (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- display
Name 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"}
- is
Managed BooleanBy Autonomous Linux - Indicates whether this scheduled job is managed by the Autonomous Linux service.
- is
Subcompartment BooleanIncluded - Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- lifecycle
Stage 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.
- managed
Compartment 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.
- managed
Instance 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.
- managed
Instance 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.
- recurring
Rule String - (Updatable) The frequency schedule for a recurring scheduled job.
- retry
Intervals 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.
- compartment
Id string - (Updatable) The OCID of the compartment that contains the scheduled job.
- operations
Scheduled
Job 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
- schedule
Type string - (Updatable) The type of scheduling frequency for the scheduled job.
- time
Next stringExecution (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- {[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.
- display
Name 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"}
- is
Managed booleanBy Autonomous Linux - Indicates whether this scheduled job is managed by the Autonomous Linux service.
- is
Subcompartment booleanIncluded - Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- lifecycle
Stage 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.
- managed
Compartment 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.
- managed
Instance 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.
- managed
Instance 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.
- recurring
Rule string - (Updatable) The frequency schedule for a recurring scheduled job.
- retry
Intervals number[] - (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
- compartment_
id str - (Updatable) The OCID of the compartment that contains the scheduled job.
- operations
Sequence[osmanagementhub.
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).
** 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
- 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.
- compartment
Id 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
- schedule
Type String - (Updatable) The type of scheduling frequency for the scheduled job.
- time
Next StringExecution (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
- display
Name 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"}
- is
Managed BooleanBy Autonomous Linux - Indicates whether this scheduled job is managed by the Autonomous Linux service.
- is
Subcompartment BooleanIncluded - Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- lifecycle
Stage 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.
- managed
Compartment 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.
- managed
Instance 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.
- managed
Instance 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.
- recurring
Rule String - (Updatable) The frequency schedule for a recurring scheduled job.
- retry
Intervals List<Number> - (Updatable) The amount of time in minutes to wait until retrying the scheduled job. If set, the service will automatically retry a failed scheduled job after the interval. For example, you could set the interval to [2,5,10]. If the initial execution of the job fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes and then retries. If that fails, the service waits 10 minutes and then retries.
Outputs
All input properties are implicitly available as output properties. Additionally, the ScheduledJob resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- 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 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"}
- Time
Created string - The time this scheduled job was created (in RFC 3339 format).
- Time
Last stringExecution - The time of the last execution of this scheduled job (in RFC 3339 format).
- Time
Updated string - The time this scheduled job was updated (in RFC 3339 format).
- Work
Request 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.
- 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 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"}
- Time
Created string - The time this scheduled job was created (in RFC 3339 format).
- Time
Last stringExecution - The time of the last execution of this scheduled job (in RFC 3339 format).
- Time
Updated string - The time this scheduled job was updated (in RFC 3339 format).
- Work
Request []stringIds - The list of work request OCIDs associated with this scheduled job.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Restricted 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"}
- time
Created String - The time this scheduled job was created (in RFC 3339 format).
- time
Last StringExecution - The time of the last execution of this scheduled job (in RFC 3339 format).
- time
Updated String - The time this scheduled job was updated (in RFC 3339 format).
- work
Request 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.
- is
Restricted 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"}
- time
Created string - The time this scheduled job was created (in RFC 3339 format).
- time
Last stringExecution - The time of the last execution of this scheduled job (in RFC 3339 format).
- time
Updated string - The time this scheduled job was updated (in RFC 3339 format).
- work
Request 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.
- is
Restricted 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"}
- time
Created String - The time this scheduled job was created (in RFC 3339 format).
- time
Last StringExecution - The time of the last execution of this scheduled job (in RFC 3339 format).
- time
Updated String - The time this scheduled job was updated (in RFC 3339 format).
- work
Request 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_ids: Optional[Sequence[str]] = None) -> ScheduledJob
func GetScheduledJob(ctx *Context, name string, id IDInput, state *ScheduledJobState, opts ...ResourceOption) (*ScheduledJob, error)
public static ScheduledJob Get(string name, Input<string> id, ScheduledJobState? state, CustomResourceOptions? opts = null)
public static ScheduledJob get(String name, Output<String> id, ScheduledJobState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id 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.
- Display
Name 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"}
- 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 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.
- Managed
Compartment 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.
- Managed
Instance 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.
- Managed
Instance 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<Scheduled
Job 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
- Recurring
Rule string - (Updatable) The frequency schedule for a recurring scheduled job.
- Retry
Intervals 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.
- Schedule
Type 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"}
- Time
Created string - The time this scheduled job was created (in RFC 3339 format).
- Time
Last stringExecution - The time of the last execution of this scheduled job (in RFC 3339 format).
- Time
Next stringExecution (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Time
Updated string - The time this scheduled job was updated (in RFC 3339 format).
- Work
Request List<string>Ids - The list of work request OCIDs associated with this scheduled job.
- Compartment
Id 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.
- Display
Name 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"}
- 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 []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.
- Managed
Compartment []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.
- Managed
Instance []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.
- Managed
Instance []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
[]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 string - (Updatable) The frequency schedule for a recurring scheduled job.
- Retry
Intervals []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 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"}
- Time
Created string - The time this scheduled job was created (in RFC 3339 format).
- Time
Last stringExecution - The time of the last execution of this scheduled job (in RFC 3339 format).
- Time
Next stringExecution (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Time
Updated string - The time this scheduled job was updated (in RFC 3339 format).
- Work
Request []stringIds - The list of work request OCIDs associated with this scheduled job.
- compartment
Id 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.
- display
Name 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"}
- is
Managed BooleanBy Autonomous Linux - Indicates whether this scheduled job is managed by the Autonomous Linux service.
- is
Restricted 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.
- is
Subcompartment BooleanIncluded - Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- lifecycle
Stage 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.
- managed
Compartment 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.
- managed
Instance 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.
- managed
Instance 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<Scheduled
Job 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
- recurring
Rule String - (Updatable) The frequency schedule for a recurring scheduled job.
- retry
Intervals 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.
- schedule
Type 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"}
- time
Created String - The time this scheduled job was created (in RFC 3339 format).
- time
Last StringExecution - The time of the last execution of this scheduled job (in RFC 3339 format).
- time
Next StringExecution (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Updated String - The time this scheduled job was updated (in RFC 3339 format).
- work
Request List<String>Ids - The list of work request OCIDs associated with this scheduled job.
- compartment
Id 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.
- display
Name 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"}
- is
Managed booleanBy Autonomous Linux - Indicates whether this scheduled job is managed by the Autonomous Linux service.
- is
Restricted 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.
- is
Subcompartment booleanIncluded - Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- lifecycle
Stage 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.
- managed
Compartment 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.
- managed
Instance 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.
- managed
Instance 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
Scheduled
Job 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
- recurring
Rule string - (Updatable) The frequency schedule for a recurring scheduled job.
- retry
Intervals 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.
- schedule
Type 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"}
- time
Created string - The time this scheduled job was created (in RFC 3339 format).
- time
Last stringExecution - The time of the last execution of this scheduled job (in RFC 3339 format).
- time
Next stringExecution (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Updated string - The time this scheduled job was updated (in RFC 3339 format).
- work
Request 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).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time_
updated str - The time this scheduled job was updated (in RFC 3339 format).
- work_
request_ Sequence[str]ids - The list of work request OCIDs associated with this scheduled job.
- compartment
Id 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.
- display
Name 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"}
- is
Managed BooleanBy Autonomous Linux - Indicates whether this scheduled job is managed by the Autonomous Linux service.
- is
Restricted 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.
- is
Subcompartment BooleanIncluded - Indicates whether to apply the scheduled job to all compartments in the tenancy when managedCompartmentIds specifies the tenancy OCID (root compartment).
- lifecycle
Stage 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.
- managed
Compartment 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.
- managed
Instance 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.
- managed
Instance 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
- recurring
Rule String - (Updatable) The frequency schedule for a recurring scheduled job.
- retry
Intervals 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.
- schedule
Type 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"}
- time
Created String - The time this scheduled job was created (in RFC 3339 format).
- time
Last StringExecution - The time of the last execution of this scheduled job (in RFC 3339 format).
- time
Next StringExecution (Updatable) The desired time of the next execution of this scheduled job (in RFC 3339 format).
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Updated String - The time this scheduled job was updated (in RFC 3339 format).
- work
Request List<String>Ids - The list of work request OCIDs associated with this scheduled job.
Supporting Types
ScheduledJobOperation, ScheduledJobOperationArgs
- Operation
Type string - (Updatable) The type of operation this scheduled job performs.
- Manage
Module 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.
- Package
Names List<string> - (Updatable) The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
- Software
Source List<string>Ids - (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
- Switch
Module ScheduledStreams Details Job Operation Switch Module Streams Details - (Updatable) Provides the information used to update a module stream.
- Windows
Update 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'.
- Operation
Type string - (Updatable) The type of operation this scheduled job performs.
- Manage
Module 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.
- Package
Names []string - (Updatable) The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
- Software
Source []stringIds - (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
- Switch
Module ScheduledStreams Details Job Operation Switch Module Streams Details - (Updatable) Provides the information used to update a module stream.
- Windows
Update []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'.
- operation
Type String - (Updatable) The type of operation this scheduled job performs.
- manage
Module 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.
- package
Names List<String> - (Updatable) The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
- software
Source List<String>Ids - (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
- switch
Module ScheduledStreams Details Job Operation Switch Module Streams Details - (Updatable) Provides the information used to update a module stream.
- windows
Update 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'.
- operation
Type string - (Updatable) The type of operation this scheduled job performs.
- manage
Module 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.
- package
Names string[] - (Updatable) The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
- software
Source string[]Ids - (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
- switch
Module ScheduledStreams Details Job Operation Switch Module Streams Details - (Updatable) Provides the information used to update a module stream.
- windows
Update 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.
- 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'.
- operation
Type String - (Updatable) The type of operation this scheduled job performs.
- manage
Module Property MapStreams Details - (Updatable) The set of changes to make to the state of the modules, streams, and profiles on the managed target.
- package
Names List<String> - (Updatable) The names of the target packages. This parameter only applies when the scheduled job is for installing, updating, or removing packages.
- software
Source List<String>Ids - (Updatable) The software source OCIDs. This parameter only applies when the scheduled job is for attaching or detaching software sources.
- switch
Module Property MapStreams Details - (Updatable) Provides the information used to update a module stream.
- windows
Update 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<Scheduled
Job Operation Manage Module Streams Details Disable> - (Updatable) The set of module streams to disable.
- Enables
List<Scheduled
Job Operation Manage Module Streams Details Enable> - (Updatable) The set of module streams to enable.
- Installs
List<Scheduled
Job Operation Manage Module Streams Details Install> - (Updatable) The set of module stream profiles to install.
- Removes
List<Scheduled
Job Operation Manage Module Streams Details Remove> - (Updatable) The set of module stream profiles to remove.
- Disables
[]Scheduled
Job Operation Manage Module Streams Details Disable - (Updatable) The set of module streams to disable.
- Enables
[]Scheduled
Job Operation Manage Module Streams Details Enable - (Updatable) The set of module streams to enable.
- Installs
[]Scheduled
Job Operation Manage Module Streams Details Install - (Updatable) The set of module stream profiles to install.
- Removes
[]Scheduled
Job Operation Manage Module Streams Details Remove - (Updatable) The set of module stream profiles to remove.
- disables
List<Scheduled
Job Operation Manage Module Streams Details Disable> - (Updatable) The set of module streams to disable.
- enables
List<Scheduled
Job Operation Manage Module Streams Details Enable> - (Updatable) The set of module streams to enable.
- installs
List<Scheduled
Job Operation Manage Module Streams Details Install> - (Updatable) The set of module stream profiles to install.
- removes
List<Scheduled
Job Operation Manage Module Streams Details Remove> - (Updatable) The set of module stream profiles to remove.
- disables
Scheduled
Job Operation Manage Module Streams Details Disable[] - (Updatable) The set of module streams to disable.
- enables
Scheduled
Job Operation Manage Module Streams Details Enable[] - (Updatable) The set of module streams to enable.
- installs
Scheduled
Job Operation Manage Module Streams Details Install[] - (Updatable) The set of module stream profiles to install.
- removes
Scheduled
Job 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
- Module
Name string - (Updatable) The name of a module.
- Stream
Name string - (Updatable) The name of a stream of the specified module.
- Software
Source stringId - (Updatable) The OCID of the software source that contains the module stream.
- Module
Name string - (Updatable) The name of a module.
- Stream
Name string - (Updatable) The name of a stream of the specified module.
- Software
Source stringId - (Updatable) The OCID of the software source that contains the module stream.
- module
Name String - (Updatable) The name of a module.
- stream
Name String - (Updatable) The name of a stream of the specified module.
- software
Source StringId - (Updatable) The OCID of the software source that contains the module stream.
- module
Name string - (Updatable) The name of a module.
- stream
Name string - (Updatable) The name of a stream of the specified module.
- software
Source 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.
- module
Name String - (Updatable) The name of a module.
- stream
Name String - (Updatable) The name of a stream of the specified module.
- software
Source StringId - (Updatable) The OCID of the software source that contains the module stream.
ScheduledJobOperationManageModuleStreamsDetailsEnable, ScheduledJobOperationManageModuleStreamsDetailsEnableArgs
- Module
Name string - (Updatable) The name of a module.
- Stream
Name string - (Updatable) The name of a stream of the specified module.
- Software
Source stringId - (Updatable) The OCID of the software source that contains the module stream.
- Module
Name string - (Updatable) The name of a module.
- Stream
Name string - (Updatable) The name of a stream of the specified module.
- Software
Source stringId - (Updatable) The OCID of the software source that contains the module stream.
- module
Name String - (Updatable) The name of a module.
- stream
Name String - (Updatable) The name of a stream of the specified module.
- software
Source StringId - (Updatable) The OCID of the software source that contains the module stream.
- module
Name string - (Updatable) The name of a module.
- stream
Name string - (Updatable) The name of a stream of the specified module.
- software
Source 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.
- module
Name String - (Updatable) The name of a module.
- stream
Name String - (Updatable) The name of a stream of the specified module.
- software
Source StringId - (Updatable) The OCID of the software source that contains the module stream.
ScheduledJobOperationManageModuleStreamsDetailsInstall, ScheduledJobOperationManageModuleStreamsDetailsInstallArgs
- Module
Name string - (Updatable) The name of a module.
- Profile
Name string - (Updatable) The name of a profile of the specified module stream.
- Stream
Name string - (Updatable) The name of a stream of the specified module.
- Software
Source stringId - (Updatable) The OCID of the software source that contains the module stream.
- Module
Name string - (Updatable) The name of a module.
- Profile
Name string - (Updatable) The name of a profile of the specified module stream.
- Stream
Name string - (Updatable) The name of a stream of the specified module.
- Software
Source stringId - (Updatable) The OCID of the software source that contains the module stream.
- module
Name String - (Updatable) The name of a module.
- profile
Name String - (Updatable) The name of a profile of the specified module stream.
- stream
Name String - (Updatable) The name of a stream of the specified module.
- software
Source StringId - (Updatable) The OCID of the software source that contains the module stream.
- module
Name string - (Updatable) The name of a module.
- profile
Name string - (Updatable) The name of a profile of the specified module stream.
- stream
Name string - (Updatable) The name of a stream of the specified module.
- software
Source 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.
- module
Name String - (Updatable) The name of a module.
- profile
Name String - (Updatable) The name of a profile of the specified module stream.
- stream
Name String - (Updatable) The name of a stream of the specified module.
- software
Source StringId - (Updatable) The OCID of the software source that contains the module stream.
ScheduledJobOperationManageModuleStreamsDetailsRemove, ScheduledJobOperationManageModuleStreamsDetailsRemoveArgs
- Module
Name string - (Updatable) The name of a module.
- Profile
Name string - (Updatable) The name of a profile of the specified module stream.
- Stream
Name string - (Updatable) The name of a stream of the specified module.
- Software
Source stringId - (Updatable) The OCID of the software source that contains the module stream.
- Module
Name string - (Updatable) The name of a module.
- Profile
Name string - (Updatable) The name of a profile of the specified module stream.
- Stream
Name string - (Updatable) The name of a stream of the specified module.
- Software
Source stringId - (Updatable) The OCID of the software source that contains the module stream.
- module
Name String - (Updatable) The name of a module.
- profile
Name String - (Updatable) The name of a profile of the specified module stream.
- stream
Name String - (Updatable) The name of a stream of the specified module.
- software
Source StringId - (Updatable) The OCID of the software source that contains the module stream.
- module
Name string - (Updatable) The name of a module.
- profile
Name string - (Updatable) The name of a profile of the specified module stream.
- stream
Name string - (Updatable) The name of a stream of the specified module.
- software
Source 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.
- module
Name String - (Updatable) The name of a module.
- profile
Name String - (Updatable) The name of a profile of the specified module stream.
- stream
Name String - (Updatable) The name of a stream of the specified module.
- software
Source StringId - (Updatable) The OCID of the software source that contains the module stream.
ScheduledJobOperationSwitchModuleStreamsDetails, ScheduledJobOperationSwitchModuleStreamsDetailsArgs
- Module
Name string - (Updatable) The name of a module.
- Stream
Name string - (Updatable) The name of a stream of the specified module.
- Software
Source stringId - (Updatable) The OCID of the software source that contains the module stream.
- Module
Name string - (Updatable) The name of a module.
- Stream
Name string - (Updatable) The name of a stream of the specified module.
- Software
Source stringId - (Updatable) The OCID of the software source that contains the module stream.
- module
Name String - (Updatable) The name of a module.
- stream
Name String - (Updatable) The name of a stream of the specified module.
- software
Source StringId - (Updatable) The OCID of the software source that contains the module stream.
- module
Name string - (Updatable) The name of a module.
- stream
Name string - (Updatable) The name of a stream of the specified module.
- software
Source 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.
- module
Name String - (Updatable) The name of a module.
- stream
Name String - (Updatable) The name of a stream of the specified module.
- software
Source 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
oci
Terraform Provider.