AutoscaleSettingResource Constructors

Definition

Overloads

AutoscaleSettingResource()

Initializes a new instance of the AutoscaleSettingResource class.

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

Initializes a new instance of the AutoscaleSettingResource class.

AutoscaleSettingResource()

Initializes a new instance of the AutoscaleSettingResource class.

public AutoscaleSettingResource ();
Public Sub New ()

Applies to

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

Initializes a new instance of the AutoscaleSettingResource class.

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

Parameters

location
String

Resource location

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.

id
String

Azure resource Id

name
String

Azure resource name

type
String

Azure resource type

tags
IDictionary<String,String>

Resource tags

kind
String

Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

etag
String

The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.

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'.

autoscaleSettingResourceName
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