AutoscaleSettingResource Class

Definition

The autoscale setting resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class AutoscaleSettingResource : Microsoft.Azure.Management.Monitor.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type AutoscaleSettingResource = class
    inherit Resource
Public Class AutoscaleSettingResource
Inherits Resource
Inheritance
AutoscaleSettingResource
Attributes

Constructors

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)

Initializes a new instance of the AutoscaleSettingResource class.

Properties

AutoscaleSettingResourceName

Gets or sets the name of the autoscale setting.

Enabled

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

Etag

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

(Inherited from Resource)
Id

Gets azure resource Id

(Inherited from Resource)
Kind

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

(Inherited from Resource)
Location

Gets or sets resource location

(Inherited from Resource)
Name

Gets azure resource name

(Inherited from Resource)
Notifications

Gets or sets the collection of notifications.

Profiles

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

Tags

Gets or sets resource tags

(Inherited from Resource)
TargetResourceUri

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

Type

Gets azure resource type

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to