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.devtestlab.listVirtualMachineApplicableSchedules
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
Lists the applicable start/stop schedules, if any. Azure REST API version: 2018-09-15.
Other available API versions: 2016-05-15.
Using listVirtualMachineApplicableSchedules
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 listVirtualMachineApplicableSchedules(args: ListVirtualMachineApplicableSchedulesArgs, opts?: InvokeOptions): Promise<ListVirtualMachineApplicableSchedulesResult>
function listVirtualMachineApplicableSchedulesOutput(args: ListVirtualMachineApplicableSchedulesOutputArgs, opts?: InvokeOptions): Output<ListVirtualMachineApplicableSchedulesResult>
def list_virtual_machine_applicable_schedules(lab_name: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListVirtualMachineApplicableSchedulesResult
def list_virtual_machine_applicable_schedules_output(lab_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListVirtualMachineApplicableSchedulesResult]
func ListVirtualMachineApplicableSchedules(ctx *Context, args *ListVirtualMachineApplicableSchedulesArgs, opts ...InvokeOption) (*ListVirtualMachineApplicableSchedulesResult, error)
func ListVirtualMachineApplicableSchedulesOutput(ctx *Context, args *ListVirtualMachineApplicableSchedulesOutputArgs, opts ...InvokeOption) ListVirtualMachineApplicableSchedulesResultOutput
> Note: This function is named ListVirtualMachineApplicableSchedules
in the Go SDK.
public static class ListVirtualMachineApplicableSchedules
{
public static Task<ListVirtualMachineApplicableSchedulesResult> InvokeAsync(ListVirtualMachineApplicableSchedulesArgs args, InvokeOptions? opts = null)
public static Output<ListVirtualMachineApplicableSchedulesResult> Invoke(ListVirtualMachineApplicableSchedulesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListVirtualMachineApplicableSchedulesResult> listVirtualMachineApplicableSchedules(ListVirtualMachineApplicableSchedulesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:devtestlab:listVirtualMachineApplicableSchedules
arguments:
# arguments dictionary
The following arguments are supported:
- Lab
Name string - The name of the lab.
- Name string
- The name of the virtual machine.
- Resource
Group stringName - The name of the resource group.
- Lab
Name string - The name of the lab.
- Name string
- The name of the virtual machine.
- Resource
Group stringName - The name of the resource group.
- lab
Name String - The name of the lab.
- name String
- The name of the virtual machine.
- resource
Group StringName - The name of the resource group.
- lab
Name string - The name of the lab.
- name string
- The name of the virtual machine.
- resource
Group stringName - The name of the resource group.
- lab_
name str - The name of the lab.
- name str
- The name of the virtual machine.
- resource_
group_ strname - The name of the resource group.
- lab
Name String - The name of the lab.
- name String
- The name of the virtual machine.
- resource
Group StringName - The name of the resource group.
listVirtualMachineApplicableSchedules Result
The following output properties are available:
- Id string
- The identifier of the resource.
- Name string
- The name of the resource.
- Type string
- The type of the resource.
- Lab
Vms Pulumi.Shutdown Azure Native. Dev Test Lab. Outputs. Schedule Response - The auto-shutdown schedule, if one has been set at the lab or lab resource level.
- Lab
Vms Pulumi.Startup Azure Native. Dev Test Lab. Outputs. Schedule Response - The auto-startup schedule, if one has been set at the lab or lab resource level.
- Location string
- The location of the resource.
- Dictionary<string, string>
- The tags of the resource.
- Id string
- The identifier of the resource.
- Name string
- The name of the resource.
- Type string
- The type of the resource.
- Lab
Vms ScheduleShutdown Response - The auto-shutdown schedule, if one has been set at the lab or lab resource level.
- Lab
Vms ScheduleStartup Response - The auto-startup schedule, if one has been set at the lab or lab resource level.
- Location string
- The location of the resource.
- map[string]string
- The tags of the resource.
- id String
- The identifier of the resource.
- name String
- The name of the resource.
- type String
- The type of the resource.
- lab
Vms ScheduleShutdown Response - The auto-shutdown schedule, if one has been set at the lab or lab resource level.
- lab
Vms ScheduleStartup Response - The auto-startup schedule, if one has been set at the lab or lab resource level.
- location String
- The location of the resource.
- Map<String,String>
- The tags of the resource.
- id string
- The identifier of the resource.
- name string
- The name of the resource.
- type string
- The type of the resource.
- lab
Vms ScheduleShutdown Response - The auto-shutdown schedule, if one has been set at the lab or lab resource level.
- lab
Vms ScheduleStartup Response - The auto-startup schedule, if one has been set at the lab or lab resource level.
- location string
- The location of the resource.
- {[key: string]: string}
- The tags of the resource.
- id str
- The identifier of the resource.
- name str
- The name of the resource.
- type str
- The type of the resource.
- lab_
vms_ Scheduleshutdown Response - The auto-shutdown schedule, if one has been set at the lab or lab resource level.
- lab_
vms_ Schedulestartup Response - The auto-startup schedule, if one has been set at the lab or lab resource level.
- location str
- The location of the resource.
- Mapping[str, str]
- The tags of the resource.
- id String
- The identifier of the resource.
- name String
- The name of the resource.
- type String
- The type of the resource.
- lab
Vms Property MapShutdown - The auto-shutdown schedule, if one has been set at the lab or lab resource level.
- lab
Vms Property MapStartup - The auto-startup schedule, if one has been set at the lab or lab resource level.
- location String
- The location of the resource.
- Map<String>
- The tags of the resource.
Supporting Types
DayDetailsResponse
- Time string
- The time of day the schedule will occur.
- Time string
- The time of day the schedule will occur.
- time String
- The time of day the schedule will occur.
- time string
- The time of day the schedule will occur.
- time str
- The time of day the schedule will occur.
- time String
- The time of day the schedule will occur.
HourDetailsResponse
- Minute int
- Minutes of the hour the schedule will run.
- Minute int
- Minutes of the hour the schedule will run.
- minute Integer
- Minutes of the hour the schedule will run.
- minute number
- Minutes of the hour the schedule will run.
- minute int
- Minutes of the hour the schedule will run.
- minute Number
- Minutes of the hour the schedule will run.
NotificationSettingsResponse
- Email
Recipient string - The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
- Notification
Locale string - The locale to use when sending a notification (fallback for unsupported languages is EN).
- Status string
- If notifications are enabled for this schedule (i.e. Enabled, Disabled).
- Time
In intMinutes - Time in minutes before event at which notification will be sent.
- Webhook
Url string - The webhook URL to which the notification will be sent.
- Email
Recipient string - The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
- Notification
Locale string - The locale to use when sending a notification (fallback for unsupported languages is EN).
- Status string
- If notifications are enabled for this schedule (i.e. Enabled, Disabled).
- Time
In intMinutes - Time in minutes before event at which notification will be sent.
- Webhook
Url string - The webhook URL to which the notification will be sent.
- email
Recipient String - The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
- notification
Locale String - The locale to use when sending a notification (fallback for unsupported languages is EN).
- status String
- If notifications are enabled for this schedule (i.e. Enabled, Disabled).
- time
In IntegerMinutes - Time in minutes before event at which notification will be sent.
- webhook
Url String - The webhook URL to which the notification will be sent.
- email
Recipient string - The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
- notification
Locale string - The locale to use when sending a notification (fallback for unsupported languages is EN).
- status string
- If notifications are enabled for this schedule (i.e. Enabled, Disabled).
- time
In numberMinutes - Time in minutes before event at which notification will be sent.
- webhook
Url string - The webhook URL to which the notification will be sent.
- email_
recipient str - The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
- notification_
locale str - The locale to use when sending a notification (fallback for unsupported languages is EN).
- status str
- If notifications are enabled for this schedule (i.e. Enabled, Disabled).
- time_
in_ intminutes - Time in minutes before event at which notification will be sent.
- webhook_
url str - The webhook URL to which the notification will be sent.
- email
Recipient String - The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
- notification
Locale String - The locale to use when sending a notification (fallback for unsupported languages is EN).
- status String
- If notifications are enabled for this schedule (i.e. Enabled, Disabled).
- time
In NumberMinutes - Time in minutes before event at which notification will be sent.
- webhook
Url String - The webhook URL to which the notification will be sent.
ScheduleResponse
- Created
Date string - The creation date of the schedule.
- Id string
- The identifier of the resource.
- Name string
- The name of the resource.
- Provisioning
State string - The provisioning status of the resource.
- Type string
- The type of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- Daily
Recurrence Pulumi.Azure Native. Dev Test Lab. Inputs. Day Details Response - If the schedule will occur once each day of the week, specify the daily recurrence.
- Hourly
Recurrence Pulumi.Azure Native. Dev Test Lab. Inputs. Hour Details Response - If the schedule will occur multiple times a day, specify the hourly recurrence.
- Location string
- The location of the resource.
- Notification
Settings Pulumi.Azure Native. Dev Test Lab. Inputs. Notification Settings Response - Notification settings.
- Status string
- The status of the schedule (i.e. Enabled, Disabled)
- Dictionary<string, string>
- The tags of the resource.
- Target
Resource stringId - The resource ID to which the schedule belongs
- Task
Type string - The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
- Time
Zone stringId - The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in
IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds
(https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md) - Weekly
Recurrence Pulumi.Azure Native. Dev Test Lab. Inputs. Week Details Response - If the schedule will occur only some days of the week, specify the weekly recurrence.
- Created
Date string - The creation date of the schedule.
- Id string
- The identifier of the resource.
- Name string
- The name of the resource.
- Provisioning
State string - The provisioning status of the resource.
- Type string
- The type of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- Daily
Recurrence DayDetails Response - If the schedule will occur once each day of the week, specify the daily recurrence.
- Hourly
Recurrence HourDetails Response - If the schedule will occur multiple times a day, specify the hourly recurrence.
- Location string
- The location of the resource.
- Notification
Settings NotificationSettings Response - Notification settings.
- Status string
- The status of the schedule (i.e. Enabled, Disabled)
- map[string]string
- The tags of the resource.
- Target
Resource stringId - The resource ID to which the schedule belongs
- Task
Type string - The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
- Time
Zone stringId - The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in
IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds
(https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md) - Weekly
Recurrence WeekDetails Response - If the schedule will occur only some days of the week, specify the weekly recurrence.
- created
Date String - The creation date of the schedule.
- id String
- The identifier of the resource.
- name String
- The name of the resource.
- provisioning
State String - The provisioning status of the resource.
- type String
- The type of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
- daily
Recurrence DayDetails Response - If the schedule will occur once each day of the week, specify the daily recurrence.
- hourly
Recurrence HourDetails Response - If the schedule will occur multiple times a day, specify the hourly recurrence.
- location String
- The location of the resource.
- notification
Settings NotificationSettings Response - Notification settings.
- status String
- The status of the schedule (i.e. Enabled, Disabled)
- Map<String,String>
- The tags of the resource.
- target
Resource StringId - The resource ID to which the schedule belongs
- task
Type String - The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
- time
Zone StringId - The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in
IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds
(https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md) - weekly
Recurrence WeekDetails Response - If the schedule will occur only some days of the week, specify the weekly recurrence.
- created
Date string - The creation date of the schedule.
- id string
- The identifier of the resource.
- name string
- The name of the resource.
- provisioning
State string - The provisioning status of the resource.
- type string
- The type of the resource.
- unique
Identifier string - The unique immutable identifier of a resource (Guid).
- daily
Recurrence DayDetails Response - If the schedule will occur once each day of the week, specify the daily recurrence.
- hourly
Recurrence HourDetails Response - If the schedule will occur multiple times a day, specify the hourly recurrence.
- location string
- The location of the resource.
- notification
Settings NotificationSettings Response - Notification settings.
- status string
- The status of the schedule (i.e. Enabled, Disabled)
- {[key: string]: string}
- The tags of the resource.
- target
Resource stringId - The resource ID to which the schedule belongs
- task
Type string - The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
- time
Zone stringId - The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in
IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds
(https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md) - weekly
Recurrence WeekDetails Response - If the schedule will occur only some days of the week, specify the weekly recurrence.
- created_
date str - The creation date of the schedule.
- id str
- The identifier of the resource.
- name str
- The name of the resource.
- provisioning_
state str - The provisioning status of the resource.
- type str
- The type of the resource.
- unique_
identifier str - The unique immutable identifier of a resource (Guid).
- daily_
recurrence DayDetails Response - If the schedule will occur once each day of the week, specify the daily recurrence.
- hourly_
recurrence HourDetails Response - If the schedule will occur multiple times a day, specify the hourly recurrence.
- location str
- The location of the resource.
- notification_
settings NotificationSettings Response - Notification settings.
- status str
- The status of the schedule (i.e. Enabled, Disabled)
- Mapping[str, str]
- The tags of the resource.
- target_
resource_ strid - The resource ID to which the schedule belongs
- task_
type str - The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
- time_
zone_ strid - The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in
IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds
(https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md) - weekly_
recurrence WeekDetails Response - If the schedule will occur only some days of the week, specify the weekly recurrence.
- created
Date String - The creation date of the schedule.
- id String
- The identifier of the resource.
- name String
- The name of the resource.
- provisioning
State String - The provisioning status of the resource.
- type String
- The type of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
- daily
Recurrence Property Map - If the schedule will occur once each day of the week, specify the daily recurrence.
- hourly
Recurrence Property Map - If the schedule will occur multiple times a day, specify the hourly recurrence.
- location String
- The location of the resource.
- notification
Settings Property Map - Notification settings.
- status String
- The status of the schedule (i.e. Enabled, Disabled)
- Map<String>
- The tags of the resource.
- target
Resource StringId - The resource ID to which the schedule belongs
- task
Type String - The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
- time
Zone StringId - The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in
IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds
(https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md) - weekly
Recurrence Property Map - If the schedule will occur only some days of the week, specify the weekly recurrence.
WeekDetailsResponse
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