ArmAIInfraOptimizationModelFactory.RecommendVmSkuContent 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.
The parameters used to request an Azure virtual machine size recommendation for an AI workload.
public static Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuContent RecommendVmSkuContent(Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuModel model = default, Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuWorkload workload = default, Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuDeployment deployment = default, Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuOptimization optimization = default, System.Collections.Generic.IEnumerable<string> targetVmSizes = default, Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuSubscriptionConfig subscriptionOptions = default);
static member RecommendVmSkuContent : Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuModel * Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuWorkload * Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuDeployment * Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuOptimization * seq<string> * Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuSubscriptionConfig -> Azure.ResourceManager.AIInfraOptimization.Models.RecommendVmSkuContent
Public Shared Function RecommendVmSkuContent (Optional model As RecommendVmSkuModel = Nothing, Optional workload As RecommendVmSkuWorkload = Nothing, Optional deployment As RecommendVmSkuDeployment = Nothing, Optional optimization As RecommendVmSkuOptimization = Nothing, Optional targetVmSizes As IEnumerable(Of String) = Nothing, Optional subscriptionOptions As RecommendVmSkuSubscriptionConfig = Nothing) As RecommendVmSkuContent
Parameters
- model
- RecommendVmSkuModel
Model identity, sizing inputs, and optional maximum model context length.
- workload
- RecommendVmSkuWorkload
Inference request concurrency and token shape assumptions.
- deployment
- RecommendVmSkuDeployment
Deployment scale and Azure virtual machine procurement option.
- optimization
- RecommendVmSkuOptimization
Ranking preference and optional deployment-wide hourly cost limit.
- targetVmSizes
- IEnumerable<String>
The Azure virtual machine candidate set. When supplied, only these virtual machine sizes are ranked. Entries must be non-blank and unique, compared case-insensitively.
- subscriptionOptions
- RecommendVmSkuSubscriptionConfig
The subscription-scoped lookups to include in the recommendation.
Returns
A new RecommendVmSkuContent instance for mocking.