ArmComputeRecommenderModelFactory.ComputeRecommenderPlacementScore 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 spot placement score for sku/region/zone combination.
public static Azure.ResourceManager.Compute.Recommender.Models.ComputeRecommenderPlacementScore ComputeRecommenderPlacementScore(string sku = default, Azure.Core.AzureLocation? region = default, string availabilityZone = default, string score = default, bool? isQuotaAvailable = default);
static member ComputeRecommenderPlacementScore : string * Nullable<Azure.Core.AzureLocation> * string * string * Nullable<bool> -> Azure.ResourceManager.Compute.Recommender.Models.ComputeRecommenderPlacementScore
Public Shared Function ComputeRecommenderPlacementScore (Optional sku As String = Nothing, Optional region As Nullable(Of AzureLocation) = Nothing, Optional availabilityZone As String = Nothing, Optional score As String = Nothing, Optional isQuotaAvailable As Nullable(Of Boolean) = Nothing) As ComputeRecommenderPlacementScore
Parameters
- sku
- String
The resource's CRP virtual machine SKU size.
- region
- Nullable<AzureLocation>
The region.
- availabilityZone
- String
The availability zone.
- score
- String
A placement score indicating the likelihood of successfully allocating the specified Spot VM(s), as well as the expected lifetimes of the Spot VM(s) after allocation.
Returns
A new ComputeRecommenderPlacementScore instance for mocking.