Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddBingGroundingConnection

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26565.2
func (AzureCognitiveServicesProjectResource) AddBingGroundingConnection(
name string,
bingResourceId string,
) BingGroundingConnectionResource

Signature

methodAddBingGroundingConnectionbuilder
Adds a Grounding with Bing Search connection to a Microsoft Foundry project.
AddBingGroundingConnection(
name string,
bingResourceId string,
) BingGroundingConnectionResource
namestringThe name of the connection resource.
bingResourceIdstringThe full Azure resource ID of the Bing Search resource (e.g., /subscriptions/{subId}/resourceGroups/{rg}/providers/Microsoft.Bing/accounts/{name}).
BingGroundingConnectionResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: