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.
Overloads
| Name | Description |
|---|---|
| ComputeRecommenderPlacementScore(String, Nullable<AzureLocation>, String, String, Nullable<Boolean>) |
Initializes a placement score for mocking. |
| ComputeRecommenderPlacementScore(String, Nullable<AzureLocation>, String, String, Nullable<Int32>, Nullable<Boolean>) |
Initializes a placement score with placement preference for mocking. |
ComputeRecommenderPlacementScore(String, Nullable<AzureLocation>, String, String, Nullable<Boolean>)
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.
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>)
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.
Placement preference from 0 to 10 (inclusive). Higher is better.
Whether quota is available, when returned by an earlier API version.
Returns
A placement score for mocking.