# IAzurePrivateEndpointTarget

- Kind: `interface`
- Package: [Aspire.Hosting.Azure](/reference/api/csharp/aspire.hosting.azure.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Azure/IAzurePrivateEndpointTarget.cs)
- Implements: `IResource`

Represents an Azure resource that can be connected to via a private endpoint.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public interface IAzurePrivateEndpointTarget
    : Aspire.Hosting.ApplicationModel.IResource
{
    // ...
}
```

## Properties

- [Id](/reference/api/csharp/aspire.hosting.azure/iazureprivateendpointtarget/properties.md#id) : [BicepOutputReference](/reference/api/csharp/aspire.hosting.azure/bicepoutputreference.md) `abstract` `get` -- Gets the "id" output reference from the Azure resource.

## Methods

- [GetPrivateDnsZoneNames](/reference/api/csharp/aspire.hosting.azure/iazureprivateendpointtarget/methods.md#getprivatednszonenames) : `IEnumerable<string>` `abstract` -- Gets the private DNS zone names for this resource type (e.g., "privatelink.blob.core.windows.net" for blob storage).
- [GetPrivateLinkGroupIds](/reference/api/csharp/aspire.hosting.azure/iazureprivateendpointtarget/methods.md#getprivatelinkgroupids) : `IEnumerable<string>` `abstract` -- Gets the group IDs for the private link service connection (e.g., "blob", "file" for storage).
