1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ResourceScheduler
  5. Schedule
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.ResourceScheduler.Schedule

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This resource provides the Schedule resource in Oracle Cloud Infrastructure Resource Scheduler service.

    Creates a Schedule

    Create Schedule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Schedule(name: string, args: ScheduleArgs, opts?: CustomResourceOptions);
    @overload
    def Schedule(resource_name: str,
                 args: ScheduleArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Schedule(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 recurrence_details: Optional[str] = None,
                 compartment_id: Optional[str] = None,
                 recurrence_type: Optional[str] = None,
                 action: Optional[str] = None,
                 description: Optional[str] = None,
                 freeform_tags: Optional[Mapping[str, str]] = None,
                 display_name: Optional[str] = None,
                 defined_tags: Optional[Mapping[str, str]] = None,
                 resource_filters: Optional[Sequence[_resourcescheduler.ScheduleResourceFilterArgs]] = None,
                 resources: Optional[Sequence[_resourcescheduler.ScheduleResourceArgs]] = None,
                 state: Optional[str] = None,
                 time_ends: Optional[str] = None,
                 time_starts: Optional[str] = None)
    func NewSchedule(ctx *Context, name string, args ScheduleArgs, opts ...ResourceOption) (*Schedule, error)
    public Schedule(string name, ScheduleArgs args, CustomResourceOptions? opts = null)
    public Schedule(String name, ScheduleArgs args)
    public Schedule(String name, ScheduleArgs args, CustomResourceOptions options)
    
    type: oci:ResourceScheduler:Schedule
    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 ScheduleArgs
    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 ScheduleArgs
    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 ScheduleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ScheduleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ScheduleArgs
    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 ociScheduleResource = new Oci.ResourceScheduler.Schedule("ociScheduleResource", new()
    {
        RecurrenceDetails = "string",
        CompartmentId = "string",
        RecurrenceType = "string",
        Action = "string",
        Description = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        ResourceFilters = new[]
        {
            new Oci.ResourceScheduler.Inputs.ScheduleResourceFilterArgs
            {
                Attribute = "string",
                Condition = "string",
                ShouldIncludeChildCompartments = false,
                Values = new[]
                {
                    new Oci.ResourceScheduler.Inputs.ScheduleResourceFilterValueArgs
                    {
                        Namespace = "string",
                        TagKey = "string",
                        Value = "string",
                    },
                },
            },
        },
        Resources = new[]
        {
            new Oci.ResourceScheduler.Inputs.ScheduleResourceArgs
            {
                Id = "string",
                Metadata = 
                {
                    { "string", "string" },
                },
            },
        },
        State = "string",
        TimeEnds = "string",
        TimeStarts = "string",
    });
    
    example, err := ResourceScheduler.NewSchedule(ctx, "ociScheduleResource", &ResourceScheduler.ScheduleArgs{
    	RecurrenceDetails: pulumi.String("string"),
    	CompartmentId:     pulumi.String("string"),
    	RecurrenceType:    pulumi.String("string"),
    	Action:            pulumi.String("string"),
    	Description:       pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DisplayName: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	ResourceFilters: resourcescheduler.ScheduleResourceFilterArray{
    		&resourcescheduler.ScheduleResourceFilterArgs{
    			Attribute:                      pulumi.String("string"),
    			Condition:                      pulumi.String("string"),
    			ShouldIncludeChildCompartments: pulumi.Bool(false),
    			Values: resourcescheduler.ScheduleResourceFilterValueArray{
    				&resourcescheduler.ScheduleResourceFilterValueArgs{
    					Namespace: pulumi.String("string"),
    					TagKey:    pulumi.String("string"),
    					Value:     pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Resources: resourcescheduler.ScheduleResourceArray{
    		&resourcescheduler.ScheduleResourceArgs{
    			Id: pulumi.String("string"),
    			Metadata: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    		},
    	},
    	State:      pulumi.String("string"),
    	TimeEnds:   pulumi.String("string"),
    	TimeStarts: pulumi.String("string"),
    })
    
    var ociScheduleResource = new Schedule("ociScheduleResource", ScheduleArgs.builder()
        .recurrenceDetails("string")
        .compartmentId("string")
        .recurrenceType("string")
        .action("string")
        .description("string")
        .freeformTags(Map.of("string", "string"))
        .displayName("string")
        .definedTags(Map.of("string", "string"))
        .resourceFilters(ScheduleResourceFilterArgs.builder()
            .attribute("string")
            .condition("string")
            .shouldIncludeChildCompartments(false)
            .values(ScheduleResourceFilterValueArgs.builder()
                .namespace("string")
                .tagKey("string")
                .value("string")
                .build())
            .build())
        .resources(ScheduleResourceArgs.builder()
            .id("string")
            .metadata(Map.of("string", "string"))
            .build())
        .state("string")
        .timeEnds("string")
        .timeStarts("string")
        .build());
    
    oci_schedule_resource = oci.resource_scheduler.Schedule("ociScheduleResource",
        recurrence_details="string",
        compartment_id="string",
        recurrence_type="string",
        action="string",
        description="string",
        freeform_tags={
            "string": "string",
        },
        display_name="string",
        defined_tags={
            "string": "string",
        },
        resource_filters=[{
            "attribute": "string",
            "condition": "string",
            "should_include_child_compartments": False,
            "values": [{
                "namespace": "string",
                "tag_key": "string",
                "value": "string",
            }],
        }],
        resources=[{
            "id": "string",
            "metadata": {
                "string": "string",
            },
        }],
        state="string",
        time_ends="string",
        time_starts="string")
    
    const ociScheduleResource = new oci.resourcescheduler.Schedule("ociScheduleResource", {
        recurrenceDetails: "string",
        compartmentId: "string",
        recurrenceType: "string",
        action: "string",
        description: "string",
        freeformTags: {
            string: "string",
        },
        displayName: "string",
        definedTags: {
            string: "string",
        },
        resourceFilters: [{
            attribute: "string",
            condition: "string",
            shouldIncludeChildCompartments: false,
            values: [{
                namespace: "string",
                tagKey: "string",
                value: "string",
            }],
        }],
        resources: [{
            id: "string",
            metadata: {
                string: "string",
            },
        }],
        state: "string",
        timeEnds: "string",
        timeStarts: "string",
    });
    
    type: oci:ResourceScheduler:Schedule
    properties:
        action: string
        compartmentId: string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        recurrenceDetails: string
        recurrenceType: string
        resourceFilters:
            - attribute: string
              condition: string
              shouldIncludeChildCompartments: false
              values:
                - namespace: string
                  tagKey: string
                  value: string
        resources:
            - id: string
              metadata:
                string: string
        state: string
        timeEnds: string
        timeStarts: string
    

    Schedule 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 Schedule resource accepts the following input properties:

    Action string
    (Updatable) This is the action that will be executed by the schedule.
    CompartmentId string
    The OCID of the compartment in which the schedule is created
    RecurrenceDetails string
    (Updatable) This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field. Example: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH;BYHOUR=10;INTERVAL=1
    RecurrenceType string
    (Updatable) Type of recurrence of a schedule. Could be set to ICAL, CRON
    DefinedTags Dictionary<string, string>
    (Updatable) These are defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) This is the description of the schedule.
    DisplayName string
    (Updatable) This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable.
    FreeformTags Dictionary<string, string>
    (Updatable) These are free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    ResourceFilters List<ScheduleResourceFilter>
    (Updatable) This is a list of resources filters. The schedule will be applied to resources matching all of them.
    Resources List<ScheduleResource>
    (Updatable) This is the list of resources to which the scheduled operation is applied.
    State string

    (Updatable) The target state for the Schedule. Could be set to ACTIVE or INACTIVE.

    ** 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

    TimeEnds string
    (Updatable) This is the date and time the schedule ends, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    TimeStarts string
    (Updatable) This is the date and time the schedule starts, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    Action string
    (Updatable) This is the action that will be executed by the schedule.
    CompartmentId string
    The OCID of the compartment in which the schedule is created
    RecurrenceDetails string
    (Updatable) This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field. Example: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH;BYHOUR=10;INTERVAL=1
    RecurrenceType string
    (Updatable) Type of recurrence of a schedule. Could be set to ICAL, CRON
    DefinedTags map[string]string
    (Updatable) These are defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) This is the description of the schedule.
    DisplayName string
    (Updatable) This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable.
    FreeformTags map[string]string
    (Updatable) These are free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    ResourceFilters []ScheduleResourceFilterArgs
    (Updatable) This is a list of resources filters. The schedule will be applied to resources matching all of them.
    Resources []ScheduleResourceArgs
    (Updatable) This is the list of resources to which the scheduled operation is applied.
    State string

    (Updatable) The target state for the Schedule. Could be set to ACTIVE or INACTIVE.

    ** 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

    TimeEnds string
    (Updatable) This is the date and time the schedule ends, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    TimeStarts string
    (Updatable) This is the date and time the schedule starts, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    action String
    (Updatable) This is the action that will be executed by the schedule.
    compartmentId String
    The OCID of the compartment in which the schedule is created
    recurrenceDetails String
    (Updatable) This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field. Example: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH;BYHOUR=10;INTERVAL=1
    recurrenceType String
    (Updatable) Type of recurrence of a schedule. Could be set to ICAL, CRON
    definedTags Map<String,String>
    (Updatable) These are defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) This is the description of the schedule.
    displayName String
    (Updatable) This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable.
    freeformTags Map<String,String>
    (Updatable) These are free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    resourceFilters List<ScheduleResourceFilter>
    (Updatable) This is a list of resources filters. The schedule will be applied to resources matching all of them.
    resources List<ScheduleResource>
    (Updatable) This is the list of resources to which the scheduled operation is applied.
    state String

    (Updatable) The target state for the Schedule. Could be set to ACTIVE or INACTIVE.

    ** 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

    timeEnds String
    (Updatable) This is the date and time the schedule ends, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    timeStarts String
    (Updatable) This is the date and time the schedule starts, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    action string
    (Updatable) This is the action that will be executed by the schedule.
    compartmentId string
    The OCID of the compartment in which the schedule is created
    recurrenceDetails string
    (Updatable) This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field. Example: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH;BYHOUR=10;INTERVAL=1
    recurrenceType string
    (Updatable) Type of recurrence of a schedule. Could be set to ICAL, CRON
    definedTags {[key: string]: string}
    (Updatable) These are defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) This is the description of the schedule.
    displayName string
    (Updatable) This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable.
    freeformTags {[key: string]: string}
    (Updatable) These are free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    resourceFilters ScheduleResourceFilter[]
    (Updatable) This is a list of resources filters. The schedule will be applied to resources matching all of them.
    resources ScheduleResource[]
    (Updatable) This is the list of resources to which the scheduled operation is applied.
    state string

    (Updatable) The target state for the Schedule. Could be set to ACTIVE or INACTIVE.

    ** 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

    timeEnds string
    (Updatable) This is the date and time the schedule ends, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    timeStarts string
    (Updatable) This is the date and time the schedule starts, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    action str
    (Updatable) This is the action that will be executed by the schedule.
    compartment_id str
    The OCID of the compartment in which the schedule is created
    recurrence_details str
    (Updatable) This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field. Example: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH;BYHOUR=10;INTERVAL=1
    recurrence_type str
    (Updatable) Type of recurrence of a schedule. Could be set to ICAL, CRON
    defined_tags Mapping[str, str]
    (Updatable) These are defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) This is the description of the schedule.
    display_name str
    (Updatable) This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable.
    freeform_tags Mapping[str, str]
    (Updatable) These are free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    resource_filters Sequence[resourcescheduler.ScheduleResourceFilterArgs]
    (Updatable) This is a list of resources filters. The schedule will be applied to resources matching all of them.
    resources Sequence[resourcescheduler.ScheduleResourceArgs]
    (Updatable) This is the list of resources to which the scheduled operation is applied.
    state str

    (Updatable) The target state for the Schedule. Could be set to ACTIVE or INACTIVE.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    time_ends str
    (Updatable) This is the date and time the schedule ends, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    time_starts str
    (Updatable) This is the date and time the schedule starts, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    action String
    (Updatable) This is the action that will be executed by the schedule.
    compartmentId String
    The OCID of the compartment in which the schedule is created
    recurrenceDetails String
    (Updatable) This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field. Example: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH;BYHOUR=10;INTERVAL=1
    recurrenceType String
    (Updatable) Type of recurrence of a schedule. Could be set to ICAL, CRON
    definedTags Map<String>
    (Updatable) These are defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) This is the description of the schedule.
    displayName String
    (Updatable) This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable.
    freeformTags Map<String>
    (Updatable) These are free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    resourceFilters List<Property Map>
    (Updatable) This is a list of resources filters. The schedule will be applied to resources matching all of them.
    resources List<Property Map>
    (Updatable) This is the list of resources to which the scheduled operation is applied.
    state String

    (Updatable) The target state for the Schedule. Could be set to ACTIVE or INACTIVE.

    ** 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

    timeEnds String
    (Updatable) This is the date and time the schedule ends, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    timeStarts String
    (Updatable) This is the date and time the schedule starts, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Schedule resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    SystemTags Dictionary<string, string>
    These are system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    This is the date and time the schedule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeLastRun string
    This is the date and time the schedule runs last time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeNextRun string
    This is the date and time the schedule run the next time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    This is the date and time the schedule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    Id string
    The provider-assigned unique ID for this managed resource.
    SystemTags map[string]string
    These are system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    This is the date and time the schedule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeLastRun string
    This is the date and time the schedule runs last time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeNextRun string
    This is the date and time the schedule run the next time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    This is the date and time the schedule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    systemTags Map<String,String>
    These are system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    This is the date and time the schedule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeLastRun String
    This is the date and time the schedule runs last time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeNextRun String
    This is the date and time the schedule run the next time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    This is the date and time the schedule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id string
    The provider-assigned unique ID for this managed resource.
    systemTags {[key: string]: string}
    These are system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    This is the date and time the schedule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeLastRun string
    This is the date and time the schedule runs last time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeNextRun string
    This is the date and time the schedule run the next time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    This is the date and time the schedule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id str
    The provider-assigned unique ID for this managed resource.
    system_tags Mapping[str, str]
    These are system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    This is the date and time the schedule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_last_run str
    This is the date and time the schedule runs last time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_next_run str
    This is the date and time the schedule run the next time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    This is the date and time the schedule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    systemTags Map<String>
    These are system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    This is the date and time the schedule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeLastRun String
    This is the date and time the schedule runs last time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeNextRun String
    This is the date and time the schedule run the next time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    This is the date and time the schedule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

    Look up Existing Schedule Resource

    Get an existing Schedule 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?: ScheduleState, opts?: CustomResourceOptions): Schedule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action: Optional[str] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            recurrence_details: Optional[str] = None,
            recurrence_type: Optional[str] = None,
            resource_filters: Optional[Sequence[_resourcescheduler.ScheduleResourceFilterArgs]] = None,
            resources: Optional[Sequence[_resourcescheduler.ScheduleResourceArgs]] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_ends: Optional[str] = None,
            time_last_run: Optional[str] = None,
            time_next_run: Optional[str] = None,
            time_starts: Optional[str] = None,
            time_updated: Optional[str] = None) -> Schedule
    func GetSchedule(ctx *Context, name string, id IDInput, state *ScheduleState, opts ...ResourceOption) (*Schedule, error)
    public static Schedule Get(string name, Input<string> id, ScheduleState? state, CustomResourceOptions? opts = null)
    public static Schedule get(String name, Output<String> id, ScheduleState 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.
    The following state arguments are supported:
    Action string
    (Updatable) This is the action that will be executed by the schedule.
    CompartmentId string
    The OCID of the compartment in which the schedule is created
    DefinedTags Dictionary<string, string>
    (Updatable) These are defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) This is the description of the schedule.
    DisplayName string
    (Updatable) This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable.
    FreeformTags Dictionary<string, string>
    (Updatable) These are free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    RecurrenceDetails string
    (Updatable) This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field. Example: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH;BYHOUR=10;INTERVAL=1
    RecurrenceType string
    (Updatable) Type of recurrence of a schedule. Could be set to ICAL, CRON
    ResourceFilters List<ScheduleResourceFilter>
    (Updatable) This is a list of resources filters. The schedule will be applied to resources matching all of them.
    Resources List<ScheduleResource>
    (Updatable) This is the list of resources to which the scheduled operation is applied.
    State string

    (Updatable) The target state for the Schedule. Could be set to ACTIVE or INACTIVE.

    ** 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

    SystemTags Dictionary<string, string>
    These are system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    This is the date and time the schedule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeEnds string
    (Updatable) This is the date and time the schedule ends, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    TimeLastRun string
    This is the date and time the schedule runs last time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeNextRun string
    This is the date and time the schedule run the next time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeStarts string
    (Updatable) This is the date and time the schedule starts, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    This is the date and time the schedule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    Action string
    (Updatable) This is the action that will be executed by the schedule.
    CompartmentId string
    The OCID of the compartment in which the schedule is created
    DefinedTags map[string]string
    (Updatable) These are defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) This is the description of the schedule.
    DisplayName string
    (Updatable) This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable.
    FreeformTags map[string]string
    (Updatable) These are free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    RecurrenceDetails string
    (Updatable) This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field. Example: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH;BYHOUR=10;INTERVAL=1
    RecurrenceType string
    (Updatable) Type of recurrence of a schedule. Could be set to ICAL, CRON
    ResourceFilters []ScheduleResourceFilterArgs
    (Updatable) This is a list of resources filters. The schedule will be applied to resources matching all of them.
    Resources []ScheduleResourceArgs
    (Updatable) This is the list of resources to which the scheduled operation is applied.
    State string

    (Updatable) The target state for the Schedule. Could be set to ACTIVE or INACTIVE.

    ** 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

    SystemTags map[string]string
    These are system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    This is the date and time the schedule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeEnds string
    (Updatable) This is the date and time the schedule ends, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    TimeLastRun string
    This is the date and time the schedule runs last time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeNextRun string
    This is the date and time the schedule run the next time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeStarts string
    (Updatable) This is the date and time the schedule starts, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    This is the date and time the schedule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    action String
    (Updatable) This is the action that will be executed by the schedule.
    compartmentId String
    The OCID of the compartment in which the schedule is created
    definedTags Map<String,String>
    (Updatable) These are defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) This is the description of the schedule.
    displayName String
    (Updatable) This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable.
    freeformTags Map<String,String>
    (Updatable) These are free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    recurrenceDetails String
    (Updatable) This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field. Example: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH;BYHOUR=10;INTERVAL=1
    recurrenceType String
    (Updatable) Type of recurrence of a schedule. Could be set to ICAL, CRON
    resourceFilters List<ScheduleResourceFilter>
    (Updatable) This is a list of resources filters. The schedule will be applied to resources matching all of them.
    resources List<ScheduleResource>
    (Updatable) This is the list of resources to which the scheduled operation is applied.
    state String

    (Updatable) The target state for the Schedule. Could be set to ACTIVE or INACTIVE.

    ** 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

    systemTags Map<String,String>
    These are system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    This is the date and time the schedule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeEnds String
    (Updatable) This is the date and time the schedule ends, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    timeLastRun String
    This is the date and time the schedule runs last time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeNextRun String
    This is the date and time the schedule run the next time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeStarts String
    (Updatable) This is the date and time the schedule starts, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    This is the date and time the schedule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    action string
    (Updatable) This is the action that will be executed by the schedule.
    compartmentId string
    The OCID of the compartment in which the schedule is created
    definedTags {[key: string]: string}
    (Updatable) These are defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) This is the description of the schedule.
    displayName string
    (Updatable) This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable.
    freeformTags {[key: string]: string}
    (Updatable) These are free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    recurrenceDetails string
    (Updatable) This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field. Example: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH;BYHOUR=10;INTERVAL=1
    recurrenceType string
    (Updatable) Type of recurrence of a schedule. Could be set to ICAL, CRON
    resourceFilters ScheduleResourceFilter[]
    (Updatable) This is a list of resources filters. The schedule will be applied to resources matching all of them.
    resources ScheduleResource[]
    (Updatable) This is the list of resources to which the scheduled operation is applied.
    state string

    (Updatable) The target state for the Schedule. Could be set to ACTIVE or INACTIVE.

    ** 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

    systemTags {[key: string]: string}
    These are system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    This is the date and time the schedule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeEnds string
    (Updatable) This is the date and time the schedule ends, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    timeLastRun string
    This is the date and time the schedule runs last time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeNextRun string
    This is the date and time the schedule run the next time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeStarts string
    (Updatable) This is the date and time the schedule starts, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    This is the date and time the schedule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    action str
    (Updatable) This is the action that will be executed by the schedule.
    compartment_id str
    The OCID of the compartment in which the schedule is created
    defined_tags Mapping[str, str]
    (Updatable) These are defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) This is the description of the schedule.
    display_name str
    (Updatable) This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable.
    freeform_tags Mapping[str, str]
    (Updatable) These are free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    recurrence_details str
    (Updatable) This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field. Example: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH;BYHOUR=10;INTERVAL=1
    recurrence_type str
    (Updatable) Type of recurrence of a schedule. Could be set to ICAL, CRON
    resource_filters Sequence[resourcescheduler.ScheduleResourceFilterArgs]
    (Updatable) This is a list of resources filters. The schedule will be applied to resources matching all of them.
    resources Sequence[resourcescheduler.ScheduleResourceArgs]
    (Updatable) This is the list of resources to which the scheduled operation is applied.
    state str

    (Updatable) The target state for the Schedule. Could be set to ACTIVE or INACTIVE.

    ** 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

    system_tags Mapping[str, str]
    These are system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    This is the date and time the schedule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_ends str
    (Updatable) This is the date and time the schedule ends, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    time_last_run str
    This is the date and time the schedule runs last time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_next_run str
    This is the date and time the schedule run the next time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_starts str
    (Updatable) This is the date and time the schedule starts, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    time_updated str
    This is the date and time the schedule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    action String
    (Updatable) This is the action that will be executed by the schedule.
    compartmentId String
    The OCID of the compartment in which the schedule is created
    definedTags Map<String>
    (Updatable) These are defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) This is the description of the schedule.
    displayName String
    (Updatable) This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable.
    freeformTags Map<String>
    (Updatable) These are free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    recurrenceDetails String
    (Updatable) This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field. Example: FREQ=WEEKLY;BYDAY=MO,TU,WE,TH;BYHOUR=10;INTERVAL=1
    recurrenceType String
    (Updatable) Type of recurrence of a schedule. Could be set to ICAL, CRON
    resourceFilters List<Property Map>
    (Updatable) This is a list of resources filters. The schedule will be applied to resources matching all of them.
    resources List<Property Map>
    (Updatable) This is the list of resources to which the scheduled operation is applied.
    state String

    (Updatable) The target state for the Schedule. Could be set to ACTIVE or INACTIVE.

    ** 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

    systemTags Map<String>
    These are system tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    This is the date and time the schedule was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeEnds String
    (Updatable) This is the date and time the schedule ends, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    timeLastRun String
    This is the date and time the schedule runs last time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeNextRun String
    This is the date and time the schedule run the next time, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeStarts String
    (Updatable) This is the date and time the schedule starts, in the format defined by RFC 3339 Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    This is the date and time the schedule was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

    Supporting Types

    ScheduleResource, ScheduleResourceArgs

    Id string
    (Updatable) This is the resource OCID.
    Metadata Dictionary<string, string>

    (Updatable) This is additional information that helps to identity the resource for the schedule.

    { "id": "<OCID_of_bucket>" "metadata": { "namespaceName": "sampleNamespace", "bucketName": "sampleBucket" } }

    Id string
    (Updatable) This is the resource OCID.
    Metadata map[string]string

    (Updatable) This is additional information that helps to identity the resource for the schedule.

    { "id": "<OCID_of_bucket>" "metadata": { "namespaceName": "sampleNamespace", "bucketName": "sampleBucket" } }

    id String
    (Updatable) This is the resource OCID.
    metadata Map<String,String>

    (Updatable) This is additional information that helps to identity the resource for the schedule.

    { "id": "<OCID_of_bucket>" "metadata": { "namespaceName": "sampleNamespace", "bucketName": "sampleBucket" } }

    id string
    (Updatable) This is the resource OCID.
    metadata {[key: string]: string}

    (Updatable) This is additional information that helps to identity the resource for the schedule.

    { "id": "<OCID_of_bucket>" "metadata": { "namespaceName": "sampleNamespace", "bucketName": "sampleBucket" } }

    id str
    (Updatable) This is the resource OCID.
    metadata Mapping[str, str]

    (Updatable) This is additional information that helps to identity the resource for the schedule.

    { "id": "<OCID_of_bucket>" "metadata": { "namespaceName": "sampleNamespace", "bucketName": "sampleBucket" } }

    id String
    (Updatable) This is the resource OCID.
    metadata Map<String>

    (Updatable) This is additional information that helps to identity the resource for the schedule.

    { "id": "<OCID_of_bucket>" "metadata": { "namespaceName": "sampleNamespace", "bucketName": "sampleBucket" } }

    ScheduleResourceFilter, ScheduleResourceFilterArgs

    Attribute string
    (Updatable) This is the resource attribute on which the threshold is defined. We support 5 different types of attributes: DEFINED_TAGS, COMPARTMENT_ID, TIME_CREATED, LIFECYCLE_STATE and RESOURCE_TYPE.
    Condition string
    This is the condition for the filter in comparison to its creation time.
    ShouldIncludeChildCompartments bool
    This sets whether to include child compartments.
    Values List<ScheduleResourceFilterValue>
    (Updatable) This is a collection of resource filter values, different types of filter has different value format, see below:

    • When attribute="DEFINED_TAGS":
    Attribute string
    (Updatable) This is the resource attribute on which the threshold is defined. We support 5 different types of attributes: DEFINED_TAGS, COMPARTMENT_ID, TIME_CREATED, LIFECYCLE_STATE and RESOURCE_TYPE.
    Condition string
    This is the condition for the filter in comparison to its creation time.
    ShouldIncludeChildCompartments bool
    This sets whether to include child compartments.
    Values []ScheduleResourceFilterValue
    (Updatable) This is a collection of resource filter values, different types of filter has different value format, see below:

    • When attribute="DEFINED_TAGS":
    attribute String
    (Updatable) This is the resource attribute on which the threshold is defined. We support 5 different types of attributes: DEFINED_TAGS, COMPARTMENT_ID, TIME_CREATED, LIFECYCLE_STATE and RESOURCE_TYPE.
    condition String
    This is the condition for the filter in comparison to its creation time.
    shouldIncludeChildCompartments Boolean
    This sets whether to include child compartments.
    values List<ScheduleResourceFilterValue>
    (Updatable) This is a collection of resource filter values, different types of filter has different value format, see below:

    • When attribute="DEFINED_TAGS":
    attribute string
    (Updatable) This is the resource attribute on which the threshold is defined. We support 5 different types of attributes: DEFINED_TAGS, COMPARTMENT_ID, TIME_CREATED, LIFECYCLE_STATE and RESOURCE_TYPE.
    condition string
    This is the condition for the filter in comparison to its creation time.
    shouldIncludeChildCompartments boolean
    This sets whether to include child compartments.
    values ScheduleResourceFilterValue[]
    (Updatable) This is a collection of resource filter values, different types of filter has different value format, see below:

    • When attribute="DEFINED_TAGS":
    attribute str
    (Updatable) This is the resource attribute on which the threshold is defined. We support 5 different types of attributes: DEFINED_TAGS, COMPARTMENT_ID, TIME_CREATED, LIFECYCLE_STATE and RESOURCE_TYPE.
    condition str
    This is the condition for the filter in comparison to its creation time.
    should_include_child_compartments bool
    This sets whether to include child compartments.
    values Sequence[resourcescheduler.ScheduleResourceFilterValue]
    (Updatable) This is a collection of resource filter values, different types of filter has different value format, see below:

    • When attribute="DEFINED_TAGS":
    attribute String
    (Updatable) This is the resource attribute on which the threshold is defined. We support 5 different types of attributes: DEFINED_TAGS, COMPARTMENT_ID, TIME_CREATED, LIFECYCLE_STATE and RESOURCE_TYPE.
    condition String
    This is the condition for the filter in comparison to its creation time.
    shouldIncludeChildCompartments Boolean
    This sets whether to include child compartments.
    values List<Property Map>
    (Updatable) This is a collection of resource filter values, different types of filter has different value format, see below:

    • When attribute="DEFINED_TAGS":

    ScheduleResourceFilterValue, ScheduleResourceFilterValueArgs

    Namespace string
    This is the namespace of the defined tag.
    TagKey string
    This is the key of the defined tag.
    Value string
    This is the lifecycle state value used for filtering.
    Namespace string
    This is the namespace of the defined tag.
    TagKey string
    This is the key of the defined tag.
    Value string
    This is the lifecycle state value used for filtering.
    namespace String
    This is the namespace of the defined tag.
    tagKey String
    This is the key of the defined tag.
    value String
    This is the lifecycle state value used for filtering.
    namespace string
    This is the namespace of the defined tag.
    tagKey string
    This is the key of the defined tag.
    value string
    This is the lifecycle state value used for filtering.
    namespace str
    This is the namespace of the defined tag.
    tag_key str
    This is the key of the defined tag.
    value str
    This is the lifecycle state value used for filtering.
    namespace String
    This is the namespace of the defined tag.
    tagKey String
    This is the key of the defined tag.
    value String
    This is the lifecycle state value used for filtering.

    Import

    Schedules can be imported using the id, e.g.

    $ pulumi import oci:ResourceScheduler/schedule:Schedule test_schedule "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.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi