oci.FleetAppsManagement.SchedulerDefinition
Explore with Pulumi AI
This resource provides the Scheduler Definition resource in Oracle Cloud Infrastructure Fleet Apps Management service.
Creates a new SchedulerDefinition.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSchedulerDefinition = new oci.fleetappsmanagement.SchedulerDefinition("test_scheduler_definition", {
actionGroups: [{
resourceId: testResource.id,
runbookId: testRunbook.id,
applicationType: schedulerDefinitionActionGroupsApplicationType,
lifecycleOperation: schedulerDefinitionActionGroupsLifecycleOperation,
product: schedulerDefinitionActionGroupsProduct,
subjects: schedulerDefinitionActionGroupsSubjects,
targetId: testTarget.id,
type: schedulerDefinitionActionGroupsType,
}],
compartmentId: compartmentId,
schedule: {
executionStartdate: schedulerDefinitionScheduleExecutionStartdate,
type: schedulerDefinitionScheduleType,
duration: schedulerDefinitionScheduleDuration,
maintenanceWindowId: testMaintenanceWindow.id,
recurrences: schedulerDefinitionScheduleRecurrences,
},
activityInitiationCutOff: schedulerDefinitionActivityInitiationCutOff,
definedTags: {
"foo-namespace.bar-key": "value",
},
description: schedulerDefinitionDescription,
displayName: schedulerDefinitionDisplayName,
freeformTags: {
"bar-key": "value",
},
runBooks: [{
id: schedulerDefinitionRunBooksId,
inputParameters: [{
stepName: schedulerDefinitionRunBooksInputParametersStepName,
arguments: [{
name: schedulerDefinitionRunBooksInputParametersArgumentsName,
value: schedulerDefinitionRunBooksInputParametersArgumentsValue,
}],
}],
}],
});
import pulumi
import pulumi_oci as oci
test_scheduler_definition = oci.fleet_apps_management.SchedulerDefinition("test_scheduler_definition",
action_groups=[{
"resource_id": test_resource["id"],
"runbook_id": test_runbook["id"],
"application_type": scheduler_definition_action_groups_application_type,
"lifecycle_operation": scheduler_definition_action_groups_lifecycle_operation,
"product": scheduler_definition_action_groups_product,
"subjects": scheduler_definition_action_groups_subjects,
"target_id": test_target["id"],
"type": scheduler_definition_action_groups_type,
}],
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,
},
activity_initiation_cut_off=scheduler_definition_activity_initiation_cut_off,
defined_tags={
"foo-namespace.bar-key": "value",
},
description=scheduler_definition_description,
display_name=scheduler_definition_display_name,
freeform_tags={
"bar-key": "value",
},
run_books=[{
"id": scheduler_definition_run_books_id,
"input_parameters": [{
"step_name": scheduler_definition_run_books_input_parameters_step_name,
"arguments": [{
"name": scheduler_definition_run_books_input_parameters_arguments_name,
"value": scheduler_definition_run_books_input_parameters_arguments_value,
}],
}],
}])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/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{
ResourceId: pulumi.Any(testResource.Id),
RunbookId: pulumi.Any(testRunbook.Id),
ApplicationType: pulumi.Any(schedulerDefinitionActionGroupsApplicationType),
LifecycleOperation: pulumi.Any(schedulerDefinitionActionGroupsLifecycleOperation),
Product: pulumi.Any(schedulerDefinitionActionGroupsProduct),
Subjects: pulumi.Any(schedulerDefinitionActionGroupsSubjects),
TargetId: pulumi.Any(testTarget.Id),
Type: pulumi.Any(schedulerDefinitionActionGroupsType),
},
},
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),
},
ActivityInitiationCutOff: pulumi.Any(schedulerDefinitionActivityInitiationCutOff),
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{
Id: pulumi.Any(schedulerDefinitionRunBooksId),
InputParameters: fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArray{
&fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgs{
StepName: pulumi.Any(schedulerDefinitionRunBooksInputParametersStepName),
Arguments: fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgumentArray{
&fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgumentArgs{
Name: pulumi.Any(schedulerDefinitionRunBooksInputParametersArgumentsName),
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
{
ResourceId = testResource.Id,
RunbookId = testRunbook.Id,
ApplicationType = schedulerDefinitionActionGroupsApplicationType,
LifecycleOperation = schedulerDefinitionActionGroupsLifecycleOperation,
Product = schedulerDefinitionActionGroupsProduct,
Subjects = schedulerDefinitionActionGroupsSubjects,
TargetId = testTarget.Id,
Type = schedulerDefinitionActionGroupsType,
},
},
CompartmentId = compartmentId,
Schedule = new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionScheduleArgs
{
ExecutionStartdate = schedulerDefinitionScheduleExecutionStartdate,
Type = schedulerDefinitionScheduleType,
Duration = schedulerDefinitionScheduleDuration,
MaintenanceWindowId = testMaintenanceWindow.Id,
Recurrences = schedulerDefinitionScheduleRecurrences,
},
ActivityInitiationCutOff = schedulerDefinitionActivityInitiationCutOff,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
Description = schedulerDefinitionDescription,
DisplayName = schedulerDefinitionDisplayName,
FreeformTags =
{
{ "bar-key", "value" },
},
RunBooks = new[]
{
new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookArgs
{
Id = schedulerDefinitionRunBooksId,
InputParameters = new[]
{
new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookInputParameterArgs
{
StepName = schedulerDefinitionRunBooksInputParametersStepName,
Arguments = new[]
{
new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookInputParameterArgumentArgs
{
Name = schedulerDefinitionRunBooksInputParametersArgumentsName,
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()
.resourceId(testResource.id())
.runbookId(testRunbook.id())
.applicationType(schedulerDefinitionActionGroupsApplicationType)
.lifecycleOperation(schedulerDefinitionActionGroupsLifecycleOperation)
.product(schedulerDefinitionActionGroupsProduct)
.subjects(schedulerDefinitionActionGroupsSubjects)
.targetId(testTarget.id())
.type(schedulerDefinitionActionGroupsType)
.build())
.compartmentId(compartmentId)
.schedule(SchedulerDefinitionScheduleArgs.builder()
.executionStartdate(schedulerDefinitionScheduleExecutionStartdate)
.type(schedulerDefinitionScheduleType)
.duration(schedulerDefinitionScheduleDuration)
.maintenanceWindowId(testMaintenanceWindow.id())
.recurrences(schedulerDefinitionScheduleRecurrences)
.build())
.activityInitiationCutOff(schedulerDefinitionActivityInitiationCutOff)
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.description(schedulerDefinitionDescription)
.displayName(schedulerDefinitionDisplayName)
.freeformTags(Map.of("bar-key", "value"))
.runBooks(SchedulerDefinitionRunBookArgs.builder()
.id(schedulerDefinitionRunBooksId)
.inputParameters(SchedulerDefinitionRunBookInputParameterArgs.builder()
.stepName(schedulerDefinitionRunBooksInputParametersStepName)
.arguments(SchedulerDefinitionRunBookInputParameterArgumentArgs.builder()
.name(schedulerDefinitionRunBooksInputParametersArgumentsName)
.value(schedulerDefinitionRunBooksInputParametersArgumentsValue)
.build())
.build())
.build())
.build());
}
}
resources:
testSchedulerDefinition:
type: oci:FleetAppsManagement:SchedulerDefinition
name: test_scheduler_definition
properties:
actionGroups:
- resourceId: ${testResource.id}
runbookId: ${testRunbook.id}
applicationType: ${schedulerDefinitionActionGroupsApplicationType}
lifecycleOperation: ${schedulerDefinitionActionGroupsLifecycleOperation}
product: ${schedulerDefinitionActionGroupsProduct}
subjects: ${schedulerDefinitionActionGroupsSubjects}
targetId: ${testTarget.id}
type: ${schedulerDefinitionActionGroupsType}
compartmentId: ${compartmentId}
schedule:
executionStartdate: ${schedulerDefinitionScheduleExecutionStartdate}
type: ${schedulerDefinitionScheduleType}
duration: ${schedulerDefinitionScheduleDuration}
maintenanceWindowId: ${testMaintenanceWindow.id}
recurrences: ${schedulerDefinitionScheduleRecurrences}
activityInitiationCutOff: ${schedulerDefinitionActivityInitiationCutOff}
definedTags:
foo-namespace.bar-key: value
description: ${schedulerDefinitionDescription}
displayName: ${schedulerDefinitionDisplayName}
freeformTags:
bar-key: value
runBooks:
- id: ${schedulerDefinitionRunBooksId}
inputParameters:
- stepName: ${schedulerDefinitionRunBooksInputParametersStepName}
arguments:
- name: ${schedulerDefinitionRunBooksInputParametersArgumentsName}
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[_fleetappsmanagement.SchedulerDefinitionActionGroupArgs]] = None,
compartment_id: Optional[str] = None,
schedule: Optional[_fleetappsmanagement.SchedulerDefinitionScheduleArgs] = None,
activity_initiation_cut_off: 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,
run_books: Optional[Sequence[_fleetappsmanagement.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
{
ResourceId = "string",
RunbookId = "string",
ApplicationType = "string",
LifecycleOperation = "string",
Product = "string",
Subjects = new[]
{
"string",
},
TargetId = "string",
Type = "string",
},
},
CompartmentId = "string",
Schedule = new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionScheduleArgs
{
ExecutionStartdate = "string",
Type = "string",
Duration = "string",
MaintenanceWindowId = "string",
Recurrences = "string",
},
ActivityInitiationCutOff = 0,
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
RunBooks = new[]
{
new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookArgs
{
Id = "string",
InputParameters = new[]
{
new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookInputParameterArgs
{
StepName = "string",
Arguments = new[]
{
new Oci.FleetAppsManagement.Inputs.SchedulerDefinitionRunBookInputParameterArgumentArgs
{
Name = "string",
Value = "string",
},
},
},
},
},
},
});
example, err := FleetAppsManagement.NewSchedulerDefinition(ctx, "schedulerDefinitionResource", &FleetAppsManagement.SchedulerDefinitionArgs{
ActionGroups: fleetappsmanagement.SchedulerDefinitionActionGroupArray{
&fleetappsmanagement.SchedulerDefinitionActionGroupArgs{
ResourceId: pulumi.String("string"),
RunbookId: pulumi.String("string"),
ApplicationType: pulumi.String("string"),
LifecycleOperation: pulumi.String("string"),
Product: pulumi.String("string"),
Subjects: pulumi.StringArray{
pulumi.String("string"),
},
TargetId: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
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"),
},
ActivityInitiationCutOff: pulumi.Int(0),
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{
Id: pulumi.String("string"),
InputParameters: fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArray{
&fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgs{
StepName: pulumi.String("string"),
Arguments: fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgumentArray{
&fleetappsmanagement.SchedulerDefinitionRunBookInputParameterArgumentArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
},
},
})
var schedulerDefinitionResource = new SchedulerDefinition("schedulerDefinitionResource", SchedulerDefinitionArgs.builder()
.actionGroups(SchedulerDefinitionActionGroupArgs.builder()
.resourceId("string")
.runbookId("string")
.applicationType("string")
.lifecycleOperation("string")
.product("string")
.subjects("string")
.targetId("string")
.type("string")
.build())
.compartmentId("string")
.schedule(SchedulerDefinitionScheduleArgs.builder()
.executionStartdate("string")
.type("string")
.duration("string")
.maintenanceWindowId("string")
.recurrences("string")
.build())
.activityInitiationCutOff(0)
.definedTags(Map.of("string", "string"))
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "string"))
.runBooks(SchedulerDefinitionRunBookArgs.builder()
.id("string")
.inputParameters(SchedulerDefinitionRunBookInputParameterArgs.builder()
.stepName("string")
.arguments(SchedulerDefinitionRunBookInputParameterArgumentArgs.builder()
.name("string")
.value("string")
.build())
.build())
.build())
.build());
scheduler_definition_resource = oci.fleet_apps_management.SchedulerDefinition("schedulerDefinitionResource",
action_groups=[{
"resource_id": "string",
"runbook_id": "string",
"application_type": "string",
"lifecycle_operation": "string",
"product": "string",
"subjects": ["string"],
"target_id": "string",
"type": "string",
}],
compartment_id="string",
schedule={
"execution_startdate": "string",
"type": "string",
"duration": "string",
"maintenance_window_id": "string",
"recurrences": "string",
},
activity_initiation_cut_off=0,
defined_tags={
"string": "string",
},
description="string",
display_name="string",
freeform_tags={
"string": "string",
},
run_books=[{
"id": "string",
"input_parameters": [{
"step_name": "string",
"arguments": [{
"name": "string",
"value": "string",
}],
}],
}])
const schedulerDefinitionResource = new oci.fleetappsmanagement.SchedulerDefinition("schedulerDefinitionResource", {
actionGroups: [{
resourceId: "string",
runbookId: "string",
applicationType: "string",
lifecycleOperation: "string",
product: "string",
subjects: ["string"],
targetId: "string",
type: "string",
}],
compartmentId: "string",
schedule: {
executionStartdate: "string",
type: "string",
duration: "string",
maintenanceWindowId: "string",
recurrences: "string",
},
activityInitiationCutOff: 0,
definedTags: {
string: "string",
},
description: "string",
displayName: "string",
freeformTags: {
string: "string",
},
runBooks: [{
id: "string",
inputParameters: [{
stepName: "string",
arguments: [{
name: "string",
value: "string",
}],
}],
}],
});
type: oci:FleetAppsManagement:SchedulerDefinition
properties:
actionGroups:
- applicationType: string
lifecycleOperation: string
product: string
resourceId: string
runbookId: string
subjects:
- string
targetId: string
type: string
activityInitiationCutOff: 0
compartmentId: string
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
runBooks:
- id: string
inputParameters:
- arguments:
- name: string
value: string
stepName: 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 - Tenancy OCID
- Schedule
Scheduler
Definition Schedule - (Updatable) Schedule Information.
- Activity
Initiation intCut Off - (Updatable) Activity Initiation Cut Off
- 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 - Tenancy OCID
- Schedule
Scheduler
Definition Schedule Args - (Updatable) Schedule Information.
- Activity
Initiation intCut Off - (Updatable) Activity Initiation Cut Off
- 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 - Tenancy OCID
- schedule
Scheduler
Definition Schedule - (Updatable) Schedule Information.
- activity
Initiation IntegerCut Off - (Updatable) Activity Initiation Cut Off
- 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 - Tenancy OCID
- schedule
Scheduler
Definition Schedule - (Updatable) Schedule Information.
- activity
Initiation numberCut Off - (Updatable) Activity Initiation Cut Off
- {[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[fleetappsmanagement.Scheduler Definition Action Group Args] - (Updatable) Action Groups associated with the Schedule.
- compartment_
id str - Tenancy OCID
- schedule
fleetappsmanagement.
Scheduler Definition Schedule Args - (Updatable) Schedule Information.
- activity_
initiation_ intcut_ off - (Updatable) Activity Initiation Cut Off
- 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[fleetappsmanagement.Scheduler Definition Run Book Args] - (Updatable) Runbooks.
- action
Groups List<Property Map> - (Updatable) Action Groups associated with the Schedule.
- compartment
Id String - Tenancy OCID
- schedule Property Map
- (Updatable) Schedule Information.
- activity
Initiation NumberCut Off - (Updatable) Activity Initiation Cut Off
- 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:
- Action
Group List<string>Types - All ActionGroup Types part of the schedule.
- Application
Types List<string> - All application types part of the schedule for ENVIRONMENT ActionGroup Type.
- 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 part of the schedule
- Products List<string>
- All products 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 - 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
Group []stringTypes - All ActionGroup Types part of the schedule.
- Application
Types []string - All application types part of the schedule for ENVIRONMENT ActionGroup Type.
- 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 part of the schedule
- Products []string
- All products 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 - 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
Group List<String>Types - All ActionGroup Types part of the schedule.
- application
Types List<String> - All application types part of the schedule for ENVIRONMENT ActionGroup Type.
- 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 part of the schedule
- products List<String>
- All products 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 - 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
Group string[]Types - All ActionGroup Types part of the schedule.
- application
Types string[] - All application types part of the schedule for ENVIRONMENT ActionGroup Type.
- 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 part of the schedule
- products string[]
- All products 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 - 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_
group_ Sequence[str]types - All ActionGroup Types part of the schedule.
- application_
types Sequence[str] - All application types part of the schedule for ENVIRONMENT ActionGroup Type.
- 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 part of the schedule
- products Sequence[str]
- All products 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 - 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
Group List<String>Types - All ActionGroup Types part of the schedule.
- application
Types List<String> - All application types part of the schedule for ENVIRONMENT ActionGroup Type.
- 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 part of the schedule
- products List<String>
- All products 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 - 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_group_types: Optional[Sequence[str]] = None,
action_groups: Optional[Sequence[_fleetappsmanagement.SchedulerDefinitionActionGroupArgs]] = None,
activity_initiation_cut_off: Optional[int] = None,
application_types: Optional[Sequence[str]] = 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[_fleetappsmanagement.SchedulerDefinitionRunBookArgs]] = None,
schedule: Optional[_fleetappsmanagement.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)
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.
- Action
Group List<string>Types - All ActionGroup Types part of the schedule.
- Action
Groups List<SchedulerDefinition Action Group> - (Updatable) Action Groups associated with the Schedule.
- Activity
Initiation intCut Off - (Updatable) Activity Initiation Cut Off
- Application
Types List<string> - All application types part of the schedule for ENVIRONMENT ActionGroup Type.
- Compartment
Id string - Tenancy 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 part of the schedule
- Products List<string>
- All products 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 - 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
Group []stringTypes - All ActionGroup Types part of the schedule.
- Action
Groups []SchedulerDefinition Action Group Args - (Updatable) Action Groups associated with the Schedule.
- Activity
Initiation intCut Off - (Updatable) Activity Initiation Cut Off
- Application
Types []string - All application types part of the schedule for ENVIRONMENT ActionGroup Type.
- Compartment
Id string - Tenancy 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 part of the schedule
- Products []string
- All products 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 - 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
Group List<String>Types - All ActionGroup Types part of the schedule.
- action
Groups List<SchedulerDefinition Action Group> - (Updatable) Action Groups associated with the Schedule.
- activity
Initiation IntegerCut Off - (Updatable) Activity Initiation Cut Off
- application
Types List<String> - All application types part of the schedule for ENVIRONMENT ActionGroup Type.
- compartment
Id String - Tenancy 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 part of the schedule
- products List<String>
- All products 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 - 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
Group string[]Types - All ActionGroup Types part of the schedule.
- action
Groups SchedulerDefinition Action Group[] - (Updatable) Action Groups associated with the Schedule.
- activity
Initiation numberCut Off - (Updatable) Activity Initiation Cut Off
- application
Types string[] - All application types part of the schedule for ENVIRONMENT ActionGroup Type.
- compartment
Id string - Tenancy 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 part of the schedule
- products string[]
- All products 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 - 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_
group_ Sequence[str]types - All ActionGroup Types part of the schedule.
- action_
groups Sequence[fleetappsmanagement.Scheduler Definition Action Group Args] - (Updatable) Action Groups associated with the Schedule.
- activity_
initiation_ intcut_ off - (Updatable) Activity Initiation Cut Off
- application_
types Sequence[str] - All application types part of the schedule for ENVIRONMENT ActionGroup Type.
- compartment_
id str - Tenancy 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 part of the schedule
- products Sequence[str]
- All products part of the schedule for PRODUCT ActionGroup Type.
- resource_
region str - Associated region
- run_
books Sequence[fleetappsmanagement.Scheduler Definition Run Book Args] - (Updatable) Runbooks.
- schedule
fleetappsmanagement.
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 - 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
Group List<String>Types - All ActionGroup Types part of the schedule.
- action
Groups List<Property Map> - (Updatable) Action Groups associated with the Schedule.
- activity
Initiation NumberCut Off - (Updatable) Activity Initiation Cut Off
- application
Types List<String> - All application types part of the schedule for ENVIRONMENT ActionGroup Type.
- compartment
Id String - Tenancy 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 part of the schedule
- products List<String>
- All products 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 - 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
- Resource
Id string - (Updatable) Provide the ID of the resource; Ex- fleetId.
- Runbook
Id string - (Updatable) ID of the runbook
- Application
Type string - (Updatable) Application Type associated. Only applicable if type is ENVIRONMENT.
- Lifecycle
Operation string - (Updatable) LifeCycle Operation
- Product string
- (Updatable) Product associated. Only applicable if type is PRODUCT.
- Subjects List<string>
- (Updatable) Provide subjects that need to be considered for the schedule.
- Target
Id string - (Updatable) Provide the target if schedule is created against the target
- Type string
- (Updatable) ActionGroup Type associated.
- Resource
Id string - (Updatable) Provide the ID of the resource; Ex- fleetId.
- Runbook
Id string - (Updatable) ID of the runbook
- Application
Type string - (Updatable) Application Type associated. Only applicable if type is ENVIRONMENT.
- Lifecycle
Operation string - (Updatable) LifeCycle Operation
- Product string
- (Updatable) Product associated. Only applicable if type is PRODUCT.
- Subjects []string
- (Updatable) Provide subjects that need to be considered for the schedule.
- Target
Id string - (Updatable) Provide the target if schedule is created against the target
- Type string
- (Updatable) ActionGroup Type associated.
- resource
Id String - (Updatable) Provide the ID of the resource; Ex- fleetId.
- runbook
Id String - (Updatable) ID of the runbook
- application
Type String - (Updatable) Application Type associated. Only applicable if type is ENVIRONMENT.
- lifecycle
Operation String - (Updatable) LifeCycle Operation
- product String
- (Updatable) Product associated. Only applicable if type is PRODUCT.
- subjects List<String>
- (Updatable) Provide subjects that need to be considered for the schedule.
- target
Id String - (Updatable) Provide the target if schedule is created against the target
- type String
- (Updatable) ActionGroup Type associated.
- resource
Id string - (Updatable) Provide the ID of the resource; Ex- fleetId.
- runbook
Id string - (Updatable) ID of the runbook
- application
Type string - (Updatable) Application Type associated. Only applicable if type is ENVIRONMENT.
- lifecycle
Operation string - (Updatable) LifeCycle Operation
- product string
- (Updatable) Product associated. Only applicable if type is PRODUCT.
- subjects string[]
- (Updatable) Provide subjects that need to be considered for the schedule.
- target
Id string - (Updatable) Provide the target if schedule is created against the target
- type string
- (Updatable) ActionGroup Type associated.
- resource_
id str - (Updatable) Provide the ID of the resource; Ex- fleetId.
- runbook_
id str - (Updatable) ID of the runbook
- application_
type str - (Updatable) Application Type associated. Only applicable if type is ENVIRONMENT.
- lifecycle_
operation str - (Updatable) LifeCycle Operation
- product str
- (Updatable) Product associated. Only applicable if type is PRODUCT.
- subjects Sequence[str]
- (Updatable) Provide subjects that need to be considered for the schedule.
- target_
id str - (Updatable) Provide the target if schedule is created against the target
- type str
- (Updatable) ActionGroup Type associated.
- resource
Id String - (Updatable) Provide the ID of the resource; Ex- fleetId.
- runbook
Id String - (Updatable) ID of the runbook
- application
Type String - (Updatable) Application Type associated. Only applicable if type is ENVIRONMENT.
- lifecycle
Operation String - (Updatable) LifeCycle Operation
- product String
- (Updatable) Product associated. Only applicable if type is PRODUCT.
- subjects List<String>
- (Updatable) Provide subjects that need to be considered for the schedule.
- target
Id String - (Updatable) Provide the target if schedule is created against the target
- type String
- (Updatable) ActionGroup Type associated.
SchedulerDefinitionRunBook, SchedulerDefinitionRunBookArgs
- Id string
- (Updatable) The ID of the Runbook
- Input
Parameters List<SchedulerDefinition Run Book Input Parameter> - (Updatable) Input Parameters for the Task
- Id string
- (Updatable) The ID of the Runbook
- Input
Parameters []SchedulerDefinition Run Book Input Parameter - (Updatable) Input Parameters for the Task
- id String
- (Updatable) The ID of the Runbook
- input
Parameters List<SchedulerDefinition Run Book Input Parameter> - (Updatable) Input Parameters for the Task
- id string
- (Updatable) The ID of the Runbook
- input
Parameters SchedulerDefinition Run Book Input Parameter[] - (Updatable) Input Parameters for the Task
- id str
- (Updatable) The ID of the Runbook
- input_
parameters Sequence[fleetappsmanagement.Scheduler Definition Run Book Input Parameter] - (Updatable) Input Parameters for the Task
- id String
- (Updatable) The ID of the Runbook
- 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[fleetappsmanagement.
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
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 if schedule type is Custom
- Maintenance
Window stringId - (Updatable) Provide MaintenanceWindowId if Schedule Type is Maintenance Window
- Recurrences string
- (Updatable) Recurrence rule specification if Schedule Type is Custom and 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 if schedule type is Custom
- Maintenance
Window stringId - (Updatable) Provide MaintenanceWindowId if Schedule Type is Maintenance Window
- Recurrences string
- (Updatable) Recurrence rule specification if Schedule Type is Custom and 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 if schedule type is Custom
- maintenance
Window StringId - (Updatable) Provide MaintenanceWindowId if Schedule Type is Maintenance Window
- recurrences String
- (Updatable) Recurrence rule specification if Schedule Type is Custom and 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 if schedule type is Custom
- maintenance
Window stringId - (Updatable) Provide MaintenanceWindowId if Schedule Type is Maintenance Window
- recurrences string
- (Updatable) Recurrence rule specification if Schedule Type is Custom and 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 if schedule type is Custom
- maintenance_
window_ strid - (Updatable) Provide MaintenanceWindowId if Schedule Type is Maintenance Window
- recurrences str
- (Updatable) Recurrence rule specification if Schedule Type is Custom and 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 if schedule type is Custom
- maintenance
Window StringId - (Updatable) Provide MaintenanceWindowId if Schedule Type is Maintenance Window
- recurrences String
- (Updatable) Recurrence rule specification if Schedule Type is Custom and 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.