# AzureApiManagementNamedValueResource

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

Represents an Azure API Management named value.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

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

## Constructors

- [AzureApiManagementNamedValueResource(string, string, string, object, bool, IReadOnlyList<string>, AzureApiManagementResource)](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementnamedvalueresource/constructors.md#constructor-string-string-string-object-bool-ireadonlylist-string-azureapimanagementresource) -- Represents an Azure API Management named value.

## Properties

- [DisplayName](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementnamedvalueresource/properties.md#displayname) : `string` `get` -- Gets the named-value display name used in policy expressions.
- [NamedValueName](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementnamedvalueresource/properties.md#namedvaluename) : `string` `get` -- Gets the physical named-value identifier in API Management.
- [Parent](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementnamedvalueresource/properties.md#parent) : [AzureApiManagementResource](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementresource.md) `get` -- Gets the parent API Management service.
- [Secret](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementnamedvalueresource/properties.md#secret) : `bool` `get` -- Gets whether the named value contains secret material.
- [Tags](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementnamedvalueresource/properties.md#tags) : `IReadOnlyList<string>` `get` -- Gets the tags associated with the named value.
