# AzureApiManagementApiResource Properties

- Package: [Aspire.Hosting.Azure.ApiManagement](/reference/api/csharp/aspire.hosting.azure.apimanagement.md)
- Type: [AzureApiManagementApiResource](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementapiresource.md)
- Kind: `Properties`
- Members: `5`

Represents an API hosted by an Azure API Management service.

<a id="apiname"></a>

## ApiName

- Name: `ApiName`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.ApiManagement/AzureApiManagementApiResource.cs#L58)

Gets the physical API name in API Management.

```csharp
public string ApiName { get; }
```

<a id="displayname"></a>

## DisplayName

- Name: `DisplayName`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.ApiManagement/AzureApiManagementApiResource.cs#L68)

Gets the API display name.

```csharp
public string DisplayName { get; }
```

<a id="parent"></a>

## Parent

- Name: `Parent`
- Modifiers: `get`
- Returns: [AzureApiManagementResource](/reference/api/csharp/aspire.hosting.azure.apimanagement/azureapimanagementresource.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.ApiManagement/AzureApiManagementApiResource.cs#L98)

Gets the parent API Management service.

```csharp
public AzureApiManagementResource Parent { get; }
```

<a id="path"></a>

## Path

- Name: `Path`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.ApiManagement/AzureApiManagementApiResource.cs#L63)

Gets the public gateway path for the API.

```csharp
public string Path { get; }
```

<a id="subscriptionrequired"></a>

## SubscriptionRequired

- Name: `SubscriptionRequired`
- Modifiers: `get`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.ApiManagement/AzureApiManagementApiResource.cs#L73)

Gets whether callers must provide an API Management subscription key.

```csharp
public bool SubscriptionRequired { get; }
```
