BingGroundingConnectionResource
Classnet10.0
A Foundry project connection resource specifically for Grounding with Bing Search connections.
namespace Aspire.Hosting.Foundry;
public class BingGroundingConnectionResource : Aspire.Hosting.Foundry.AzureProvisionableAspireResourceWithParent<Azure.Provisioning.CognitiveServices.CognitiveServicesConnection, Aspire.Hosting.Foundry.AzureCognitiveServicesProjectResource>{ // ...}AzureProvisionableAspireResourceWithParent<CognitiveServicesConnection, AzureCognitiveServicesProjectResource>
Remarks
Section titled Remarks This type is used to distinguish Bing grounding connections from other connection types, ensuring that only connections created by
AddBingGroundingConnection can be linked to a BingGroundingToolResource . Constructors1
Section titled Constructors A Foundry project connection resource specifically for Grounding with Bing Search connections.
Methods2
Section titled MethodsCognitiveServicesConnection Gets the Azure.Provisioning resource from an existing Bicep identifier. Because static methods can't be abstract, this is an instance method.
Sets the name of the provisionable resource. This is needed because not all ProvisionableResource classes have a name property with a setter, and we can't put a type bound on T to require it.