azure-native.desktopvirtualization.ScalingPlanPooledSchedule
Explore with Pulumi AI
Represents a ScalingPlanPooledSchedule definition. API Version: 2022-04-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",
    });
});
package main
import (
	desktopvirtualization "github.com/pulumi/pulumi-azure-native-sdk/desktopvirtualization"
	"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
	})
}
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());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const scalingPlanPooledSchedule = new azure_native.desktopvirtualization.ScalingPlanPooledSchedule("scalingPlanPooledSchedule", {
    daysOfWeek: [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday",
    ],
    offPeakLoadBalancingAlgorithm: "DepthFirst",
    offPeakStartTime: {
        hour: 20,
        minute: 0,
    },
    peakLoadBalancingAlgorithm: "BreadthFirst",
    peakStartTime: {
        hour: 8,
        minute: 0,
    },
    rampDownCapacityThresholdPct: 50,
    rampDownForceLogoffUsers: true,
    rampDownLoadBalancingAlgorithm: "DepthFirst",
    rampDownMinimumHostsPct: 20,
    rampDownNotificationMessage: "message",
    rampDownStartTime: {
        hour: 18,
        minute: 0,
    },
    rampDownWaitTimeMinutes: 30,
    rampUpCapacityThresholdPct: 80,
    rampUpLoadBalancingAlgorithm: "DepthFirst",
    rampUpMinimumHostsPct: 20,
    rampUpStartTime: {
        hour: 6,
        minute: 0,
    },
    resourceGroupName: "resourceGroup1",
    scalingPlanName: "scalingPlan1",
    scalingPlanScheduleName: "scalingPlanScheduleWeekdays1",
});
import pulumi
import pulumi_azure_native as azure_native
scaling_plan_pooled_schedule = azure_native.desktopvirtualization.ScalingPlanPooledSchedule("scalingPlanPooledSchedule",
    days_of_week=[
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday",
    ],
    off_peak_load_balancing_algorithm="DepthFirst",
    off_peak_start_time=azure_native.desktopvirtualization.TimeArgs(
        hour=20,
        minute=0,
    ),
    peak_load_balancing_algorithm="BreadthFirst",
    peak_start_time=azure_native.desktopvirtualization.TimeArgs(
        hour=8,
        minute=0,
    ),
    ramp_down_capacity_threshold_pct=50,
    ramp_down_force_logoff_users=True,
    ramp_down_load_balancing_algorithm="DepthFirst",
    ramp_down_minimum_hosts_pct=20,
    ramp_down_notification_message="message",
    ramp_down_start_time=azure_native.desktopvirtualization.TimeArgs(
        hour=18,
        minute=0,
    ),
    ramp_down_wait_time_minutes=30,
    ramp_up_capacity_threshold_pct=80,
    ramp_up_load_balancing_algorithm="DepthFirst",
    ramp_up_minimum_hosts_pct=20,
    ramp_up_start_time=azure_native.desktopvirtualization.TimeArgs(
        hour=6,
        minute=0,
    ),
    resource_group_name="resourceGroup1",
    scaling_plan_name="scalingPlan1",
    scaling_plan_schedule_name="scalingPlanScheduleWeekdays1")
resources:
  scalingPlanPooledSchedule:
    type: azure-native:desktopvirtualization:ScalingPlanPooledSchedule
    properties:
      daysOfWeek:
        - Monday
        - Tuesday
        - Wednesday
        - Thursday
        - Friday
      offPeakLoadBalancingAlgorithm: DepthFirst
      offPeakStartTime:
        hour: 20
        minute: 0
      peakLoadBalancingAlgorithm: BreadthFirst
      peakStartTime:
        hour: 8
        minute: 0
      rampDownCapacityThresholdPct: 50
      rampDownForceLogoffUsers: true
      rampDownLoadBalancingAlgorithm: DepthFirst
      rampDownMinimumHostsPct: 20
      rampDownNotificationMessage: message
      rampDownStartTime:
        hour: 18
        minute: 0
      rampDownWaitTimeMinutes: 30
      rampUpCapacityThresholdPct: 80
      rampUpLoadBalancingAlgorithm: DepthFirst
      rampUpMinimumHostsPct: 20
      rampUpStartTime:
        hour: 6
        minute: 0
      resourceGroupName: resourceGroup1
      scalingPlanName: scalingPlan1
      scalingPlanScheduleName: scalingPlanScheduleWeekdays1
