Freigeben über


ArmComputeRecommenderModelFactory.ComputeRecommenderPlacementScore Method

Definition

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.

isQuotaAvailable
Nullable<Boolean>

Whether the desired quota is available.

Returns

A new ComputeRecommenderPlacementScore instance for mocking.

Applies to