Share via


AutoscaleSettingResourcePatch Constructors

Definition

Overloads

AutoscaleSettingResourcePatch()

Initializes a new instance of the AutoscaleSettingResourcePatch class.

AutoscaleSettingResourcePatch(IList<AutoscaleProfile>, IDictionary<String, String>, IList<AutoscaleNotification>, Nullable<Boolean>, String, String, String)

Initializes a new instance of the AutoscaleSettingResourcePatch class.

AutoscaleSettingResourcePatch()

Initializes a new instance of the AutoscaleSettingResourcePatch class.

public AutoscaleSettingResourcePatch ();
Public Sub New ()

Applies to

AutoscaleSettingResourcePatch(IList<AutoscaleProfile>, IDictionary<String, String>, IList<AutoscaleNotification>, Nullable<Boolean>, String, String, String)

Initializes a new instance of the AutoscaleSettingResourcePatch class.

public AutoscaleSettingResourcePatch (System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AutoscaleProfile> profiles, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AutoscaleNotification> notifications = default, bool? enabled = default, string name = default, string targetResourceUri = default, string targetResourceLocation = default);
new Microsoft.Azure.Management.Monitor.Models.AutoscaleSettingResourcePatch : System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AutoscaleProfile> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AutoscaleNotification> * Nullable<bool> * string * string * string -> Microsoft.Azure.Management.Monitor.Models.AutoscaleSettingResourcePatch
Public Sub New (profiles As IList(Of AutoscaleProfile), Optional tags As IDictionary(Of String, String) = Nothing, Optional notifications As IList(Of AutoscaleNotification) = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional name As String = Nothing, Optional targetResourceUri As String = Nothing, Optional targetResourceLocation As String = Nothing)

Parameters

profiles
IList<AutoscaleProfile>

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

tags
IDictionary<String,String>

Resource tags

notifications
IList<AutoscaleNotification>

the collection of notifications.

enabled
Nullable<Boolean>

the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'.

name
String

the name of the autoscale setting.

targetResourceUri
String

the resource identifier of the resource that the autoscale setting should be added to.

targetResourceLocation
String

the location of the resource that the autoscale setting should be added to.

Applies to