Create ScalingPlanPooledSchedule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScalingPlanPooledSchedule(name: string, args: ScalingPlanPooledScheduleArgs, opts?: CustomResourceOptions);@overload
def ScalingPlanPooledSchedule(resource_name: str,
                              args: ScalingPlanPooledScheduleArgs,
                              opts: Optional[ResourceOptions] = None)
@overload
def ScalingPlanPooledSchedule(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              resource_group_name: Optional[str] = None,
                              scaling_plan_name: Optional[str] = None,
                              ramp_down_start_time: Optional[TimeArgs] = None,
                              ramp_down_stop_hosts_when: Optional[Union[str, StopHostsWhen]] = None,
                              peak_start_time: Optional[TimeArgs] = None,
                              ramp_down_capacity_threshold_pct: Optional[int] = None,
                              ramp_down_force_logoff_users: Optional[bool] = None,
                              ramp_down_load_balancing_algorithm: Optional[Union[str, SessionHostLoadBalancingAlgorithm]] = None,
                              ramp_down_minimum_hosts_pct: Optional[int] = None,
                              ramp_down_notification_message: Optional[str] = None,
                              days_of_week: Optional[Sequence[Union[str, DayOfWeek]]] = None,
                              peak_load_balancing_algorithm: Optional[Union[str, SessionHostLoadBalancingAlgorithm]] = None,
                              ramp_down_wait_time_minutes: Optional[int] = None,
                              ramp_up_capacity_threshold_pct: Optional[int] = None,
                              ramp_up_load_balancing_algorithm: Optional[Union[str, SessionHostLoadBalancingAlgorithm]] = None,
                              ramp_up_minimum_hosts_pct: Optional[int] = None,
                              ramp_up_start_time: Optional[TimeArgs] = None,
                              off_peak_start_time: Optional[TimeArgs] = None,
                              off_peak_load_balancing_algorithm: Optional[Union[str, SessionHostLoadBalancingAlgorithm]] = None,
                              scaling_plan_schedule_name: Optional[str] = None)func NewScalingPlanPooledSchedule(ctx *Context, name string, args ScalingPlanPooledScheduleArgs, opts ...ResourceOption) (*ScalingPlanPooledSchedule, error)public ScalingPlanPooledSchedule(string name, ScalingPlanPooledScheduleArgs args, CustomResourceOptions? opts = null)
