# AzureApiManagementSubscriptionOptions Properties

- Package: [Aspire.Hosting.Azure.ApiManagement](/reference/api/csharp/aspire.hosting.azure.apimanagement.md)
- Type: [AzureApiManagementSubscriptionOptions](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementsubscriptionoptions.md)
- Kind: `Properties`
- Members: `2`

Configures an Azure API Management subscription.

<a id="allowtracing"></a>

## AllowTracing

- Name: `AllowTracing`
- Modifiers: `get; set`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.ApiManagement/AzureApiManagementSubscriptionOptions.cs)

Gets or sets whether tracing is allowed for the subscription.

```csharp
public bool AllowTracing { get; set; }
```

<a id="state"></a>

## State

- Name: `State`
- Modifiers: `get; set`
- Returns: [AzureApiManagementSubscriptionState](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementsubscriptionstate.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.ApiManagement/AzureApiManagementSubscriptionOptions.cs)

Gets or sets the subscription state.

```csharp
public AzureApiManagementSubscriptionState State { get; set; }
```
