azure-native.automation.Schedule
Explore with Pulumi AI
Definition of the schedule. Azure REST API version: 2022-08-08. Prior API version in Azure Native 1.x: 2019-06-01.
Other available API versions: 2023-05-15-preview, 2023-11-01, 2024-10-23.
Example Usage
Create or update a schedule
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var schedule = new AzureNative.Automation.Schedule("schedule", new()
    {
        AdvancedSchedule = null,
        AutomationAccountName = "myAutomationAccount33",
        Description = "my description of schedule goes here",
        ExpiryTime = "2017-04-01T17:28:57.2494819Z",
        Frequency = AzureNative.Automation.ScheduleFrequency.Hour,
        Interval = 1,
        Name = "mySchedule",
        ResourceGroupName = "rg",
        ScheduleName = "mySchedule",
        StartTime = "2017-03-27T17:28:57.2494819Z",
    });
});
package main
import (
	automation "github.com/pulumi/pulumi-azure-native-sdk/automation/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := automation.NewSchedule(ctx, "schedule", &automation.ScheduleArgs{
			AdvancedSchedule:      &automation.AdvancedScheduleArgs{},
			AutomationAccountName: pulumi.String("myAutomationAccount33"),
			Description:           pulumi.String("my description of schedule goes here"),
			ExpiryTime:            pulumi.String("2017-04-01T17:28:57.2494819Z"),
			Frequency:             pulumi.String(automation.ScheduleFrequencyHour),
			Interval:              pulumi.Any(1),
			Name:                  pulumi.String("mySchedule"),
			ResourceGroupName:     pulumi.String("rg"),
			ScheduleName:          pulumi.String("mySchedule"),
			StartTime:             pulumi.String("2017-03-27T17:28:57.2494819Z"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.automation.Schedule;
import com.pulumi.azurenative.automation.ScheduleArgs;
import com.pulumi.azurenative.automation.inputs.AdvancedScheduleArgs;
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 schedule = new Schedule("schedule", ScheduleArgs.builder()
            .advancedSchedule()
            .automationAccountName("myAutomationAccount33")
            .description("my description of schedule goes here")
            .expiryTime("2017-04-01T17:28:57.2494819Z")
            .frequency("Hour")
            .interval(1)
            .name("mySchedule")
            .resourceGroupName("rg")
            .scheduleName("mySchedule")
            .startTime("2017-03-27T17:28:57.2494819Z")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const schedule = new azure_native.automation.Schedule("schedule", {
    advancedSchedule: {},
    automationAccountName: "myAutomationAccount33",
    description: "my description of schedule goes here",
    expiryTime: "2017-04-01T17:28:57.2494819Z",
    frequency: azure_native.automation.ScheduleFrequency.Hour,
    interval: 1,
    name: "mySchedule",
    resourceGroupName: "rg",
    scheduleName: "mySchedule",
    startTime: "2017-03-27T17:28:57.2494819Z",
});
import pulumi
import pulumi_azure_native as azure_native
schedule = azure_native.automation.Schedule("schedule",
    advanced_schedule={},
    automation_account_name="myAutomationAccount33",
    description="my description of schedule goes here",
    expiry_time="2017-04-01T17:28:57.2494819Z",
    frequency=azure_native.automation.ScheduleFrequency.HOUR,
    interval=1,
    name="mySchedule",
    resource_group_name="rg",
    schedule_name="mySchedule",
    start_time="2017-03-27T17:28:57.2494819Z")
resources:
  schedule:
    type: azure-native:automation:Schedule
    properties:
      advancedSchedule: {}
      automationAccountName: myAutomationAccount33
      description: my description of schedule goes here
      expiryTime: 2017-04-01T17:28:57.2494819Z
      frequency: Hour
      interval: 1
      name: mySchedule
      resourceGroupName: rg
      scheduleName: mySchedule
      startTime: 2017-03-27T17:28:57.2494819Z
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,
             automation_account_name: Optional[str] = None,
             frequency: Optional[Union[str, ScheduleFrequency]] = None,
             name: Optional[str] = None,
             resource_group_name: Optional[str] = None,
             start_time: Optional[str] = None,
             advanced_schedule: Optional[AdvancedScheduleArgs] = None,
             description: Optional[str] = None,
             expiry_time: Optional[str] = None,
             interval: Optional[Any] = None,
             schedule_name: Optional[str] = None,
             time_zone: 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: azure-native:automation: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 scheduleResource = new AzureNative.Automation.Schedule("scheduleResource", new()
{
    AutomationAccountName = "string",
    Frequency = "string",
    Name = "string",
    ResourceGroupName = "string",
    StartTime = "string",
    AdvancedSchedule = new AzureNative.Automation.Inputs.AdvancedScheduleArgs
    {
        MonthDays = new[]
        {
            0,
        },
        MonthlyOccurrences = new[]
        {
            new AzureNative.Automation.Inputs.AdvancedScheduleMonthlyOccurrenceArgs
            {
                Day = "string",
                Occurrence = 0,
            },
        },
        WeekDays = new[]
        {
            "string",
        },
    },
    Description = "string",
    ExpiryTime = "string",
    Interval = "any",
    ScheduleName = "string",
    TimeZone = "string",
});
example, err := automation.NewSchedule(ctx, "scheduleResource", &automation.ScheduleArgs{
	AutomationAccountName: pulumi.String("string"),
	Frequency:             pulumi.String("string"),
	Name:                  pulumi.String("string"),
	ResourceGroupName:     pulumi.String("string"),
	StartTime:             pulumi.String("string"),
	AdvancedSchedule: &automation.AdvancedScheduleArgs{
		MonthDays: pulumi.IntArray{
			pulumi.Int(0),
		},
		MonthlyOccurrences: automation.AdvancedScheduleMonthlyOccurrenceArray{
			&automation.AdvancedScheduleMonthlyOccurrenceArgs{
				Day:        pulumi.String("string"),
				Occurrence: pulumi.Int(0),
			},
		},
		WeekDays: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	Description:  pulumi.String("string"),
	ExpiryTime:   pulumi.String("string"),
	Interval:     pulumi.Any("any"),
	ScheduleName: pulumi.String("string"),
	TimeZone:     pulumi.String("string"),
})
var scheduleResource = new Schedule("scheduleResource", ScheduleArgs.builder()
    .automationAccountName("string")
    .frequency("string")
    .name("string")
    .resourceGroupName("string")
    .startTime("string")
    .advancedSchedule(AdvancedScheduleArgs.builder()
        .monthDays(0)
        .monthlyOccurrences(AdvancedScheduleMonthlyOccurrenceArgs.builder()
            .day("string")
            .occurrence(0)
            .build())
        .weekDays("string")
        .build())
    .description("string")
    .expiryTime("string")
    .interval("any")
    .scheduleName("string")
    .timeZone("string")
    .build());
schedule_resource = azure_native.automation.Schedule("scheduleResource",
    automation_account_name="string",
    frequency="string",
    name="string",
    resource_group_name="string",
    start_time="string",
    advanced_schedule={
        "month_days": [0],
        "monthly_occurrences": [{
            "day": "string",
            "occurrence": 0,
        }],
        "week_days": ["string"],
    },
    description="string",
    expiry_time="string",
    interval="any",
    schedule_name="string",
    time_zone="string")
const scheduleResource = new azure_native.automation.Schedule("scheduleResource", {
    automationAccountName: "string",
    frequency: "string",
    name: "string",
    resourceGroupName: "string",
    startTime: "string",
    advancedSchedule: {
        monthDays: [0],
        monthlyOccurrences: [{
            day: "string",
            occurrence: 0,
        }],
        weekDays: ["string"],
    },
    description: "string",
    expiryTime: "string",
    interval: "any",
    scheduleName: "string",
    timeZone: "string",
});
type: azure-native:automation:Schedule
properties:
    advancedSchedule:
        monthDays:
            - 0
        monthlyOccurrences:
            - day: string
              occurrence: 0
        weekDays:
            - string
    automationAccountName: string
    description: string
    expiryTime: string
    frequency: string
    interval: any
    name: string
    resourceGroupName: string
    scheduleName: string
    startTime: string
    timeZone: 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:
- AutomationAccount stringName 
- The name of the automation account.
- Frequency
string | Pulumi.Azure Native. Automation. Schedule Frequency 
- Gets or sets the frequency of the schedule.
- Name string
- Gets or sets the name of the Schedule.
- ResourceGroup stringName 
- Name of an Azure Resource group.
- StartTime string
- Gets or sets the start time of the schedule.
- AdvancedSchedule Pulumi.Azure Native. Automation. Inputs. Advanced Schedule 
- Gets or sets the AdvancedSchedule.
- Description string
- Gets or sets the description of the schedule.
- ExpiryTime string
- Gets or sets the end time of the schedule.
- Interval object
- Gets or sets the interval of the schedule.
- ScheduleName string
- The schedule name.
- TimeZone string
- Gets or sets the time zone of the schedule.
- AutomationAccount stringName 
- The name of the automation account.
- Frequency
string | ScheduleFrequency 
- Gets or sets the frequency of the schedule.
- Name string
- Gets or sets the name of the Schedule.
- ResourceGroup stringName 
- Name of an Azure Resource group.
- StartTime string
- Gets or sets the start time of the schedule.
- AdvancedSchedule AdvancedSchedule Args 
- Gets or sets the AdvancedSchedule.
- Description string
- Gets or sets the description of the schedule.
- ExpiryTime string
- Gets or sets the end time of the schedule.
- Interval interface{}
- Gets or sets the interval of the schedule.
- ScheduleName string
- The schedule name.
- TimeZone string
- Gets or sets the time zone of the schedule.
- automationAccount StringName 
- The name of the automation account.
- frequency
String | ScheduleFrequency 
- Gets or sets the frequency of the schedule.
- name String
- Gets or sets the name of the Schedule.
- resourceGroup StringName 
- Name of an Azure Resource group.
- startTime String
- Gets or sets the start time of the schedule.
- advancedSchedule AdvancedSchedule 
- Gets or sets the AdvancedSchedule.
- description String
- Gets or sets the description of the schedule.
- expiryTime String
- Gets or sets the end time of the schedule.
- interval Object
- Gets or sets the interval of the schedule.
- scheduleName String
- The schedule name.
- timeZone String
- Gets or sets the time zone of the schedule.
- automationAccount stringName 
- The name of the automation account.
- frequency
string | ScheduleFrequency 
- Gets or sets the frequency of the schedule.
- name string
- Gets or sets the name of the Schedule.
- resourceGroup stringName 
- Name of an Azure Resource group.
- startTime string
- Gets or sets the start time of the schedule.
- advancedSchedule AdvancedSchedule 
- Gets or sets the AdvancedSchedule.
- description string
- Gets or sets the description of the schedule.
- expiryTime string
- Gets or sets the end time of the schedule.
- interval any
- Gets or sets the interval of the schedule.
- scheduleName string
- The schedule name.
- timeZone string
- Gets or sets the time zone of the schedule.
- automation_account_ strname 
- The name of the automation account.
- frequency
str | ScheduleFrequency 
- Gets or sets the frequency of the schedule.
- name str
- Gets or sets the name of the Schedule.
- resource_group_ strname 
- Name of an Azure Resource group.
- start_time str
- Gets or sets the start time of the schedule.
- advanced_schedule AdvancedSchedule Args 
- Gets or sets the AdvancedSchedule.
- description str
- Gets or sets the description of the schedule.
- expiry_time str
- Gets or sets the end time of the schedule.
- interval Any
- Gets or sets the interval of the schedule.
- schedule_name str
- The schedule name.
- time_zone str
- Gets or sets the time zone of the schedule.
- automationAccount StringName 
- The name of the automation account.
- frequency
String | "OneTime" | "Day" | "Hour" | "Week" | "Month" | "Minute" 
- Gets or sets the frequency of the schedule.
- name String
- Gets or sets the name of the Schedule.
- resourceGroup StringName 
- Name of an Azure Resource group.
- startTime String
- Gets or sets the start time of the schedule.
- advancedSchedule Property Map
- Gets or sets the AdvancedSchedule.
- description String
- Gets or sets the description of the schedule.
- expiryTime String
- Gets or sets the end time of the schedule.
- interval Any
- Gets or sets the interval of the schedule.
- scheduleName String
- The schedule name.
- timeZone String
- Gets or sets the time zone of the schedule.
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.
- StartTime doubleOffset Minutes 
- Gets the start time's offset in minutes.
- Type string
- The type of the resource.
- CreationTime string
- Gets or sets the creation time.
- ExpiryTime doubleOffset Minutes 
- Gets or sets the expiry time's offset in minutes.
- IsEnabled bool
- Gets or sets a value indicating whether this schedule is enabled.
- LastModified stringTime 
- Gets or sets the last modified time.
- NextRun string
- Gets or sets the next run time of the schedule.
- NextRun doubleOffset Minutes 
- Gets or sets the next run time's offset in minutes.
- Id string
- The provider-assigned unique ID for this managed resource.
- StartTime float64Offset Minutes 
- Gets the start time's offset in minutes.
- Type string
- The type of the resource.
- CreationTime string
- Gets or sets the creation time.
- ExpiryTime float64Offset Minutes 
- Gets or sets the expiry time's offset in minutes.
- IsEnabled bool
- Gets or sets a value indicating whether this schedule is enabled.
- LastModified stringTime 
- Gets or sets the last modified time.
- NextRun string
- Gets or sets the next run time of the schedule.
- NextRun float64Offset Minutes 
- Gets or sets the next run time's offset in minutes.
- id String
- The provider-assigned unique ID for this managed resource.
- startTime DoubleOffset Minutes 
- Gets the start time's offset in minutes.
- type String
- The type of the resource.
- creationTime String
- Gets or sets the creation time.
- expiryTime DoubleOffset Minutes 
- Gets or sets the expiry time's offset in minutes.
- isEnabled Boolean
- Gets or sets a value indicating whether this schedule is enabled.
- lastModified StringTime 
- Gets or sets the last modified time.
- nextRun String
- Gets or sets the next run time of the schedule.
- nextRun DoubleOffset Minutes 
- Gets or sets the next run time's offset in minutes.
- id string
- The provider-assigned unique ID for this managed resource.
- startTime numberOffset Minutes 
- Gets the start time's offset in minutes.
- type string
- The type of the resource.
- creationTime string
- Gets or sets the creation time.
- expiryTime numberOffset Minutes 
- Gets or sets the expiry time's offset in minutes.
- isEnabled boolean
- Gets or sets a value indicating whether this schedule is enabled.
- lastModified stringTime 
- Gets or sets the last modified time.
- nextRun string
- Gets or sets the next run time of the schedule.
- nextRun numberOffset Minutes 
- Gets or sets the next run time's offset in minutes.
- id str
- The provider-assigned unique ID for this managed resource.
- start_time_ floatoffset_ minutes 
- Gets the start time's offset in minutes.
- type str
- The type of the resource.
- creation_time str
- Gets or sets the creation time.
- expiry_time_ floatoffset_ minutes 
- Gets or sets the expiry time's offset in minutes.
- is_enabled bool
- Gets or sets a value indicating whether this schedule is enabled.
- last_modified_ strtime 
- Gets or sets the last modified time.
- next_run str
- Gets or sets the next run time of the schedule.
- next_run_ floatoffset_ minutes 
- Gets or sets the next run time's offset in minutes.
- id String
- The provider-assigned unique ID for this managed resource.
- startTime NumberOffset Minutes 
- Gets the start time's offset in minutes.
- type String
- The type of the resource.
- creationTime String
- Gets or sets the creation time.
- expiryTime NumberOffset Minutes 
- Gets or sets the expiry time's offset in minutes.
- isEnabled Boolean
- Gets or sets a value indicating whether this schedule is enabled.
- lastModified StringTime 
- Gets or sets the last modified time.
- nextRun String
- Gets or sets the next run time of the schedule.
- nextRun NumberOffset Minutes 
- Gets or sets the next run time's offset in minutes.
Supporting Types
AdvancedSchedule, AdvancedScheduleArgs    
- MonthDays List<int>
- Days of the month that the job should execute on. Must be between 1 and 31.
- MonthlyOccurrences List<Pulumi.Azure Native. Automation. Inputs. Advanced Schedule Monthly Occurrence> 
- Occurrences of days within a month.
- WeekDays List<string>
- Days of the week that the job should execute on.
- MonthDays []int
- Days of the month that the job should execute on. Must be between 1 and 31.
- MonthlyOccurrences []AdvancedSchedule Monthly Occurrence 
- Occurrences of days within a month.
- WeekDays []string
- Days of the week that the job should execute on.
- monthDays List<Integer>
- Days of the month that the job should execute on. Must be between 1 and 31.
- monthlyOccurrences List<AdvancedSchedule Monthly Occurrence> 
- Occurrences of days within a month.
- weekDays List<String>
- Days of the week that the job should execute on.
- monthDays number[]
- Days of the month that the job should execute on. Must be between 1 and 31.
- monthlyOccurrences AdvancedSchedule Monthly Occurrence[] 
- Occurrences of days within a month.
- weekDays string[]
- Days of the week that the job should execute on.
- month_days Sequence[int]
- Days of the month that the job should execute on. Must be between 1 and 31.
- monthly_occurrences Sequence[AdvancedSchedule Monthly Occurrence] 
- Occurrences of days within a month.
- week_days Sequence[str]
- Days of the week that the job should execute on.
- monthDays List<Number>
- Days of the month that the job should execute on. Must be between 1 and 31.
- monthlyOccurrences List<Property Map>
- Occurrences of days within a month.
- weekDays List<String>
- Days of the week that the job should execute on.
AdvancedScheduleMonthlyOccurrence, AdvancedScheduleMonthlyOccurrenceArgs        
- Day
string | Pulumi.Azure Native. Automation. Schedule Day 
- Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
- Occurrence int
- Occurrence of the week within the month. Must be between 1 and 5
- Day
string | ScheduleDay 
- Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
- Occurrence int
- Occurrence of the week within the month. Must be between 1 and 5
- day
String | ScheduleDay 
- Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
- occurrence Integer
- Occurrence of the week within the month. Must be between 1 and 5
- day
string | ScheduleDay 
- Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
- occurrence number
- Occurrence of the week within the month. Must be between 1 and 5
- day
str | ScheduleDay 
- Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
- occurrence int
- Occurrence of the week within the month. Must be between 1 and 5
- day String | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday"
- Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
- occurrence Number
- Occurrence of the week within the month. Must be between 1 and 5
AdvancedScheduleMonthlyOccurrenceResponse, AdvancedScheduleMonthlyOccurrenceResponseArgs          
- Day string
- Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
- Occurrence int
- Occurrence of the week within the month. Must be between 1 and 5
- Day string
- Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
- Occurrence int
- Occurrence of the week within the month. Must be between 1 and 5
- day String
- Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
- occurrence Integer
- Occurrence of the week within the month. Must be between 1 and 5
- day string
- Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
- occurrence number
- Occurrence of the week within the month. Must be between 1 and 5
- day str
- Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
- occurrence int
- Occurrence of the week within the month. Must be between 1 and 5
- day String
- Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
- occurrence Number
- Occurrence of the week within the month. Must be between 1 and 5
AdvancedScheduleResponse, AdvancedScheduleResponseArgs      
- MonthDays List<int>
- Days of the month that the job should execute on. Must be between 1 and 31.
- MonthlyOccurrences List<Pulumi.Azure Native. Automation. Inputs. Advanced Schedule Monthly Occurrence Response> 
- Occurrences of days within a month.
- WeekDays List<string>
- Days of the week that the job should execute on.
- MonthDays []int
- Days of the month that the job should execute on. Must be between 1 and 31.
- MonthlyOccurrences []AdvancedSchedule Monthly Occurrence Response 
- Occurrences of days within a month.
- WeekDays []string
- Days of the week that the job should execute on.
- monthDays List<Integer>
- Days of the month that the job should execute on. Must be between 1 and 31.
- monthlyOccurrences List<AdvancedSchedule Monthly Occurrence Response> 
- Occurrences of days within a month.
- weekDays List<String>
- Days of the week that the job should execute on.
- monthDays number[]
- Days of the month that the job should execute on. Must be between 1 and 31.
- monthlyOccurrences AdvancedSchedule Monthly Occurrence Response[] 
- Occurrences of days within a month.
- weekDays string[]
- Days of the week that the job should execute on.
- month_days Sequence[int]
- Days of the month that the job should execute on. Must be between 1 and 31.
- monthly_occurrences Sequence[AdvancedSchedule Monthly Occurrence Response] 
- Occurrences of days within a month.
- week_days Sequence[str]
- Days of the week that the job should execute on.
- monthDays List<Number>
- Days of the month that the job should execute on. Must be between 1 and 31.
- monthlyOccurrences List<Property Map>
- Occurrences of days within a month.
- weekDays List<String>
- Days of the week that the job should execute on.
ScheduleDay, ScheduleDayArgs    
- Monday
- Monday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- Thursday
- Thursday
- Friday
- Friday
- Saturday
- Saturday
- Sunday
- Sunday
- ScheduleDay Monday 
- Monday
- ScheduleDay Tuesday 
- Tuesday
- ScheduleDay Wednesday 
- Wednesday
- ScheduleDay Thursday 
- Thursday
- ScheduleDay Friday 
- Friday
- ScheduleDay Saturday 
- Saturday
- ScheduleDay Sunday 
- Sunday
- Monday
- Monday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- Thursday
- Thursday
- Friday
- Friday
- Saturday
- Saturday
- Sunday
- Sunday
- Monday
- Monday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- Thursday
- Thursday
- Friday
- Friday
- Saturday
- Saturday
- Sunday
- Sunday
- MONDAY
- Monday
- TUESDAY
- Tuesday
- WEDNESDAY
- Wednesday
- THURSDAY
- Thursday
- FRIDAY
- Friday
- SATURDAY
- Saturday
- SUNDAY
- Sunday
- "Monday"
- Monday
- "Tuesday"
- Tuesday
- "Wednesday"
- Wednesday
- "Thursday"
- Thursday
- "Friday"
- Friday
- "Saturday"
- Saturday
- "Sunday"
- Sunday
ScheduleFrequency, ScheduleFrequencyArgs    
- OneTime 
- OneTime
- Day
- Day
- Hour
- Hour
- Week
- Week
- Month
- Month
- Minute
- MinuteThe minimum allowed interval for Minute schedules is 15 minutes.
- ScheduleFrequency One Time 
- OneTime
- ScheduleFrequency Day 
- Day
- ScheduleFrequency Hour 
- Hour
- ScheduleFrequency Week 
- Week
- ScheduleFrequency Month 
- Month
- ScheduleFrequency Minute 
- MinuteThe minimum allowed interval for Minute schedules is 15 minutes.
- OneTime 
- OneTime
- Day
- Day
- Hour
- Hour
- Week
- Week
- Month
- Month
- Minute
- MinuteThe minimum allowed interval for Minute schedules is 15 minutes.
- OneTime 
- OneTime
- Day
- Day
- Hour
- Hour
- Week
- Week
- Month
- Month
- Minute
- MinuteThe minimum allowed interval for Minute schedules is 15 minutes.
- ONE_TIME
- OneTime
- DAY
- Day
- HOUR
- Hour
- WEEK
- Week
- MONTH
- Month
- MINUTE
- MinuteThe minimum allowed interval for Minute schedules is 15 minutes.
- "OneTime" 
- OneTime
- "Day"
- Day
- "Hour"
- Hour
- "Week"
- Week
- "Month"
- Month
- "Minute"
- MinuteThe minimum allowed interval for Minute schedules is 15 minutes.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:automation:Schedule mySchedule /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/schedules/{scheduleName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0