AzureCognitiveServicesProjectConnectionResource
Class net8.0
The Microsoft Foundry project connection resource scoped to a project.
namespace Aspire.Hosting.Foundry;
public class AzureCognitiveServicesProjectConnectionResource : Aspire.Hosting.Foundry.AzureProvisionableAspireResourceWithParent<Azure.Provisioning.CognitiveServices.CognitiveServicesProjectConnection, Aspire.Hosting.Foundry.AzureCognitiveServicesProjectResource>{ // ...} AzureProvisionableAspireResourceWithParent<CognitiveServicesProjectConnection, AzureCognitiveServicesProjectResource>
Constructors1
Section titled ConstructorsMethods2
Section titled MethodsFromExisting(string)CognitiveServicesProjectConnection Gets the Azure.Provisioning resource from an existing Bicep identifier. Because static methods can't be abstract, this is an instance method.
SetName(CognitiveServicesProjectConnection, 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.