azure-native.desktopvirtualization.ScalingPlanPersonalSchedule
Explore with Pulumi AI
Represents a ScalingPlanPersonalSchedule definition. Azure REST API version: 2023-07-07-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-03, 2024-04-08-preview, 2024-08-08-preview.
Example Usage
ScalingPlanPersonalSchedules_Create
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var scalingPlanPersonalSchedule = new AzureNative.DesktopVirtualization.ScalingPlanPersonalSchedule("scalingPlanPersonalSchedule", new()
{
DaysOfWeek = new[]
{
AzureNative.DesktopVirtualization.DayOfWeek.Monday,
AzureNative.DesktopVirtualization.DayOfWeek.Tuesday,
AzureNative.DesktopVirtualization.DayOfWeek.Wednesday,
AzureNative.DesktopVirtualization.DayOfWeek.Thursday,
AzureNative.DesktopVirtualization.DayOfWeek.Friday,
},
OffPeakActionOnDisconnect = AzureNative.DesktopVirtualization.SessionHandlingOperation.None,
OffPeakActionOnLogoff = AzureNative.DesktopVirtualization.SessionHandlingOperation.Deallocate,
OffPeakMinutesToWaitOnDisconnect = 10,
OffPeakMinutesToWaitOnLogoff = 10,
OffPeakStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
{
Hour = 20,
Minute = 0,
},
OffPeakStartVMOnConnect = AzureNative.DesktopVirtualization.SetStartVMOnConnect.Enable,
PeakActionOnDisconnect = AzureNative.DesktopVirtualization.SessionHandlingOperation.None,
PeakActionOnLogoff = AzureNative.DesktopVirtualization.SessionHandlingOperation.Deallocate,
PeakMinutesToWaitOnDisconnect = 10,
PeakMinutesToWaitOnLogoff = 10,
PeakStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
{
Hour = 8,
Minute = 0,
},
PeakStartVMOnConnect = AzureNative.DesktopVirtualization.SetStartVMOnConnect.Enable,
RampDownActionOnDisconnect = AzureNative.DesktopVirtualization.SessionHandlingOperation.None,
RampDownActionOnLogoff = AzureNative.DesktopVirtualization.SessionHandlingOperation.Deallocate,
RampDownMinutesToWaitOnDisconnect = 10,
RampDownMinutesToWaitOnLogoff = 10,
RampDownStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
{
Hour = 18,
Minute = 0,
},
RampDownStartVMOnConnect = AzureNative.DesktopVirtualization.SetStartVMOnConnect.Enable,
RampUpActionOnDisconnect = AzureNative.DesktopVirtualization.SessionHandlingOperation.None,
RampUpActionOnLogoff = AzureNative.DesktopVirtualization.SessionHandlingOperation.None,
RampUpAutoStartHosts = AzureNative.DesktopVirtualization.StartupBehavior.All,
RampUpMinutesToWaitOnDisconnect = 10,
RampUpMinutesToWaitOnLogoff = 10,
RampUpStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
{
Hour = 6,
Minute = 0,
},
RampUpStartVMOnConnect = AzureNative.DesktopVirtualization.SetStartVMOnConnect.Enable,
ResourceGroupName = "resourceGroup1",
ScalingPlanName = "scalingPlan1",
ScalingPlanScheduleName = "scalingPlanScheduleWeekdays1",
});
});
package main
import (
desktopvirtualization "github.com/pulumi/pulumi-azure-native-sdk/desktopvirtualization/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := desktopvirtualization.NewScalingPlanPersonalSchedule(ctx, "scalingPlanPersonalSchedule", &desktopvirtualization.ScalingPlanPersonalScheduleArgs{
DaysOfWeek: pulumi.StringArray{
pulumi.String(desktopvirtualization.DayOfWeekMonday),
pulumi.String(desktopvirtualization.DayOfWeekTuesday),
pulumi.String(desktopvirtualization.DayOfWeekWednesday),
pulumi.String(desktopvirtualization.DayOfWeekThursday),
pulumi.String(desktopvirtualization.DayOfWeekFriday),
},
OffPeakActionOnDisconnect: pulumi.String(desktopvirtualization.SessionHandlingOperationNone),
OffPeakActionOnLogoff: pulumi.String(desktopvirtualization.SessionHandlingOperationDeallocate),
OffPeakMinutesToWaitOnDisconnect: pulumi.Int(10),
OffPeakMinutesToWaitOnLogoff: pulumi.Int(10),
OffPeakStartTime: &desktopvirtualization.TimeArgs{
Hour: pulumi.Int(20),
Minute: pulumi.Int(0),
},
OffPeakStartVMOnConnect: pulumi.String(desktopvirtualization.SetStartVMOnConnectEnable),
PeakActionOnDisconnect: pulumi.String(desktopvirtualization.SessionHandlingOperationNone),
PeakActionOnLogoff: pulumi.String(desktopvirtualization.SessionHandlingOperationDeallocate),
PeakMinutesToWaitOnDisconnect: pulumi.Int(10),
PeakMinutesToWaitOnLogoff: pulumi.Int(10),
PeakStartTime: &desktopvirtualization.TimeArgs{
Hour: pulumi.Int(8),
Minute: pulumi.Int(0),
},
PeakStartVMOnConnect: pulumi.String(desktopvirtualization.SetStartVMOnConnectEnable),
RampDownActionOnDisconnect: pulumi.String(desktopvirtualization.SessionHandlingOperationNone),
RampDownActionOnLogoff: pulumi.String(desktopvirtualization.SessionHandlingOperationDeallocate),
RampDownMinutesToWaitOnDisconnect: pulumi.Int(10),
RampDownMinutesToWaitOnLogoff: pulumi.Int(10),
RampDownStartTime: &desktopvirtualization.TimeArgs{
Hour: pulumi.Int(18),
Minute: pulumi.Int(0),
},
RampDownStartVMOnConnect: pulumi.String(desktopvirtualization.SetStartVMOnConnectEnable),
RampUpActionOnDisconnect: pulumi.String(desktopvirtualization.SessionHandlingOperationNone),
RampUpActionOnLogoff: pulumi.String(desktopvirtualization.SessionHandlingOperationNone),
RampUpAutoStartHosts: pulumi.String(desktopvirtualization.StartupBehaviorAll),
RampUpMinutesToWaitOnDisconnect: pulumi.Int(10),
RampUpMinutesToWaitOnLogoff: pulumi.Int(10),
RampUpStartTime: &desktopvirtualization.TimeArgs{
Hour: pulumi.Int(6),
Minute: pulumi.Int(0),
},
RampUpStartVMOnConnect: pulumi.String(desktopvirtualization.SetStartVMOnConnectEnable),
ResourceGroupName: pulumi.String("resourceGroup1"),
ScalingPlanName: pulumi.String("scalingPlan1"),
ScalingPlanScheduleName: pulumi.String("scalingPlanScheduleWeekdays1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.desktopvirtualization.ScalingPlanPersonalSchedule;
import com.pulumi.azurenative.desktopvirtualization.ScalingPlanPersonalScheduleArgs;
import com.pulumi.azurenative.desktopvirtualization.inputs.TimeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var scalingPlanPersonalSchedule = new ScalingPlanPersonalSchedule("scalingPlanPersonalSchedule", ScalingPlanPersonalScheduleArgs.builder()
.daysOfWeek(
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday")
.offPeakActionOnDisconnect("None")
.offPeakActionOnLogoff("Deallocate")
.offPeakMinutesToWaitOnDisconnect(10)
.offPeakMinutesToWaitOnLogoff(10)
.offPeakStartTime(TimeArgs.builder()
.hour(20)
.minute(0)
.build())
.offPeakStartVMOnConnect("Enable")
.peakActionOnDisconnect("None")
.peakActionOnLogoff("Deallocate")
.peakMinutesToWaitOnDisconnect(10)
.peakMinutesToWaitOnLogoff(10)
.peakStartTime(TimeArgs.builder()
.hour(8)
.minute(0)
.build())
.peakStartVMOnConnect("Enable")
.rampDownActionOnDisconnect("None")
.rampDownActionOnLogoff("Deallocate")
.rampDownMinutesToWaitOnDisconnect(10)
.rampDownMinutesToWaitOnLogoff(10)
.rampDownStartTime(TimeArgs.builder()
.hour(18)
.minute(0)
.build())
.rampDownStartVMOnConnect("Enable")
.rampUpActionOnDisconnect("None")
.rampUpActionOnLogoff("None")
.rampUpAutoStartHosts("All")
.rampUpMinutesToWaitOnDisconnect(10)
.rampUpMinutesToWaitOnLogoff(10)
.rampUpStartTime(TimeArgs.builder()
.hour(6)
.minute(0)
.build())
.rampUpStartVMOnConnect("Enable")
.resourceGroupName("resourceGroup1")
.scalingPlanName("scalingPlan1")
.scalingPlanScheduleName("scalingPlanScheduleWeekdays1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
scaling_plan_personal_schedule = azure_native.desktopvirtualization.ScalingPlanPersonalSchedule("scalingPlanPersonalSchedule",
days_of_week=[
azure_native.desktopvirtualization.DayOfWeek.MONDAY,
azure_native.desktopvirtualization.DayOfWeek.TUESDAY,
azure_native.desktopvirtualization.DayOfWeek.WEDNESDAY,
azure_native.desktopvirtualization.DayOfWeek.THURSDAY,
azure_native.desktopvirtualization.DayOfWeek.FRIDAY,
],
off_peak_action_on_disconnect=azure_native.desktopvirtualization.SessionHandlingOperation.NONE,
off_peak_action_on_logoff=azure_native.desktopvirtualization.SessionHandlingOperation.DEALLOCATE,
off_peak_minutes_to_wait_on_disconnect=10,
off_peak_minutes_to_wait_on_logoff=10,
off_peak_start_time={
"hour": 20,
"minute": 0,
},
off_peak_start_vm_on_connect=azure_native.desktopvirtualization.SetStartVMOnConnect.ENABLE,
peak_action_on_disconnect=azure_native.desktopvirtualization.SessionHandlingOperation.NONE,
peak_action_on_logoff=azure_native.desktopvirtualization.SessionHandlingOperation.DEALLOCATE,
peak_minutes_to_wait_on_disconnect=10,
peak_minutes_to_wait_on_logoff=10,
peak_start_time={
"hour": 8,
"minute": 0,
},
peak_start_vm_on_connect=azure_native.desktopvirtualization.SetStartVMOnConnect.ENABLE,
ramp_down_action_on_disconnect=azure_native.desktopvirtualization.SessionHandlingOperation.NONE,
ramp_down_action_on_logoff=azure_native.desktopvirtualization.SessionHandlingOperation.DEALLOCATE,
ramp_down_minutes_to_wait_on_disconnect=10,
ramp_down_minutes_to_wait_on_logoff=10,
ramp_down_start_time={
"hour": 18,
"minute": 0,
},
ramp_down_start_vm_on_connect=azure_native.desktopvirtualization.SetStartVMOnConnect.ENABLE,
ramp_up_action_on_disconnect=azure_native.desktopvirtualization.SessionHandlingOperation.NONE,
ramp_up_action_on_logoff=azure_native.desktopvirtualization.SessionHandlingOperation.NONE,
ramp_up_auto_start_hosts=azure_native.desktopvirtualization.StartupBehavior.ALL,
ramp_up_minutes_to_wait_on_disconnect=10,
ramp_up_minutes_to_wait_on_logoff=10,
ramp_up_start_time={
"hour": 6,
"minute": 0,
},
ramp_up_start_vm_on_connect=azure_native.desktopvirtualization.SetStartVMOnConnect.ENABLE,
resource_group_name="resourceGroup1",
scaling_plan_name="scalingPlan1",
scaling_plan_schedule_name="scalingPlanScheduleWeekdays1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const scalingPlanPersonalSchedule = new azure_native.desktopvirtualization.ScalingPlanPersonalSchedule("scalingPlanPersonalSchedule", {
daysOfWeek: [
azure_native.desktopvirtualization.DayOfWeek.Monday,
azure_native.desktopvirtualization.DayOfWeek.Tuesday,
azure_native.desktopvirtualization.DayOfWeek.Wednesday,
azure_native.desktopvirtualization.DayOfWeek.Thursday,
azure_native.desktopvirtualization.DayOfWeek.Friday,
],
offPeakActionOnDisconnect: azure_native.desktopvirtualization.SessionHandlingOperation.None,
offPeakActionOnLogoff: azure_native.desktopvirtualization.SessionHandlingOperation.Deallocate,
offPeakMinutesToWaitOnDisconnect: 10,
offPeakMinutesToWaitOnLogoff: 10,
offPeakStartTime: {
hour: 20,
minute: 0,
},
offPeakStartVMOnConnect: azure_native.desktopvirtualization.SetStartVMOnConnect.Enable,
peakActionOnDisconnect: azure_native.desktopvirtualization.SessionHandlingOperation.None,
peakActionOnLogoff: azure_native.desktopvirtualization.SessionHandlingOperation.Deallocate,
peakMinutesToWaitOnDisconnect: 10,
peakMinutesToWaitOnLogoff: 10,
peakStartTime: {
hour: 8,
minute: 0,
},
peakStartVMOnConnect: azure_native.desktopvirtualization.SetStartVMOnConnect.Enable,
rampDownActionOnDisconnect: azure_native.desktopvirtualization.SessionHandlingOperation.None,
rampDownActionOnLogoff: azure_native.desktopvirtualization.SessionHandlingOperation.Deallocate,
rampDownMinutesToWaitOnDisconnect: 10,
rampDownMinutesToWaitOnLogoff: 10,
rampDownStartTime: {
hour: 18,
minute: 0,
},
rampDownStartVMOnConnect: azure_native.desktopvirtualization.SetStartVMOnConnect.Enable,
rampUpActionOnDisconnect: azure_native.desktopvirtualization.SessionHandlingOperation.None,
rampUpActionOnLogoff: azure_native.desktopvirtualization.SessionHandlingOperation.None,
rampUpAutoStartHosts: azure_native.desktopvirtualization.StartupBehavior.All,
rampUpMinutesToWaitOnDisconnect: 10,
rampUpMinutesToWaitOnLogoff: 10,
rampUpStartTime: {
hour: 6,
minute: 0,
},
rampUpStartVMOnConnect: azure_native.desktopvirtualization.SetStartVMOnConnect.Enable,
resourceGroupName: "resourceGroup1",
scalingPlanName: "scalingPlan1",
scalingPlanScheduleName: "scalingPlanScheduleWeekdays1",
});
resources:
scalingPlanPersonalSchedule:
type: azure-native:desktopvirtualization:ScalingPlanPersonalSchedule
properties:
daysOfWeek:
- Monday
- Tuesday
- Wednesday
- Thursday
- Friday
offPeakActionOnDisconnect: None
offPeakActionOnLogoff: Deallocate
offPeakMinutesToWaitOnDisconnect: 10
offPeakMinutesToWaitOnLogoff: 10
offPeakStartTime:
hour: 20
minute: 0
offPeakStartVMOnConnect: Enable
peakActionOnDisconnect: None
peakActionOnLogoff: Deallocate
peakMinutesToWaitOnDisconnect: 10
peakMinutesToWaitOnLogoff: 10
peakStartTime:
hour: 8
minute: 0
peakStartVMOnConnect: Enable
rampDownActionOnDisconnect: None
rampDownActionOnLogoff: Deallocate
rampDownMinutesToWaitOnDisconnect: 10
rampDownMinutesToWaitOnLogoff: 10
rampDownStartTime:
hour: 18
minute: 0
rampDownStartVMOnConnect: Enable
rampUpActionOnDisconnect: None
rampUpActionOnLogoff: None
rampUpAutoStartHosts: All
rampUpMinutesToWaitOnDisconnect: 10
rampUpMinutesToWaitOnLogoff: 10
rampUpStartTime:
hour: 6
minute: 0
rampUpStartVMOnConnect: Enable
resourceGroupName: resourceGroup1
scalingPlanName: scalingPlan1
scalingPlanScheduleName: scalingPlanScheduleWeekdays1
Create ScalingPlanPersonalSchedule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScalingPlanPersonalSchedule(name: string, args: ScalingPlanPersonalScheduleArgs, opts?: CustomResourceOptions);
@overload
def ScalingPlanPersonalSchedule(resource_name: str,
args: ScalingPlanPersonalScheduleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ScalingPlanPersonalSchedule(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
scaling_plan_name: Optional[str] = None,
ramp_down_action_on_logoff: Optional[Union[str, SessionHandlingOperation]] = None,
scaling_plan_schedule_name: Optional[str] = None,
days_of_week: Optional[Sequence[Union[str, DayOfWeek]]] = None,
off_peak_start_time: Optional[TimeArgs] = None,
off_peak_start_vm_on_connect: Optional[Union[str, SetStartVMOnConnect]] = None,
peak_action_on_disconnect: Optional[Union[str, SessionHandlingOperation]] = None,
peak_action_on_logoff: Optional[Union[str, SessionHandlingOperation]] = None,
peak_minutes_to_wait_on_disconnect: Optional[int] = None,
peak_minutes_to_wait_on_logoff: Optional[int] = None,
peak_start_time: Optional[TimeArgs] = None,
peak_start_vm_on_connect: Optional[Union[str, SetStartVMOnConnect]] = None,
ramp_down_action_on_disconnect: Optional[Union[str, SessionHandlingOperation]] = None,
off_peak_minutes_to_wait_on_logoff: Optional[int] = None,
off_peak_minutes_to_wait_on_disconnect: Optional[int] = None,
ramp_up_minutes_to_wait_on_logoff: Optional[int] = None,
ramp_down_start_time: Optional[TimeArgs] = None,
ramp_down_start_vm_on_connect: Optional[Union[str, SetStartVMOnConnect]] = None,
ramp_up_action_on_disconnect: Optional[Union[str, SessionHandlingOperation]] = None,
ramp_up_action_on_logoff: Optional[Union[str, SessionHandlingOperation]] = None,
ramp_up_auto_start_hosts: Optional[Union[str, StartupBehavior]] = None,
ramp_up_minutes_to_wait_on_disconnect: Optional[int] = None,
ramp_down_minutes_to_wait_on_logoff: Optional[int] = None,
ramp_up_start_time: Optional[TimeArgs] = None,
ramp_up_start_vm_on_connect: Optional[Union[str, SetStartVMOnConnect]] = None,
off_peak_action_on_logoff: Optional[Union[str, SessionHandlingOperation]] = None,
off_peak_action_on_disconnect: Optional[Union[str, SessionHandlingOperation]] = None,
ramp_down_minutes_to_wait_on_disconnect: Optional[int] = None)
func NewScalingPlanPersonalSchedule(ctx *Context, name string, args ScalingPlanPersonalScheduleArgs, opts ...ResourceOption) (*ScalingPlanPersonalSchedule, error)
public ScalingPlanPersonalSchedule(string name, ScalingPlanPersonalScheduleArgs args, CustomResourceOptions? opts = null)
public ScalingPlanPersonalSchedule(String name, ScalingPlanPersonalScheduleArgs args)
public ScalingPlanPersonalSchedule(String name, ScalingPlanPersonalScheduleArgs args, CustomResourceOptions options)
type: azure-native:desktopvirtualization:ScalingPlanPersonalSchedule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ScalingPlanPersonalScheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ScalingPlanPersonalScheduleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ScalingPlanPersonalScheduleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScalingPlanPersonalScheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScalingPlanPersonalScheduleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var scalingPlanPersonalScheduleResource = new AzureNative.DesktopVirtualization.ScalingPlanPersonalSchedule("scalingPlanPersonalScheduleResource", new()
{
ResourceGroupName = "string",
ScalingPlanName = "string",
RampDownActionOnLogoff = "string",
ScalingPlanScheduleName = "string",
DaysOfWeek = new[]
{
"string",
},
OffPeakStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
{
Hour = 0,
Minute = 0,
},
OffPeakStartVMOnConnect = "string",
PeakActionOnDisconnect = "string",
PeakActionOnLogoff = "string",
PeakMinutesToWaitOnDisconnect = 0,
PeakMinutesToWaitOnLogoff = 0,
PeakStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
{
Hour = 0,
Minute = 0,
},
PeakStartVMOnConnect = "string",
RampDownActionOnDisconnect = "string",
OffPeakMinutesToWaitOnLogoff = 0,
OffPeakMinutesToWaitOnDisconnect = 0,
RampUpMinutesToWaitOnLogoff = 0,
RampDownStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
{
Hour = 0,
Minute = 0,
},
RampDownStartVMOnConnect = "string",
RampUpActionOnDisconnect = "string",
RampUpActionOnLogoff = "string",
RampUpAutoStartHosts = "string",
RampUpMinutesToWaitOnDisconnect = 0,
RampDownMinutesToWaitOnLogoff = 0,
RampUpStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
{
Hour = 0,
Minute = 0,
},
RampUpStartVMOnConnect = "string",
OffPeakActionOnLogoff = "string",
OffPeakActionOnDisconnect = "string",
RampDownMinutesToWaitOnDisconnect = 0,
});
example, err := desktopvirtualization.NewScalingPlanPersonalSchedule(ctx, "scalingPlanPersonalScheduleResource", &desktopvirtualization.ScalingPlanPersonalScheduleArgs{
ResourceGroupName: pulumi.String("string"),
ScalingPlanName: pulumi.String("string"),
RampDownActionOnLogoff: pulumi.String("string"),
ScalingPlanScheduleName: pulumi.String("string"),
DaysOfWeek: pulumi.StringArray{
pulumi.String("string"),
},
OffPeakStartTime: &desktopvirtualization.TimeArgs{
Hour: pulumi.Int(0),
Minute: pulumi.Int(0),
},
OffPeakStartVMOnConnect: pulumi.String("string"),
PeakActionOnDisconnect: pulumi.String("string"),
PeakActionOnLogoff: pulumi.String("string"),
PeakMinutesToWaitOnDisconnect: pulumi.Int(0),
PeakMinutesToWaitOnLogoff: pulumi.Int(0),
PeakStartTime: &desktopvirtualization.TimeArgs{
Hour: pulumi.Int(0),
Minute: pulumi.Int(0),
},
PeakStartVMOnConnect: pulumi.String("string"),
RampDownActionOnDisconnect: pulumi.String("string"),
OffPeakMinutesToWaitOnLogoff: pulumi.Int(0),
OffPeakMinutesToWaitOnDisconnect: pulumi.Int(0),
RampUpMinutesToWaitOnLogoff: pulumi.Int(0),
RampDownStartTime: &desktopvirtualization.TimeArgs{
Hour: pulumi.Int(0),
Minute: pulumi.Int(0),
},
RampDownStartVMOnConnect: pulumi.String("string"),
RampUpActionOnDisconnect: pulumi.String("string"),
RampUpActionOnLogoff: pulumi.String("string"),
RampUpAutoStartHosts: pulumi.String("string"),
RampUpMinutesToWaitOnDisconnect: pulumi.Int(0),
RampDownMinutesToWaitOnLogoff: pulumi.Int(0),
RampUpStartTime: &desktopvirtualization.TimeArgs{
Hour: pulumi.Int(0),
Minute: pulumi.Int(0),
},
RampUpStartVMOnConnect: pulumi.String("string"),
OffPeakActionOnLogoff: pulumi.String("string"),
OffPeakActionOnDisconnect: pulumi.String("string"),
RampDownMinutesToWaitOnDisconnect: pulumi.Int(0),
})
var scalingPlanPersonalScheduleResource = new ScalingPlanPersonalSchedule("scalingPlanPersonalScheduleResource", ScalingPlanPersonalScheduleArgs.builder()
.resourceGroupName("string")
.scalingPlanName("string")
.rampDownActionOnLogoff("string")
.scalingPlanScheduleName("string")
.daysOfWeek("string")
.offPeakStartTime(TimeArgs.builder()
.hour(0)
.minute(0)
.build())
.offPeakStartVMOnConnect("string")
.peakActionOnDisconnect("string")
.peakActionOnLogoff("string")
.peakMinutesToWaitOnDisconnect(0)
.peakMinutesToWaitOnLogoff(0)
.peakStartTime(TimeArgs.builder()
.hour(0)
.minute(0)
.build())
.peakStartVMOnConnect("string")
.rampDownActionOnDisconnect("string")
.offPeakMinutesToWaitOnLogoff(0)
.offPeakMinutesToWaitOnDisconnect(0)
.rampUpMinutesToWaitOnLogoff(0)
.rampDownStartTime(TimeArgs.builder()
.hour(0)
.minute(0)
.build())
.rampDownStartVMOnConnect("string")
.rampUpActionOnDisconnect("string")
.rampUpActionOnLogoff("string")
.rampUpAutoStartHosts("string")
.rampUpMinutesToWaitOnDisconnect(0)
.rampDownMinutesToWaitOnLogoff(0)
.rampUpStartTime(TimeArgs.builder()
.hour(0)
.minute(0)
.build())
.rampUpStartVMOnConnect("string")
.offPeakActionOnLogoff("string")
.offPeakActionOnDisconnect("string")
.rampDownMinutesToWaitOnDisconnect(0)
.build());
scaling_plan_personal_schedule_resource = azure_native.desktopvirtualization.ScalingPlanPersonalSchedule("scalingPlanPersonalScheduleResource",
resource_group_name="string",
scaling_plan_name="string",
ramp_down_action_on_logoff="string",
scaling_plan_schedule_name="string",
days_of_week=["string"],
off_peak_start_time={
"hour": 0,
"minute": 0,
},
off_peak_start_vm_on_connect="string",
peak_action_on_disconnect="string",
peak_action_on_logoff="string",
peak_minutes_to_wait_on_disconnect=0,
peak_minutes_to_wait_on_logoff=0,
peak_start_time={
"hour": 0,
"minute": 0,
},
peak_start_vm_on_connect="string",
ramp_down_action_on_disconnect="string",
off_peak_minutes_to_wait_on_logoff=0,
off_peak_minutes_to_wait_on_disconnect=0,
ramp_up_minutes_to_wait_on_logoff=0,
ramp_down_start_time={
"hour": 0,
"minute": 0,
},
ramp_down_start_vm_on_connect="string",
ramp_up_action_on_disconnect="string",
ramp_up_action_on_logoff="string",
ramp_up_auto_start_hosts="string",
ramp_up_minutes_to_wait_on_disconnect=0,
ramp_down_minutes_to_wait_on_logoff=0,
ramp_up_start_time={
"hour": 0,
"minute": 0,
},
ramp_up_start_vm_on_connect="string",
off_peak_action_on_logoff="string",
off_peak_action_on_disconnect="string",
ramp_down_minutes_to_wait_on_disconnect=0)
const scalingPlanPersonalScheduleResource = new azure_native.desktopvirtualization.ScalingPlanPersonalSchedule("scalingPlanPersonalScheduleResource", {
resourceGroupName: "string",
scalingPlanName: "string",
rampDownActionOnLogoff: "string",
scalingPlanScheduleName: "string",
daysOfWeek: ["string"],
offPeakStartTime: {
hour: 0,
minute: 0,
},
offPeakStartVMOnConnect: "string",
peakActionOnDisconnect: "string",
peakActionOnLogoff: "string",
peakMinutesToWaitOnDisconnect: 0,
peakMinutesToWaitOnLogoff: 0,
peakStartTime: {
hour: 0,
minute: 0,
},
peakStartVMOnConnect: "string",
rampDownActionOnDisconnect: "string",
offPeakMinutesToWaitOnLogoff: 0,
offPeakMinutesToWaitOnDisconnect: 0,
rampUpMinutesToWaitOnLogoff: 0,
rampDownStartTime: {
hour: 0,
minute: 0,
},
rampDownStartVMOnConnect: "string",
rampUpActionOnDisconnect: "string",
rampUpActionOnLogoff: "string",
rampUpAutoStartHosts: "string",
rampUpMinutesToWaitOnDisconnect: 0,
rampDownMinutesToWaitOnLogoff: 0,
rampUpStartTime: {
hour: 0,
minute: 0,
},
rampUpStartVMOnConnect: "string",
offPeakActionOnLogoff: "string",
offPeakActionOnDisconnect: "string",
rampDownMinutesToWaitOnDisconnect: 0,
});
type: azure-native:desktopvirtualization:ScalingPlanPersonalSchedule
properties:
daysOfWeek:
- string
offPeakActionOnDisconnect: string
offPeakActionOnLogoff: string
offPeakMinutesToWaitOnDisconnect: 0
offPeakMinutesToWaitOnLogoff: 0
offPeakStartTime:
hour: 0
minute: 0
offPeakStartVMOnConnect: string
peakActionOnDisconnect: string
peakActionOnLogoff: string
peakMinutesToWaitOnDisconnect: 0
peakMinutesToWaitOnLogoff: 0
peakStartTime:
hour: 0
minute: 0
peakStartVMOnConnect: string
rampDownActionOnDisconnect: string
rampDownActionOnLogoff: string
rampDownMinutesToWaitOnDisconnect: 0
rampDownMinutesToWaitOnLogoff: 0
rampDownStartTime:
hour: 0
minute: 0
rampDownStartVMOnConnect: string
rampUpActionOnDisconnect: string
rampUpActionOnLogoff: string
rampUpAutoStartHosts: string
rampUpMinutesToWaitOnDisconnect: 0
rampUpMinutesToWaitOnLogoff: 0
rampUpStartTime:
hour: 0
minute: 0
rampUpStartVMOnConnect: string
resourceGroupName: string
scalingPlanName: string
scalingPlanScheduleName: string
ScalingPlanPersonalSchedule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ScalingPlanPersonalSchedule resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Scaling
Plan stringName - The name of the scaling plan.
- Days
Of List<Union<string, Pulumi.Week Azure Native. Desktop Virtualization. Day Of Week>> - Set of days of the week on which this schedule is active.
- Off
Peak string | Pulumi.Action On Disconnect Azure Native. Desktop Virtualization. Session Handling Operation - Action to be taken after a user disconnect during the off-peak period.
- Off
Peak string | Pulumi.Action On Logoff Azure Native. Desktop Virtualization. Session Handling Operation - Action to be taken after a logoff during the off-peak period.
- Off
Peak intMinutes To Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period.
- Off
Peak intMinutes To Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period.
- Off
Peak Pulumi.Start Time Azure Native. Desktop Virtualization. Inputs. Time - Starting time for off-peak period.
- Off
Peak string | Pulumi.Start VMOn Connect Azure Native. Desktop Virtualization. Set Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the off-peak phase.
- Peak
Action string | Pulumi.On Disconnect Azure Native. Desktop Virtualization. Session Handling Operation - Action to be taken after a user disconnect during the peak period.
- Peak
Action string | Pulumi.On Logoff Azure Native. Desktop Virtualization. Session Handling Operation - Action to be taken after a logoff during the peak period.
- Peak
Minutes intTo Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period.
- Peak
Minutes intTo Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period.
- Peak
Start Pulumi.Time Azure Native. Desktop Virtualization. Inputs. Time - Starting time for peak period.
- Peak
Start string | Pulumi.VMOn Connect Azure Native. Desktop Virtualization. Set Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the peak phase.
- Ramp
Down string | Pulumi.Action On Disconnect Azure Native. Desktop Virtualization. Session Handling Operation - Action to be taken after a user disconnect during the ramp down period.
- Ramp
Down string | Pulumi.Action On Logoff Azure Native. Desktop Virtualization. Session Handling Operation - Action to be taken after a logoff during the ramp down period.
- Ramp
Down intMinutes To Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period.
- Ramp
Down intMinutes To Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period.
- Ramp
Down Pulumi.Start Time Azure Native. Desktop Virtualization. Inputs. Time - Starting time for ramp down period.
- Ramp
Down string | Pulumi.Start VMOn Connect Azure Native. Desktop Virtualization. Set Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the ramp down phase.
- Ramp
Up string | Pulumi.Action On Disconnect Azure Native. Desktop Virtualization. Session Handling Operation - Action to be taken after a user disconnect during the ramp up period.
- Ramp
Up string | Pulumi.Action On Logoff Azure Native. Desktop Virtualization. Session Handling Operation - Action to be taken after a logoff during the ramp up period.
- Ramp
Up string | Pulumi.Auto Start Hosts Azure Native. Desktop Virtualization. Startup Behavior - The desired startup behavior during the ramp up period for personal vms in the hostpool.
- Ramp
Up intMinutes To Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period.
- Ramp
Up intMinutes To Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period.
- Ramp
Up Pulumi.Start Time Azure Native. Desktop Virtualization. Inputs. Time - Starting time for ramp up period.
- Ramp
Up string | Pulumi.Start VMOn Connect Azure Native. Desktop Virtualization. Set Start VMOn Connect - 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.
- Scaling
Plan stringSchedule Name - The name of the ScalingPlanSchedule
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Scaling
Plan stringName - The name of the scaling plan.
- Days
Of []stringWeek - Set of days of the week on which this schedule is active.
- Off
Peak string | SessionAction On Disconnect Handling Operation - Action to be taken after a user disconnect during the off-peak period.
- Off
Peak string | SessionAction On Logoff Handling Operation - Action to be taken after a logoff during the off-peak period.
- Off
Peak intMinutes To Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period.
- Off
Peak intMinutes To Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period.
- Off
Peak TimeStart Time Args - Starting time for off-peak period.
- Off
Peak string | SetStart VMOn Connect Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the off-peak phase.
- Peak
Action string | SessionOn Disconnect Handling Operation - Action to be taken after a user disconnect during the peak period.
- Peak
Action string | SessionOn Logoff Handling Operation - Action to be taken after a logoff during the peak period.
- Peak
Minutes intTo Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period.
- Peak
Minutes intTo Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period.
- Peak
Start TimeTime Args - Starting time for peak period.
- Peak
Start string | SetVMOn Connect Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the peak phase.
- Ramp
Down string | SessionAction On Disconnect Handling Operation - Action to be taken after a user disconnect during the ramp down period.
- Ramp
Down string | SessionAction On Logoff Handling Operation - Action to be taken after a logoff during the ramp down period.
- Ramp
Down intMinutes To Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period.
- Ramp
Down intMinutes To Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period.
- Ramp
Down TimeStart Time Args - Starting time for ramp down period.
- Ramp
Down string | SetStart VMOn Connect Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the ramp down phase.
- Ramp
Up string | SessionAction On Disconnect Handling Operation - Action to be taken after a user disconnect during the ramp up period.
- Ramp
Up string | SessionAction On Logoff Handling Operation - Action to be taken after a logoff during the ramp up period.
- Ramp
Up string | StartupAuto Start Hosts Behavior - The desired startup behavior during the ramp up period for personal vms in the hostpool.
- Ramp
Up intMinutes To Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period.
- Ramp
Up intMinutes To Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period.
- Ramp
Up TimeStart Time Args - Starting time for ramp up period.
- Ramp
Up string | SetStart VMOn Connect Start VMOn Connect - 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.
- Scaling
Plan stringSchedule Name - The name of the ScalingPlanSchedule
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- scaling
Plan StringName - The name of the scaling plan.
- days
Of List<Either<String,DayWeek Of Week>> - Set of days of the week on which this schedule is active.
- off
Peak String | SessionAction On Disconnect Handling Operation - Action to be taken after a user disconnect during the off-peak period.
- off
Peak String | SessionAction On Logoff Handling Operation - Action to be taken after a logoff during the off-peak period.
- off
Peak IntegerMinutes To Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period.
- off
Peak IntegerMinutes To Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period.
- off
Peak TimeStart Time - Starting time for off-peak period.
- off
Peak String | SetStart VMOn Connect Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the off-peak phase.
- peak
Action String | SessionOn Disconnect Handling Operation - Action to be taken after a user disconnect during the peak period.
- peak
Action String | SessionOn Logoff Handling Operation - Action to be taken after a logoff during the peak period.
- peak
Minutes IntegerTo Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period.
- peak
Minutes IntegerTo Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period.
- peak
Start TimeTime - Starting time for peak period.
- peak
Start String | SetVMOn Connect Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the peak phase.
- ramp
Down String | SessionAction On Disconnect Handling Operation - Action to be taken after a user disconnect during the ramp down period.
- ramp
Down String | SessionAction On Logoff Handling Operation - Action to be taken after a logoff during the ramp down period.
- ramp
Down IntegerMinutes To Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period.
- ramp
Down IntegerMinutes To Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period.
- ramp
Down TimeStart Time - Starting time for ramp down period.
- ramp
Down String | SetStart VMOn Connect Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the ramp down phase.
- ramp
Up String | SessionAction On Disconnect Handling Operation - Action to be taken after a user disconnect during the ramp up period.
- ramp
Up String | SessionAction On Logoff Handling Operation - Action to be taken after a logoff during the ramp up period.
- ramp
Up String | StartupAuto Start Hosts Behavior - The desired startup behavior during the ramp up period for personal vms in the hostpool.
- ramp
Up IntegerMinutes To Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period.
- ramp
Up IntegerMinutes To Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period.
- ramp
Up TimeStart Time - Starting time for ramp up period.
- ramp
Up String | SetStart VMOn Connect Start VMOn Connect - 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.
- scaling
Plan StringSchedule Name - The name of the ScalingPlanSchedule
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- scaling
Plan stringName - The name of the scaling plan.
- days
Of (string | DayWeek Of Week)[] - Set of days of the week on which this schedule is active.
- off
Peak string | SessionAction On Disconnect Handling Operation - Action to be taken after a user disconnect during the off-peak period.
- off
Peak string | SessionAction On Logoff Handling Operation - Action to be taken after a logoff during the off-peak period.
- off
Peak numberMinutes To Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period.
- off
Peak numberMinutes To Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period.
- off
Peak TimeStart Time - Starting time for off-peak period.
- off
Peak string | SetStart VMOn Connect Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the off-peak phase.
- peak
Action string | SessionOn Disconnect Handling Operation - Action to be taken after a user disconnect during the peak period.
- peak
Action string | SessionOn Logoff Handling Operation - Action to be taken after a logoff during the peak period.
- peak
Minutes numberTo Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period.
- peak
Minutes numberTo Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period.
- peak
Start TimeTime - Starting time for peak period.
- peak
Start string | SetVMOn Connect Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the peak phase.
- ramp
Down string | SessionAction On Disconnect Handling Operation - Action to be taken after a user disconnect during the ramp down period.
- ramp
Down string | SessionAction On Logoff Handling Operation - Action to be taken after a logoff during the ramp down period.
- ramp
Down numberMinutes To Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period.
- ramp
Down numberMinutes To Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period.
- ramp
Down TimeStart Time - Starting time for ramp down period.
- ramp
Down string | SetStart VMOn Connect Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the ramp down phase.
- ramp
Up string | SessionAction On Disconnect Handling Operation - Action to be taken after a user disconnect during the ramp up period.
- ramp
Up string | SessionAction On Logoff Handling Operation - Action to be taken after a logoff during the ramp up period.
- ramp
Up string | StartupAuto Start Hosts Behavior - The desired startup behavior during the ramp up period for personal vms in the hostpool.
- ramp
Up numberMinutes To Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period.
- ramp
Up numberMinutes To Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period.
- ramp
Up TimeStart Time - Starting time for ramp up period.
- ramp
Up string | SetStart VMOn Connect Start VMOn Connect - 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.
- scaling
Plan stringSchedule Name - The name of the ScalingPlanSchedule
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- scaling_
plan_ strname - The name of the scaling plan.
- days_
of_ Sequence[Union[str, Dayweek Of Week]] - Set of days of the week on which this schedule is active.
- off_
peak_ str | Sessionaction_ on_ disconnect Handling Operation - Action to be taken after a user disconnect during the off-peak period.
- off_
peak_ str | Sessionaction_ on_ logoff Handling Operation - Action to be taken after a logoff during the off-peak period.
- off_
peak_ intminutes_ to_ wait_ on_ disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period.
- off_
peak_ intminutes_ to_ wait_ on_ logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period.
- off_
peak_ Timestart_ time Args - Starting time for off-peak period.
- off_
peak_ str | Setstart_ vm_ on_ connect Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the off-peak phase.
- peak_
action_ str | Sessionon_ disconnect Handling Operation - Action to be taken after a user disconnect during the peak period.
- peak_
action_ str | Sessionon_ logoff Handling Operation - Action to be taken after a logoff during the peak period.
- peak_
minutes_ intto_ wait_ on_ disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period.
- peak_
minutes_ intto_ wait_ on_ logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period.
- peak_
start_ Timetime Args - Starting time for peak period.
- peak_
start_ str | Setvm_ on_ connect Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the peak phase.
- ramp_
down_ str | Sessionaction_ on_ disconnect Handling Operation - Action to be taken after a user disconnect during the ramp down period.
- ramp_
down_ str | Sessionaction_ on_ logoff Handling Operation - Action to be taken after a logoff during the ramp down period.
- ramp_
down_ intminutes_ to_ wait_ on_ disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period.
- ramp_
down_ intminutes_ to_ wait_ on_ logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period.
- ramp_
down_ Timestart_ time Args - Starting time for ramp down period.
- ramp_
down_ str | Setstart_ vm_ on_ connect Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the ramp down phase.
- ramp_
up_ str | Sessionaction_ on_ disconnect Handling Operation - Action to be taken after a user disconnect during the ramp up period.
- ramp_
up_ str | Sessionaction_ on_ logoff Handling Operation - Action to be taken after a logoff during the ramp up period.
- ramp_
up_ str | Startupauto_ start_ hosts Behavior - The desired startup behavior during the ramp up period for personal vms in the hostpool.
- ramp_
up_ intminutes_ to_ wait_ on_ disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period.
- ramp_
up_ intminutes_ to_ wait_ on_ logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period.
- ramp_
up_ Timestart_ time Args - Starting time for ramp up period.
- ramp_
up_ str | Setstart_ vm_ on_ connect Start VMOn Connect - 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.
- scaling_
plan_ strschedule_ name - The name of the ScalingPlanSchedule
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- scaling
Plan StringName - The name of the scaling plan.
- days
Of List<String | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday">Week - Set of days of the week on which this schedule is active.
- off
Peak String | "None" | "Deallocate"Action On Disconnect - Action to be taken after a user disconnect during the off-peak period.
- off
Peak String | "None" | "Deallocate"Action On Logoff - Action to be taken after a logoff during the off-peak period.
- off
Peak NumberMinutes To Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the off-peak period.
- off
Peak NumberMinutes To Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the off-peak period.
- off
Peak Property MapStart Time - Starting time for off-peak period.
- off
Peak String | "Enable" | "Disable"Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the off-peak phase.
- peak
Action String | "None" | "Deallocate"On Disconnect - Action to be taken after a user disconnect during the peak period.
- peak
Action String | "None" | "Deallocate"On Logoff - Action to be taken after a logoff during the peak period.
- peak
Minutes NumberTo Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the peak period.
- peak
Minutes NumberTo Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the peak period.
- peak
Start Property MapTime - Starting time for peak period.
- peak
Start String | "Enable" | "Disable"VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the peak phase.
- ramp
Down String | "None" | "Deallocate"Action On Disconnect - Action to be taken after a user disconnect during the ramp down period.
- ramp
Down String | "None" | "Deallocate"Action On Logoff - Action to be taken after a logoff during the ramp down period.
- ramp
Down NumberMinutes To Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp down period.
- ramp
Down NumberMinutes To Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp down period.
- ramp
Down Property MapStart Time - Starting time for ramp down period.
- ramp
Down String | "Enable" | "Disable"Start VMOn Connect - The desired configuration of Start VM On Connect for the hostpool during the ramp down phase.
- ramp
Up String | "None" | "Deallocate"Action On Disconnect - Action to be taken after a user disconnect during the ramp up period.
- ramp
Up String | "None" | "Deallocate"Action On Logoff - Action to be taken after a logoff during the ramp up period.
- ramp
Up String | "None" | "WithAuto Start Hosts Assigned User" | "All" - The desired startup behavior during the ramp up period for personal vms in the hostpool.
- ramp
Up NumberMinutes To Wait On Disconnect - The time in minutes to wait before performing the desired session handling action when a user disconnects during the ramp up period.
- ramp
Up NumberMinutes To Wait On Logoff - The time in minutes to wait before performing the desired session handling action when a user logs off during the ramp up period.
- ramp
Up Property MapStart Time - Starting time for ramp up period.
- ramp
Up String | "Enable" | "Disable"Start VMOn Connect - 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.
- scaling
Plan StringSchedule Name - The name of the ScalingPlanSchedule
Outputs
All input properties are implicitly available as output properties. Additionally, the ScalingPlanPersonalSchedule resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Desktop Virtualization. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
DayOfWeek, DayOfWeekArgs
- Monday
- Monday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- Thursday
- Thursday
- Friday
- Friday
- Saturday
- Saturday
- Sunday
- Sunday
- Day
Of Week Monday - Monday
- Day
Of Week Tuesday - Tuesday
- Day
Of Week Wednesday - Wednesday
- Day
Of Week Thursday - Thursday
- Day
Of Week Friday - Friday
- Day
Of Week Saturday - Saturday
- Day
Of Week Sunday - Sunday
- Monday
- Monday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- Thursday
- Thursday
- Friday
- Friday
- Saturday
- Saturday
- Sunday
- Sunday
- Monday
- Monday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- Thursday
- Thursday
- Friday
- Friday
- Saturday
- Saturday
- Sunday
- Sunday
- MONDAY
- Monday
- TUESDAY
- Tuesday
- WEDNESDAY
- Wednesday
- THURSDAY
- Thursday
- FRIDAY
- Friday
- SATURDAY
- Saturday
- SUNDAY
- Sunday
- "Monday"
- Monday
- "Tuesday"
- Tuesday
- "Wednesday"
- Wednesday
- "Thursday"
- Thursday
- "Friday"
- Friday
- "Saturday"
- Saturday
- "Sunday"
- Sunday
SessionHandlingOperation, SessionHandlingOperationArgs
- None
- None
- Deallocate
- Deallocate
- Session
Handling Operation None - None
- Session
Handling Operation Deallocate - Deallocate
- None
- None
- Deallocate
- Deallocate
- None
- None
- Deallocate
- Deallocate
- NONE
- None
- DEALLOCATE
- Deallocate
- "None"
- None
- "Deallocate"
- Deallocate
SetStartVMOnConnect, SetStartVMOnConnectArgs
- Enable
- Enable
- Disable
- Disable
- Set
Start VMOn Connect Enable - Enable
- Set
Start VMOn Connect Disable - Disable
- Enable
- Enable
- Disable
- Disable
- Enable
- Enable
- Disable
- Disable
- ENABLE
- Enable
- DISABLE
- Disable
- "Enable"
- Enable
- "Disable"
- Disable
StartupBehavior, StartupBehaviorArgs
- None
- NoneSession hosts will not be started by the service. This setting depends on Start VM on Connect to be enabled to start the session hosts.
- With
Assigned User - WithAssignedUserSession hosts with an assigned user will be started during Ramp Up
- All
- AllAll personal session hosts in the hostpool will be started during ramp up.
- Startup
Behavior None - NoneSession hosts will not be started by the service. This setting depends on Start VM on Connect to be enabled to start the session hosts.
- Startup
Behavior With Assigned User - WithAssignedUserSession hosts with an assigned user will be started during Ramp Up
- Startup
Behavior All - AllAll personal session hosts in the hostpool will be started during ramp up.
- None
- NoneSession hosts will not be started by the service. This setting depends on Start VM on Connect to be enabled to start the session hosts.
- With
Assigned User - WithAssignedUserSession hosts with an assigned user will be started during Ramp Up
- All
- AllAll personal session hosts in the hostpool will be started during ramp up.
- None
- NoneSession hosts will not be started by the service. This setting depends on Start VM on Connect to be enabled to start the session hosts.
- With
Assigned User - WithAssignedUserSession hosts with an assigned user will be started during Ramp Up
- All
- AllAll personal session hosts in the hostpool will be started during ramp up.
- NONE
- NoneSession hosts will not be started by the service. This setting depends on Start VM on Connect to be enabled to start the session hosts.
- WITH_ASSIGNED_USER
- WithAssignedUserSession hosts with an assigned user will be started during Ramp Up
- ALL
- AllAll personal session hosts in the hostpool will be started during ramp up.
- "None"
- NoneSession hosts will not be started by the service. This setting depends on Start VM on Connect to be enabled to start the session hosts.
- "With
Assigned User" - WithAssignedUserSession hosts with an assigned user will be started during Ramp Up
- "All"
- AllAll personal session hosts in the hostpool will be started during ramp up.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Time, TimeArgs
TimeResponse, TimeResponseArgs
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:desktopvirtualization:ScalingPlanPersonalSchedule scalingPlanScheduleWeekdays1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0