Sprog

ArmComputeRecommenderModelFactory.ComputeRecommenderPlacementScore Method

Definition

Overloads

ComputeRecommenderPlacementScore(String, Nullable<AzureLocation>, String, String, Nullable<Boolean>)

Source:
ArmComputeRecommenderModelFactory.cs
Source:
ArmComputeRecommenderModelFactory.cs

Initializes a placement score for mocking.

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 virtual machine SKU size.

region
Nullable<AzureLocation>

The region.

availabilityZone
String

The availability zone.

score
String

The placement score.

isQuotaAvailable
Nullable<Boolean>

Whether quota is available, when returned by an earlier API version.

Returns

A placement score for mocking.

Applies to

ComputeRecommenderPlacementScore(String, Nullable<AzureLocation>, String, String, Nullable<Int32>, Nullable<Boolean>)

Source:
ArmComputeRecommenderModelFactory.cs

Initializes a placement score with placement preference for mocking.

public static Azure.ResourceManager.Compute.Recommender.Models.ComputeRecommenderPlacementScore ComputeRecommenderPlacementScore(string sku, Azure.Core.AzureLocation? region, string availabilityZone, string score, int? placementPreference, bool? isQuotaAvailable);
static member ComputeRecommenderPlacementScore : string * Nullable<Azure.Core.AzureLocation> * string * string * Nullable<int> * Nullable<bool> -> Azure.ResourceManager.Compute.Recommender.Models.ComputeRecommenderPlacementScore
Public Shared Function ComputeRecommenderPlacementScore (sku As String, region As Nullable(Of AzureLocation), availabilityZone As String, score As String, placementPreference As Nullable(Of Integer), isQuotaAvailable As Nullable(Of Boolean)) As ComputeRecommenderPlacementScore

Parameters

sku
String

The virtual machine SKU size.

region
Nullable<AzureLocation>

The region.

availabilityZone
String

The availability zone.

score
String

The placement score.

placementPreference
Nullable<Int32>

Placement preference from 0 to 10 (inclusive). Higher is better.

isQuotaAvailable
Nullable<Boolean>

Whether quota is available, when returned by an earlier API version.

Returns

A placement score for mocking.

Applies to