Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Azure.Provisioning.Maps simplifies declarative resource provisioning for Azure Maps in .NET.
Getting started
Install the package
Install the client library for .NET with NuGet:
dotnet add package Azure.Provisioning.Maps --prerelease
Prerequisites
You must have an Azure subscription.
Authenticate the client
Key concepts
This library allows you to specify Azure Maps infrastructure declaratively in .NET. You can then use azd to deploy the generated Bicep without writing or maintaining ARM templates directly.
Examples
Create a Maps account
Infrastructure infra = new();
MapsAccount account =
new(nameof(account), MapsAccount.ResourceVersions.V2025_10_01_PREVIEW)
{
Tags = { ["environment"] = "test" },
Properties = new MapsAccountProperties { DisableLocalAuth = true },
Sku = new MapsSku { Name = MapsSkuName.G2 },
Kind = MapsAccountKind.Gen2,
};
infra.Add(account);
Troubleshooting
- File an issue via GitHub Issues.
- Check previous questions or ask new ones on Stack Overflow using Azure and .NET tags.
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.
Azure SDK for .NET