import * as pulumi from "@pulumi/pulumi"; /** * Manages a Virtual Desktop Scaling Plan Host Pool Association. * * ## Import * * Associations between Virtual Desktop Scaling Plans and Virtual Desktop Host Pools can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:desktopvirtualization/scalingPlanHostPoolAssociation:ScalingPlanHostPoolAssociation example "/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.DesktopVirtualization/scalingPlans/plan1|/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup1/providers/Microsoft.DesktopVirtualization/hostPools/myhostpool" * ``` * * > **Note:** This ID is specific to Terraform - and is of the format `{virtualDesktopScalingPlanID}|{virtualDesktopHostPoolID}`. */ export declare class ScalingPlanHostPoolAssociation extends pulumi.CustomResource { /** * Get an existing ScalingPlanHostPoolAssociation resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ScalingPlanHostPoolAssociationState, opts?: pulumi.CustomResourceOptions): ScalingPlanHostPoolAssociation; /** * Returns true if the given object is an instance of ScalingPlanHostPoolAssociation. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ScalingPlanHostPoolAssociation; /** * Should the Scaling Plan be enabled on this Host Pool. */ readonly enabled: pulumi.Output; /** * The resource ID for the Virtual Desktop Host Pool. Changing this forces a new resource to be created. */ readonly hostPoolId: pulumi.Output; /** * The resource ID for the Virtual Desktop Scaling Plan. Changing this forces a new resource to be created. */ readonly scalingPlanId: pulumi.Output; /** * Create a ScalingPlanHostPoolAssociation resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ScalingPlanHostPoolAssociationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ScalingPlanHostPoolAssociation resources. */ export interface ScalingPlanHostPoolAssociationState { /** * Should the Scaling Plan be enabled on this Host Pool. */ enabled?: pulumi.Input; /** * The resource ID for the Virtual Desktop Host Pool. Changing this forces a new resource to be created. */ hostPoolId?: pulumi.Input; /** * The resource ID for the Virtual Desktop Scaling Plan. Changing this forces a new resource to be created. */ scalingPlanId?: pulumi.Input; } /** * The set of arguments for constructing a ScalingPlanHostPoolAssociation resource. */ export interface ScalingPlanHostPoolAssociationArgs { /** * Should the Scaling Plan be enabled on this Host Pool. */ enabled: pulumi.Input; /** * The resource ID for the Virtual Desktop Host Pool. Changing this forces a new resource to be created. */ hostPoolId: pulumi.Input; /** * The resource ID for the Virtual Desktop Scaling Plan. Changing this forces a new resource to be created. */ scalingPlanId: pulumi.Input; }