# AzureApiManagementSubscriptionResource

- 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/AzureApiManagementSubscriptionResource.cs)
- Inherits: `Resource`
- Implements: `IResource`, `IResourceWithParent`, `IResourceWithParent<AzureApiManagementProductResource>`

Represents an Azure API Management subscription scoped to a product.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public class AzureApiManagementSubscriptionResource
    : Aspire.Hosting.ApplicationModel.Resource,
      Aspire.Hosting.ApplicationModel.IResource,
      Aspire.Hosting.ApplicationModel.IResourceWithParent,
      Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.Azure.AzureApiManagementProductResource>
{
    // ...
}
```

## Constructors

- [AzureApiManagementSubscriptionResource(string, string, string, AzureApiManagementSubscriptionOptions, AzureApiManagementProductResource)](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementsubscriptionresource/constructors.md#constructor-string-string-string-azureapimanagementsubscriptionoptions-azureapimanagementproductresource) -- Represents an Azure API Management subscription scoped to a product.

## Properties

- [DisplayName](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementsubscriptionresource/properties.md#displayname) : `string` `get` -- Gets the subscription display name.
- [Options](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementsubscriptionresource/properties.md#options) : [AzureApiManagementSubscriptionOptions](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementsubscriptionoptions.md) `get` -- Gets the subscription options.
- [Parent](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementsubscriptionresource/properties.md#parent) : [AzureApiManagementProductResource](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementproductresource.md) `get` -- Gets the parent API Management product.
- [SubscriptionName](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementsubscriptionresource/properties.md#subscriptionname) : `string` `get` -- Gets the physical subscription identifier in API Management.
