Share via


AzureOpenAIDeploymentResource Constructor

Definition

Initializes a new instance of the AzureOpenAIDeploymentResource class.

public AzureOpenAIDeploymentResource(string name, string modelName, string modelVersion, Aspire.Hosting.ApplicationModel.AzureOpenAIResource parent);
new Aspire.Hosting.ApplicationModel.AzureOpenAIDeploymentResource : string * string * string * Aspire.Hosting.ApplicationModel.AzureOpenAIResource -> Aspire.Hosting.ApplicationModel.AzureOpenAIDeploymentResource
Public Sub New (name As String, modelName As String, modelVersion As String, parent As AzureOpenAIResource)

Parameters

name
String

The name of the resource.

modelName
String

The name of the model.

modelVersion
String

The version of the model.

parent
AzureOpenAIResource

The parent Azure OpenAI resource.

Applies to