ArmCognitiveServicesModelFactory.ManagedComputeCapacityProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- deploymentSizeCapacities
- IEnumerable<DeploymentSizeCapacity>
Capacity information broken down by deployment size.
Returns
A new ManagedComputeCapacityProperties instance for mocking.