Skip to content
DocsTry Aspire
DocsTry

AzureOpenAIResource Constructors

ClassConstructors1 member
Represents an Azure OpenAI resource.
Constructor(string, Action<AzureResourceInfrastructure>)Section titled Constructor(string, Action<AzureResourceInfrastructure>)
Represents an Azure OpenAI resource.
public class AzureOpenAIResource
{
public AzureOpenAIResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure)
{
// ...
}
}
namestringThe name of the resource.
configureInfrastructureAction<AzureResourceInfrastructure>Configures the underlying Azure resource using Azure.Provisioning.