azure-native.desktopvirtualization.ScalingPlanPooledSchedule
Explore with Pulumi AI
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, 2024-01-16-preview, 2024-03-06-preview, 2024-04-03, 2024-04-08-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[]
{
AzureNative.DesktopVirtualization.DayOfWeek.Monday,
AzureNative.DesktopVirtualization.DayOfWeek.Tuesday,
AzureNative.DesktopVirtualization.DayOfWeek.Wednesday,
AzureNative.DesktopVirtualization.DayOfWeek.Thursday,
AzureNative.DesktopVirtualization.DayOfWeek.Friday,
},
OffPeakLoadBalancingAlgorithm = AzureNative.DesktopVirtualization.SessionHostLoadBalancingAlgorithm.DepthFirst,
OffPeakStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
{
Hour = 20,
Minute = 0,
},
PeakLoadBalancingAlgorithm = AzureNative.DesktopVirtualization.SessionHostLoadBalancingAlgorithm.BreadthFirst,
PeakStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
{
Hour = 8,
Minute = 0,
},
RampDownCapacityThresholdPct = 50,
RampDownForceLogoffUsers = true,
RampDownLoadBalancingAlgorithm = AzureNative.DesktopVirtualization.SessionHostLoadBalancingAlgorithm.DepthFirst,
RampDownMinimumHostsPct = 20,
RampDownNotificationMessage = "message",
RampDownStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
{
Hour = 18,
Minute = 0,
},
RampDownWaitTimeMinutes = 30,
RampUpCapacityThresholdPct = 80,
RampUpLoadBalancingAlgorithm = AzureNative.DesktopVirtualization.SessionHostLoadBalancingAlgorithm.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/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(desktopvirtualization.DayOfWeekMonday),
pulumi.String(desktopvirtualization.DayOfWeekTuesday),
pulumi.String(desktopvirtualization.DayOfWeekWednesday),
pulumi.String(desktopvirtualization.DayOfWeekThursday),
pulumi.String(desktopvirtualization.DayOfWeekFriday),
},
OffPeakLoadBalancingAlgorithm: pulumi.String(desktopvirtualization.SessionHostLoadBalancingAlgorithmDepthFirst),
OffPeakStartTime: &desktopvirtualization.TimeArgs{
Hour: pulumi.Int(20),
Minute: pulumi.Int(0),
},
PeakLoadBalancingAlgorithm: pulumi.String(desktopvirtualization.SessionHostLoadBalancingAlgorithmBreadthFirst),
PeakStartTime: &desktopvirtualization.TimeArgs{
Hour: pulumi.Int(8),
Minute: pulumi.Int(0),
},
RampDownCapacityThresholdPct: pulumi.Int(50),
RampDownForceLogoffUsers: pulumi.Bool(true),
RampDownLoadBalancingAlgorithm: pulumi.String(desktopvirtualization.SessionHostLoadBalancingAlgorithmDepthFirst),
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(desktopvirtualization.SessionHostLoadBalancingAlgorithmDepthFirst),
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 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 scalingPlanPooledSchedule = new ScalingPlanPooledSchedule("scalingPlanPooledSchedule", ScalingPlanPooledScheduleArgs.builder()
.daysOfWeek(
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday")
.offPeakLoadBalancingAlgorithm("DepthFirst")
.offPeakStartTime(TimeArgs.builder()
.hour(20)
.minute(0)
.build())
.peakLoadBalancingAlgorithm("BreadthFirst")
.peakStartTime(TimeArgs.builder()
.hour(8)
.minute(0)
.build())
.rampDownCapacityThresholdPct(50)
.rampDownForceLogoffUsers(true)
.rampDownLoadBalancingAlgorithm("DepthFirst")
.rampDownMinimumHostsPct(20)
.rampDownNotificationMessage("message")
.rampDownStartTime(TimeArgs.builder()
.hour(18)
.minute(0)
.build())
.rampDownWaitTimeMinutes(30)
.rampUpCapacityThresholdPct(80)
.rampUpLoadBalancingAlgorithm("DepthFirst")
.rampUpMinimumHostsPct(20)
.rampUpStartTime(TimeArgs.builder()
.hour(6)
.minute(0)
.build())
.resourceGroupName("resourceGroup1")
.scalingPlanName("scalingPlan1")
.scalingPlanScheduleName("scalingPlanScheduleWeekdays1")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
scaling_plan_pooled_schedule = azure_native.desktopvirtualization.ScalingPlanPooledSchedule("scalingPlanPooledSchedule",
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_load_balancing_algorithm=azure_native.desktopvirtualization.SessionHostLoadBalancingAlgorithm.DEPTH_FIRST,
off_peak_start_time=azure_native.desktopvirtualization.TimeArgs(
hour=20,
minute=0,
),
peak_load_balancing_algorithm=azure_native.desktopvirtualization.SessionHostLoadBalancingAlgorithm.BREADTH_FIRST,
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=azure_native.desktopvirtualization.SessionHostLoadBalancingAlgorithm.DEPTH_FIRST,
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=azure_native.desktopvirtualization.SessionHostLoadBalancingAlgorithm.DEPTH_FIRST,
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")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const scalingPlanPooledSchedule = new azure_native.desktopvirtualization.ScalingPlanPooledSchedule("scalingPlanPooledSchedule", {
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,
],
offPeakLoadBalancingAlgorithm: azure_native.desktopvirtualization.SessionHostLoadBalancingAlgorithm.DepthFirst,
offPeakStartTime: {
hour: 20,
minute: 0,
},
peakLoadBalancingAlgorithm: azure_native.desktopvirtualization.SessionHostLoadBalancingAlgorithm.BreadthFirst,
peakStartTime: {
hour: 8,
minute: 0,
},
rampDownCapacityThresholdPct: 50,
rampDownForceLogoffUsers: true,
rampDownLoadBalancingAlgorithm: azure_native.desktopvirtualization.SessionHostLoadBalancingAlgorithm.DepthFirst,
rampDownMinimumHostsPct: 20,
rampDownNotificationMessage: "message",
rampDownStartTime: {
hour: 18,
minute: 0,
},
rampDownWaitTimeMinutes: 30,
rampUpCapacityThresholdPct: 80,
rampUpLoadBalancingAlgorithm: azure_native.desktopvirtualization.SessionHostLoadBalancingAlgorithm.DepthFirst,
rampUpMinimumHostsPct: 20,
rampUpStartTime: {
hour: 6,
minute: 0,
},
resourceGroupName: "resourceGroup1",
scalingPlanName: "scalingPlan1",
scalingPlanScheduleName: "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 = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
{
Hour = 0,
Minute = 0,
},
RampDownStopHostsWhen = "string",
PeakStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
{
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 = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
{
Hour = 0,
Minute = 0,
},
OffPeakStartTime = new AzureNative.DesktopVirtualization.Inputs.TimeArgs
{
Hour = 0,
Minute = 0,
},
OffPeakLoadBalancingAlgorithm = "string",
ScalingPlanScheduleName = "string",
});
example, err := desktopvirtualization.NewScalingPlanPooledSchedule(ctx, "scalingPlanPooledScheduleResource", &desktopvirtualization.ScalingPlanPooledScheduleArgs{
ResourceGroupName: pulumi.String("string"),
ScalingPlanName: pulumi.String("string"),
RampDownStartTime: &desktopvirtualization.TimeArgs{
Hour: pulumi.Int(0),
Minute: pulumi.Int(0),
},
RampDownStopHostsWhen: pulumi.String("string"),
PeakStartTime: &desktopvirtualization.TimeArgs{
Hour: pulumi.Int(0),
Minute: pulumi.Int(0),
},
RampDownCapacityThresholdPct: pulumi.Int(0),
RampDownForceLogoffUsers: pulumi.Bool(false),
RampDownLoadBalancingAlgorithm: pulumi.String("string"),
RampDownMinimumHostsPct: pulumi.Int(0),
RampDownNotificationMessage: pulumi.String("string"),
DaysOfWeek: pulumi.StringArray{
pulumi.String("string"),
},
PeakLoadBalancingAlgorithm: pulumi.String("string"),
RampDownWaitTimeMinutes: pulumi.Int(0),
RampUpCapacityThresholdPct: pulumi.Int(0),
RampUpLoadBalancingAlgorithm: pulumi.String("string"),
RampUpMinimumHostsPct: pulumi.Int(0),
RampUpStartTime: &desktopvirtualization.TimeArgs{
Hour: pulumi.Int(0),
Minute: pulumi.Int(0),
},
OffPeakStartTime: &desktopvirtualization.TimeArgs{
Hour: pulumi.Int(0),
Minute: pulumi.Int(0),
},
OffPeakLoadBalancingAlgorithm: pulumi.String("string"),
ScalingPlanScheduleName: pulumi.String("string"),
})
var scalingPlanPooledScheduleResource = new ScalingPlanPooledSchedule("scalingPlanPooledScheduleResource", ScalingPlanPooledScheduleArgs.builder()
.resourceGroupName("string")
.scalingPlanName("string")
.rampDownStartTime(TimeArgs.builder()
.hour(0)
.minute(0)
.build())
.rampDownStopHostsWhen("string")
.peakStartTime(TimeArgs.builder()
.hour(0)
.minute(0)
.build())
.rampDownCapacityThresholdPct(0)
.rampDownForceLogoffUsers(false)
.rampDownLoadBalancingAlgorithm("string")
.rampDownMinimumHostsPct(0)
.rampDownNotificationMessage("string")
.daysOfWeek("string")
.peakLoadBalancingAlgorithm("string")
.rampDownWaitTimeMinutes(0)
.rampUpCapacityThresholdPct(0)
.rampUpLoadBalancingAlgorithm("string")
.rampUpMinimumHostsPct(0)
.rampUpStartTime(TimeArgs.builder()
.hour(0)
.minute(0)
.build())
.offPeakStartTime(TimeArgs.builder()
.hour(0)
.minute(0)
.build())
.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=azure_native.desktopvirtualization.TimeArgs(
hour=0,
minute=0,
),
ramp_down_stop_hosts_when="string",
peak_start_time=azure_native.desktopvirtualization.TimeArgs(
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=azure_native.desktopvirtualization.TimeArgs(
hour=0,
minute=0,
),
off_peak_start_time=azure_native.desktopvirtualization.TimeArgs(
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
The ScalingPlanPooledSchedule 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.Load Balancing Algorithm Azure Native. Desktop Virtualization. Session Host Load Balancing Algorithm - Load balancing algorithm for off-peak period.
- Off
Peak Pulumi.Start Time Azure Native. Desktop Virtualization. Inputs. Time - Starting time for off-peak period.
- Peak
Load string | Pulumi.Balancing Algorithm Azure Native. Desktop Virtualization. Session Host Load Balancing Algorithm - Load balancing algorithm for peak period.
- Peak
Start Pulumi.Time Azure Native. Desktop Virtualization. Inputs. Time - 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 string | Pulumi.Load Balancing Algorithm Azure Native. Desktop Virtualization. Session 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 stringNotification Message - Notification message for users during ramp down period.
- Ramp
Down Pulumi.Start Time Azure Native. Desktop Virtualization. Inputs. Time - Starting time for ramp down period.
- Ramp
Down string | Pulumi.Stop Hosts When Azure Native. Desktop Virtualization. Stop 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 string | Pulumi.Load Balancing Algorithm Azure Native. Desktop Virtualization. Session 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 Pulumi.Start Time Azure Native. Desktop Virtualization. Inputs. Time - Starting time for ramp up period.
- 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 | 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 string | 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 string | 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 stringNotification Message - Notification message for users during ramp down period.
- Ramp
Down TimeStart Time Args - Starting time for ramp down period.
- Ramp
Down string | 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 string | 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 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 | SessionLoad Balancing Algorithm Host Load Balancing Algorithm - Load balancing algorithm for off-peak period.
- off
Peak TimeStart Time - Starting time for off-peak period.
- peak
Load String | SessionBalancing Algorithm Host Load Balancing Algorithm - Load balancing algorithm for peak period.
- peak
Start TimeTime - Starting time for peak period.
- ramp
Down IntegerCapacity Threshold Pct - Capacity threshold for ramp down period.
- ramp
Down BooleanForce Logoff Users - Should users be logged off forcefully from hosts.
- ramp
Down String | SessionLoad Balancing Algorithm Host Load Balancing Algorithm - Load balancing algorithm for ramp down period.
- ramp
Down IntegerMinimum Hosts Pct - Minimum host percentage for ramp down period.
- ramp
Down StringNotification Message - Notification message for users during ramp down period.
- ramp
Down TimeStart Time - Starting time for ramp down period.
- ramp
Down String | StopStop Hosts When Hosts When - Specifies when to stop hosts during ramp down period.
- ramp
Down IntegerWait Time Minutes - Number of minutes to wait to stop hosts during ramp down period.
- ramp
Up IntegerCapacity Threshold Pct - Capacity threshold for ramp up period.
- ramp
Up String | SessionLoad Balancing Algorithm Host Load Balancing Algorithm - Load balancing algorithm for ramp up period.
- ramp
Up IntegerMinimum Hosts Pct - Minimum host percentage for ramp up period.
- ramp
Up TimeStart Time - Starting time for ramp up period.
- 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 | SessionLoad Balancing Algorithm Host Load Balancing Algorithm - Load balancing algorithm for off-peak period.
- off
Peak TimeStart Time - Starting time for off-peak period.
- peak
Load string | SessionBalancing Algorithm Host Load Balancing Algorithm - Load balancing algorithm for peak period.
- peak
Start TimeTime - Starting time for peak period.
- ramp
Down numberCapacity Threshold Pct - Capacity threshold for ramp down period.
- ramp
Down booleanForce Logoff Users - Should users be logged off forcefully from hosts.
- ramp
Down string | SessionLoad Balancing Algorithm Host Load Balancing Algorithm - Load balancing algorithm for ramp down period.
- ramp
Down numberMinimum Hosts Pct - Minimum host percentage for ramp down period.
- ramp
Down stringNotification Message - Notification message for users during ramp down period.
- ramp
Down TimeStart Time - Starting time for ramp down period.
- ramp
Down string | StopStop Hosts When Hosts When - Specifies when to stop hosts during ramp down period.
- ramp
Down numberWait Time Minutes - Number of minutes to wait to stop hosts during ramp down period.
- ramp
Up numberCapacity Threshold Pct - Capacity threshold for ramp up period.
- ramp
Up string | SessionLoad Balancing Algorithm Host Load Balancing Algorithm - Load balancing algorithm for ramp up period.
- ramp
Up numberMinimum Hosts Pct - Minimum host percentage for ramp up period.
- ramp
Up TimeStart Time - Starting time for ramp up period.
- 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 | 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
- 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 | "BreadthLoad Balancing Algorithm First" | "Depth First" - Load balancing algorithm for off-peak period.
- off
Peak Property MapStart Time - Starting time for off-peak period.
- peak
Load String | "BreadthBalancing Algorithm First" | "Depth First" - Load balancing algorithm for peak period.
- peak
Start Property MapTime - Starting time for peak period.
- ramp
Down NumberCapacity Threshold Pct - Capacity threshold for ramp down period.
- ramp
Down BooleanForce Logoff Users - Should users be logged off forcefully from hosts.
- ramp
Down String | "BreadthLoad Balancing Algorithm First" | "Depth First" - Load balancing algorithm for ramp down period.
- ramp
Down NumberMinimum Hosts Pct - Minimum host percentage for ramp down period.
- ramp
Down StringNotification Message - Notification message for users during ramp down period.
- ramp
Down Property MapStart Time - Starting time for ramp down period.
- ramp
Down String | "ZeroStop Hosts When Sessions" | "Zero Active Sessions" - Specifies when to stop hosts during ramp down period.
- ramp
Down NumberWait Time Minutes - Number of minutes to wait to stop hosts during ramp down period.
- ramp
Up NumberCapacity Threshold Pct - Capacity threshold for ramp up period.
- ramp
Up String | "BreadthLoad Balancing Algorithm First" | "Depth First" - Load balancing algorithm for ramp up period.
- ramp
Up NumberMinimum Hosts Pct - Minimum host percentage for ramp up period.
- ramp
Up Property MapStart Time - Starting time for ramp up period.
- scaling
Plan 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
- 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
SessionHostLoadBalancingAlgorithm, SessionHostLoadBalancingAlgorithmArgs
- Breadth
First - BreadthFirst
- Depth
First - DepthFirst
- Session
Host Load Balancing Algorithm Breadth First - BreadthFirst
- Session
Host Load Balancing Algorithm Depth First - DepthFirst
- Breadth
First - BreadthFirst
- Depth
First - DepthFirst
- Breadth
First - BreadthFirst
- Depth
First - DepthFirst
- BREADTH_FIRST
- BreadthFirst
- DEPTH_FIRST
- DepthFirst
- "Breadth
First" - BreadthFirst
- "Depth
First" - DepthFirst
StopHostsWhen, StopHostsWhenArgs
- Zero
Sessions - ZeroSessions
- Zero
Active Sessions - ZeroActiveSessions
- Stop
Hosts When Zero Sessions - ZeroSessions
- Stop
Hosts When Zero Active Sessions - ZeroActiveSessions
- Zero
Sessions - ZeroSessions
- Zero
Active Sessions - ZeroActiveSessions
- Zero
Sessions - ZeroSessions
- Zero
Active Sessions - ZeroActiveSessions
- ZERO_SESSIONS
- ZeroSessions
- ZERO_ACTIVE_SESSIONS
- ZeroActiveSessions
- "Zero
Sessions" - ZeroSessions
- "Zero
Active Sessions" - ZeroActiveSessions
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:ScalingPlanPooledSchedule scalingPlanScheduleWeekdays1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{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