AzureConnectorNamespaceResource.addConnection

Method
📦 Aspire.Hosting.Azure.ConnectorNamespace v17.0.0-preview.1.26567.5
interface AzureConnectorNamespaceResource {
// ... omitted for brevity
addConnection(
name: string,
connectorName: string,
options?: AzureConnectorNamespaceConnectionOptions): AzureConnectorNamespaceConnectionResource;
}

Signature

methodaddConnectionbuilder
Adds a connection to an Azure Connector Namespace.
addConnection(
name: string,
connectorName: string,
options?: AzureConnectorNamespaceConnectionOptions): AzureConnectorNamespaceConnectionResource
namestringThe Aspire resource name.
connectorNamestringThe connector catalog name, such as `office365`.
optionsAzureConnectorNamespaceConnectionOptionsoptionalThe optional connection configuration.
AzureConnectorNamespaceConnectionResource

Defined on

This method is defined on the following type: