ArmComputeRecommenderModelFactory.ComputeRecommenderGenerateContent 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.
SpotPlacementScores API Input.
public static Azure.ResourceManager.Compute.Recommender.Models.ComputeRecommenderGenerateContent ComputeRecommenderGenerateContent(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? availabilityZones = default);
static member ComputeRecommenderGenerateContent : seq<Azure.Core.AzureLocation> * seq<Azure.ResourceManager.Compute.Recommender.Models.ComputeRecommenderResourceSize> * Nullable<int> * Nullable<bool> -> Azure.ResourceManager.Compute.Recommender.Models.ComputeRecommenderGenerateContent
Public Shared Function ComputeRecommenderGenerateContent (Optional desiredLocations As IEnumerable(Of AzureLocation) = Nothing, Optional desiredSizes As IEnumerable(Of ComputeRecommenderResourceSize) = Nothing, Optional desiredCount As Nullable(Of Integer) = Nothing, Optional availabilityZones As Nullable(Of Boolean) = Nothing) As ComputeRecommenderGenerateContent
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 ComputeRecommenderGenerateContent instance for mocking.