ArmCognitiveServicesModelFactory.ManagedComputeCapacityProperties Method

Definition

public static Azure.ResourceManager.CognitiveServices.Models.ManagedComputeCapacityProperties ManagedComputeCapacityProperties(string acceleratorType = default, Azure.Core.AzureLocation? location = default, int? availableAccelerators = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.Models.DeploymentSizeCapacity> deploymentSizeCapacities = default);
static member ManagedComputeCapacityProperties : string * Nullable<Azure.Core.AzureLocation> * Nullable<int> * seq<Azure.ResourceManager.CognitiveServices.Models.DeploymentSizeCapacity> -> Azure.ResourceManager.CognitiveServices.Models.ManagedComputeCapacityProperties
Public Shared Function ManagedComputeCapacityProperties (Optional acceleratorType As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional availableAccelerators As Nullable(Of Integer) = Nothing, Optional deploymentSizeCapacities As IEnumerable(Of DeploymentSizeCapacity) = Nothing) As ManagedComputeCapacityProperties

Parameters

acceleratorType
String

The type of accelerator (e.g., Azure.A100, Azure.H100).

location
Nullable<AzureLocation>

The Azure region where the capacity is available.

availableAccelerators
Nullable<Int32>

The number of available accelerators in the region.

deploymentSizeCapacities
IEnumerable<DeploymentSizeCapacity>

Capacity information broken down by deployment size.

Returns

A new ManagedComputeCapacityProperties instance for mocking.

Applies to