# IAzureNspAssociationTarget

- 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/IAzureNspAssociationTarget.cs)
- Implements: `IResource`

Represents an Azure resource that can be associated with a Network Security Perimeter.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

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

## Remarks

Implement this interface on PaaS resources (such as Storage, Key Vault, Cosmos DB, SQL) that support Network Security Perimeter association via the `Microsoft.Network/networkSecurityPerimeters/resourceAssociations` resource type.

## Properties

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