@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.35 kB
TypeScript
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 listVirtualMachineApplicableSchedules(args: ListVirtualMachineApplicableSchedulesArgs, opts?: pulumi.InvokeOptions): Promise<ListVirtualMachineApplicableSchedulesResult>;
export interface ListVirtualMachineApplicableSchedulesArgs {
/**
* The name of the lab.
*/
labName: string;
/**
* The name of the LabVirtualMachine
*/
name: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Schedules applicable to a virtual machine. The schedules may have been defined on a VM or on lab level.
*/
export interface ListVirtualMachineApplicableSchedulesResult {
/**
* 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 listVirtualMachineApplicableSchedulesOutput(args: ListVirtualMachineApplicableSchedulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListVirtualMachineApplicableSchedulesResult>;
export interface ListVirtualMachineApplicableSchedulesOutputArgs {
/**
* The name of the lab.
*/
labName: pulumi.Input<string>;
/**
* The name of the LabVirtualMachine
*/
name: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}