Schedule data source
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(id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScheduleResult
def get_schedule_output(id: Optional[pulumi.Input[str]] = None,
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)
public static Output<GetScheduleResult> getSchedule(GetScheduleArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getSchedule:getSchedule
arguments:
# arguments dictionaryThe following arguments are supported:
getSchedule Result
The following output properties are available:
- Device string
- The device in which the resource is defined
- Folder string
- Id string
- The UUID of the schedule
- Name string
- The name of the schedule
- Schedule
Type GetSchedule Schedule Type - Snippet string
- Tfid string
- Device string
- The device in which the resource is defined
- Folder string
- Id string
- The UUID of the schedule
- Name string
- The name of the schedule
- Schedule
Type GetSchedule Schedule Type - Snippet string
- Tfid string
- device String
- The device in which the resource is defined
- folder String
- id String
- The UUID of the schedule
- name String
- The name of the schedule
- schedule
Type GetSchedule Schedule Type - snippet String
- tfid String
- device string
- The device in which the resource is defined
- folder string
- id string
- The UUID of the schedule
- name string
- The name of the schedule
- schedule
Type GetSchedule Schedule Type - snippet string
- tfid string
- device str
- The device in which the resource is defined
- folder str
- id str
- The UUID of the schedule
- name str
- The name of the schedule
- schedule_
type GetSchedule Schedule Type - snippet str
- tfid str
- device String
- The device in which the resource is defined
- folder String
- id String
- The UUID of the schedule
- name String
- The name of the schedule
- schedule
Type Property Map - snippet String
- tfid String
Supporting Types
GetScheduleScheduleType
- Non
Recurrings List<string> - Non recurring
- Recurring
Get
Schedule Schedule Type Recurring Recurring
ℹ️ Note: You must specify exactly one of
non_recurringandrecurring.
- Non
Recurrings []string - Non recurring
- Recurring
Get
Schedule Schedule Type Recurring Recurring
ℹ️ Note: You must specify exactly one of
non_recurringandrecurring.
- non
Recurrings List<String> - Non recurring
- recurring
Get
Schedule Schedule Type Recurring Recurring
ℹ️ Note: You must specify exactly one of
non_recurringandrecurring.
- non
Recurrings string[] - Non recurring
- recurring
Get
Schedule Schedule Type Recurring Recurring
ℹ️ Note: You must specify exactly one of
non_recurringandrecurring.
- non_
recurrings Sequence[str] - Non recurring
- recurring
Get
Schedule Schedule Type Recurring Recurring
ℹ️ Note: You must specify exactly one of
non_recurringandrecurring.
- non
Recurrings List<String> - Non recurring
- recurring Property Map
Recurring
ℹ️ Note: You must specify exactly one of
non_recurringandrecurring.
GetScheduleScheduleTypeRecurring
- Dailies List<string>
- Daily
- Weekly
Get
Schedule Schedule Type Recurring Weekly Weekly
ℹ️ Note: You must specify exactly one of
dailyandweekly.
- Dailies []string
- Daily
- Weekly
Get
Schedule Schedule Type Recurring Weekly Weekly
ℹ️ Note: You must specify exactly one of
dailyandweekly.
- dailies List<String>
- Daily
- weekly
Get
Schedule Schedule Type Recurring Weekly Weekly
ℹ️ Note: You must specify exactly one of
dailyandweekly.
- dailies string[]
- Daily
- weekly
Get
Schedule Schedule Type Recurring Weekly Weekly
ℹ️ Note: You must specify exactly one of
dailyandweekly.
- dailies Sequence[str]
- Daily
- weekly
Get
Schedule Schedule Type Recurring Weekly Weekly
ℹ️ Note: You must specify exactly one of
dailyandweekly.
- dailies List<String>
- Daily
- weekly Property Map
Weekly
ℹ️ Note: You must specify exactly one of
dailyandweekly.
GetScheduleScheduleTypeRecurringWeekly
Package Details
- Repository
- scm pulumi/pulumi-scm
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scmTerraform Provider.
