1. Packages
  2. Azure Native v2
  3. API Docs
  4. desktopvirtualization
  5. ScalingPlan
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.desktopvirtualization.ScalingPlan

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Represents a scaling plan definition. Azure REST API version: 2022-09-09. Prior API version in Azure Native 1.x: 2021-02-01-preview.

Other available API versions: 2021-02-01-preview, 2022-02-10-preview, 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, 2024-08-08-preview.

Example Usage

ScalingPlans_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var scalingPlan = new AzureNative.DesktopVirtualization.ScalingPlan("scalingPlan", new()
    {
        Description = "Description of Scaling Plan",
        ExclusionTag = "value",
        FriendlyName = "Scaling Plan 1",
        HostPoolReferences = new[]
        {
            new AzureNative.DesktopVirtualization.Inputs.ScalingHostPoolReferenceArgs
            {
                HostPoolArmPath = "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
                ScalingPlanEnabled = true,
            },
        },
        HostPoolType = AzureNative.DesktopVirtualization.ScalingHostPoolType.Pooled,
        Location = "centralus",
        ResourceGroupName = "resourceGroup1",
        ScalingPlanName = "scalingPlan1",
        Schedules = new[]
        {
            new AzureNative.DesktopVirtualization.Inputs.ScalingScheduleArgs
            {
                DaysOfWeek = new[]
                {
                    "Monday",
                    "Tuesday",
                    "Wednesday",
                    "Thursday",
                    "Friday",
                },
                Name = "schedule1",
                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,
                },
            },
        },
        Tags = 
        {
            { "tag1", "value1" },
            { "tag2", "value2" },
        },
        TimeZone = "Central Standard Time",
    });

});
Copy
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.NewScalingPlan(ctx, "scalingPlan", &desktopvirtualization.ScalingPlanArgs{
			Description:  pulumi.String("Description of Scaling Plan"),
			ExclusionTag: pulumi.String("value"),
			FriendlyName: pulumi.String("Scaling Plan 1"),
			HostPoolReferences: desktopvirtualization.ScalingHostPoolReferenceArray{
				&desktopvirtualization.ScalingHostPoolReferenceArgs{
					HostPoolArmPath:    pulumi.String("/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1"),
					ScalingPlanEnabled: pulumi.Bool(true),
				},
			},
			HostPoolType:      pulumi.String(desktopvirtualization.ScalingHostPoolTypePooled),
			Location:          pulumi.String("centralus"),
			ResourceGroupName: pulumi.String("resourceGroup1"),
			ScalingPlanName:   pulumi.String("scalingPlan1"),
			Schedules: desktopvirtualization.ScalingScheduleArray{
				&desktopvirtualization.ScalingScheduleArgs{
					DaysOfWeek: pulumi.StringArray{
						pulumi.String("Monday"),
						pulumi.String("Tuesday"),
						pulumi.String("Wednesday"),
						pulumi.String("Thursday"),
						pulumi.String("Friday"),
					},
					Name:                          pulumi.String("schedule1"),
					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),
					},
				},
			},
			Tags: pulumi.StringMap{
				"tag1": pulumi.String("value1"),
				"tag2": pulumi.String("value2"),
			},
			TimeZone: pulumi.String("Central Standard Time"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.desktopvirtualization.ScalingPlan;
import com.pulumi.azurenative.desktopvirtualization.ScalingPlanArgs;
import com.pulumi.azurenative.desktopvirtualization.inputs.ScalingHostPoolReferenceArgs;
import com.pulumi.azurenative.desktopvirtualization.inputs.ScalingScheduleArgs;
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 scalingPlan = new ScalingPlan("scalingPlan", ScalingPlanArgs.builder()
            .description("Description of Scaling Plan")
            .exclusionTag("value")
            .friendlyName("Scaling Plan 1")
            .hostPoolReferences(ScalingHostPoolReferenceArgs.builder()
                .hostPoolArmPath("/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1")
                .scalingPlanEnabled(true)
                .build())
            .hostPoolType("Pooled")
            .location("centralus")
            .resourceGroupName("resourceGroup1")
            .scalingPlanName("scalingPlan1")
            .schedules(ScalingScheduleArgs.builder()
                .daysOfWeek(                
                    "Monday",
                    "Tuesday",
                    "Wednesday",
                    "Thursday",
                    "Friday")
                .name("schedule1")
                .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())
                .build())
            .tags(Map.ofEntries(
                Map.entry("tag1", "value1"),
                Map.entry("tag2", "value2")
            ))
            .timeZone("Central Standard Time")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const scalingPlan = new azure_native.desktopvirtualization.ScalingPlan("scalingPlan", {
    description: "Description of Scaling Plan",
    exclusionTag: "value",
    friendlyName: "Scaling Plan 1",
    hostPoolReferences: [{
        hostPoolArmPath: "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
        scalingPlanEnabled: true,
    }],
    hostPoolType: azure_native.desktopvirtualization.ScalingHostPoolType.Pooled,
    location: "centralus",
    resourceGroupName: "resourceGroup1",
    scalingPlanName: "scalingPlan1",
    schedules: [{
        daysOfWeek: [
            "Monday",
            "Tuesday",
            "Wednesday",
            "Thursday",
            "Friday",
        ],
        name: "schedule1",
        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,
        },
    }],
    tags: {
        tag1: "value1",
        tag2: "value2",
    },
    timeZone: "Central Standard Time",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

scaling_plan = azure_native.desktopvirtualization.ScalingPlan("scalingPlan",
    description="Description of Scaling Plan",
    exclusion_tag="value",
    friendly_name="Scaling Plan 1",
    host_pool_references=[{
        "host_pool_arm_path": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1",
        "scaling_plan_enabled": True,
    }],
    host_pool_type=azure_native.desktopvirtualization.ScalingHostPoolType.POOLED,
    location="centralus",
    resource_group_name="resourceGroup1",
    scaling_plan_name="scalingPlan1",
    schedules=[{
        "days_of_week": [
            "Monday",
            "Tuesday",
            "Wednesday",
            "Thursday",
            "Friday",
        ],
        "name": "schedule1",
        "off_peak_load_balancing_algorithm": azure_native.desktopvirtualization.SessionHostLoadBalancingAlgorithm.DEPTH_FIRST,
        "off_peak_start_time": {
            "hour": 20,
            "minute": 0,
        },
        "peak_load_balancing_algorithm": azure_native.desktopvirtualization.SessionHostLoadBalancingAlgorithm.BREADTH_FIRST,
        "peak_start_time": {
            "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": {
            "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": {
            "hour": 6,
            "minute": 0,
        },
    }],
    tags={
        "tag1": "value1",
        "tag2": "value2",
    },
    time_zone="Central Standard Time")
Copy
resources:
  scalingPlan:
    type: azure-native:desktopvirtualization:ScalingPlan
    properties:
      description: Description of Scaling Plan
      exclusionTag: value
      friendlyName: Scaling Plan 1
      hostPoolReferences:
        - hostPoolArmPath: /subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1
          scalingPlanEnabled: true
      hostPoolType: Pooled
      location: centralus
      resourceGroupName: resourceGroup1
      scalingPlanName: scalingPlan1
      schedules:
        - daysOfWeek:
            - Monday
            - Tuesday
            - Wednesday
            - Thursday
            - Friday
          name: schedule1
          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
      tags:
        tag1: value1
        tag2: value2
      timeZone: Central Standard Time
Copy

Create ScalingPlan Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ScalingPlan(name: string, args: ScalingPlanArgs, opts?: CustomResourceOptions);
@overload
def ScalingPlan(resource_name: str,
                args: ScalingPlanArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def ScalingPlan(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                resource_group_name: Optional[str] = None,
                time_zone: Optional[str] = None,
                managed_by: Optional[str] = None,
                plan: Optional[ResourceModelWithAllowedPropertySetPlanArgs] = None,
                host_pool_type: Optional[Union[str, ScalingHostPoolType]] = None,
                identity: Optional[ResourceModelWithAllowedPropertySetIdentityArgs] = None,
                kind: Optional[str] = None,
                location: Optional[str] = None,
                description: Optional[str] = None,
                host_pool_references: Optional[Sequence[ScalingHostPoolReferenceArgs]] = None,
                friendly_name: Optional[str] = None,
                scaling_plan_name: Optional[str] = None,
                schedules: Optional[Sequence[ScalingScheduleArgs]] = None,
                sku: Optional[ResourceModelWithAllowedPropertySetSkuArgs] = None,
                tags: Optional[Mapping[str, str]] = None,
                exclusion_tag: Optional[str] = None)
func NewScalingPlan(ctx *Context, name string, args ScalingPlanArgs, opts ...ResourceOption) (*ScalingPlan, error)
public ScalingPlan(string name, ScalingPlanArgs args, CustomResourceOptions? opts = null)
public ScalingPlan(String name, ScalingPlanArgs args)
public ScalingPlan(String name, ScalingPlanArgs args, CustomResourceOptions options)
type: azure-native:desktopvirtualization:ScalingPlan
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ScalingPlanArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ScalingPlanArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ScalingPlanArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ScalingPlanArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ScalingPlanArgs
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 scalingPlanResource = new AzureNative.Desktopvirtualization.ScalingPlan("scalingPlanResource", new()
{
    ResourceGroupName = "string",
    TimeZone = "string",
    ManagedBy = "string",
    Plan = 
    {
        { "name", "string" },
        { "product", "string" },
        { "publisher", "string" },
        { "promotionCode", "string" },
        { "version", "string" },
    },
    HostPoolType = "string",
    Identity = 
    {
        { "type", "SystemAssigned" },
    },
    Kind = "string",
    Location = "string",
    Description = "string",
    HostPoolReferences = new[]
    {
        
        {
            { "hostPoolArmPath", "string" },
            { "scalingPlanEnabled", false },
        },
    },
    FriendlyName = "string",
    ScalingPlanName = "string",
    Schedules = new[]
    {
        
        {
            { "daysOfWeek", new[]
            {
                "string",
            } },
            { "name", "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 },
            } },
        },
    },
    Sku = 
    {
        { "name", "string" },
        { "capacity", 0 },
        { "family", "string" },
        { "size", "string" },
        { "tier", "Free" },
    },
    Tags = 
    {
        { "string", "string" },
    },
    ExclusionTag = "string",
});
Copy
example, err := desktopvirtualization.NewScalingPlan(ctx, "scalingPlanResource", &desktopvirtualization.ScalingPlanArgs{
	ResourceGroupName: "string",
	TimeZone:          "string",
	ManagedBy:         "string",
	Plan: map[string]interface{}{
		"name":          "string",
		"product":       "string",
		"publisher":     "string",
		"promotionCode": "string",
		"version":       "string",
	},
	HostPoolType: "string",
	Identity: map[string]interface{}{
		"type": "SystemAssigned",
	},
	Kind:        "string",
	Location:    "string",
	Description: "string",
	HostPoolReferences: []map[string]interface{}{
		map[string]interface{}{
			"hostPoolArmPath":    "string",
			"scalingPlanEnabled": false,
		},
	},
	FriendlyName:    "string",
	ScalingPlanName: "string",
	Schedules: []map[string]interface{}{
		map[string]interface{}{
			"daysOfWeek": []string{
				"string",
			},
			"name":                          "string",
			"offPeakLoadBalancingAlgorithm": "string",
			"offPeakStartTime": map[string]interface{}{
				"hour":   0,
				"minute": 0,
			},
			"peakLoadBalancingAlgorithm": "string",
			"peakStartTime": map[string]interface{}{
				"hour":   0,
				"minute": 0,
			},
			"rampDownCapacityThresholdPct":   0,
			"rampDownForceLogoffUsers":       false,
			"rampDownLoadBalancingAlgorithm": "string",
			"rampDownMinimumHostsPct":        0,
			"rampDownNotificationMessage":    "string",
			"rampDownStartTime": map[string]interface{}{
				"hour":   0,
				"minute": 0,
			},
			"rampDownStopHostsWhen":        "string",
			"rampDownWaitTimeMinutes":      0,
			"rampUpCapacityThresholdPct":   0,
			"rampUpLoadBalancingAlgorithm": "string",
			"rampUpMinimumHostsPct":        0,
			"rampUpStartTime": map[string]interface{}{
				"hour":   0,
				"minute": 0,
			},
		},
	},
	Sku: map[string]interface{}{
		"name":     "string",
		"capacity": 0,
		"family":   "string",
		"size":     "string",
		"tier":     "Free",
	},
	Tags: map[string]interface{}{
		"string": "string",
	},
	ExclusionTag: "string",
})
Copy
var scalingPlanResource = new ScalingPlan("scalingPlanResource", ScalingPlanArgs.builder()
    .resourceGroupName("string")
    .timeZone("string")
    .managedBy("string")
    .plan(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .hostPoolType("string")
    .identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .kind("string")
    .location("string")
    .description("string")
    .hostPoolReferences(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .friendlyName("string")
    .scalingPlanName("string")
    .schedules(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .exclusionTag("string")
    .build());
Copy
scaling_plan_resource = azure_native.desktopvirtualization.ScalingPlan("scalingPlanResource",
    resource_group_name=string,
    time_zone=string,
    managed_by=string,
    plan={
        name: string,
        product: string,
        publisher: string,
        promotionCode: string,
        version: string,
    },
    host_pool_type=string,
    identity={
        type: SystemAssigned,
    },
    kind=string,
    location=string,
    description=string,
    host_pool_references=[{
        hostPoolArmPath: string,
        scalingPlanEnabled: False,
    }],
    friendly_name=string,
    scaling_plan_name=string,
    schedules=[{
        daysOfWeek: [string],
        name: 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,
        },
    }],
    sku={
        name: string,
        capacity: 0,
        family: string,
        size: string,
        tier: Free,
    },
    tags={
        string: string,
    },
    exclusion_tag=string)
Copy
const scalingPlanResource = new azure_native.desktopvirtualization.ScalingPlan("scalingPlanResource", {
    resourceGroupName: "string",
    timeZone: "string",
    managedBy: "string",
    plan: {
        name: "string",
        product: "string",
        publisher: "string",
        promotionCode: "string",
        version: "string",
    },
    hostPoolType: "string",
    identity: {
        type: "SystemAssigned",
    },
    kind: "string",
    location: "string",
    description: "string",
    hostPoolReferences: [{
        hostPoolArmPath: "string",
        scalingPlanEnabled: false,
    }],
    friendlyName: "string",
    scalingPlanName: "string",
    schedules: [{
        daysOfWeek: ["string"],
        name: "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,
        },
    }],
    sku: {
        name: "string",
        capacity: 0,
        family: "string",
        size: "string",
        tier: "Free",
    },
    tags: {
        string: "string",
    },
    exclusionTag: "string",
});
Copy
type: azure-native:desktopvirtualization:ScalingPlan
properties:
    description: string
    exclusionTag: string
    friendlyName: string
    hostPoolReferences:
        - hostPoolArmPath: string
          scalingPlanEnabled: false
    hostPoolType: string
    identity:
        type: SystemAssigned
    kind: string
    location: string
    managedBy: string
    plan:
        name: string
        product: string
        promotionCode: string
        publisher: string
        version: string
    resourceGroupName: string
    scalingPlanName: string
    schedules:
        - daysOfWeek:
            - string
          name: 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
    sku:
        capacity: 0
        family: string
        name: string
        size: string
        tier: Free
    tags:
        string: string
    timeZone: string
Copy

ScalingPlan 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 ScalingPlan resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
TimeZone This property is required. string
Timezone of the scaling plan.
Description string
Description of scaling plan.
ExclusionTag string
Exclusion tag for scaling plan.
FriendlyName string
User friendly name of scaling plan.
HostPoolReferences List<Pulumi.AzureNative.DesktopVirtualization.Inputs.ScalingHostPoolReference>
List of ScalingHostPoolReference definitions.
HostPoolType string | Pulumi.AzureNative.DesktopVirtualization.ScalingHostPoolType
HostPool type for desktop.
Identity Pulumi.AzureNative.DesktopVirtualization.Inputs.ResourceModelWithAllowedPropertySetIdentity
Kind Changes to this property will trigger replacement. string
Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
ManagedBy string
The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
Plan Pulumi.AzureNative.DesktopVirtualization.Inputs.ResourceModelWithAllowedPropertySetPlan
ScalingPlanName Changes to this property will trigger replacement. string
The name of the scaling plan.
Schedules List<Pulumi.AzureNative.DesktopVirtualization.Inputs.ScalingSchedule>
List of ScalingPlanPooledSchedule definitions.
Sku Pulumi.AzureNative.DesktopVirtualization.Inputs.ResourceModelWithAllowedPropertySetSku
Tags Dictionary<string, string>
Resource tags.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
TimeZone This property is required. string
Timezone of the scaling plan.
Description string
Description of scaling plan.
ExclusionTag string
Exclusion tag for scaling plan.
FriendlyName string
User friendly name of scaling plan.
HostPoolReferences []ScalingHostPoolReferenceArgs
List of ScalingHostPoolReference definitions.
HostPoolType string | ScalingHostPoolType
HostPool type for desktop.
Identity ResourceModelWithAllowedPropertySetIdentityArgs
Kind Changes to this property will trigger replacement. string
Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
ManagedBy string
The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
Plan ResourceModelWithAllowedPropertySetPlanArgs
ScalingPlanName Changes to this property will trigger replacement. string
The name of the scaling plan.
Schedules []ScalingScheduleArgs
List of ScalingPlanPooledSchedule definitions.
Sku ResourceModelWithAllowedPropertySetSkuArgs
Tags map[string]string
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
timeZone This property is required. String
Timezone of the scaling plan.
description String
Description of scaling plan.
exclusionTag String
Exclusion tag for scaling plan.
friendlyName String
User friendly name of scaling plan.
hostPoolReferences List<ScalingHostPoolReference>
List of ScalingHostPoolReference definitions.
hostPoolType String | ScalingHostPoolType
HostPool type for desktop.
identity ResourceModelWithAllowedPropertySetIdentity
kind Changes to this property will trigger replacement. String
Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
managedBy String
The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
plan ResourceModelWithAllowedPropertySetPlan
scalingPlanName Changes to this property will trigger replacement. String
The name of the scaling plan.
schedules List<ScalingSchedule>
List of ScalingPlanPooledSchedule definitions.
sku ResourceModelWithAllowedPropertySetSku
tags Map<String,String>
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
timeZone This property is required. string
Timezone of the scaling plan.
description string
Description of scaling plan.
exclusionTag string
Exclusion tag for scaling plan.
friendlyName string
User friendly name of scaling plan.
hostPoolReferences ScalingHostPoolReference[]
List of ScalingHostPoolReference definitions.
hostPoolType string | ScalingHostPoolType
HostPool type for desktop.
identity ResourceModelWithAllowedPropertySetIdentity
kind Changes to this property will trigger replacement. string
Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
managedBy string
The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
plan ResourceModelWithAllowedPropertySetPlan
scalingPlanName Changes to this property will trigger replacement. string
The name of the scaling plan.
schedules ScalingSchedule[]
List of ScalingPlanPooledSchedule definitions.
sku ResourceModelWithAllowedPropertySetSku
tags {[key: string]: string}
Resource tags.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
time_zone This property is required. str
Timezone of the scaling plan.
description str
Description of scaling plan.
exclusion_tag str
Exclusion tag for scaling plan.
friendly_name str
User friendly name of scaling plan.
host_pool_references Sequence[ScalingHostPoolReferenceArgs]
List of ScalingHostPoolReference definitions.
host_pool_type str | ScalingHostPoolType
HostPool type for desktop.
identity ResourceModelWithAllowedPropertySetIdentityArgs
kind Changes to this property will trigger replacement. str
Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
managed_by str
The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
plan ResourceModelWithAllowedPropertySetPlanArgs
scaling_plan_name Changes to this property will trigger replacement. str
The name of the scaling plan.
schedules Sequence[ScalingScheduleArgs]
List of ScalingPlanPooledSchedule definitions.
sku ResourceModelWithAllowedPropertySetSkuArgs
tags Mapping[str, str]
Resource tags.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
timeZone This property is required. String
Timezone of the scaling plan.
description String
Description of scaling plan.
exclusionTag String
Exclusion tag for scaling plan.
friendlyName String
User friendly name of scaling plan.
hostPoolReferences List<Property Map>
List of ScalingHostPoolReference definitions.
hostPoolType String | "Pooled"
HostPool type for desktop.
identity Property Map
kind Changes to this property will trigger replacement. String
Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
managedBy String
The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
plan Property Map
scalingPlanName Changes to this property will trigger replacement. String
The name of the scaling plan.
schedules List<Property Map>
List of ScalingPlanPooledSchedule definitions.
sku Property Map
tags Map<String>
Resource tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the ScalingPlan resource produces the following output properties:

Etag string
The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ObjectId string
ObjectId of scaling plan. (internal use)
SystemData Pulumi.AzureNative.DesktopVirtualization.Outputs.SystemDataResponse
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"
Etag string
The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
ObjectId string
ObjectId of scaling plan. (internal use)
SystemData SystemDataResponse
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"
etag String
The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
objectId String
ObjectId of scaling plan. (internal use)
systemData SystemDataResponse
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"
etag string
The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
objectId string
ObjectId of scaling plan. (internal use)
systemData SystemDataResponse
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"
etag str
The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
object_id str
ObjectId of scaling plan. (internal use)
system_data SystemDataResponse
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"
etag String
The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
objectId String
ObjectId of scaling plan. (internal use)
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

ResourceIdentityType
, ResourceIdentityTypeArgs

SystemAssigned
SystemAssigned
ResourceIdentityTypeSystemAssigned
SystemAssigned
SystemAssigned
SystemAssigned
SystemAssigned
SystemAssigned
SYSTEM_ASSIGNED
SystemAssigned
"SystemAssigned"
SystemAssigned

ResourceModelWithAllowedPropertySetIdentity
, ResourceModelWithAllowedPropertySetIdentityArgs

Type ResourceIdentityType
The identity type.
type ResourceIdentityType
The identity type.
type ResourceIdentityType
The identity type.
type ResourceIdentityType
The identity type.
type "SystemAssigned"
The identity type.

ResourceModelWithAllowedPropertySetPlan
, ResourceModelWithAllowedPropertySetPlanArgs

Name This property is required. string
A user defined name of the 3rd Party Artifact that is being procured.
Product This property is required. string
The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
Publisher This property is required. string
The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
PromotionCode string
A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
Version string
The version of the desired product/artifact.
Name This property is required. string
A user defined name of the 3rd Party Artifact that is being procured.
Product This property is required. string
The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
Publisher This property is required. string
The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
PromotionCode string
A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
Version string
The version of the desired product/artifact.
name This property is required. String
A user defined name of the 3rd Party Artifact that is being procured.
product This property is required. String
The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
publisher This property is required. String
The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
promotionCode String
A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
version String
The version of the desired product/artifact.
name This property is required. string
A user defined name of the 3rd Party Artifact that is being procured.
product This property is required. string
The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
publisher This property is required. string
The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
promotionCode string
A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
version string
The version of the desired product/artifact.
name This property is required. str
A user defined name of the 3rd Party Artifact that is being procured.
product This property is required. str
The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
publisher This property is required. str
The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
promotion_code str
A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
version str
The version of the desired product/artifact.
name This property is required. String
A user defined name of the 3rd Party Artifact that is being procured.
product This property is required. String
The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
publisher This property is required. String
The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
promotionCode String
A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
version String
The version of the desired product/artifact.

ResourceModelWithAllowedPropertySetResponseIdentity
, ResourceModelWithAllowedPropertySetResponseIdentityArgs

PrincipalId This property is required. string
The principal ID of resource identity.
TenantId This property is required. string
The tenant ID of resource.
Type string
The identity type.
PrincipalId This property is required. string
The principal ID of resource identity.
TenantId This property is required. string
The tenant ID of resource.
Type string
The identity type.
principalId This property is required. String
The principal ID of resource identity.
tenantId This property is required. String
The tenant ID of resource.
type String
The identity type.
principalId This property is required. string
The principal ID of resource identity.
tenantId This property is required. string
The tenant ID of resource.
type string
The identity type.
principal_id This property is required. str
The principal ID of resource identity.
tenant_id This property is required. str
The tenant ID of resource.
type str
The identity type.
principalId This property is required. String
The principal ID of resource identity.
tenantId This property is required. String
The tenant ID of resource.
type String
The identity type.

ResourceModelWithAllowedPropertySetResponsePlan
, ResourceModelWithAllowedPropertySetResponsePlanArgs

Name This property is required. string
A user defined name of the 3rd Party Artifact that is being procured.
Product This property is required. string
The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
Publisher This property is required. string
The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
PromotionCode string
A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
Version string
The version of the desired product/artifact.
Name This property is required. string
A user defined name of the 3rd Party Artifact that is being procured.
Product This property is required. string
The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
Publisher This property is required. string
The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
PromotionCode string
A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
Version string
The version of the desired product/artifact.
name This property is required. String
A user defined name of the 3rd Party Artifact that is being procured.
product This property is required. String
The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
publisher This property is required. String
The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
promotionCode String
A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
version String
The version of the desired product/artifact.
name This property is required. string
A user defined name of the 3rd Party Artifact that is being procured.
product This property is required. string
The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
publisher This property is required. string
The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
promotionCode string
A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
version string
The version of the desired product/artifact.
name This property is required. str
A user defined name of the 3rd Party Artifact that is being procured.
product This property is required. str
The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
publisher This property is required. str
The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
promotion_code str
A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
version str
The version of the desired product/artifact.
name This property is required. String
A user defined name of the 3rd Party Artifact that is being procured.
product This property is required. String
The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.
publisher This property is required. String
The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
promotionCode String
A publisher provided promotion code as provisioned in Data Market for the said product/artifact.
version String
The version of the desired product/artifact.

ResourceModelWithAllowedPropertySetResponseSku
, ResourceModelWithAllowedPropertySetResponseSkuArgs

Name This property is required. string
The name of the SKU. Ex - P3. It is typically a letter+number code
Capacity int
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
Family string
If the service has different generations of hardware, for the same SKU, then that can be captured here.
Size string
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
Tier string
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
Name This property is required. string
The name of the SKU. Ex - P3. It is typically a letter+number code
Capacity int
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
Family string
If the service has different generations of hardware, for the same SKU, then that can be captured here.
Size string
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
Tier string
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. String
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity Integer
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family String
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size String
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier String
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. string
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity number
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family string
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size string
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier string
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. str
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity int
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family str
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size str
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier str
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. String
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity Number
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family String
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size String
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier String
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

ResourceModelWithAllowedPropertySetSku
, ResourceModelWithAllowedPropertySetSkuArgs

Name This property is required. string
The name of the SKU. Ex - P3. It is typically a letter+number code
Capacity int
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
Family string
If the service has different generations of hardware, for the same SKU, then that can be captured here.
Size string
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
Tier Pulumi.AzureNative.DesktopVirtualization.SkuTier
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
Name This property is required. string
The name of the SKU. Ex - P3. It is typically a letter+number code
Capacity int
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
Family string
If the service has different generations of hardware, for the same SKU, then that can be captured here.
Size string
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
Tier SkuTier
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. String
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity Integer
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family String
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size String
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier SkuTier
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. string
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity number
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family string
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size string
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier SkuTier
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. str
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity int
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family str
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size str
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier SkuTier
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
name This property is required. String
The name of the SKU. Ex - P3. It is typically a letter+number code
capacity Number
If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
family String
If the service has different generations of hardware, for the same SKU, then that can be captured here.
size String
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tier "Free" | "Basic" | "Standard" | "Premium"
This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

ScalingHostPoolReference
, ScalingHostPoolReferenceArgs

HostPoolArmPath string
Arm path of referenced hostpool.
ScalingPlanEnabled bool
Is the scaling plan enabled for this hostpool.
HostPoolArmPath string
Arm path of referenced hostpool.
ScalingPlanEnabled bool
Is the scaling plan enabled for this hostpool.
hostPoolArmPath String
Arm path of referenced hostpool.
scalingPlanEnabled Boolean
Is the scaling plan enabled for this hostpool.
hostPoolArmPath string
Arm path of referenced hostpool.
scalingPlanEnabled boolean
Is the scaling plan enabled for this hostpool.
host_pool_arm_path str
Arm path of referenced hostpool.
scaling_plan_enabled bool
Is the scaling plan enabled for this hostpool.
hostPoolArmPath String
Arm path of referenced hostpool.
scalingPlanEnabled Boolean
Is the scaling plan enabled for this hostpool.

ScalingHostPoolReferenceResponse
, ScalingHostPoolReferenceResponseArgs

HostPoolArmPath string
Arm path of referenced hostpool.
ScalingPlanEnabled bool
Is the scaling plan enabled for this hostpool.
HostPoolArmPath string
Arm path of referenced hostpool.
ScalingPlanEnabled bool
Is the scaling plan enabled for this hostpool.
hostPoolArmPath String
Arm path of referenced hostpool.
scalingPlanEnabled Boolean
Is the scaling plan enabled for this hostpool.
hostPoolArmPath string
Arm path of referenced hostpool.
scalingPlanEnabled boolean
Is the scaling plan enabled for this hostpool.
host_pool_arm_path str
Arm path of referenced hostpool.
scaling_plan_enabled bool
Is the scaling plan enabled for this hostpool.
hostPoolArmPath String
Arm path of referenced hostpool.
scalingPlanEnabled Boolean
Is the scaling plan enabled for this hostpool.

ScalingHostPoolType
, ScalingHostPoolTypeArgs

Pooled
PooledUsers get a new (random) SessionHost every time it connects to the HostPool.
ScalingHostPoolTypePooled
PooledUsers get a new (random) SessionHost every time it connects to the HostPool.
Pooled
PooledUsers get a new (random) SessionHost every time it connects to the HostPool.
Pooled
PooledUsers get a new (random) SessionHost every time it connects to the HostPool.
POOLED
PooledUsers get a new (random) SessionHost every time it connects to the HostPool.
"Pooled"
PooledUsers get a new (random) SessionHost every time it connects to the HostPool.

ScalingSchedule
, ScalingScheduleArgs

DaysOfWeek List<string>
Set of days of the week on which this schedule is active.
Name string
Name of the ScalingPlanPooledSchedule.
OffPeakLoadBalancingAlgorithm string | Pulumi.AzureNative.DesktopVirtualization.SessionHostLoadBalancingAlgorithm
Load balancing algorithm for off-peak period.
OffPeakStartTime Pulumi.AzureNative.DesktopVirtualization.Inputs.Time
Starting time for off-peak period.
PeakLoadBalancingAlgorithm string | Pulumi.AzureNative.DesktopVirtualization.SessionHostLoadBalancingAlgorithm
Load balancing algorithm for peak period.
PeakStartTime Pulumi.AzureNative.DesktopVirtualization.Inputs.Time
Starting time for peak period.
RampDownCapacityThresholdPct int
Capacity threshold for ramp down period.
RampDownForceLogoffUsers bool
Should users be logged off forcefully from hosts.
RampDownLoadBalancingAlgorithm string | Pulumi.AzureNative.DesktopVirtualization.SessionHostLoadBalancingAlgorithm
Load balancing algorithm for ramp down period.
RampDownMinimumHostsPct int
Minimum host percentage for ramp down period.
RampDownNotificationMessage string
Notification message for users during ramp down period.
RampDownStartTime Pulumi.AzureNative.DesktopVirtualization.Inputs.Time
Starting time for ramp down period.
RampDownStopHostsWhen string | Pulumi.AzureNative.DesktopVirtualization.StopHostsWhen
Specifies when to stop hosts during ramp down period.
RampDownWaitTimeMinutes int
Number of minutes to wait to stop hosts during ramp down period.
RampUpCapacityThresholdPct int
Capacity threshold for ramp up period.
RampUpLoadBalancingAlgorithm string | Pulumi.AzureNative.DesktopVirtualization.SessionHostLoadBalancingAlgorithm
Load balancing algorithm for ramp up period.
RampUpMinimumHostsPct int
Minimum host percentage for ramp up period.
RampUpStartTime Pulumi.AzureNative.DesktopVirtualization.Inputs.Time
Starting time for ramp up period.
DaysOfWeek []string
Set of days of the week on which this schedule is active.
Name string
Name of the ScalingPlanPooledSchedule.
OffPeakLoadBalancingAlgorithm string | SessionHostLoadBalancingAlgorithm
Load balancing algorithm for off-peak period.
OffPeakStartTime Time
Starting time for off-peak period.
PeakLoadBalancingAlgorithm string | SessionHostLoadBalancingAlgorithm
Load balancing algorithm for peak period.
PeakStartTime Time
Starting time for peak period.
RampDownCapacityThresholdPct int
Capacity threshold for ramp down period.
RampDownForceLogoffUsers bool
Should users be logged off forcefully from hosts.
RampDownLoadBalancingAlgorithm string | SessionHostLoadBalancingAlgorithm
Load balancing algorithm for ramp down period.
RampDownMinimumHostsPct int
Minimum host percentage for ramp down period.
RampDownNotificationMessage string
Notification message for users during ramp down period.
RampDownStartTime Time
Starting time for ramp down period.
RampDownStopHostsWhen string | StopHostsWhen
Specifies when to stop hosts during ramp down period.
RampDownWaitTimeMinutes int
Number of minutes to wait to stop hosts during ramp down period.
RampUpCapacityThresholdPct int
Capacity threshold for ramp up period.
RampUpLoadBalancingAlgorithm string | SessionHostLoadBalancingAlgorithm
Load balancing algorithm for ramp up period.
RampUpMinimumHostsPct int
Minimum host percentage for ramp up period.
RampUpStartTime Time
Starting time for ramp up period.
daysOfWeek List<String>
Set of days of the week on which this schedule is active.
name String
Name of the ScalingPlanPooledSchedule.
offPeakLoadBalancingAlgorithm String | SessionHostLoadBalancingAlgorithm
Load balancing algorithm for off-peak period.
offPeakStartTime Time
Starting time for off-peak period.
peakLoadBalancingAlgorithm String | SessionHostLoadBalancingAlgorithm
Load balancing algorithm for peak period.
peakStartTime Time
Starting time for peak period.
rampDownCapacityThresholdPct Integer
Capacity threshold for ramp down period.
rampDownForceLogoffUsers Boolean
Should users be logged off forcefully from hosts.
rampDownLoadBalancingAlgorithm String | SessionHostLoadBalancingAlgorithm
Load balancing algorithm for ramp down period.
rampDownMinimumHostsPct Integer
Minimum host percentage for ramp down period.
rampDownNotificationMessage String
Notification message for users during ramp down period.
rampDownStartTime Time
Starting time for ramp down period.
rampDownStopHostsWhen String | StopHostsWhen
Specifies when to stop hosts during ramp down period.
rampDownWaitTimeMinutes Integer
Number of minutes to wait to stop hosts during ramp down period.
rampUpCapacityThresholdPct Integer
Capacity threshold for ramp up period.
rampUpLoadBalancingAlgorithm String | SessionHostLoadBalancingAlgorithm
Load balancing algorithm for ramp up period.
rampUpMinimumHostsPct Integer
Minimum host percentage for ramp up period.
rampUpStartTime Time
Starting time for ramp up period.
daysOfWeek string[]
Set of days of the week on which this schedule is active.
name string
Name of the ScalingPlanPooledSchedule.
offPeakLoadBalancingAlgorithm string | SessionHostLoadBalancingAlgorithm
Load balancing algorithm for off-peak period.
offPeakStartTime Time
Starting time for off-peak period.
peakLoadBalancingAlgorithm string | SessionHostLoadBalancingAlgorithm
Load balancing algorithm for peak period.
peakStartTime Time
Starting time for peak period.
rampDownCapacityThresholdPct number
Capacity threshold for ramp down period.
rampDownForceLogoffUsers boolean
Should users be logged off forcefully from hosts.
rampDownLoadBalancingAlgorithm string | SessionHostLoadBalancingAlgorithm
Load balancing algorithm for ramp down period.
rampDownMinimumHostsPct number
Minimum host percentage for ramp down period.
rampDownNotificationMessage string
Notification message for users during ramp down period.
rampDownStartTime Time
Starting time for ramp down period.
rampDownStopHostsWhen string | StopHostsWhen
Specifies when to stop hosts during ramp down period.
rampDownWaitTimeMinutes number
Number of minutes to wait to stop hosts during ramp down period.
rampUpCapacityThresholdPct number
Capacity threshold for ramp up period.
rampUpLoadBalancingAlgorithm string | SessionHostLoadBalancingAlgorithm
Load balancing algorithm for ramp up period.
rampUpMinimumHostsPct number
Minimum host percentage for ramp up period.
rampUpStartTime Time
Starting time for ramp up period.
days_of_week Sequence[str]
Set of days of the week on which this schedule is active.
name str
Name of the ScalingPlanPooledSchedule.
off_peak_load_balancing_algorithm str | SessionHostLoadBalancingAlgorithm
Load balancing algorithm for off-peak period.
off_peak_start_time Time
Starting time for off-peak period.
peak_load_balancing_algorithm str | SessionHostLoadBalancingAlgorithm
Load balancing algorithm for peak period.
peak_start_time Time
Starting time for peak period.
ramp_down_capacity_threshold_pct int
Capacity threshold for ramp down period.
ramp_down_force_logoff_users bool
Should users be logged off forcefully from hosts.
ramp_down_load_balancing_algorithm str | SessionHostLoadBalancingAlgorithm
Load balancing algorithm for ramp down period.
ramp_down_minimum_hosts_pct int
Minimum host percentage for ramp down period.
ramp_down_notification_message str
Notification message for users during ramp down period.
ramp_down_start_time Time
Starting time for ramp down period.
ramp_down_stop_hosts_when str | StopHostsWhen
Specifies when to stop hosts during ramp down period.
ramp_down_wait_time_minutes int
Number of minutes to wait to stop hosts during ramp down period.
ramp_up_capacity_threshold_pct int
Capacity threshold for ramp up period.
ramp_up_load_balancing_algorithm str | SessionHostLoadBalancingAlgorithm
Load balancing algorithm for ramp up period.
ramp_up_minimum_hosts_pct int
Minimum host percentage for ramp up period.
ramp_up_start_time Time
Starting time for ramp up period.
daysOfWeek List<String>
Set of days of the week on which this schedule is active.
name String
Name of the ScalingPlanPooledSchedule.
offPeakLoadBalancingAlgorithm String | "BreadthFirst" | "DepthFirst"
Load balancing algorithm for off-peak period.
offPeakStartTime Property Map
Starting time for off-peak period.
peakLoadBalancingAlgorithm String | "BreadthFirst" | "DepthFirst"
Load balancing algorithm for peak period.
peakStartTime Property Map
Starting time for peak period.
rampDownCapacityThresholdPct Number
Capacity threshold for ramp down period.
rampDownForceLogoffUsers Boolean
Should users be logged off forcefully from hosts.
rampDownLoadBalancingAlgorithm String | "BreadthFirst" | "DepthFirst"
Load balancing algorithm for ramp down period.
rampDownMinimumHostsPct Number
Minimum host percentage for ramp down period.
rampDownNotificationMessage String
Notification message for users during ramp down period.
rampDownStartTime Property Map
Starting time for ramp down period.
rampDownStopHostsWhen String | "ZeroSessions" | "ZeroActiveSessions"
Specifies when to stop hosts during ramp down period.
rampDownWaitTimeMinutes Number
Number of minutes to wait to stop hosts during ramp down period.
rampUpCapacityThresholdPct Number
Capacity threshold for ramp up period.
rampUpLoadBalancingAlgorithm String | "BreadthFirst" | "DepthFirst"
Load balancing algorithm for ramp up period.
rampUpMinimumHostsPct Number
Minimum host percentage for ramp up period.
rampUpStartTime Property Map
Starting time for ramp up period.

ScalingScheduleResponse
, ScalingScheduleResponseArgs

DaysOfWeek List<string>
Set of days of the week on which this schedule is active.
Name string
Name of the ScalingPlanPooledSchedule.
OffPeakLoadBalancingAlgorithm string
Load balancing algorithm for off-peak period.
OffPeakStartTime Pulumi.AzureNative.DesktopVirtualization.Inputs.TimeResponse
Starting time for off-peak period.
PeakLoadBalancingAlgorithm string
Load balancing algorithm for peak period.
PeakStartTime Pulumi.AzureNative.DesktopVirtualization.Inputs.TimeResponse
Starting time for peak period.
RampDownCapacityThresholdPct int
Capacity threshold for ramp down period.
RampDownForceLogoffUsers bool
Should users be logged off forcefully from hosts.
RampDownLoadBalancingAlgorithm string
Load balancing algorithm for ramp down period.
RampDownMinimumHostsPct int
Minimum host percentage for ramp down period.
RampDownNotificationMessage string
Notification message for users during ramp down period.
RampDownStartTime Pulumi.AzureNative.DesktopVirtualization.Inputs.TimeResponse
Starting time for ramp down period.
RampDownStopHostsWhen string
Specifies when to stop hosts during ramp down period.
RampDownWaitTimeMinutes int
Number of minutes to wait to stop hosts during ramp down period.
RampUpCapacityThresholdPct int
Capacity threshold for ramp up period.
RampUpLoadBalancingAlgorithm string
Load balancing algorithm for ramp up period.
RampUpMinimumHostsPct int
Minimum host percentage for ramp up period.
RampUpStartTime Pulumi.AzureNative.DesktopVirtualization.Inputs.TimeResponse
Starting time for ramp up period.
DaysOfWeek []string
Set of days of the week on which this schedule is active.
Name string
Name of the ScalingPlanPooledSchedule.
OffPeakLoadBalancingAlgorithm string
Load balancing algorithm for off-peak period.
OffPeakStartTime TimeResponse
Starting time for off-peak period.
PeakLoadBalancingAlgorithm string
Load balancing algorithm for peak period.
PeakStartTime TimeResponse
Starting time for peak period.
RampDownCapacityThresholdPct int
Capacity threshold for ramp down period.
RampDownForceLogoffUsers bool
Should users be logged off forcefully from hosts.
RampDownLoadBalancingAlgorithm string
Load balancing algorithm for ramp down period.
RampDownMinimumHostsPct int
Minimum host percentage for ramp down period.
RampDownNotificationMessage string
Notification message for users during ramp down period.
RampDownStartTime TimeResponse
Starting time for ramp down period.
RampDownStopHostsWhen string
Specifies when to stop hosts during ramp down period.
RampDownWaitTimeMinutes int
Number of minutes to wait to stop hosts during ramp down period.
RampUpCapacityThresholdPct int
Capacity threshold for ramp up period.
RampUpLoadBalancingAlgorithm string
Load balancing algorithm for ramp up period.
RampUpMinimumHostsPct int
Minimum host percentage for ramp up period.
RampUpStartTime TimeResponse
Starting time for ramp up period.
daysOfWeek List<String>
Set of days of the week on which this schedule is active.
name String
Name of the ScalingPlanPooledSchedule.
offPeakLoadBalancingAlgorithm String
Load balancing algorithm for off-peak period.
offPeakStartTime TimeResponse
Starting time for off-peak period.
peakLoadBalancingAlgorithm String
Load balancing algorithm for peak period.
peakStartTime TimeResponse
Starting time for peak period.
rampDownCapacityThresholdPct Integer
Capacity threshold for ramp down period.
rampDownForceLogoffUsers Boolean
Should users be logged off forcefully from hosts.
rampDownLoadBalancingAlgorithm String
Load balancing algorithm for ramp down period.
rampDownMinimumHostsPct Integer
Minimum host percentage for ramp down period.
rampDownNotificationMessage String
Notification message for users during ramp down period.
rampDownStartTime TimeResponse
Starting time for ramp down period.
rampDownStopHostsWhen String
Specifies when to stop hosts during ramp down period.
rampDownWaitTimeMinutes Integer
Number of minutes to wait to stop hosts during ramp down period.
rampUpCapacityThresholdPct Integer
Capacity threshold for ramp up period.
rampUpLoadBalancingAlgorithm String
Load balancing algorithm for ramp up period.
rampUpMinimumHostsPct Integer
Minimum host percentage for ramp up period.
rampUpStartTime TimeResponse
Starting time for ramp up period.
daysOfWeek string[]
Set of days of the week on which this schedule is active.
name string
Name of the ScalingPlanPooledSchedule.
offPeakLoadBalancingAlgorithm string
Load balancing algorithm for off-peak period.
offPeakStartTime TimeResponse
Starting time for off-peak period.
peakLoadBalancingAlgorithm string
Load balancing algorithm for peak period.
peakStartTime TimeResponse
Starting time for peak period.
rampDownCapacityThresholdPct number
Capacity threshold for ramp down period.
rampDownForceLogoffUsers boolean
Should users be logged off forcefully from hosts.
rampDownLoadBalancingAlgorithm string
Load balancing algorithm for ramp down period.
rampDownMinimumHostsPct number
Minimum host percentage for ramp down period.
rampDownNotificationMessage string
Notification message for users during ramp down period.
rampDownStartTime TimeResponse
Starting time for ramp down period.
rampDownStopHostsWhen string
Specifies when to stop hosts during ramp down period.
rampDownWaitTimeMinutes number
Number of minutes to wait to stop hosts during ramp down period.
rampUpCapacityThresholdPct number
Capacity threshold for ramp up period.
rampUpLoadBalancingAlgorithm string
Load balancing algorithm for ramp up period.
rampUpMinimumHostsPct number
Minimum host percentage for ramp up period.
rampUpStartTime TimeResponse
Starting time for ramp up period.
days_of_week Sequence[str]
Set of days of the week on which this schedule is active.
name str
Name of the ScalingPlanPooledSchedule.
off_peak_load_balancing_algorithm str
Load balancing algorithm for off-peak period.
off_peak_start_time TimeResponse
Starting time for off-peak period.
peak_load_balancing_algorithm str
Load balancing algorithm for peak period.
peak_start_time TimeResponse
Starting time for peak period.
ramp_down_capacity_threshold_pct int
Capacity threshold for ramp down period.
ramp_down_force_logoff_users bool
Should users be logged off forcefully from hosts.
ramp_down_load_balancing_algorithm str
Load balancing algorithm for ramp down period.
ramp_down_minimum_hosts_pct int
Minimum host percentage for ramp down period.
ramp_down_notification_message str
Notification message for users during ramp down period.
ramp_down_start_time TimeResponse
Starting time for ramp down period.
ramp_down_stop_hosts_when str
Specifies when to stop hosts during ramp down period.
ramp_down_wait_time_minutes int
Number of minutes to wait to stop hosts during ramp down period.
ramp_up_capacity_threshold_pct int
Capacity threshold for ramp up period.
ramp_up_load_balancing_algorithm str
Load balancing algorithm for ramp up period.
ramp_up_minimum_hosts_pct int
Minimum host percentage for ramp up period.
ramp_up_start_time TimeResponse
Starting time for ramp up period.
daysOfWeek List<String>
Set of days of the week on which this schedule is active.
name String
Name of the ScalingPlanPooledSchedule.
offPeakLoadBalancingAlgorithm String
Load balancing algorithm for off-peak period.
offPeakStartTime Property Map
Starting time for off-peak period.
peakLoadBalancingAlgorithm String
Load balancing algorithm for peak period.
peakStartTime Property Map
Starting time for peak period.
rampDownCapacityThresholdPct Number
Capacity threshold for ramp down period.
rampDownForceLogoffUsers Boolean
Should users be logged off forcefully from hosts.
rampDownLoadBalancingAlgorithm String
Load balancing algorithm for ramp down period.
rampDownMinimumHostsPct Number
Minimum host percentage for ramp down period.
rampDownNotificationMessage String
Notification message for users during ramp down period.
rampDownStartTime Property Map
Starting time for ramp down period.
rampDownStopHostsWhen String
Specifies when to stop hosts during ramp down period.
rampDownWaitTimeMinutes Number
Number of minutes to wait to stop hosts during ramp down period.
rampUpCapacityThresholdPct Number
Capacity threshold for ramp up period.
rampUpLoadBalancingAlgorithm String
Load balancing algorithm for ramp up period.
rampUpMinimumHostsPct Number
Minimum host percentage for ramp up period.
rampUpStartTime Property Map
Starting time for ramp up period.

SessionHostLoadBalancingAlgorithm
, SessionHostLoadBalancingAlgorithmArgs

BreadthFirst
BreadthFirst
DepthFirst
DepthFirst
SessionHostLoadBalancingAlgorithmBreadthFirst
BreadthFirst
SessionHostLoadBalancingAlgorithmDepthFirst
DepthFirst
BreadthFirst
BreadthFirst
DepthFirst
DepthFirst
BreadthFirst
BreadthFirst
DepthFirst
DepthFirst
BREADTH_FIRST
BreadthFirst
DEPTH_FIRST
DepthFirst
"BreadthFirst"
BreadthFirst
"DepthFirst"
DepthFirst

SkuTier
, SkuTierArgs

Free
Free
Basic
Basic
Standard
Standard
Premium
Premium
SkuTierFree
Free
SkuTierBasic
Basic
SkuTierStandard
Standard
SkuTierPremium
Premium
Free
Free
Basic
Basic
Standard
Standard
Premium
Premium
Free
Free
Basic
Basic
Standard
Standard
Premium
Premium
FREE
Free
BASIC
Basic
STANDARD
Standard
PREMIUM
Premium
"Free"
Free
"Basic"
Basic
"Standard"
Standard
"Premium"
Premium

StopHostsWhen
, StopHostsWhenArgs

ZeroSessions
ZeroSessions
ZeroActiveSessions
ZeroActiveSessions
StopHostsWhenZeroSessions
ZeroSessions
StopHostsWhenZeroActiveSessions
ZeroActiveSessions
ZeroSessions
ZeroSessions
ZeroActiveSessions
ZeroActiveSessions
ZeroSessions
ZeroSessions
ZeroActiveSessions
ZeroActiveSessions
ZERO_SESSIONS
ZeroSessions
ZERO_ACTIVE_SESSIONS
ZeroActiveSessions
"ZeroSessions"
ZeroSessions
"ZeroActiveSessions"
ZeroActiveSessions

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
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.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
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.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
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.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
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_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
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.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Time
, TimeArgs

Hour This property is required. int
The hour.
Minute This property is required. int
The minute.
Hour This property is required. int
The hour.
Minute This property is required. int
The minute.
hour This property is required. Integer
The hour.
minute This property is required. Integer
The minute.
hour This property is required. number
The hour.
minute This property is required. number
The minute.
hour This property is required. int
The hour.
minute This property is required. int
The minute.
hour This property is required. Number
The hour.
minute This property is required. Number
The minute.

TimeResponse
, TimeResponseArgs

Hour This property is required. int
The hour.
Minute This property is required. int
The minute.
Hour This property is required. int
The hour.
Minute This property is required. int
The minute.
hour This property is required. Integer
The hour.
minute This property is required. Integer
The minute.
hour This property is required. number
The hour.
minute This property is required. number
The minute.
hour This property is required. int
The hour.
minute This property is required. int
The minute.
hour This property is required. Number
The hour.
minute This property is required. Number
The minute.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:desktopvirtualization:ScalingPlan scalingPlan1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi