AzureCognitiveServicesProjectConnectionResource
Classnet10.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 Constructors The Microsoft Foundry project connection resource scoped to a project.
Methods2
Section titled MethodsCognitiveServicesProjectConnection 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.