Udostępnij za pośrednictwem


AutoscaleSettingData Constructor

Definition

Initializes a new instance of AutoscaleSettingData.

public AutoscaleSettingData (Azure.Core.AzureLocation location, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Models.AutoscaleProfile> profiles);
new Azure.ResourceManager.Monitor.AutoscaleSettingData : Azure.Core.AzureLocation * seq<Azure.ResourceManager.Monitor.Models.AutoscaleProfile> -> Azure.ResourceManager.Monitor.AutoscaleSettingData
Public Sub New (location As AzureLocation, profiles As IEnumerable(Of AutoscaleProfile))

Parameters

location
AzureLocation

The location.

profiles
IEnumerable<AutoscaleProfile>

the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified.

Exceptions

profiles is null.

Applies to