# AzureProvisioningOptions

- Kind: `class`
- Package: [Aspire.Hosting.Azure](/reference/api/csharp/aspire.hosting.azure.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/AzureProvisioningOptions.cs)

Options to configure the behavior of Azure resources.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public sealed class AzureProvisioningOptions
{
    // ...
}
```

## Remarks

These options can be configured using https://learn.microsoft.com/dotnet/core/extensions/options#use-di-services-to-configure-options to customize how Azure resources are provisioned.

## Constructors

- [AzureProvisioningOptions](/reference/api/csharp/aspire.hosting.azure/azureprovisioningoptions/constructors.md#constructor)

## Properties

- [ProvisioningBuildOptions](/reference/api/csharp/aspire.hosting.azure/azureprovisioningoptions/properties.md#provisioningbuildoptions) : `ProvisioningBuildOptions` `get` -- Gets the `Provisioning.ProvisioningBuildOptions` which contains common settings and functionality for building Azure resources.
- [SupportsTargetedRoleAssignments](/reference/api/csharp/aspire.hosting.azure/azureprovisioningoptions/properties.md#supportstargetedroleassignments) : `bool` `get; set` -- Gets or sets a value indicating whether the Azure compute infrastructure supports specific role assignments from an application to an Azure resource.
