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

277 lines (276 loc) • 13.4 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Represents a ScalingPlanPersonalSchedule definition. * * Uses Azure REST API version 2024-04-03. In version 2.x of the Azure Native provider, it used API version 2024-11-01-preview. * * Other available API versions: 2023-09-05, 2023-10-04-preview, 2023-11-01-preview, 2024-01-16-preview, 2024-03-06-preview, 2024-04-08-preview, 2024-08-08-preview, 2024-11-01-preview, 2025-03-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native desktopvirtualization [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class ScalingPlanPersonalSchedule extends pulumi.CustomResource { /** * Get an existing ScalingPlanPersonalSchedule resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ScalingPlanPersonalSchedule; /** * Returns true if the given object is an instance of ScalingPlanPersonalSchedule. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ScalingPlanPersonalSchedule; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * Set of days of the week on which this schedule is active. */ readonly daysOfWeek: pulumi.Output<string[] | undefined>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * Action to be taken after a user disconnect during the off-peak period. */ readonly offPeakActionOnDisconnect: pulumi.Output<string | undefined>; /** * Action to be taken after a logoff during the off-peak period. */ readonly offPeakActionOnLogoff: pulumi.Output<string | undefined>; /** * The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period. */ readonly offPeakMinutesToWaitOnDisconnect: pulumi.Output<number | undefined>; /** * The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period. */ readonly offPeakMinutesToWaitOnLogoff: pulumi.Output<number | undefined>; /** * Starting time for off-peak period. */ readonly offPeakStartTime: pulumi.Output<outputs.desktopvirtualization.TimeResponse | undefined>; /** * The desired configuration of Start VM On Connect for the hostpool during the off-peak phase. */ readonly offPeakStartVMOnConnect: pulumi.Output<string | undefined>; /** * Action to be taken after a user disconnect during the peak period. */ readonly peakActionOnDisconnect: pulumi.Output<string | undefined>; /** * Action to be taken after a logoff during the peak period. */ readonly peakActionOnLogoff: pulumi.Output<string | undefined>; /** * The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period. */ readonly peakMinutesToWaitOnDisconnect: pulumi.Output<number | undefined>; /** * The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period. */ readonly peakMinutesToWaitOnLogoff: pulumi.Output<number | undefined>; /** * Starting time for peak period. */ readonly peakStartTime: pulumi.Output<outputs.desktopvirtualization.TimeResponse | undefined>; /** * The desired configuration of Start VM On Connect for the hostpool during the peak phase. */ readonly peakStartVMOnConnect: pulumi.Output<string | undefined>; /** * Action to be taken after a user disconnect during the ramp down period. */ readonly rampDownActionOnDisconnect: pulumi.Output<string | undefined>; /** * Action to be taken after a logoff during the ramp down period. */ readonly rampDownActionOnLogoff: pulumi.Output<string | undefined>; /** * The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period. */ readonly rampDownMinutesToWaitOnDisconnect: pulumi.Output<number | undefined>; /** * The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period. */ readonly rampDownMinutesToWaitOnLogoff: pulumi.Output<number | undefined>; /** * Starting time for ramp down period. */ readonly rampDownStartTime: pulumi.Output<outputs.desktopvirtualization.TimeResponse | undefined>; /** * The desired configuration of Start VM On Connect for the hostpool during the ramp down phase. */ readonly rampDownStartVMOnConnect: pulumi.Output<string | undefined>; /** * Action to be taken after a user disconnect during the ramp up period. */ readonly rampUpActionOnDisconnect: pulumi.Output<string | undefined>; /** * Action to be taken after a logoff during the ramp up period. */ readonly rampUpActionOnLogoff: pulumi.Output<string | undefined>; /** * The desired startup behavior during the ramp up period for personal vms in the hostpool. */ readonly rampUpAutoStartHosts: pulumi.Output<string | undefined>; /** * The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period. */ readonly rampUpMinutesToWaitOnDisconnect: pulumi.Output<number | undefined>; /** * The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period. */ readonly rampUpMinutesToWaitOnLogoff: pulumi.Output<number | undefined>; /** * Starting time for ramp up period. */ readonly rampUpStartTime: pulumi.Output<outputs.desktopvirtualization.TimeResponse | undefined>; /** * The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually. */ readonly rampUpStartVMOnConnect: pulumi.Output<string | undefined>; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output<outputs.desktopvirtualization.SystemDataResponse>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * Create a ScalingPlanPersonalSchedule resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ScalingPlanPersonalScheduleArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ScalingPlanPersonalSchedule resource. */ export interface ScalingPlanPersonalScheduleArgs { /** * Set of days of the week on which this schedule is active. */ daysOfWeek?: pulumi.Input<pulumi.Input<string | enums.desktopvirtualization.DayOfWeek>[]>; /** * Action to be taken after a user disconnect during the off-peak period. */ offPeakActionOnDisconnect?: pulumi.Input<string | enums.desktopvirtualization.SessionHandlingOperation>; /** * Action to be taken after a logoff during the off-peak period. */ offPeakActionOnLogoff?: pulumi.Input<string | enums.desktopvirtualization.SessionHandlingOperation>; /** * The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period. */ offPeakMinutesToWaitOnDisconnect?: pulumi.Input<number>; /** * The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period. */ offPeakMinutesToWaitOnLogoff?: pulumi.Input<number>; /** * Starting time for off-peak period. */ offPeakStartTime?: pulumi.Input<inputs.desktopvirtualization.TimeArgs>; /** * The desired configuration of Start VM On Connect for the hostpool during the off-peak phase. */ offPeakStartVMOnConnect?: pulumi.Input<string | enums.desktopvirtualization.SetStartVMOnConnect>; /** * Action to be taken after a user disconnect during the peak period. */ peakActionOnDisconnect?: pulumi.Input<string | enums.desktopvirtualization.SessionHandlingOperation>; /** * Action to be taken after a logoff during the peak period. */ peakActionOnLogoff?: pulumi.Input<string | enums.desktopvirtualization.SessionHandlingOperation>; /** * The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period. */ peakMinutesToWaitOnDisconnect?: pulumi.Input<number>; /** * The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period. */ peakMinutesToWaitOnLogoff?: pulumi.Input<number>; /** * Starting time for peak period. */ peakStartTime?: pulumi.Input<inputs.desktopvirtualization.TimeArgs>; /** * The desired configuration of Start VM On Connect for the hostpool during the peak phase. */ peakStartVMOnConnect?: pulumi.Input<string | enums.desktopvirtualization.SetStartVMOnConnect>; /** * Action to be taken after a user disconnect during the ramp down period. */ rampDownActionOnDisconnect?: pulumi.Input<string | enums.desktopvirtualization.SessionHandlingOperation>; /** * Action to be taken after a logoff during the ramp down period. */ rampDownActionOnLogoff?: pulumi.Input<string | enums.desktopvirtualization.SessionHandlingOperation>; /** * The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period. */ rampDownMinutesToWaitOnDisconnect?: pulumi.Input<number>; /** * The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period. */ rampDownMinutesToWaitOnLogoff?: pulumi.Input<number>; /** * Starting time for ramp down period. */ rampDownStartTime?: pulumi.Input<inputs.desktopvirtualization.TimeArgs>; /** * The desired configuration of Start VM On Connect for the hostpool during the ramp down phase. */ rampDownStartVMOnConnect?: pulumi.Input<string | enums.desktopvirtualization.SetStartVMOnConnect>; /** * Action to be taken after a user disconnect during the ramp up period. */ rampUpActionOnDisconnect?: pulumi.Input<string | enums.desktopvirtualization.SessionHandlingOperation>; /** * Action to be taken after a logoff during the ramp up period. */ rampUpActionOnLogoff?: pulumi.Input<string | enums.desktopvirtualization.SessionHandlingOperation>; /** * The desired startup behavior during the ramp up period for personal vms in the hostpool. */ rampUpAutoStartHosts?: pulumi.Input<string | enums.desktopvirtualization.StartupBehavior>; /** * The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period. */ rampUpMinutesToWaitOnDisconnect?: pulumi.Input<number>; /** * The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period. */ rampUpMinutesToWaitOnLogoff?: pulumi.Input<number>; /** * Starting time for ramp up period. */ rampUpStartTime?: pulumi.Input<inputs.desktopvirtualization.TimeArgs>; /** * The desired configuration of Start VM On Connect for the hostpool during the ramp up phase. If this is disabled, session hosts must be turned on using rampUpAutoStartHosts or by turning them on manually. */ rampUpStartVMOnConnect?: pulumi.Input<string | enums.desktopvirtualization.SetStartVMOnConnect>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the scaling plan. */ scalingPlanName: pulumi.Input<string>; /** * The name of the ScalingPlanSchedule */ scalingPlanScheduleName?: pulumi.Input<string>; }