This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.automation.getSchedule
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi
Retrieve the schedule identified by schedule name. Azure REST API version: 2022-08-08.
Other available API versions: 2023-05-15-preview, 2023-11-01.
Using getSchedule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSchedule(args: GetScheduleArgs, opts?: InvokeOptions): Promise<GetScheduleResult>
function getScheduleOutput(args: GetScheduleOutputArgs, opts?: InvokeOptions): Output<GetScheduleResult>
def get_schedule(automation_account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
schedule_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScheduleResult
def get_schedule_output(automation_account_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
schedule_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScheduleResult]
func LookupSchedule(ctx *Context, args *LookupScheduleArgs, opts ...InvokeOption) (*LookupScheduleResult, error)
func LookupScheduleOutput(ctx *Context, args *LookupScheduleOutputArgs, opts ...InvokeOption) LookupScheduleResultOutput
> Note: This function is named LookupSchedule
in the Go SDK.
public static class GetSchedule
{
public static Task<GetScheduleResult> InvokeAsync(GetScheduleArgs args, InvokeOptions? opts = null)
public static Output<GetScheduleResult> Invoke(GetScheduleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetScheduleResult> getSchedule(GetScheduleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:automation:getSchedule
arguments:
# arguments dictionary
The following arguments are supported:
- Automation
Account stringName - The name of the automation account.
- Resource
Group stringName - Name of an Azure Resource group.
- Schedule
Name string - The schedule name.
- Automation
Account stringName - The name of the automation account.
- Resource
Group stringName - Name of an Azure Resource group.
- Schedule
Name string - The schedule name.
- automation
Account StringName - The name of the automation account.
- resource
Group StringName - Name of an Azure Resource group.
- schedule
Name String - The schedule name.
- automation
Account stringName - The name of the automation account.
- resource
Group stringName - Name of an Azure Resource group.
- schedule
Name string - The schedule name.
- automation_
account_ strname - The name of the automation account.
- resource_
group_ strname - Name of an Azure Resource group.
- schedule_
name str - The schedule name.
- automation
Account StringName - The name of the automation account.
- resource
Group StringName - Name of an Azure Resource group.
- schedule
Name String - The schedule name.
getSchedule Result
The following output properties are available:
- Id string
- Fully qualified resource Id for the resource
- Name string
- The name of the resource
- Start
Time doubleOffset Minutes - Gets the start time's offset in minutes.
- Type string
- The type of the resource.
- Advanced
Schedule Pulumi.Azure Native. Automation. Outputs. Advanced Schedule Response - Gets or sets the advanced schedule.
- Creation
Time string - Gets or sets the creation time.
- Description string
- Gets or sets the description.
- Expiry
Time string - Gets or sets the end time of the schedule.
- Expiry
Time doubleOffset Minutes - Gets or sets the expiry time's offset in minutes.
- Frequency string
- Gets or sets the frequency of the schedule.
- Interval object
- Gets or sets the interval of the schedule.
- Is
Enabled bool - Gets or sets a value indicating whether this schedule is enabled.
- Last
Modified stringTime - Gets or sets the last modified time.
- Next
Run string - Gets or sets the next run time of the schedule.
- Next
Run doubleOffset Minutes - Gets or sets the next run time's offset in minutes.
- Start
Time string - Gets or sets the start time of the schedule.
- Time
Zone string - Gets or sets the time zone of the schedule.
- Id string
- Fully qualified resource Id for the resource
- Name string
- The name of the resource
- Start
Time float64Offset Minutes - Gets the start time's offset in minutes.
- Type string
- The type of the resource.
- Advanced
Schedule AdvancedSchedule Response - Gets or sets the advanced schedule.
- Creation
Time string - Gets or sets the creation time.
- Description string
- Gets or sets the description.
- Expiry
Time string - Gets or sets the end time of the schedule.
- Expiry
Time float64Offset Minutes - Gets or sets the expiry time's offset in minutes.
- Frequency string
- Gets or sets the frequency of the schedule.
- Interval interface{}
- Gets or sets the interval of the schedule.
- Is
Enabled bool - Gets or sets a value indicating whether this schedule is enabled.
- Last
Modified stringTime - Gets or sets the last modified time.
- Next
Run string - Gets or sets the next run time of the schedule.
- Next
Run float64Offset Minutes - Gets or sets the next run time's offset in minutes.
- Start
Time string - Gets or sets the start time of the schedule.
- Time
Zone string - Gets or sets the time zone of the schedule.
- id String
- Fully qualified resource Id for the resource
- name String
- The name of the resource
- start
Time DoubleOffset Minutes - Gets the start time's offset in minutes.
- type String
- The type of the resource.
- advanced
Schedule AdvancedSchedule Response - Gets or sets the advanced schedule.
- creation
Time String - Gets or sets the creation time.
- description String
- Gets or sets the description.
- expiry
Time String - Gets or sets the end time of the schedule.
- expiry
Time DoubleOffset Minutes - Gets or sets the expiry time's offset in minutes.
- frequency String
- Gets or sets the frequency of the schedule.
- interval Object
- Gets or sets the interval of the schedule.
- is
Enabled Boolean - Gets or sets a value indicating whether this schedule is enabled.
- last
Modified StringTime - Gets or sets the last modified time.
- next
Run String - Gets or sets the next run time of the schedule.
- next
Run DoubleOffset Minutes - Gets or sets the next run time's offset in minutes.
- start
Time String - Gets or sets the start time of the schedule.
- time
Zone String - Gets or sets the time zone of the schedule.
- id string
- Fully qualified resource Id for the resource
- name string
- The name of the resource
- start
Time numberOffset Minutes - Gets the start time's offset in minutes.
- type string
- The type of the resource.
- advanced
Schedule AdvancedSchedule Response - Gets or sets the advanced schedule.
- creation
Time string - Gets or sets the creation time.
- description string
- Gets or sets the description.
- expiry
Time string - Gets or sets the end time of the schedule.
- expiry
Time numberOffset Minutes - Gets or sets the expiry time's offset in minutes.
- frequency string
- Gets or sets the frequency of the schedule.
- interval any
- Gets or sets the interval of the schedule.
- is
Enabled boolean - Gets or sets a value indicating whether this schedule is enabled.
- last
Modified stringTime - Gets or sets the last modified time.
- next
Run string - Gets or sets the next run time of the schedule.
- next
Run numberOffset Minutes - Gets or sets the next run time's offset in minutes.
- start
Time string - Gets or sets the start time of the schedule.
- time
Zone string - Gets or sets the time zone of the schedule.
- id str
- Fully qualified resource Id for the resource
- name str
- The name of the resource
- start_
time_ floatoffset_ minutes - Gets the start time's offset in minutes.
- type str
- The type of the resource.
- advanced_
schedule AdvancedSchedule Response - Gets or sets the advanced schedule.
- creation_
time str - Gets or sets the creation time.
- description str
- Gets or sets the description.
- expiry_
time str - Gets or sets the end time of the schedule.
- expiry_
time_ floatoffset_ minutes - Gets or sets the expiry time's offset in minutes.
- frequency str
- Gets or sets the frequency of the schedule.
- interval Any
- Gets or sets the interval of the schedule.
- 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.
- start_
time str - Gets or sets the start time of the schedule.
- time_
zone str - Gets or sets the time zone of the schedule.
- id String
- Fully qualified resource Id for the resource
- name String
- The name of the resource
- start
Time NumberOffset Minutes - Gets the start time's offset in minutes.
- type String
- The type of the resource.
- advanced
Schedule Property Map - Gets or sets the advanced schedule.
- creation
Time String - Gets or sets the creation time.
- description String
- Gets or sets the description.
- expiry
Time String - Gets or sets the end time of the schedule.
- expiry
Time NumberOffset Minutes - Gets or sets the expiry time's offset in minutes.
- frequency String
- Gets or sets the frequency of the schedule.
- interval Any
- Gets or sets the interval of the schedule.
- is
Enabled Boolean - Gets or sets a value indicating whether this schedule is enabled.
- last
Modified StringTime - Gets or sets the last modified time.
- next
Run String - Gets or sets the next run time of the schedule.
- next
Run NumberOffset Minutes - Gets or sets the next run time's offset in minutes.
- start
Time String - Gets or sets the start time of the schedule.
- time
Zone String - Gets or sets the time zone of the schedule.
Supporting Types
AdvancedScheduleMonthlyOccurrenceResponse
- 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
- Month
Days List<int> - Days of the month that the job should execute on. Must be between 1 and 31.
- Monthly
Occurrences List<Pulumi.Azure Native. Automation. Inputs. Advanced Schedule Monthly Occurrence Response> - Occurrences of days within a month.
- Week
Days List<string> - Days of the week that the job should execute on.
- Month
Days []int - Days of the month that the job should execute on. Must be between 1 and 31.
- Monthly
Occurrences []AdvancedSchedule Monthly Occurrence Response - Occurrences of days within a month.
- Week
Days []string - Days of the week that the job should execute on.
- month
Days List<Integer> - Days of the month that the job should execute on. Must be between 1 and 31.
- monthly
Occurrences List<AdvancedSchedule Monthly Occurrence Response> - Occurrences of days within a month.
- week
Days List<String> - Days of the week that the job should execute on.
- month
Days number[] - Days of the month that the job should execute on. Must be between 1 and 31.
- monthly
Occurrences AdvancedSchedule Monthly Occurrence Response[] - Occurrences of days within a month.
- week
Days 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.
- month
Days List<Number> - Days of the month that the job should execute on. Must be between 1 and 31.
- monthly
Occurrences List<Property Map> - Occurrences of days within a month.
- week
Days List<String> - Days of the week that the job should execute on.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi