Scaling Plan Pooled Schedule Args
    data class ScalingPlanPooledScheduleArgs(val daysOfWeek: Output<List<Either<String, DayOfWeek>>>? = null, val offPeakLoadBalancingAlgorithm: Output<Either<String, SessionHostLoadBalancingAlgorithm>>? = null, val offPeakStartTime: Output<TimeArgs>? = null, val peakLoadBalancingAlgorithm: Output<Either<String, SessionHostLoadBalancingAlgorithm>>? = null, val peakStartTime: Output<TimeArgs>? = null, val rampDownCapacityThresholdPct: Output<Int>? = null, val rampDownForceLogoffUsers: Output<Boolean>? = null, val rampDownLoadBalancingAlgorithm: Output<Either<String, SessionHostLoadBalancingAlgorithm>>? = null, val rampDownMinimumHostsPct: Output<Int>? = null, val rampDownNotificationMessage: Output<String>? = null, val rampDownStartTime: Output<TimeArgs>? = null, val rampDownStopHostsWhen: Output<Either<String, StopHostsWhen>>? = null, val rampDownWaitTimeMinutes: Output<Int>? = null, val rampUpCapacityThresholdPct: Output<Int>? = null, val rampUpLoadBalancingAlgorithm: Output<Either<String, SessionHostLoadBalancingAlgorithm>>? = null, val rampUpMinimumHostsPct: Output<Int>? = null, val rampUpStartTime: Output<TimeArgs>? = null, val resourceGroupName: Output<String>? = null, val scalingPlanName: Output<String>? = null, val scalingPlanScheduleName: Output<String>? = null) : ConvertibleToJava<ScalingPlanPooledScheduleArgs> 
Represents a ScalingPlanPooledSchedule definition. Azure REST API version: 2022-09-09. Prior API version in Azure Native 1.x: 2022-04-01-preview. Other available API versions: 2022-10-14-preview, 2023-07-07-preview, 2023-09-05, 2023-10-04-preview, 2023-11-01-preview.
Example Usage
ScalingPlanPooledSchedules_Create
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
    var scalingPlanPooledSchedule = new AzureNative.DesktopVirtualization.ScalingPlanPooledSchedule("scalingPlanPooledSchedule", new()
    {
        DaysOfWeek = new[]
        {
            "Monday",
            "Tuesday",
            "Wednesday",
            "Thursday",
            "Friday",
        },
        OffPeakLoadBalancingAlgorithm = "DepthFirst",
        OffPeakStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
        {
            Hour = 20,
            Minute = 0,
        },
        PeakLoadBalancingAlgorithm = "BreadthFirst",
        PeakStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
        {
            Hour = 8,
            Minute = 0,
        },
        RampDownCapacityThresholdPct = 50,
        RampDownForceLogoffUsers = true,
        RampDownLoadBalancingAlgorithm = "DepthFirst",
        RampDownMinimumHostsPct = 20,
        RampDownNotificationMessage = "message",
        RampDownStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
        {
            Hour = 18,
            Minute = 0,
        },
        RampDownWaitTimeMinutes = 30,
        RampUpCapacityThresholdPct = 80,
        RampUpLoadBalancingAlgorithm = "DepthFirst",
        RampUpMinimumHostsPct = 20,
        RampUpStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
        {
            Hour = 6,
            Minute = 0,
        },
        ResourceGroupName = "resourceGroup1",
        ScalingPlanName = "scalingPlan1",
        ScalingPlanScheduleName = "scalingPlanScheduleWeekdays1",
    });
});Content copied to clipboard
package main
import (
	"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.NewScalingPlanPooledSchedule(ctx, "scalingPlanPooledSchedule", &desktopvirtualization.ScalingPlanPooledScheduleArgs{
			DaysOfWeek: pulumi.StringArray{
				pulumi.String("Monday"),
				pulumi.String("Tuesday"),
				pulumi.String("Wednesday"),
				pulumi.String("Thursday"),
				pulumi.String("Friday"),
			},
			OffPeakLoadBalancingAlgorithm: pulumi.String("DepthFirst"),
			OffPeakStartTime: &desktopvirtualization.TimeArgs{
				Hour:   pulumi.Int(20),
				Minute: pulumi.Int(0),
			},
			PeakLoadBalancingAlgorithm: pulumi.String("BreadthFirst"),
			PeakStartTime: &desktopvirtualization.TimeArgs{
				Hour:   pulumi.Int(8),
				Minute: pulumi.Int(0),
			},
			RampDownCapacityThresholdPct:   pulumi.Int(50),
			RampDownForceLogoffUsers:       pulumi.Bool(true),
			RampDownLoadBalancingAlgorithm: pulumi.String("DepthFirst"),
			RampDownMinimumHostsPct:        pulumi.Int(20),
			RampDownNotificationMessage:    pulumi.String("message"),
			RampDownStartTime: &desktopvirtualization.TimeArgs{
				Hour:   pulumi.Int(18),
				Minute: pulumi.Int(0),
			},
			RampDownWaitTimeMinutes:      pulumi.Int(30),
			RampUpCapacityThresholdPct:   pulumi.Int(80),
			RampUpLoadBalancingAlgorithm: pulumi.String("DepthFirst"),
			RampUpMinimumHostsPct:        pulumi.Int(20),
			RampUpStartTime: &desktopvirtualization.TimeArgs{
				Hour:   pulumi.Int(6),
				Minute: pulumi.Int(0),
			},
			ResourceGroupName:       pulumi.String("resourceGroup1"),
			ScalingPlanName:         pulumi.String("scalingPlan1"),
			ScalingPlanScheduleName: pulumi.String("scalingPlanScheduleWeekdays1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.desktopvirtualization.ScalingPlanPooledSchedule;
import com.pulumi.azurenative.desktopvirtualization.ScalingPlanPooledScheduleArgs;
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 scalingPlanPooledSchedule = new ScalingPlanPooledSchedule("scalingPlanPooledSchedule", ScalingPlanPooledScheduleArgs.builder()
            .daysOfWeek(
                "Monday",
                "Tuesday",
                "Wednesday",
                "Thursday",
                "Friday")
            .offPeakLoadBalancingAlgorithm("DepthFirst")
            .offPeakStartTime(Map.ofEntries(
                Map.entry("hour", 20),
                Map.entry("minute", 0)
            ))
            .peakLoadBalancingAlgorithm("BreadthFirst")
            .peakStartTime(Map.ofEntries(
                Map.entry("hour", 8),
                Map.entry("minute", 0)
            ))
            .rampDownCapacityThresholdPct(50)
            .rampDownForceLogoffUsers(true)
            .rampDownLoadBalancingAlgorithm("DepthFirst")
            .rampDownMinimumHostsPct(20)
            .rampDownNotificationMessage("message")
            .rampDownStartTime(Map.ofEntries(
                Map.entry("hour", 18),
                Map.entry("minute", 0)
            ))
            .rampDownWaitTimeMinutes(30)
            .rampUpCapacityThresholdPct(80)
            .rampUpLoadBalancingAlgorithm("DepthFirst")
            .rampUpMinimumHostsPct(20)
            .rampUpStartTime(Map.ofEntries(
                Map.entry("hour", 6),
                Map.entry("minute", 0)
            ))
            .resourceGroupName("resourceGroup1")
            .scalingPlanName("scalingPlan1")
            .scalingPlanScheduleName("scalingPlanScheduleWeekdays1")
            .build());
    }
}Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:desktopvirtualization:ScalingPlanPooledSchedule scalingPlanScheduleWeekdays1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}Content copied to clipboard
Constructors
Link copied to clipboard
                fun ScalingPlanPooledScheduleArgs(daysOfWeek: Output<List<Either<String, DayOfWeek>>>? = null, offPeakLoadBalancingAlgorithm: Output<Either<String, SessionHostLoadBalancingAlgorithm>>? = null, offPeakStartTime: Output<TimeArgs>? = null, peakLoadBalancingAlgorithm: Output<Either<String, SessionHostLoadBalancingAlgorithm>>? = null, peakStartTime: Output<TimeArgs>? = null, rampDownCapacityThresholdPct: Output<Int>? = null, rampDownForceLogoffUsers: Output<Boolean>? = null, rampDownLoadBalancingAlgorithm: Output<Either<String, SessionHostLoadBalancingAlgorithm>>? = null, rampDownMinimumHostsPct: Output<Int>? = null, rampDownNotificationMessage: Output<String>? = null, rampDownStartTime: Output<TimeArgs>? = null, rampDownStopHostsWhen: Output<Either<String, StopHostsWhen>>? = null, rampDownWaitTimeMinutes: Output<Int>? = null, rampUpCapacityThresholdPct: Output<Int>? = null, rampUpLoadBalancingAlgorithm: Output<Either<String, SessionHostLoadBalancingAlgorithm>>? = null, rampUpMinimumHostsPct: Output<Int>? = null, rampUpStartTime: Output<TimeArgs>? = null, resourceGroupName: Output<String>? = null, scalingPlanName: Output<String>? = null, scalingPlanScheduleName: Output<String>? = null)
Functions
Properties
Link copied to clipboard
                val offPeakLoadBalancingAlgorithm: Output<Either<String, SessionHostLoadBalancingAlgorithm>>? = null
Link copied to clipboard
                Link copied to clipboard
                Link copied to clipboard
                Link copied to clipboard
                val rampDownLoadBalancingAlgorithm: Output<Either<String, SessionHostLoadBalancingAlgorithm>>? = null
Link copied to clipboard
                Link copied to clipboard
                Link copied to clipboard
                Link copied to clipboard
                Link copied to clipboard
                Link copied to clipboard
                Link copied to clipboard