Azure Provisioning DesktopVirtualization client library for .NET - version 1.0.0-beta.1

Azure.Provisioning.DesktopVirtualization simplifies declarative resource provisioning in .NET.

Getting started

Install the package

Install the client library for .NET with NuGet:

dotnet add package Azure.Provisioning.DesktopVirtualization --prerelease

Prerequisites

You must have an Azure subscription.

Authenticate the Client

Key concepts

This library allows you to specify your infrastructure in a declarative style using .NET. You can then use azd to deploy your infrastructure to Azure directly without needing to write or maintain Bicep or ARM templates.

Examples

Create a virtual desktop workspace

This example creates an Azure Virtual Desktop workspace.

Infrastructure infra = new();

VirtualWorkspace workspace =
    new(nameof(workspace), VirtualWorkspace.ResourceVersions.V2026_04_01_PREVIEW)
    {
        Description = "Example virtual desktop workspace",
        FriendlyName = "Example workspace",
        Tags = { ["environment"] = "test" },
    };
infra.Add(workspace);

Troubleshooting

Next steps

Contributing

For details on contributing to this repository, see the contributing guide.

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any questions or comments.