AzureOpenAIResource
Classnet10.0
Represents an Azure OpenAI resource.
namespace Aspire.Hosting.ApplicationModel;
public class AzureOpenAIResource : Aspire.Hosting.Azure.AzureProvisioningResource, Aspire.Hosting.ApplicationModel.IExpressionValue, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences, Aspire.Hosting.Azure.IAzureNspAssociationTarget, Aspire.Hosting.Azure.IAzurePrivateEndpointTarget{ // ...}AzureProvisioningResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferencesIAzureNspAssociationTargetIAzurePrivateEndpointTarget
9 members
Constructors1
Section titled Constructors Represents an Azure OpenAI resource.
Properties7
Section titled PropertiesBicepOutputReference Gets the "connectionString" output reference from the Azure OpenAI resource.
ReferenceExpression Gets the connection string template for the manifest for the resource.
Gets the list of deployments of the Azure OpenAI resource.
EndpointgetBicepOutputReference Gets the service endpoint URI expression for the Azure OpenAI resource.
ReferenceExpression Gets the connection URI expression for the Azure OpenAI endpoint.
Methods1
Section titled MethodsProvisionableResource Adds a new
Primitives.ProvisionableResource into infra. The new resource represents a reference to the current Azure.AzureProvisioningResource via https://learn.microsoft.com/azure/azure-resource-manager/bicep/existing-resource.