Schedule

Create a Schedule Resource

def Schedule(resource_name, opts=None, description=None, launch_expiration_time=None, launch_time=None, recurrence_end_time=None, recurrence_type=None, recurrence_value=None, scheduled_action=None, scheduled_task_name=None, task_enabled=None, __props__=None);
func NewSchedule(ctx *Context, name string, args ScheduleArgs, opts ...ResourceOption) (*Schedule, error)
public Schedule(string name, ScheduleArgs args, CustomResourceOptions? opts = null)
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.
opts ResourceOptions
A bag of options that control this 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.

Schedule Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Schedule resource accepts the following input properties:

LaunchTime string
ScheduledAction string
Description string
LaunchExpirationTime int
RecurrenceEndTime string
RecurrenceType string
RecurrenceValue string
ScheduledTaskName string
TaskEnabled bool
LaunchTime string
ScheduledAction string
Description string
LaunchExpirationTime int
RecurrenceEndTime string
RecurrenceType string
RecurrenceValue string
ScheduledTaskName string
TaskEnabled bool
launchTime string
scheduledAction string
description string
launchExpirationTime number
recurrenceEndTime string
recurrenceType string
recurrenceValue string
scheduledTaskName string
taskEnabled boolean
launch_time str
scheduled_action str
description str
launch_expiration_time float
recurrence_end_time str
recurrence_type str
recurrence_value str
scheduled_task_name str
task_enabled bool

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.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an 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
static get(resource_name, id, opts=None, description=None, launch_expiration_time=None, launch_time=None, recurrence_end_time=None, recurrence_type=None, recurrence_value=None, scheduled_action=None, scheduled_task_name=None, task_enabled=None, __props__=None);
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)
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.

The following state arguments are supported:

Description string
LaunchExpirationTime int
LaunchTime string
RecurrenceEndTime string
RecurrenceType string
RecurrenceValue string
ScheduledAction string
ScheduledTaskName string
TaskEnabled bool
Description string
LaunchExpirationTime int
LaunchTime string
RecurrenceEndTime string
RecurrenceType string
RecurrenceValue string
ScheduledAction string
ScheduledTaskName string
TaskEnabled bool
description string
launchExpirationTime number
launchTime string
recurrenceEndTime string
recurrenceType string
recurrenceValue string
scheduledAction string
scheduledTaskName string
taskEnabled boolean
description str
launch_expiration_time float
launch_time str
recurrence_end_time str
recurrence_type str
recurrence_value str
scheduled_action str
scheduled_task_name str
task_enabled bool

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.