ArmComputeRecommenderModelFactory.ComputePlacementScoresGenerateContent 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.
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.
Desired instance count per region/zone based on the scope. If not set, defaults to 1.
Returns
A new ComputePlacementScoresGenerateContent instance for mocking.