# AzureConnectorNamespaceConnectionResource

- Kind: `class`
- Package: [Aspire.Hosting.Azure.ConnectorNamespace](/reference/api/csharp/aspire.hosting.azure.connectornamespace.md)
- Version: `13.6.0-preview.1.26478.8`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting.Azure.ConnectorNamespace/AzureConnectorNamespaceConnectionResource.cs)
- Inherits: `Resource`
- Implements: `IResource`, `IResourceWithCustomWithReference<AzureConnectorNamespaceConnectionResource>`, `IResourceWithParent`, `IResourceWithParent<AzureConnectorNamespaceResource>`

Represents a connection child resource in an Azure Connector Namespace.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public sealed class AzureConnectorNamespaceConnectionResource
    : Aspire.Hosting.ApplicationModel.Resource,
      Aspire.Hosting.ApplicationModel.IResource,
      Aspire.Hosting.ApplicationModel.IResourceWithCustomWithReference<Aspire.Hosting.Azure.AzureConnectorNamespaceConnectionResource>,
      Aspire.Hosting.ApplicationModel.IResourceWithParent,
      Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.Azure.AzureConnectorNamespaceResource>
{
    // ...
}
```

## ATS metadata

### ATS export

- Type ID: `Aspire.Hosting.Azure.ConnectorNamespace/AzureConnectorNamespaceConnectionResource`

## Constructors

- [AzureConnectorNamespaceConnectionResource(string, string, string, string?, AzureConnectorNamespaceResource)](/reference/api/csharp/aspire.hosting.azure.connectornamespace/azureconnectornamespaceconnectionresource/constructors.md#constructor-string-string-string-string-azureconnectornamespaceresource) -- Initializes a new instance of the [AzureConnectorNamespaceConnectionResource](/reference/api/csharp/aspire.hosting.azure.connectornamespace/azureconnectornamespaceconnectionresource.md) class.

## Properties

- [ConnectionName](/reference/api/csharp/aspire.hosting.azure.connectornamespace/azureconnectornamespaceconnectionresource/properties.md#connectionname) : `string` `get` -- Gets the Azure connector connection name.
- [ConnectorName](/reference/api/csharp/aspire.hosting.azure.connectornamespace/azureconnectornamespaceconnectionresource/properties.md#connectorname) : `string` `get` -- Gets the connector catalog name.
- [DisplayName](/reference/api/csharp/aspire.hosting.azure.connectornamespace/azureconnectornamespaceconnectionresource/properties.md#displayname) : `string?` `get` -- Gets the friendly display name shown for the connection.
- [Parent](/reference/api/csharp/aspire.hosting.azure.connectornamespace/azureconnectornamespaceconnectionresource/properties.md#parent) : [AzureConnectorNamespaceResource](/reference/api/csharp/aspire.hosting.azure.connectornamespace/azureconnectornamespaceresource.md) `get` -- Gets the parent resource of type [AzureConnectorNamespaceResource](/reference/api/csharp/aspire.hosting.azure.connectornamespace/azureconnectornamespaceresource.md).
