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

86 lines (85 loc) 2.5 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Lists the applicable start/stop schedules, if any. * * Uses Azure REST API version 2018-09-15. */ export declare function listServiceFabricApplicableSchedules(args: ListServiceFabricApplicableSchedulesArgs, opts?: pulumi.InvokeOptions): Promise<ListServiceFabricApplicableSchedulesResult>; export interface ListServiceFabricApplicableSchedulesArgs { /** * The name of the lab. */ labName: string; /** * The name of the ServiceFabric */ name: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the user profile. */ userName: string; } /** * Schedules applicable to a virtual machine. The schedules may have been defined on a VM or on lab level. */ export interface ListServiceFabricApplicableSchedulesResult { /** * The identifier of the resource. */ readonly id: string; /** * The auto-shutdown schedule, if one has been set at the lab or lab resource level. */ readonly labVmsShutdown?: outputs.devtestlab.ScheduleResponse; /** * The auto-startup schedule, if one has been set at the lab or lab resource level. */ readonly labVmsStartup?: outputs.devtestlab.ScheduleResponse; /** * The location of the resource. */ readonly location?: string; /** * The name of the resource. */ readonly name: string; /** * The tags of the resource. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. */ readonly type: string; } /** * Lists the applicable start/stop schedules, if any. * * Uses Azure REST API version 2018-09-15. */ export declare function listServiceFabricApplicableSchedulesOutput(args: ListServiceFabricApplicableSchedulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListServiceFabricApplicableSchedulesResult>; export interface ListServiceFabricApplicableSchedulesOutputArgs { /** * The name of the lab. */ labName: pulumi.Input<string>; /** * The name of the ServiceFabric */ name: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the user profile. */ userName: pulumi.Input<string>; }