# AzureApiManagementSubscriptionOptions

- Module: [Aspire.Hosting.Azure.ApiManagement](/reference/api/go/aspire.hosting.azure.apimanagement.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Configures an Azure API Management subscription.

## Definition

```go
type AzureApiManagementSubscriptionOptions struct {
    AllowTracing bool                                `json:"AllowTracing"`
    State        AzureApiManagementSubscriptionState `json:"State"`
}
```

## Fields

- `AllowTracing`: `bool` -- Gets or sets whether tracing is allowed for the subscription.
- `State`: [`AzureApiManagementSubscriptionState`](/reference/api/go/aspire.hosting.azure.apimanagement/azureapimanagementsubscriptionstate.md) -- Gets or sets the subscription state.
