UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

126 lines (125 loc) 3.58 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get schedule. * * Uses Azure REST API version 2018-09-15. */ export declare function getSchedule(args: GetScheduleArgs, opts?: pulumi.InvokeOptions): Promise<GetScheduleResult>; export interface GetScheduleArgs { /** * Specify the $expand query. Example: 'properties($select=status)' */ expand?: string; /** * labs */ labName: string; /** * The name of the Schedule */ name: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * A schedule. */ export interface GetScheduleResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The creation date of the schedule. */ readonly createdDate: string; /** * If the schedule will occur once each day of the week, specify the daily recurrence. */ readonly dailyRecurrence?: outputs.devtestlab.DayDetailsResponse; /** * If the schedule will occur multiple times a day, specify the hourly recurrence. */ readonly hourlyRecurrence?: outputs.devtestlab.HourDetailsResponse; /** * The identifier of the resource. */ readonly id: string; /** * The location of the resource. */ readonly location?: string; /** * The name of the resource. */ readonly name: string; /** * Notification settings. */ readonly notificationSettings?: outputs.devtestlab.NotificationSettingsResponse; /** * The provisioning status of the resource. */ readonly provisioningState: string; /** * The status of the schedule (i.e. Enabled, Disabled) */ readonly status?: string; /** * The tags of the resource. */ readonly tags?: { [key: string]: string; }; /** * The resource ID to which the schedule belongs */ readonly targetResourceId?: string; /** * The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart). */ readonly taskType?: string; /** * 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) */ readonly timeZoneId?: string; /** * The type of the resource. */ readonly type: string; /** * The unique immutable identifier of a resource (Guid). */ readonly uniqueIdentifier: string; /** * If the schedule will occur only some days of the week, specify the weekly recurrence. */ readonly weeklyRecurrence?: outputs.devtestlab.WeekDetailsResponse; } /** * Get schedule. * * Uses Azure REST API version 2018-09-15. */ export declare function getScheduleOutput(args: GetScheduleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetScheduleResult>; export interface GetScheduleOutputArgs { /** * Specify the $expand query. Example: 'properties($select=status)' */ expand?: pulumi.Input<string>; /** * labs */ labName: pulumi.Input<string>; /** * The name of the Schedule */ name: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }