BingGroundingConnectionResource
Class net8.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 ConstructorsMethods2
Section titled MethodsFromExisting(string)CognitiveServicesConnection Gets the Azure.Provisioning resource from an existing Bicep identifier. Because static methods can't be abstract, this is an instance method.
SetName(CognitiveServicesConnection, BicepValue<string>) 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.