Partager via


AzureOpenAIResource Constructors

Definition

Overloads

AzureOpenAIResource(String, Action<AzureResourceInfrastructure>)

Represents an Azure OpenAI resource.

AzureOpenAIResource(String, Action<ResourceModuleConstruct>)

Represents an Azure OpenAI resource.

AzureOpenAIResource(String, Action<AzureResourceInfrastructure>)

Source:
AzureOpenAIResource.cs

Represents an Azure OpenAI resource.

public AzureOpenAIResource (string name, Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> configureInfrastructure);
new Aspire.Hosting.ApplicationModel.AzureOpenAIResource : string * Action<Aspire.Hosting.Azure.AzureResourceInfrastructure> -> Aspire.Hosting.ApplicationModel.AzureOpenAIResource
Public Sub New (name As String, configureInfrastructure As Action(Of AzureResourceInfrastructure))

Parameters

name
String

The name of the resource.

configureInfrastructure
Action<AzureResourceInfrastructure>

Configures the underlying Azure resource using the CDK.

Applies to

AzureOpenAIResource(String, Action<ResourceModuleConstruct>)

Source:
AzureOpenAIResource.cs

Represents an Azure OpenAI resource.

public AzureOpenAIResource (string name, Action<Aspire.Hosting.ResourceModuleConstruct> configureConstruct);
new Aspire.Hosting.ApplicationModel.AzureOpenAIResource : string * Action<Aspire.Hosting.ResourceModuleConstruct> -> Aspire.Hosting.ApplicationModel.AzureOpenAIResource
Public Sub New (name As String, configureConstruct As Action(Of ResourceModuleConstruct))

Parameters

name
String

The name of the resource.

configureConstruct
Action<ResourceModuleConstruct>

Configures the underlying Azure resource using the CDK.

Applies to