ArmCognitiveServicesModelFactory.CognitiveServicesManagedComputeDeploymentInfo Method

Definition

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesManagedComputeDeploymentInfo CognitiveServicesManagedComputeDeploymentInfo(string deploymentId = default, string projectId = default, string modelId = default, long? acceleratorCount = default, int? instanceCount = default);
static member CognitiveServicesManagedComputeDeploymentInfo : string * string * string * Nullable<int64> * Nullable<int> -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesManagedComputeDeploymentInfo
Public Shared Function CognitiveServicesManagedComputeDeploymentInfo (Optional deploymentId As String = Nothing, Optional projectId As String = Nothing, Optional modelId As String = Nothing, Optional acceleratorCount As Nullable(Of Long) = Nothing, Optional instanceCount As Nullable(Of Integer) = Nothing) As CognitiveServicesManagedComputeDeploymentInfo

Parameters

deploymentId
String

Full ARM resource ID of the deployment.

projectId
String

Full ARM resource ID of the account/project.

modelId
String

Model name (e.g., 'azureml://registries//models//versions/gpt-4o').

acceleratorCount
Nullable<Int64>

Number of GPUs consumed by this deployment.

instanceCount
Nullable<Int32>

Number of instances for this deployment.

Returns

A new CognitiveServicesManagedComputeDeploymentInfo instance for mocking.

Applies to