# AzureApiManagementSubscriptionState

- Kind: `enum`
- Package: [Aspire.Hosting.Azure.ApiManagement](/reference/api/csharp/aspire.hosting.azure.apimanagement.md)
- Version: `17.0.0-preview.1.26567.5`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.ApiManagement/AzureApiManagementSubscriptionState.cs)

Specifies the state of an API Management subscription.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public enum AzureApiManagementSubscriptionState
```

## Enum Members

| Name | Value | Description |
| --- | --- | --- |
| Active | 0 | The subscription is active. |
| Suspended | 1 | The subscription is suspended. |
| Submitted | 2 | The subscription was submitted for approval. |
| Rejected | 3 | The subscription was rejected. |
| Expired | 4 | The subscription expired. |
| Cancelled | 5 | The subscription was cancelled. |
