Udostępnij za pośrednictwem


AutoscaleSettingResourcePatch Class

Definition

The autoscale setting object for patch operations.

[Microsoft.Rest.Serialization.JsonTransformation]
public class AutoscaleSettingResourcePatch
[<Microsoft.Rest.Serialization.JsonTransformation>]
type AutoscaleSettingResourcePatch = class
Public Class AutoscaleSettingResourcePatch
Inheritance
AutoscaleSettingResourcePatch
Attributes

Constructors

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.

Properties

Enabled

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

Name

Gets or sets the name of the autoscale setting.

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

TargetResourceLocation

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

TargetResourceUri

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

Methods

Validate()

Validate the object.

Applies to