# AzureApiManagementProductOptions

- Kind: `class`
- 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/AzureApiManagementProductOptions.cs)

Configures an Azure API Management product.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

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

## ATS metadata

### ATS DTO

- Serialized as a plain JSON object without a `$type` discriminator.

## Constructors

- [AzureApiManagementProductOptions](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementproductoptions/constructors.md#constructor)

## Properties

- [ApprovalRequired](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementproductoptions/properties.md#approvalrequired) : `bool` `get; init` -- Gets whether subscription requests require administrator approval.
- [Description](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementproductoptions/properties.md#description) : `string?` `get; init` -- Gets the product description.
- [State](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementproductoptions/properties.md#state) : [AzureApiManagementProductState](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementproductstate.md) `get; init` -- Gets the product publication state.
- [SubscriptionRequired](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementproductoptions/properties.md#subscriptionrequired) : `bool` `get; init` -- Gets whether a subscription is required to access APIs in the product.
- [SubscriptionsLimit](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementproductoptions/properties.md#subscriptionslimit) : `int?` `get; init` -- Gets the maximum number of subscriptions a user may create for the product. A null value allows unlimited subscriptions.
- [Terms](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementproductoptions/properties.md#terms) : `string?` `get; init` -- Gets the terms of use presented to subscribers.
