Language

ArmComputeRecommenderModelFactory.ComputePlacementScoresGenerateContent Method

Definition

ComputePlacementScores API Input.

public static Azure.ResourceManager.Compute.Recommender.Models.ComputePlacementScoresGenerateContent ComputePlacementScoresGenerateContent(System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> desiredLocations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Recommender.Models.ComputeRecommenderResourceSize> desiredSizes = default, int? desiredCount = default, bool? isZonal = default);
static member ComputePlacementScoresGenerateContent : seq<Azure.Core.AzureLocation> * seq<Azure.ResourceManager.Compute.Recommender.Models.ComputeRecommenderResourceSize> * Nullable<int> * Nullable<bool> -> Azure.ResourceManager.Compute.Recommender.Models.ComputePlacementScoresGenerateContent
Public Shared Function ComputePlacementScoresGenerateContent (Optional desiredLocations As IEnumerable(Of AzureLocation) = Nothing, Optional desiredSizes As IEnumerable(Of ComputeRecommenderResourceSize) = Nothing, Optional desiredCount As Nullable(Of Integer) = Nothing, Optional isZonal As Nullable(Of Boolean) = Nothing) As ComputePlacementScoresGenerateContent

Parameters

desiredLocations
IEnumerable<AzureLocation>

The desired regions. If not set, the location from the request URI is used as the desired location. Each location in this list must be a valid Azure region.

desiredSizes
IEnumerable<ComputeRecommenderResourceSize>

The desired virtual machine SKU sizes.

desiredCount
Nullable<Int32>

Desired instance count per region/zone based on the scope. If not set, defaults to 1.

isZonal
Nullable<Boolean>

Defines if the scope is zonal or regional.

Returns

A new ComputePlacementScoresGenerateContent instance for mocking.

Applies to