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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.labservices.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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Returns the properties of a lab Schedule. Azure REST API version: 2022-08-01.
Other available API versions: 2023-06-07.
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(lab_name: Optional[str] = None,
                 resource_group_name: Optional[str] = None,
                 schedule_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetScheduleResult
def get_schedule_output(lab_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)
public static Output<GetScheduleResult> getSchedule(GetScheduleArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:labservices:getSchedule
  arguments:
    # arguments dictionaryThe following arguments are supported:
- LabName string
- The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ScheduleName string
- The name of the schedule that uniquely identifies it within containing lab. Used in resource URIs.
- LabName string
- The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ScheduleName string
- The name of the schedule that uniquely identifies it within containing lab. Used in resource URIs.
- labName String
- The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- scheduleName String
- The name of the schedule that uniquely identifies it within containing lab. Used in resource URIs.
- labName string
- The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- scheduleName string
- The name of the schedule that uniquely identifies it within containing lab. Used in resource URIs.
- lab_name str
- The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- schedule_name str
- The name of the schedule that uniquely identifies it within containing lab. Used in resource URIs.
- labName String
- The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- scheduleName String
- The name of the schedule that uniquely identifies it within containing lab. Used in resource URIs.
getSchedule Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- ProvisioningState string
- Current provisioning state of the schedule.
- StopAt string
- When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.
- SystemData Pulumi.Azure Native. Lab Services. Outputs. System Data Response 
- Metadata pertaining to creation and last modification of the schedule.
- TimeZone stringId 
- The IANA timezone id for the schedule.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Notes string
- Notes for this schedule.
- RecurrencePattern Pulumi.Azure Native. Lab Services. Outputs. Recurrence Pattern Response 
- The recurrence pattern of the scheduled actions.
- StartAt string
- When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- ProvisioningState string
- Current provisioning state of the schedule.
- StopAt string
- When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.
- SystemData SystemData Response 
- Metadata pertaining to creation and last modification of the schedule.
- TimeZone stringId 
- The IANA timezone id for the schedule.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Notes string
- Notes for this schedule.
- RecurrencePattern RecurrencePattern Response 
- The recurrence pattern of the scheduled actions.
- StartAt string
- When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- provisioningState String
- Current provisioning state of the schedule.
- stopAt String
- When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the schedule.
- timeZone StringId 
- The IANA timezone id for the schedule.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- notes String
- Notes for this schedule.
- recurrencePattern RecurrencePattern Response 
- The recurrence pattern of the scheduled actions.
- startAt String
- When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name string
- The name of the resource
- provisioningState string
- Current provisioning state of the schedule.
- stopAt string
- When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.
- systemData SystemData Response 
- Metadata pertaining to creation and last modification of the schedule.
- timeZone stringId 
- The IANA timezone id for the schedule.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- notes string
- Notes for this schedule.
- recurrencePattern RecurrencePattern Response 
- The recurrence pattern of the scheduled actions.
- startAt string
- When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
- The name of the resource
- provisioning_state str
- Current provisioning state of the schedule.
- stop_at str
- When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.
- system_data SystemData Response 
- Metadata pertaining to creation and last modification of the schedule.
- time_zone_ strid 
- The IANA timezone id for the schedule.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- notes str
- Notes for this schedule.
- recurrence_pattern RecurrencePattern Response 
- The recurrence pattern of the scheduled actions.
- start_at str
- When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- provisioningState String
- Current provisioning state of the schedule.
- stopAt String
- When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.
- systemData Property Map
- Metadata pertaining to creation and last modification of the schedule.
- timeZone StringId 
- The IANA timezone id for the schedule.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- notes String
- Notes for this schedule.
- recurrencePattern Property Map
- The recurrence pattern of the scheduled actions.
- startAt String
- When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead.
Supporting Types
RecurrencePatternResponse  
- ExpirationDate string
- When the recurrence will expire. This date is inclusive.
- Frequency string
- The frequency of the recurrence.
- Interval int
- The interval to invoke the schedule on. For example, interval = 2 and RecurrenceFrequency.Daily will run every 2 days. When no interval is supplied, an interval of 1 is used.
- WeekDays List<string>
- The week days the schedule runs. Used for when the Frequency is set to Weekly.
- ExpirationDate string
- When the recurrence will expire. This date is inclusive.
- Frequency string
- The frequency of the recurrence.
- Interval int
- The interval to invoke the schedule on. For example, interval = 2 and RecurrenceFrequency.Daily will run every 2 days. When no interval is supplied, an interval of 1 is used.
- WeekDays []string
- The week days the schedule runs. Used for when the Frequency is set to Weekly.
- expirationDate String
- When the recurrence will expire. This date is inclusive.
- frequency String
- The frequency of the recurrence.
- interval Integer
- The interval to invoke the schedule on. For example, interval = 2 and RecurrenceFrequency.Daily will run every 2 days. When no interval is supplied, an interval of 1 is used.
- weekDays List<String>
- The week days the schedule runs. Used for when the Frequency is set to Weekly.
- expirationDate string
- When the recurrence will expire. This date is inclusive.
- frequency string
- The frequency of the recurrence.
- interval number
- The interval to invoke the schedule on. For example, interval = 2 and RecurrenceFrequency.Daily will run every 2 days. When no interval is supplied, an interval of 1 is used.
- weekDays string[]
- The week days the schedule runs. Used for when the Frequency is set to Weekly.
- expiration_date str
- When the recurrence will expire. This date is inclusive.
- frequency str
- The frequency of the recurrence.
- interval int
- The interval to invoke the schedule on. For example, interval = 2 and RecurrenceFrequency.Daily will run every 2 days. When no interval is supplied, an interval of 1 is used.
- week_days Sequence[str]
- The week days the schedule runs. Used for when the Frequency is set to Weekly.
- expirationDate String
- When the recurrence will expire. This date is inclusive.
- frequency String
- The frequency of the recurrence.
- interval Number
- The interval to invoke the schedule on. For example, interval = 2 and RecurrenceFrequency.Daily will run every 2 days. When no interval is supplied, an interval of 1 is used.
- weekDays List<String>
- The week days the schedule runs. Used for when the Frequency is set to Weekly.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi