@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.5 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 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>;
}