public ScalingPlanPooledSchedule(String name, ScalingPlanPooledScheduleArgs args)
public ScalingPlanPooledSchedule(String name, ScalingPlanPooledScheduleArgs args, CustomResourceOptions options)
type: azure-native:desktopvirtualization:ScalingPlanPooledSchedule
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 ScalingPlanPooledScheduleArgs
- 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 ScalingPlanPooledScheduleArgs
- 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 ScalingPlanPooledScheduleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScalingPlanPooledScheduleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScalingPlanPooledScheduleArgs
- 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 scalingPlanPooledScheduleResource = new AzureNative.Desktopvirtualization.ScalingPlanPooledSchedule("scalingPlanPooledScheduleResource", new()
{
    ResourceGroupName = "string",
    ScalingPlanName = "string",
    RampDownStartTime = 
    {
        { "hour", 0 },
        { "minute", 0 },
    },
    RampDownStopHostsWhen = "string",
    PeakStartTime = 
    {
        { "hour", 0 },
        { "minute", 0 },
    },
    RampDownCapacityThresholdPct = 0,
    RampDownForceLogoffUsers = false,
    RampDownLoadBalancingAlgorithm = "string",
    RampDownMinimumHostsPct = 0,
    RampDownNotificationMessage = "string",
    DaysOfWeek = new[]
    {
        "string",
    },
    PeakLoadBalancingAlgorithm = "string",
    RampDownWaitTimeMinutes = 0,
    RampUpCapacityThresholdPct = 0,
    RampUpLoadBalancingAlgorithm = "string",
    RampUpMinimumHostsPct = 0,
    RampUpStartTime = 
    {
        { "hour", 0 },
        { "minute", 0 },
    },
    OffPeakStartTime = 
    {
        { "hour", 0 },
        { "minute", 0 },
    },
    OffPeakLoadBalancingAlgorithm = "string",
    ScalingPlanScheduleName = "string",
});
example, err := desktopvirtualization.NewScalingPlanPooledSchedule(ctx, "scalingPlanPooledScheduleResource", &desktopvirtualization.ScalingPlanPooledScheduleArgs{
	ResourceGroupName: "string",
	ScalingPlanName:   "string",
	RampDownStartTime: map[string]interface{}{
		"hour":   0,
		"minute": 0,
	},
	RampDownStopHostsWhen: "string",
	PeakStartTime: map[string]interface{}{
		"hour":   0,
		"minute": 0,
	},
	RampDownCapacityThresholdPct:   0,
	RampDownForceLogoffUsers:       false,
	RampDownLoadBalancingAlgorithm: "string",
	RampDownMinimumHostsPct:        0,
	RampDownNotificationMessage:    "string",
	DaysOfWeek: []string{
		"string",
	},
	PeakLoadBalancingAlgorithm:   "string",
	RampDownWaitTimeMinutes:      0,
	RampUpCapacityThresholdPct:   0,
	RampUpLoadBalancingAlgorithm: "string",
	RampUpMinimumHostsPct:        0,
	RampUpStartTime: map[string]interface{}{
		"hour":   0,
		"minute": 0,
	},
	OffPeakStartTime: map[string]interface{}{
		"hour":   0,
		"minute": 0,
	},
	OffPeakLoadBalancingAlgorithm: "string",
	ScalingPlanScheduleName:       "string",
})
var scalingPlanPooledScheduleResource = new ScalingPlanPooledSchedule("scalingPlanPooledScheduleResource", ScalingPlanPooledScheduleArgs.builder()
    .resourceGroupName("string")
    .scalingPlanName("string")
    .rampDownStartTime(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .rampDownStopHostsWhen("string")
    .peakStartTime(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .rampDownCapacityThresholdPct(0)
    .rampDownForceLogoffUsers(false)
    .rampDownLoadBalancingAlgorithm("string")
    .rampDownMinimumHostsPct(0)
    .rampDownNotificationMessage("string")
    .daysOfWeek("string")
    .peakLoadBalancingAlgorithm("string")
    .rampDownWaitTimeMinutes(0)
    .rampUpCapacityThresholdPct(0)
    .rampUpLoadBalancingAlgorithm("string")
    .rampUpMinimumHostsPct(0)
    .rampUpStartTime(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .offPeakStartTime(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .offPeakLoadBalancingAlgorithm("string")
    .scalingPlanScheduleName("string")
    .build());
scaling_plan_pooled_schedule_resource = azure_native.desktopvirtualization.ScalingPlanPooledSchedule("scalingPlanPooledScheduleResource",
    resource_group_name=string,
    scaling_plan_name=string,
    ramp_down_start_time={
        hour: 0,
        minute: 0,
    },
    ramp_down_stop_hosts_when=string,
    peak_start_time={
        hour: 0,
        minute: 0,
    },
    ramp_down_capacity_threshold_pct=0,
    ramp_down_force_logoff_users=False,
    ramp_down_load_balancing_algorithm=string,
    ramp_down_minimum_hosts_pct=0,
    ramp_down_notification_message=string,
    days_of_week=[string],
    peak_load_balancing_algorithm=string,
    ramp_down_wait_time_minutes=0,
    ramp_up_capacity_threshold_pct=0,
    ramp_up_load_balancing_algorithm=string,
    ramp_up_minimum_hosts_pct=0,
    ramp_up_start_time={
        hour: 0,
        minute: 0,
    },
    off_peak_start_time={
        hour: 0,
        minute: 0,
    },
    off_peak_load_balancing_algorithm=string,
    scaling_plan_schedule_name=string)
const scalingPlanPooledScheduleResource = new azure_native.desktopvirtualization.ScalingPlanPooledSchedule("scalingPlanPooledScheduleResource", {
    resourceGroupName: "string",
    scalingPlanName: "string",
    rampDownStartTime: {
        hour: 0,
        minute: 0,
    },
    rampDownStopHostsWhen: "string",
    peakStartTime: {
        hour: 0,
        minute: 0,
    },
    rampDownCapacityThresholdPct: 0,
    rampDownForceLogoffUsers: false,
    rampDownLoadBalancingAlgorithm: "string",
    rampDownMinimumHostsPct: 0,
    rampDownNotificationMessage: "string",
    daysOfWeek: ["string"],
    peakLoadBalancingAlgorithm: "string",
    rampDownWaitTimeMinutes: 0,
    rampUpCapacityThresholdPct: 0,
    rampUpLoadBalancingAlgorithm: "string",
    rampUpMinimumHostsPct: 0,
    rampUpStartTime: {
        hour: 0,
        minute: 0,
    },
    offPeakStartTime: {
        hour: 0,
        minute: 0,
    },
    offPeakLoadBalancingAlgorithm: "string",
    scalingPlanScheduleName: "string",
});
type: azure-native:desktopvirtualization:ScalingPlanPooledSchedule
properties:
    daysOfWeek:
        - string
    offPeakLoadBalancingAlgorithm: string
    offPeakStartTime:
        hour: 0
        minute: 0
    peakLoadBalancingAlgorithm: string
    peakStartTime:
        hour: 0
        minute: 0
    rampDownCapacityThresholdPct: 0
    rampDownForceLogoffUsers: false
    rampDownLoadBalancingAlgorithm: string
    rampDownMinimumHostsPct: 0
    rampDownNotificationMessage: string
    rampDownStartTime:
        hour: 0
        minute: 0
    rampDownStopHostsWhen: string
    rampDownWaitTimeMinutes: 0
    rampUpCapacityThresholdPct: 0
    rampUpLoadBalancingAlgorithm: string
    rampUpMinimumHostsPct: 0
    rampUpStartTime:
        hour: 0
        minute: 0
    resourceGroupName: string
    scalingPlanName: string
    scalingPlanScheduleName: string
ScalingPlanPooledSchedule 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 ScalingPlanPooledSchedule resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ScalingPlan stringName 
- The name of the scaling plan.
- DaysOf List<Union<string, Pulumi.Week Azure Native. Desktop Virtualization. Day Of Week>> 
- Set of days of the week on which this schedule is active.
- OffPeak string | Pulumi.Load Balancing Algorithm Azure Native. Desktop Virtualization. Session Host Load Balancing Algorithm 
- Load balancing algorithm for off-peak period.
- OffPeak Pulumi.Start Time Azure Native. Desktop Virtualization. Inputs. Time 
- Starting time for off-peak period.
- PeakLoad string | Pulumi.Balancing Algorithm Azure Native. Desktop Virtualization. Session Host Load Balancing Algorithm 
- Load balancing algorithm for peak period.
- PeakStart Pulumi.Time Azure Native. Desktop Virtualization. Inputs. Time 
- Starting time for peak period.
- RampDown intCapacity Threshold Pct 
- Capacity threshold for ramp down period.
- RampDown boolForce Logoff Users 
- Should users be logged off forcefully from hosts.
- RampDown string | Pulumi.Load Balancing Algorithm Azure Native. Desktop Virtualization. Session Host Load Balancing Algorithm 
- Load balancing algorithm for ramp down period.
- RampDown intMinimum Hosts Pct 
- Minimum host percentage for ramp down period.
- RampDown stringNotification Message 
- Notification message for users during ramp down period.
- RampDown Pulumi.Start Time Azure Native. Desktop Virtualization. Inputs. Time 
- Starting time for ramp down period.
- RampDown string | Pulumi.Stop Hosts When Azure Native. Desktop Virtualization. Stop Hosts When 
- Specifies when to stop hosts during ramp down period.
- RampDown intWait Time Minutes 
- Number of minutes to wait to stop hosts during ramp down period.
- RampUp intCapacity Threshold Pct 
- Capacity threshold for ramp up period.
- RampUp string | Pulumi.Load Balancing Algorithm Azure Native. Desktop Virtualization. Session Host Load Balancing Algorithm 
- Load balancing algorithm for ramp up period.
- RampUp intMinimum Hosts Pct 
- Minimum host percentage for ramp up period.
- RampUp Pulumi.Start Time Azure Native. Desktop Virtualization. Inputs. Time 
- Starting time for ramp up period.
- ScalingPlan stringSchedule Name 
- The name of the ScalingPlanSchedule
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ScalingPlan stringName 
- The name of the scaling plan.
- DaysOf []stringWeek 
- Set of days of the week on which this schedule is active.
- OffPeak string | SessionLoad Balancing Algorithm Host Load Balancing Algorithm 
- Load balancing algorithm for off-peak period.
- OffPeak TimeStart Time Args 
- Starting time for off-peak period.
- PeakLoad string | SessionBalancing Algorithm Host Load Balancing Algorithm 
- Load balancing algorithm for peak period.
- PeakStart TimeTime Args 
- Starting time for peak period.
- RampDown intCapacity Threshold Pct 
- Capacity threshold for ramp down period.
- RampDown boolForce Logoff Users 
- Should users be logged off forcefully from hosts.
- RampDown string | SessionLoad Balancing Algorithm Host Load Balancing Algorithm 
- Load balancing algorithm for ramp down period.
- RampDown intMinimum Hosts Pct 
- Minimum host percentage for ramp down period.
- RampDown stringNotification Message 
- Notification message for users during ramp down period.
- RampDown TimeStart Time Args 
- Starting time for ramp down period.
- RampDown string | StopStop Hosts When Hosts When 
- Specifies when to stop hosts during ramp down period.
- RampDown intWait Time Minutes 
- Number of minutes to wait to stop hosts during ramp down period.
- RampUp intCapacity Threshold Pct 
- Capacity threshold for ramp up period.
- RampUp string | SessionLoad Balancing Algorithm Host Load Balancing Algorithm 
- Load balancing algorithm for ramp up period.
- RampUp intMinimum Hosts Pct 
- Minimum host percentage for ramp up period.
- RampUp TimeStart Time Args 
- Starting time for ramp up period.
- ScalingPlan stringSchedule Name 
- The name of the ScalingPlanSchedule
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- scalingPlan StringName 
- The name of the scaling plan.
- daysOf List<Either<String,DayWeek Of Week>> 
- Set of days of the week on which this schedule is active.
- offPeak String | SessionLoad Balancing Algorithm Host Load Balancing Algorithm 
- Load balancing algorithm for off-peak period.
- offPeak TimeStart Time 
- Starting time for off-peak period.
- peakLoad String | SessionBalancing Algorithm Host Load Balancing Algorithm 
- Load balancing algorithm for peak period.
- peakStart TimeTime 
- Starting time for peak period.
- rampDown IntegerCapacity Threshold Pct 
- Capacity threshold for ramp down period.
- rampDown BooleanForce Logoff Users 
- Should users be logged off forcefully from hosts.
- rampDown String | SessionLoad Balancing Algorithm Host Load Balancing Algorithm 
- Load balancing algorithm for ramp down period.
- rampDown IntegerMinimum Hosts Pct 
- Minimum host percentage for ramp down period.
- rampDown StringNotification Message 
- Notification message for users during ramp down period.
- rampDown TimeStart Time 
- Starting time for ramp down period.
- rampDown String | StopStop Hosts When Hosts When 
- Specifies when to stop hosts during ramp down period.
- rampDown IntegerWait Time Minutes 
- Number of minutes to wait to stop hosts during ramp down period.
- rampUp IntegerCapacity Threshold Pct 
- Capacity threshold for ramp up period.
- rampUp String | SessionLoad Balancing Algorithm Host Load Balancing Algorithm 
- Load balancing algorithm for ramp up period.
- rampUp IntegerMinimum Hosts Pct 
- Minimum host percentage for ramp up period.
- rampUp TimeStart Time 
- Starting time for ramp up period.
- scalingPlan StringSchedule Name 
- The name of the ScalingPlanSchedule
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- scalingPlan stringName 
- The name of the scaling plan.
- daysOf (string | DayWeek Of Week)[] 
- Set of days of the week on which this schedule is active.
- offPeak string | SessionLoad Balancing Algorithm Host Load Balancing Algorithm 
- Load balancing algorithm for off-peak period.
- offPeak TimeStart Time 
- Starting time for off-peak period.
- peakLoad string | SessionBalancing Algorithm Host Load Balancing Algorithm 
- Load balancing algorithm for peak period.
- peakStart TimeTime 
- Starting time for peak period.
- rampDown numberCapacity Threshold Pct 
- Capacity threshold for ramp down period.
- rampDown booleanForce Logoff Users 
- Should users be logged off forcefully from hosts.
- rampDown string | SessionLoad Balancing Algorithm Host Load Balancing Algorithm 
- Load balancing algorithm for ramp down period.
- rampDown numberMinimum Hosts Pct 
- Minimum host percentage for ramp down period.
- rampDown stringNotification Message 
- Notification message for users during ramp down period.
- rampDown TimeStart Time 
- Starting time for ramp down period.
- rampDown string | StopStop Hosts When Hosts When 
- Specifies when to stop hosts during ramp down period.
- rampDown numberWait Time Minutes 
- Number of minutes to wait to stop hosts during ramp down period.
- rampUp numberCapacity Threshold Pct 
- Capacity threshold for ramp up period.
- rampUp string | SessionLoad Balancing Algorithm Host Load Balancing Algorithm 
- Load balancing algorithm for ramp up period.
- rampUp numberMinimum Hosts Pct 
- Minimum host percentage for ramp up period.
- rampUp TimeStart Time 
- Starting time for ramp up period.
- scalingPlan 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 | Sessionload_ balancing_ algorithm Host Load Balancing Algorithm 
- Load balancing algorithm for off-peak period.
- off_peak_ Timestart_ time Args 
- Starting time for off-peak period.
- peak_load_ str | Sessionbalancing_ algorithm Host Load Balancing Algorithm 
- Load balancing algorithm for peak period.
- peak_start_ Timetime Args 
- Starting time for peak period.
- ramp_down_ intcapacity_ threshold_ pct 
- Capacity threshold for ramp down period.
- ramp_down_ boolforce_ logoff_ users 
- Should users be logged off forcefully from hosts.
- ramp_down_ str | Sessionload_ balancing_ algorithm Host Load Balancing Algorithm 
- Load balancing algorithm for ramp down period.
- ramp_down_ intminimum_ hosts_ pct 
- Minimum host percentage for ramp down period.
- ramp_down_ strnotification_ message 
- Notification message for users during ramp down period.
- ramp_down_ Timestart_ time Args 
- Starting time for ramp down period.
- ramp_down_ str | Stopstop_ hosts_ when Hosts When 
- Specifies when to stop hosts during ramp down period.
- ramp_down_ intwait_ time_ minutes 
- Number of minutes to wait to stop hosts during ramp down period.
- ramp_up_ intcapacity_ threshold_ pct 
- Capacity threshold for ramp up period.
- ramp_up_ str | Sessionload_ balancing_ algorithm Host Load Balancing Algorithm 
- Load balancing algorithm for ramp up period.
- ramp_up_ intminimum_ hosts_ pct 
- Minimum host percentage for ramp up period.
- ramp_up_ Timestart_ time Args 
- Starting time for ramp up period.
- scaling_plan_ strschedule_ name 
- The name of the ScalingPlanSchedule
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- scalingPlan StringName 
- The name of the scaling plan.
- daysOf List<String | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday">Week 
- Set of days of the week on which this schedule is active.
- offPeak String | "BreadthLoad Balancing Algorithm First" | "Depth First" 
- Load balancing algorithm for off-peak period.
- offPeak Property MapStart Time 
- Starting time for off-peak period.
- peakLoad String | "BreadthBalancing Algorithm First" | "Depth First" 
- Load balancing algorithm for peak period.
- peakStart Property MapTime 
- Starting time for peak period.
- rampDown NumberCapacity Threshold Pct 
- Capacity threshold for ramp down period.
- rampDown BooleanForce Logoff Users 
- Should users be logged off forcefully from hosts.
- rampDown String | "BreadthLoad Balancing Algorithm First" | "Depth First" 
- Load balancing algorithm for ramp down period.
- rampDown NumberMinimum Hosts Pct 
- Minimum host percentage for ramp down period.
- rampDown StringNotification Message 
- Notification message for users during ramp down period.
- rampDown Property MapStart Time 
- Starting time for ramp down period.
- rampDown String | "ZeroStop Hosts When Sessions" | "Zero Active Sessions" 
- Specifies when to stop hosts during ramp down period.
- rampDown NumberWait Time Minutes 
- Number of minutes to wait to stop hosts during ramp down period.
- rampUp NumberCapacity Threshold Pct 
- Capacity threshold for ramp up period.
- rampUp String | "BreadthLoad Balancing Algorithm First" | "Depth First" 
- Load balancing algorithm for ramp up period.
- rampUp NumberMinimum Hosts Pct 
- Minimum host percentage for ramp up period.
- rampUp Property MapStart Time 
- Starting time for ramp up period.
- scalingPlan StringSchedule Name 
- The name of the ScalingPlanSchedule
Outputs
All input properties are implicitly available as output properties. Additionally, the ScalingPlanPooledSchedule resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- SystemData 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
- SystemData 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
- systemData 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
- systemData 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
- systemData 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
- DayOf Week Monday 
- Monday
- DayOf Week Tuesday 
- Tuesday
- DayOf Week Wednesday 
- Wednesday
- DayOf Week Thursday 
- Thursday
- DayOf Week Friday 
- Friday
- DayOf Week Saturday 
- Saturday
- DayOf 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
SessionHostLoadBalancingAlgorithm, SessionHostLoadBalancingAlgorithmArgs          
- BreadthFirst 
- BreadthFirst
- DepthFirst 
- DepthFirst
- SessionHost Load Balancing Algorithm Breadth First 
- BreadthFirst
- SessionHost Load Balancing Algorithm Depth First 
- DepthFirst
- BreadthFirst 
- BreadthFirst
- DepthFirst 
- DepthFirst
- BreadthFirst 
- BreadthFirst
- DepthFirst 
- DepthFirst
- BREADTH_FIRST
- BreadthFirst
- DEPTH_FIRST
- DepthFirst
- "BreadthFirst" 
- BreadthFirst
- "DepthFirst" 
- DepthFirst
StopHostsWhen, StopHostsWhenArgs      
- ZeroSessions 
- ZeroSessions
- ZeroActive Sessions 
- ZeroActiveSessions
- StopHosts When Zero Sessions 
- ZeroSessions
- StopHosts When Zero Active Sessions 
- ZeroActiveSessions
- ZeroSessions 
- ZeroSessions
- ZeroActive Sessions 
- ZeroActiveSessions
- ZeroSessions 
- ZeroSessions
- ZeroActive Sessions 
- ZeroActiveSessions
- ZERO_SESSIONS
- ZeroSessions
- ZERO_ACTIVE_SESSIONS
- ZeroActiveSessions
- "ZeroSessions" 
- ZeroSessions
- "ZeroActive Sessions" 
- ZeroActiveSessions
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified 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:ScalingPlanPooledSchedule scalingPlanScheduleWeekdays1 /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/scalingPlan1/pooledSchedules/scalingPlanScheduleWeekdays1 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0