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.63.0 published on Tuesday, Sep 24, 2024 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.63.0 published on Tuesday, Sep 24, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:labservices:getSchedule
arguments:
# arguments dictionary
The following arguments are supported:
- Lab
Name string - The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Schedule
Name string - The name of the schedule that uniquely identifies it within containing lab. Used in resource URIs.
- Lab
Name string - The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Schedule
Name string - The name of the schedule that uniquely identifies it within containing lab. Used in resource URIs.
- lab
Name String - The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- schedule
Name String - The name of the schedule that uniquely identifies it within containing lab. Used in resource URIs.
- lab
Name string - The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- schedule
Name 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.
- lab
Name String - The name of the lab that uniquely identifies it within containing lab plan. Used in resource URIs.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- schedule
Name 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
- Provisioning
State string - Current provisioning state of the schedule.
- Stop
At string - When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.
- System
Data Pulumi.Azure Native. Lab Services. Outputs. System Data Response - Metadata pertaining to creation and last modification of the schedule.
- Time
Zone 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.
- Recurrence
Pattern Pulumi.Azure Native. Lab Services. Outputs. Recurrence Pattern Response - The recurrence pattern of the scheduled actions.
- Start
At 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
- Provisioning
State string - Current provisioning state of the schedule.
- Stop
At string - 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 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.
- Recurrence
Pattern RecurrencePattern Response - The recurrence pattern of the scheduled actions.
- Start
At 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
- provisioning
State String - Current provisioning state of the schedule.
- stop
At String - 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 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.
- recurrence
Pattern RecurrencePattern Response - The recurrence pattern of the scheduled actions.
- start
At 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
- provisioning
State string - Current provisioning state of the schedule.
- stop
At string - 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 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.
- recurrence
Pattern RecurrencePattern Response - The recurrence pattern of the scheduled actions.
- start
At 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
- provisioning
State String - Current provisioning state of the schedule.
- stop
At String - When lab user virtual machines will be stopped. Timestamp offsets will be ignored and timeZoneId is used instead.
- system
Data Property Map - Metadata pertaining to creation and last modification of the schedule.
- time
Zone 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.
- recurrence
Pattern Property Map - The recurrence pattern of the scheduled actions.
- start
At String - When lab user virtual machines will be started. Timestamp offsets will be ignored and timeZoneId is used instead.
Supporting Types
RecurrencePatternResponse
- Expiration
Date 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.
- Week
Days List<string> - The week days the schedule runs. Used for when the Frequency is set to Weekly.
- Expiration
Date 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.
- Week
Days []string - The week days the schedule runs. Used for when the Frequency is set to Weekly.
- expiration
Date 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.
- week
Days List<String> - The week days the schedule runs. Used for when the Frequency is set to Weekly.
- expiration
Date 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.
- week
Days 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.
- expiration
Date 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.
- week
Days List<String> - The week days the schedule runs. Used for when the Frequency is set to Weekly.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi