oci.FleetAppsManagement.SchedulerDefinition
Explore with Pulumi AI
This resource provides the Scheduler Definition resource in Oracle Cloud Infrastructure Fleet Apps Management service.
Create a SchedulerDefinition to perform lifecycle operations.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSchedulerDefinition = new oci.fleetappsmanagement.SchedulerDefinition("test_scheduler_definition", {
actionGroups: [{
fleetId: testFleet.id,
kind: schedulerDefinitionActionGroupsKind,
runbookId: testRunbook.id,
runbookVersionName: testRunbookVersion.name,
displayName: schedulerDefinitionActionGroupsDisplayName,
sequence: schedulerDefinitionActionGroupsSequence,
}],
compartmentId: compartmentId,
schedule: {
executionStartdate: schedulerDefinitionScheduleExecutionStartdate,
type: schedulerDefinitionScheduleType,
duration: schedulerDefinitionScheduleDuration,
maintenanceWindowId: testMaintenanceWindow.id,
recurrences: schedulerDefinitionScheduleRecurrences,
},
definedTags: {
"foo-namespace.bar-key": "value",
},
description: schedulerDefinitionDescription,
displayName: schedulerDefinitionDisplayName,
freeformTags: {
"bar-key": "value",
},
runBooks: [{
runbookId: testRunbook.id,
runbookVersionName: testRunbookVersion.name,
inputParameters: [{
stepName: schedulerDefinitionRunBooksInputParametersStepName,
arguments: [{
kind: schedulerDefinitionRunBooksInputParametersArgumentsKind,
name: schedulerDefinitionRunBooksInputParametersArgumentsName,
content: {
bucket: schedulerDefinitionRunBooksInputParametersArgumentsContentBucket,
checksum: schedulerDefinitionRunBooksInputParametersArgumentsContentChecksum,
namespace: schedulerDefinitionRunBooksInputParametersArgumentsContentNamespace,
object: schedulerDefinitionRunBooksInputParametersArgumentsContentObject,
sourceType: schedulerDefinitionRunBooksInputParametersArgumentsContentSourceType,
},
value: schedulerDefinitionRunBooksInputParametersArgumentsValue,
}],
}],
}],
});
import pulumi
import pulumi_oci as oci
test_scheduler_definition = oci.fleet_apps_management.SchedulerDefinition("test_scheduler_definition",
action_groups=[{
"fleet_id": test_fleet["id"],
"kind": scheduler_definition_action_groups_kind,
"runbook_id": test_runbook["id"],
"runbook_version_name": test_runbook_version["name"],
"display_name": scheduler_definition_action_groups_display_name,
"sequence": scheduler_definition_action_groups_sequence,
}],
compartment_id=compartment_id,
schedule={
"execution_startdate": scheduler_definition_schedule_execution_startdate,
"type": scheduler_definition_schedule_type,
"duration": scheduler_definition_schedule_duration,
"maintenance_window_id": test_maintenance_window["id"],
"recurrences": scheduler_definition_schedule_recurrences,
},
defined_tags={
"foo-namespace.bar-key": "value",
},
description=scheduler_definition_description,
display_name=scheduler_definition_display_name,
freeform_tags={
"bar-key": "value",
},
run_books=[{
"runbook_id": test_runbook["id"],
"runbook_version_name": test_runbook_version["name"],
"input_parameters": [{
"step_name": scheduler_definition_run_books_input_parameters_step_name,
"arguments": [{
"kind": scheduler_definition_run_books_input_parameters_arguments_kind,
"name": scheduler_definition_run_books_input_parameters_arguments_name,
"content": {
"bucket": scheduler_definition_run_books_input_parameters_arguments_content_bucket,
"checksum": scheduler_definition_run_books_input_parameters_arguments_content_checksum,
"namespace": scheduler_definition_run_books_input_parameters_arguments_content_namespace,
"object": scheduler_definition_run_books_input_parameters_arguments_content_object,
"source_type": scheduler_definition_run_books_input_parameters_arguments_content_source_type,
},
"value": scheduler_definition_run_books_input_parameters_arguments_value,
}],
}],
}])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/fleetappsmanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fleetappsmanagement.NewSchedulerDefinition(ctx, "test_scheduler_definition", &fleetappsmanagement.SchedulerDefinitionArgs{
ActionGroups: fleetappsmanagement.SchedulerDefinitionActionGroupArray{
&fleetappsmanagement.SchedulerDefinitionActionGroupArgs{
FleetId: pulumi.Any(testFleet.Id),
Kind: pulumi.Any(schedulerDefinitionActionGroupsKind),
RunbookId: pulumi.Any(testRunbook.Id),
RunbookVersionName: pulumi.Any(testRunbookVersion.Name),
DisplayName: pulumi.Any(schedulerDefinitionActionGroupsDisplayName),
Sequence: pulumi.Any(schedulerDefinitionActionGroupsSequence),
},
},
CompartmentId: pulumi.Any(compartmentId),
Schedule: &fleetappsmanagement.SchedulerDefinitionScheduleArgs{
ExecutionStartdate: pulumi.Any(schedulerDefinitionScheduleExecutionStartdate),
Type: pulumi.Any(schedulerDefinitionScheduleType),
Duration: pulumi.Any(schedulerDefinitionScheduleDuration),
MaintenanceWindowId: pulumi.Any(testMaintenanceWindow.Id),
Recurrences: pulumi.Any(schedulerDefinitionScheduleRecurrences),
},
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
Description: pulumi.Any(schedulerDefinitionDescription),
DisplayName: pulumi.Any(schedulerDefinitionDisplayName),
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
RunBooks: fleetappsmanagement.SchedulerDefinitionRunBookArray{
&fleetappsmanagement.SchedulerDefinitionRunBookArgs{
RunbookId: pulumi.Any(testRunbook.Id),
RunbookVersionName: pulumi.Any(testRunbookVersion.Name),
InputParameters: fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArray{
&fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgs{
StepName: pulumi.Any(schedulerDefinitionRunBooksInputParametersStepName),
Arguments: fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgumentArray{
&fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgumentArgs{
Kind: pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsKind),
Name: pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsName),
Content: &fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgumentContentArgs{
Bucket: pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsContentBucket),
Checksum: pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsContentChecksum),
Namespace: pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsContentNamespace),
Object: pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsContentObject),
SourceType: pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsContentSourceType),
},
Value: pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsValue),
},
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testSchedulerDefinition = new Oci.FleetAppsManagement.SchedulerDefinition("test_scheduler_definition", new()
{
ActionGroups = new[]
{
new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionActionGroupArgs
{
FleetId = testFleet.Id,
Kind = schedulerDefinitionActionGroupsKind,
RunbookId = testRunbook.Id,
RunbookVersionName = testRunbookVersion.Name,
DisplayName = schedulerDefinitionActionGroupsDisplayName,
Sequence = schedulerDefinitionActionGroupsSequence,
},
},
CompartmentId = compartmentId,
Schedule = new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionScheduleArgs
{
ExecutionStartdate = schedulerDefinitionScheduleExecutionStartdate,
Type = schedulerDefinitionScheduleType,
Duration = schedulerDefinitionScheduleDuration,
MaintenanceWindowId = testMaintenanceWindow.Id,
Recurrences = schedulerDefinitionScheduleRecurrences,
},
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
Description = schedulerDefinitionDescription,
DisplayName = schedulerDefinitionDisplayName,
FreeformTags =
{
{ "bar-key", "value" },
},
RunBooks = new[]
{
new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookArgs
{
RunbookId = testRunbook.Id,
RunbookVersionName = testRunbookVersion.Name,
InputParameters = new[]
{
new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookInputParameterArgs
{
StepName = schedulerDefinitionRunBooksInputParametersStepName,
Arguments = new[]
{
new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookInputParameterArgumentArgs
{
Kind = schedulerDefinitionRunBooksInputParametersArgumentsKind,
Name = schedulerDefinitionRunBooksInputParametersArgumentsName,
Content = new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookInputParameterArgumentContentArgs
{
Bucket = schedulerDefinitionRunBooksInputParametersArgumentsContentBucket,
Checksum = schedulerDefinitionRunBooksInputParametersArgumentsContentChecksum,
Namespace = schedulerDefinitionRunBooksInputParametersArgumentsContentNamespace,
Object = schedulerDefinitionRunBooksInputParametersArgumentsContentObject,
SourceType = schedulerDefinitionRunBooksInputParametersArgumentsContentSourceType,
},
Value = schedulerDefinitionRunBooksInputParametersArgumentsValue,
},
},
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FleetAppsManagement.SchedulerDefinition;
import com.pulumi.oci.FleetAppsManagement.SchedulerDefinitionArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.SchedulerDefinitionActionGroupArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.SchedulerDefinitionScheduleArgs;
import com.pulumi.oci.FleetAppsManagement.inputs.SchedulerDefinitionRunBookArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testSchedulerDefinition = new SchedulerDefinition("testSchedulerDefinition", SchedulerDefinitionArgs.builder()
.actionGroups(SchedulerDefinitionActionGroupArgs.builder()
.fleetId(testFleet.id())
.kind(schedulerDefinitionActionGroupsKind)
.runbookId(testRunbook.id())
.runbookVersionName(testRunbookVersion.name())
.displayName(schedulerDefinitionActionGroupsDisplayName)
.sequence(schedulerDefinitionActionGroupsSequence)
.build())
.compartmentId(compartmentId)
.schedule(SchedulerDefinitionScheduleArgs.builder()
.executionStartdate(schedulerDefinitionScheduleExecutionStartdate)
.type(schedulerDefinitionScheduleType)
.duration(schedulerDefinitionScheduleDuration)
.maintenanceWindowId(testMaintenanceWindow.id())
.recurrences(schedulerDefinitionScheduleRecurrences)
.build())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.description(schedulerDefinitionDescription)
.displayName(schedulerDefinitionDisplayName)
.freeformTags(Map.of("bar-key", "value"))
.runBooks(SchedulerDefinitionRunBookArgs.builder()
.runbookId(testRunbook.id())
.runbookVersionName(testRunbookVersion.name())
.inputParameters(SchedulerDefinitionRunBookInputParameterArgs.builder()
.stepName(schedulerDefinitionRunBooksInputParametersStepName)
.arguments(SchedulerDefinitionRunBookInputParameterArgumentArgs.builder()
.kind(schedulerDefinitionRunBooksInputParametersArgumentsKind)
.name(schedulerDefinitionRunBooksInputParametersArgumentsName)
.content(SchedulerDefinitionRunBookInputParameterArgumentContentArgs.builder()
.bucket(schedulerDefinitionRunBooksInputParametersArgumentsContentBucket)
.checksum(schedulerDefinitionRunBooksInputParametersArgumentsContentChecksum)
.namespace(schedulerDefinitionRunBooksInputParametersArgumentsContentNamespace)
.object(schedulerDefinitionRunBooksInputParametersArgumentsContentObject)
.sourceType(schedulerDefinitionRunBooksInputParametersArgumentsContentSourceType)
.build())
.value(schedulerDefinitionRunBooksInputParametersArgumentsValue)
.build())
.build())
.build())
.build());
}
}
resources:
testSchedulerDefinition:
type: oci:FleetAppsManagement:SchedulerDefinition
name: test_scheduler_definition
properties:
actionGroups:
- fleetId: ${testFleet.id}
kind: ${schedulerDefinitionActionGroupsKind}
runbookId: ${testRunbook.id}
runbookVersionName: ${testRunbookVersion.name}
displayName: ${schedulerDefinitionActionGroupsDisplayName}
sequence: ${schedulerDefinitionActionGroupsSequence}
compartmentId: ${compartmentId}
schedule:
executionStartdate: ${schedulerDefinitionScheduleExecutionStartdate}
type: ${schedulerDefinitionScheduleType}
duration: ${schedulerDefinitionScheduleDuration}
maintenanceWindowId: ${testMaintenanceWindow.id}
recurrences: ${schedulerDefinitionScheduleRecurrences}
definedTags:
foo-namespace.bar-key: value
description: ${schedulerDefinitionDescription}
displayName: ${schedulerDefinitionDisplayName}
freeformTags:
bar-key: value
runBooks:
- runbookId: ${testRunbook.id}
runbookVersionName: ${testRunbookVersion.name}
inputParameters:
- stepName: ${schedulerDefinitionRunBooksInputParametersStepName}
arguments:
- kind: ${schedulerDefinitionRunBooksInputParametersArgumentsKind}
name: ${schedulerDefinitionRunBooksInputParametersArgumentsName}
content:
bucket: ${schedulerDefinitionRunBooksInputParametersArgumentsContentBucket}
checksum: ${schedulerDefinitionRunBooksInputParametersArgumentsContentChecksum}
namespace: ${schedulerDefinitionRunBooksInputParametersArgumentsContentNamespace}
object: ${schedulerDefinitionRunBooksInputParametersArgumentsContentObject}
sourceType: ${schedulerDefinitionRunBooksInputParametersArgumentsContentSourceType}
value: ${schedulerDefinitionRunBooksInputParametersArgumentsValue}
Create SchedulerDefinition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SchedulerDefinition(name: string, args: SchedulerDefinitionArgs, opts?: CustomResourceOptions);
@overload
def SchedulerDefinition(resource_name: str,
args: SchedulerDefinitionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SchedulerDefinition(resource_name: str,
opts: Optional[ResourceOptions] = None,
action_groups: Optional[Sequence[SchedulerDefinitionActionGroupArgs]] = None,
compartment_id: Optional[str] = None,
schedule: Optional[SchedulerDefinitionScheduleArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
run_books: Optional[Sequence[SchedulerDefinitionRunBookArgs]] = None)
func NewSchedulerDefinition(ctx *Context, name string, args SchedulerDefinitionArgs, opts ...ResourceOption) (*SchedulerDefinition, error)
public SchedulerDefinition(string name, SchedulerDefinitionArgs args, CustomResourceOptions? opts = null)
public SchedulerDefinition(String name, SchedulerDefinitionArgs args)
public SchedulerDefinition(String name, SchedulerDefinitionArgs args, CustomResourceOptions options)
type: oci:FleetAppsManagement:SchedulerDefinition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SchedulerDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SchedulerDefinitionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SchedulerDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SchedulerDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SchedulerDefinitionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var schedulerDefinitionResource = new Oci.FleetAppsManagement.SchedulerDefinition("schedulerDefinitionResource", new()
{
ActionGroups = new[]
{
new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionActionGroupArgs
{
FleetId = "string",
Kind = "string",
RunbookId = "string",
RunbookVersionName = "string",
DisplayName = "string",
Sequence = 0,
},
},
CompartmentId = "string",
Schedule = new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionScheduleArgs
{
ExecutionStartdate = "string",
Type = "string",
Duration = "string",
MaintenanceWindowId = "string",
Recurrences = "string",
},
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
RunBooks = new[]
{
new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookArgs
{
RunbookId = "string",
RunbookVersionName = "string",
InputParameters = new[]
{
new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookInputParameterArgs
{
StepName = "string",
Arguments = new[]
{
new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookInputParameterArgumentArgs
{
Kind = "string",
Name = "string",
Content = new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookInputParameterArgumentContentArgs
{
Bucket = "string",
Checksum = "string",
Namespace = "string",
Object = "string",
SourceType = "string",
},
Value = "string",
},
},
},
},
},
},
});
example, err := fleetappsmanagement.NewSchedulerDefinition(ctx, "schedulerDefinitionResource", &fleetappsmanagement.SchedulerDefinitionArgs{
ActionGroups: fleetappsmanagement.SchedulerDefinitionActionGroupArray{
&fleetappsmanagement.SchedulerDefinitionActionGroupArgs{
FleetId: pulumi.String("string"),
Kind: pulumi.String("string"),
RunbookId: pulumi.String("string"),
RunbookVersionName: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Sequence: pulumi.Int(0),
},
},
CompartmentId: pulumi.String("string"),
Schedule: &fleetappsmanagement.SchedulerDefinitionScheduleArgs{
ExecutionStartdate: pulumi.String("string"),
Type: pulumi.String("string"),
Duration: pulumi.String("string"),
MaintenanceWindowId: pulumi.String("string"),
Recurrences: pulumi.String("string"),
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
RunBooks: fleetappsmanagement.SchedulerDefinitionRunBookArray{
&fleetappsmanagement.SchedulerDefinitionRunBookArgs{
RunbookId: pulumi.String("string"),
RunbookVersionName: pulumi.String("string"),
InputParameters: fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArray{
&fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgs{
StepName: pulumi.String("string"),
Arguments: fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgumentArray{
&fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgumentArgs{
Kind: pulumi.String("string"),
Name: pulumi.String("string"),
Content: &fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgumentContentArgs{
Bucket: pulumi.String("string"),
Checksum: pulumi.String("string"),
Namespace: pulumi.String("string"),
Object: pulumi.String("string"),
SourceType: pulumi.String("string"),
},
Value: pulumi.String("string"),
},
},
},
},
},
},
})
var schedulerDefinitionResource = new SchedulerDefinition("schedulerDefinitionResource", SchedulerDefinitionArgs.builder()
.actionGroups(SchedulerDefinitionActionGroupArgs.builder()
.fleetId("string")
.kind("string")
.runbookId("string")
.runbookVersionName("string")
.displayName("string")
.sequence(0)
.build())
.compartmentId("string")
.schedule(SchedulerDefinitionScheduleArgs.builder()
.executionStartdate("string")
.type("string")
.duration("string")
.maintenanceWindowId("string")
.recurrences("string")
.build())
.definedTags(Map.of("string", "string"))
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "string"))
.runBooks(SchedulerDefinitionRunBookArgs.builder()
.runbookId("string")
.runbookVersionName("string")
.inputParameters(SchedulerDefinitionRunBookInputParameterArgs.builder()
.stepName("string")
.arguments(SchedulerDefinitionRunBookInputParameterArgumentArgs.builder()
.kind("string")
.name("string")
.content(SchedulerDefinitionRunBookInputParameterArgumentContentArgs.builder()
.bucket("string")
.checksum("string")
.namespace("string")
.object("string")
.sourceType("string")
.build())
.value("string")
.build())
.build())
.build())
.build());
scheduler_definition_resource = oci.fleetappsmanagement.SchedulerDefinition("schedulerDefinitionResource",
action_groups=[{
"fleet_id": "string",
"kind": "string",
"runbook_id": "string",
"runbook_version_name": "string",
"display_name": "string",
"sequence": 0,
}],
compartment_id="string",
schedule={
"execution_startdate": "string",
"type": "string",
"duration": "string",
"maintenance_window_id": "string",
"recurrences": "string",
},
defined_tags={
"string": "string",
},
description="string",
display_name="string",
freeform_tags={
"string": "string",
},
run_books=[{
"runbook_id": "string",
"runbook_version_name": "string",
"input_parameters": [{
"step_name": "string",
"arguments": [{
"kind": "string",
"name": "string",
"content": {
"bucket": "string",
"checksum": "string",
"namespace": "string",
"object": "string",
"source_type": "string",
},
"value": "string",
}],
}],
}])
const schedulerDefinitionResource = new oci.fleetappsmanagement.SchedulerDefinition("schedulerDefinitionResource", {
actionGroups: [{
fleetId: "string",
kind: "string",
runbookId: "string",
runbookVersionName: "string",
displayName: "string",
sequence: 0,
}],
compartmentId: "string",
schedule: {
executionStartdate: "string",
type: "string",
duration: "string",
maintenanceWindowId: "string",
recurrences: "string",
},
definedTags: {
string: "string",
},
description: "string",
displayName: "string",
freeformTags: {
string: "string",
},
runBooks: [{
runbookId: "string",
runbookVersionName: "string",
inputParameters: [{
stepName: "string",
arguments: [{
kind: "string",
name: "string",
content: {
bucket: "string",
checksum: "string",
namespace: "string",
object: "string",
sourceType: "string",
},
value: "string",
}],
}],
}],
});
type: oci:FleetAppsManagement:SchedulerDefinition
properties:
actionGroups:
- displayName: string
fleetId: string
kind: string
runbookId: string
runbookVersionName: string
sequence: 0
compartmentId: string
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
runBooks:
- inputParameters:
- arguments:
- content:
bucket: string
checksum: string
namespace: string
object: string
sourceType: string
kind: string
name: string
value: string
stepName: string
runbookId: string
runbookVersionName: string
schedule:
duration: string
executionStartdate: string
maintenanceWindowId: string
recurrences: string
type: string
SchedulerDefinition Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SchedulerDefinition resource accepts the following input properties:
- Action
Groups List<SchedulerDefinition Action Group> - (Updatable) Action Groups associated with the Schedule.
- Compartment
Id string - Compartment OCID
- Schedule
Scheduler
Definition Schedule - (Updatable) Schedule Information.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Run
Books List<SchedulerDefinition Run Book> - (Updatable) Runbooks.
- Action
Groups []SchedulerDefinition Action Group Args - (Updatable) Action Groups associated with the Schedule.
- Compartment
Id string - Compartment OCID
- Schedule
Scheduler
Definition Schedule Args - (Updatable) Schedule Information.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Run
Books []SchedulerDefinition Run Book Args - (Updatable) Runbooks.
- action
Groups List<SchedulerDefinition Action Group> - (Updatable) Action Groups associated with the Schedule.
- compartment
Id String - Compartment OCID
- schedule
Scheduler
Definition Schedule - (Updatable) Schedule Information.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- run
Books List<SchedulerDefinition Run Book> - (Updatable) Runbooks.
- action
Groups SchedulerDefinition Action Group[] - (Updatable) Action Groups associated with the Schedule.
- compartment
Id string - Compartment OCID
- schedule
Scheduler
Definition Schedule - (Updatable) Schedule Information.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- run
Books SchedulerDefinition Run Book[] - (Updatable) Runbooks.
- action_
groups Sequence[SchedulerDefinition Action Group Args] - (Updatable) Action Groups associated with the Schedule.
- compartment_
id str - Compartment OCID
- schedule
Scheduler
Definition Schedule Args - (Updatable) Schedule Information.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- run_
books Sequence[SchedulerDefinition Run Book Args] - (Updatable) Runbooks.
- action
Groups List<Property Map> - (Updatable) Action Groups associated with the Schedule.
- compartment
Id String - Compartment OCID
- schedule Property Map
- (Updatable) Schedule Information.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- run
Books List<Property Map> - (Updatable) Runbooks.
Outputs
All input properties are implicitly available as output properties. Additionally, the SchedulerDefinition resource produces the following output properties:
- Count
Of intAffected Action Groups - Count of Action Groups affected by the Schedule.
- Count
Of intAffected Resources - Count of Resources affected by the Schedule.
- Count
Of intAffected Targets - Count of Targets affected by the Schedule.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Lifecycle
Operations List<string> - All LifeCycle Operations that are part of the schedule.
- Products List<string>
- All products that are part of the schedule for PRODUCT ActionGroup Type.
- Resource
Region string - Associated region
- State string
- The current state of the SchedulerDefinition.
- 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 resource was created. An RFC3339 formatted datetime string.
- Time
Of stringNext Run - The scheduled date for the next run of the Job.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Count
Of intAffected Action Groups - Count of Action Groups affected by the Schedule.
- Count
Of intAffected Resources - Count of Resources affected by the Schedule.
- Count
Of intAffected Targets - Count of Targets affected by the Schedule.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Lifecycle
Operations []string - All LifeCycle Operations that are part of the schedule.
- Products []string
- All products that are part of the schedule for PRODUCT ActionGroup Type.
- Resource
Region string - Associated region
- State string
- The current state of the SchedulerDefinition.
- 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 resource was created. An RFC3339 formatted datetime string.
- Time
Of stringNext Run - The scheduled date for the next run of the Job.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- count
Of IntegerAffected Action Groups - Count of Action Groups affected by the Schedule.
- count
Of IntegerAffected Resources - Count of Resources affected by the Schedule.
- count
Of IntegerAffected Targets - Count of Targets affected by the Schedule.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- lifecycle
Operations List<String> - All LifeCycle Operations that are part of the schedule.
- products List<String>
- All products that are part of the schedule for PRODUCT ActionGroup Type.
- resource
Region String - Associated region
- state String
- The current state of the SchedulerDefinition.
- 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 resource was created. An RFC3339 formatted datetime string.
- time
Of StringNext Run - The scheduled date for the next run of the Job.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- count
Of numberAffected Action Groups - Count of Action Groups affected by the Schedule.
- count
Of numberAffected Resources - Count of Resources affected by the Schedule.
- count
Of numberAffected Targets - Count of Targets affected by the Schedule.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- lifecycle
Operations string[] - All LifeCycle Operations that are part of the schedule.
- products string[]
- All products that are part of the schedule for PRODUCT ActionGroup Type.
- resource
Region string - Associated region
- state string
- The current state of the SchedulerDefinition.
- {[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 resource was created. An RFC3339 formatted datetime string.
- time
Of stringNext Run - The scheduled date for the next run of the Job.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- count_
of_ intaffected_ action_ groups - Count of Action Groups affected by the Schedule.
- count_
of_ intaffected_ resources - Count of Resources affected by the Schedule.
- count_
of_ intaffected_ targets - Count of Targets affected by the Schedule.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- lifecycle_
operations Sequence[str] - All LifeCycle Operations that are part of the schedule.
- products Sequence[str]
- All products that are part of the schedule for PRODUCT ActionGroup Type.
- resource_
region str - Associated region
- state str
- The current state of the SchedulerDefinition.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
of_ strnext_ run - The scheduled date for the next run of the Job.
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- count
Of NumberAffected Action Groups - Count of Action Groups affected by the Schedule.
- count
Of NumberAffected Resources - Count of Resources affected by the Schedule.
- count
Of NumberAffected Targets - Count of Targets affected by the Schedule.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- lifecycle
Operations List<String> - All LifeCycle Operations that are part of the schedule.
- products List<String>
- All products that are part of the schedule for PRODUCT ActionGroup Type.
- resource
Region String - Associated region
- state String
- The current state of the SchedulerDefinition.
- 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 resource was created. An RFC3339 formatted datetime string.
- time
Of StringNext Run - The scheduled date for the next run of the Job.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
Look up Existing SchedulerDefinition Resource
Get an existing SchedulerDefinition resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SchedulerDefinitionState, opts?: CustomResourceOptions): SchedulerDefinition
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action_groups: Optional[Sequence[SchedulerDefinitionActionGroupArgs]] = None,
compartment_id: Optional[str] = None,
count_of_affected_action_groups: Optional[int] = None,
count_of_affected_resources: Optional[int] = None,
count_of_affected_targets: Optional[int] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
lifecycle_operations: Optional[Sequence[str]] = None,
products: Optional[Sequence[str]] = None,
resource_region: Optional[str] = None,
run_books: Optional[Sequence[SchedulerDefinitionRunBookArgs]] = None,
schedule: Optional[SchedulerDefinitionScheduleArgs] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_of_next_run: Optional[str] = None,
time_updated: Optional[str] = None) -> SchedulerDefinition
func GetSchedulerDefinition(ctx *Context, name string, id IDInput, state *SchedulerDefinitionState, opts ...ResourceOption) (*SchedulerDefinition, error)
public static SchedulerDefinition Get(string name, Input<string> id, SchedulerDefinitionState? state, CustomResourceOptions? opts = null)
public static SchedulerDefinition get(String name, Output<String> id, SchedulerDefinitionState state, CustomResourceOptions options)
resources: _: type: oci:FleetAppsManagement:SchedulerDefinition get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Action
Groups List<SchedulerDefinition Action Group> - (Updatable) Action Groups associated with the Schedule.
- Compartment
Id string - Compartment OCID
- Count
Of intAffected Action Groups - Count of Action Groups affected by the Schedule.
- Count
Of intAffected Resources - Count of Resources affected by the Schedule.
- Count
Of intAffected Targets - Count of Targets affected by the Schedule.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Lifecycle
Operations List<string> - All LifeCycle Operations that are part of the schedule.
- Products List<string>
- All products that are part of the schedule for PRODUCT ActionGroup Type.
- Resource
Region string - Associated region
- Run
Books List<SchedulerDefinition Run Book> - (Updatable) Runbooks.
- Schedule
Scheduler
Definition Schedule - (Updatable) Schedule Information.
- State string
- The current state of the SchedulerDefinition.
- 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 resource was created. An RFC3339 formatted datetime string.
- Time
Of stringNext Run - The scheduled date for the next run of the Job.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- Action
Groups []SchedulerDefinition Action Group Args - (Updatable) Action Groups associated with the Schedule.
- Compartment
Id string - Compartment OCID
- Count
Of intAffected Action Groups - Count of Action Groups affected by the Schedule.
- Count
Of intAffected Resources - Count of Resources affected by the Schedule.
- Count
Of intAffected Targets - Count of Targets affected by the Schedule.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Lifecycle
Operations []string - All LifeCycle Operations that are part of the schedule.
- Products []string
- All products that are part of the schedule for PRODUCT ActionGroup Type.
- Resource
Region string - Associated region
- Run
Books []SchedulerDefinition Run Book Args - (Updatable) Runbooks.
- Schedule
Scheduler
Definition Schedule Args - (Updatable) Schedule Information.
- State string
- The current state of the SchedulerDefinition.
- 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 resource was created. An RFC3339 formatted datetime string.
- Time
Of stringNext Run - The scheduled date for the next run of the Job.
- Time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- action
Groups List<SchedulerDefinition Action Group> - (Updatable) Action Groups associated with the Schedule.
- compartment
Id String - Compartment OCID
- count
Of IntegerAffected Action Groups - Count of Action Groups affected by the Schedule.
- count
Of IntegerAffected Resources - Count of Resources affected by the Schedule.
- count
Of IntegerAffected Targets - Count of Targets affected by the Schedule.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- lifecycle
Operations List<String> - All LifeCycle Operations that are part of the schedule.
- products List<String>
- All products that are part of the schedule for PRODUCT ActionGroup Type.
- resource
Region String - Associated region
- run
Books List<SchedulerDefinition Run Book> - (Updatable) Runbooks.
- schedule
Scheduler
Definition Schedule - (Updatable) Schedule Information.
- state String
- The current state of the SchedulerDefinition.
- 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 resource was created. An RFC3339 formatted datetime string.
- time
Of StringNext Run - The scheduled date for the next run of the Job.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
- action
Groups SchedulerDefinition Action Group[] - (Updatable) Action Groups associated with the Schedule.
- compartment
Id string - Compartment OCID
- count
Of numberAffected Action Groups - Count of Action Groups affected by the Schedule.
- count
Of numberAffected Resources - Count of Resources affected by the Schedule.
- count
Of numberAffected Targets - Count of Targets affected by the Schedule.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- lifecycle
Operations string[] - All LifeCycle Operations that are part of the schedule.
- products string[]
- All products that are part of the schedule for PRODUCT ActionGroup Type.
- resource
Region string - Associated region
- run
Books SchedulerDefinition Run Book[] - (Updatable) Runbooks.
- schedule
Scheduler
Definition Schedule - (Updatable) Schedule Information.
- state string
- The current state of the SchedulerDefinition.
- {[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 resource was created. An RFC3339 formatted datetime string.
- time
Of stringNext Run - The scheduled date for the next run of the Job.
- time
Updated string - The time this resource was last updated. An RFC3339 formatted datetime string.
- action_
groups Sequence[SchedulerDefinition Action Group Args] - (Updatable) Action Groups associated with the Schedule.
- compartment_
id str - Compartment OCID
- count_
of_ intaffected_ action_ groups - Count of Action Groups affected by the Schedule.
- count_
of_ intaffected_ resources - Count of Resources affected by the Schedule.
- count_
of_ intaffected_ targets - Count of Targets affected by the Schedule.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- lifecycle_
operations Sequence[str] - All LifeCycle Operations that are part of the schedule.
- products Sequence[str]
- All products that are part of the schedule for PRODUCT ActionGroup Type.
- resource_
region str - Associated region
- run_
books Sequence[SchedulerDefinition Run Book Args] - (Updatable) Runbooks.
- schedule
Scheduler
Definition Schedule Args - (Updatable) Schedule Information.
- state str
- The current state of the SchedulerDefinition.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time this resource was created. An RFC3339 formatted datetime string.
- time_
of_ strnext_ run - The scheduled date for the next run of the Job.
- time_
updated str - The time this resource was last updated. An RFC3339 formatted datetime string.
- action
Groups List<Property Map> - (Updatable) Action Groups associated with the Schedule.
- compartment
Id String - Compartment OCID
- count
Of NumberAffected Action Groups - Count of Action Groups affected by the Schedule.
- count
Of NumberAffected Resources - Count of Resources affected by the Schedule.
- count
Of NumberAffected Targets - Count of Targets affected by the Schedule.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
- (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- lifecycle
Operations List<String> - All LifeCycle Operations that are part of the schedule.
- products List<String>
- All products that are part of the schedule for PRODUCT ActionGroup Type.
- resource
Region String - Associated region
- run
Books List<Property Map> - (Updatable) Runbooks.
- schedule Property Map
- (Updatable) Schedule Information.
- state String
- The current state of the SchedulerDefinition.
- 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 resource was created. An RFC3339 formatted datetime string.
- time
Of StringNext Run - The scheduled date for the next run of the Job.
- time
Updated String - The time this resource was last updated. An RFC3339 formatted datetime string.
Supporting Types
SchedulerDefinitionActionGroup, SchedulerDefinitionActionGroupArgs
- Fleet
Id string - (Updatable) ID of the fleet
- Kind string
- (Updatable) Action Group kind
- Runbook
Id string - (Updatable) ID of the runbook
- Runbook
Version stringName - (Updatable) Name of the runbook version
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Sequence int
- (Updatable) Sequence of the Action Group. Action groups will be executed in a seuential order. All Action Groups having the same sequence will be executed parallely. If no value is provided a default value of 1 will be given.
- Fleet
Id string - (Updatable) ID of the fleet
- Kind string
- (Updatable) Action Group kind
- Runbook
Id string - (Updatable) ID of the runbook
- Runbook
Version stringName - (Updatable) Name of the runbook version
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Sequence int
- (Updatable) Sequence of the Action Group. Action groups will be executed in a seuential order. All Action Groups having the same sequence will be executed parallely. If no value is provided a default value of 1 will be given.
- fleet
Id String - (Updatable) ID of the fleet
- kind String
- (Updatable) Action Group kind
- runbook
Id String - (Updatable) ID of the runbook
- runbook
Version StringName - (Updatable) Name of the runbook version
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- sequence Integer
- (Updatable) Sequence of the Action Group. Action groups will be executed in a seuential order. All Action Groups having the same sequence will be executed parallely. If no value is provided a default value of 1 will be given.
- fleet
Id string - (Updatable) ID of the fleet
- kind string
- (Updatable) Action Group kind
- runbook
Id string - (Updatable) ID of the runbook
- runbook
Version stringName - (Updatable) Name of the runbook version
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- sequence number
- (Updatable) Sequence of the Action Group. Action groups will be executed in a seuential order. All Action Groups having the same sequence will be executed parallely. If no value is provided a default value of 1 will be given.
- fleet_
id str - (Updatable) ID of the fleet
- kind str
- (Updatable) Action Group kind
- runbook_
id str - (Updatable) ID of the runbook
- runbook_
version_ strname - (Updatable) Name of the runbook version
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- sequence int
- (Updatable) Sequence of the Action Group. Action groups will be executed in a seuential order. All Action Groups having the same sequence will be executed parallely. If no value is provided a default value of 1 will be given.
- fleet
Id String - (Updatable) ID of the fleet
- kind String
- (Updatable) Action Group kind
- runbook
Id String - (Updatable) ID of the runbook
- runbook
Version StringName - (Updatable) Name of the runbook version
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- sequence Number
- (Updatable) Sequence of the Action Group. Action groups will be executed in a seuential order. All Action Groups having the same sequence will be executed parallely. If no value is provided a default value of 1 will be given.
SchedulerDefinitionRunBook, SchedulerDefinitionRunBookArgs
- Runbook
Id string - (Updatable) The ID of the Runbook
- Runbook
Version stringName - (Updatable) The runbook version name
- Input
Parameters List<SchedulerDefinition Run Book Input Parameter> - (Updatable) Input Parameters for the Task
- Runbook
Id string - (Updatable) The ID of the Runbook
- Runbook
Version stringName - (Updatable) The runbook version name
- Input
Parameters []SchedulerDefinition Run Book Input Parameter - (Updatable) Input Parameters for the Task
- runbook
Id String - (Updatable) The ID of the Runbook
- runbook
Version StringName - (Updatable) The runbook version name
- input
Parameters List<SchedulerDefinition Run Book Input Parameter> - (Updatable) Input Parameters for the Task
- runbook
Id string - (Updatable) The ID of the Runbook
- runbook
Version stringName - (Updatable) The runbook version name
- input
Parameters SchedulerDefinition Run Book Input Parameter[] - (Updatable) Input Parameters for the Task
- runbook_
id str - (Updatable) The ID of the Runbook
- runbook_
version_ strname - (Updatable) The runbook version name
- input_
parameters Sequence[SchedulerDefinition Run Book Input Parameter] - (Updatable) Input Parameters for the Task
- runbook
Id String - (Updatable) The ID of the Runbook
- runbook
Version StringName - (Updatable) The runbook version name
- input
Parameters List<Property Map> - (Updatable) Input Parameters for the Task
SchedulerDefinitionRunBookInputParameter, SchedulerDefinitionRunBookInputParameterArgs
- Step
Name string - (Updatable) stepName for which the input parameters are provided
- Arguments
List<Scheduler
Definition Run Book Input Parameter Argument> - (Updatable) Arguments for the Task
- Step
Name string - (Updatable) stepName for which the input parameters are provided
- Arguments
[]Scheduler
Definition Run Book Input Parameter Argument - (Updatable) Arguments for the Task
- step
Name String - (Updatable) stepName for which the input parameters are provided
- arguments
List<Scheduler
Definition Run Book Input Parameter Argument> - (Updatable) Arguments for the Task
- step
Name string - (Updatable) stepName for which the input parameters are provided
- arguments
Scheduler
Definition Run Book Input Parameter Argument[] - (Updatable) Arguments for the Task
- step_
name str - (Updatable) stepName for which the input parameters are provided
- arguments
Sequence[Scheduler
Definition Run Book Input Parameter Argument] - (Updatable) Arguments for the Task
- step
Name String - (Updatable) stepName for which the input parameters are provided
- arguments List<Property Map>
- (Updatable) Arguments for the Task
SchedulerDefinitionRunBookInputParameterArgument, SchedulerDefinitionRunBookInputParameterArgumentArgs
- Kind string
- (Updatable) Task argument kind
- Name string
- (Updatable) Name of the input variable
- Content
Scheduler
Definition Run Book Input Parameter Argument Content - (Updatable) Content Source details.
- Value string
- (Updatable) The task input
- Kind string
- (Updatable) Task argument kind
- Name string
- (Updatable) Name of the input variable
- Content
Scheduler
Definition Run Book Input Parameter Argument Content - (Updatable) Content Source details.
- Value string
- (Updatable) The task input
- kind String
- (Updatable) Task argument kind
- name String
- (Updatable) Name of the input variable
- content
Scheduler
Definition Run Book Input Parameter Argument Content - (Updatable) Content Source details.
- value String
- (Updatable) The task input
- kind string
- (Updatable) Task argument kind
- name string
- (Updatable) Name of the input variable
- content
Scheduler
Definition Run Book Input Parameter Argument Content - (Updatable) Content Source details.
- value string
- (Updatable) The task input
- kind str
- (Updatable) Task argument kind
- name str
- (Updatable) Name of the input variable
- content
Scheduler
Definition Run Book Input Parameter Argument Content - (Updatable) Content Source details.
- value str
- (Updatable) The task input
- kind String
- (Updatable) Task argument kind
- name String
- (Updatable) Name of the input variable
- content Property Map
- (Updatable) Content Source details.
- value String
- (Updatable) The task input
SchedulerDefinitionRunBookInputParameterArgumentContent, SchedulerDefinitionRunBookInputParameterArgumentContentArgs
- Bucket string
- (Updatable) Bucket Name.
- Checksum string
- (Updatable) md5 checksum of the artifact.
- Namespace string
- (Updatable) Namespace.
- Object string
- (Updatable) Object Name.
- Source
Type string - (Updatable) Content Source type details.
- Bucket string
- (Updatable) Bucket Name.
- Checksum string
- (Updatable) md5 checksum of the artifact.
- Namespace string
- (Updatable) Namespace.
- Object string
- (Updatable) Object Name.
- Source
Type string - (Updatable) Content Source type details.
- bucket String
- (Updatable) Bucket Name.
- checksum String
- (Updatable) md5 checksum of the artifact.
- namespace String
- (Updatable) Namespace.
- object String
- (Updatable) Object Name.
- source
Type String - (Updatable) Content Source type details.
- bucket string
- (Updatable) Bucket Name.
- checksum string
- (Updatable) md5 checksum of the artifact.
- namespace string
- (Updatable) Namespace.
- object string
- (Updatable) Object Name.
- source
Type string - (Updatable) Content Source type details.
- bucket str
- (Updatable) Bucket Name.
- checksum str
- (Updatable) md5 checksum of the artifact.
- namespace str
- (Updatable) Namespace.
- object str
- (Updatable) Object Name.
- source_
type str - (Updatable) Content Source type details.
- bucket String
- (Updatable) Bucket Name.
- checksum String
- (Updatable) md5 checksum of the artifact.
- namespace String
- (Updatable) Namespace.
- object String
- (Updatable) Object Name.
- source
Type String - (Updatable) Content Source type details.
SchedulerDefinitionSchedule, SchedulerDefinitionScheduleArgs
- Execution
Startdate string - (Updatable) Start Date for the schedule. An RFC3339 formatted datetime string
- Type string
(Updatable) Schedule Type
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Duration string
- (Updatable) Duration of the schedule.
- Maintenance
Window stringId - (Updatable) Provide MaintenanceWindowId
- Recurrences string
- (Updatable) Recurrence rule specification if recurring
- Execution
Startdate string - (Updatable) Start Date for the schedule. An RFC3339 formatted datetime string
- Type string
(Updatable) Schedule Type
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Duration string
- (Updatable) Duration of the schedule.
- Maintenance
Window stringId - (Updatable) Provide MaintenanceWindowId
- Recurrences string
- (Updatable) Recurrence rule specification if recurring
- execution
Startdate String - (Updatable) Start Date for the schedule. An RFC3339 formatted datetime string
- type String
(Updatable) Schedule Type
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- duration String
- (Updatable) Duration of the schedule.
- maintenance
Window StringId - (Updatable) Provide MaintenanceWindowId
- recurrences String
- (Updatable) Recurrence rule specification if recurring
- execution
Startdate string - (Updatable) Start Date for the schedule. An RFC3339 formatted datetime string
- type string
(Updatable) Schedule Type
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- duration string
- (Updatable) Duration of the schedule.
- maintenance
Window stringId - (Updatable) Provide MaintenanceWindowId
- recurrences string
- (Updatable) Recurrence rule specification if recurring
- execution_
startdate str - (Updatable) Start Date for the schedule. An RFC3339 formatted datetime string
- type str
(Updatable) Schedule Type
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- duration str
- (Updatable) Duration of the schedule.
- maintenance_
window_ strid - (Updatable) Provide MaintenanceWindowId
- recurrences str
- (Updatable) Recurrence rule specification if recurring
- execution
Startdate String - (Updatable) Start Date for the schedule. An RFC3339 formatted datetime string
- type String
(Updatable) Schedule Type
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- duration String
- (Updatable) Duration of the schedule.
- maintenance
Window StringId - (Updatable) Provide MaintenanceWindowId
- recurrences String
- (Updatable) Recurrence rule specification if recurring
Import
SchedulerDefinitions can be imported using the id
, e.g.
$ pulumi import oci:FleetAppsManagement/schedulerDefinition:SchedulerDefinition test_scheduler_definition "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.