-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
AutoscaleSettingPatch.cs
41 lines (36 loc) · 2.01 KB
/
AutoscaleSettingPatch.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.Monitor.Models
{
/// <summary> The autoscale setting object for patch operations. </summary>
public partial class AutoscaleSettingPatch
{
/// <summary> Initializes a new instance of AutoscaleSettingPatch. </summary>
public AutoscaleSettingPatch()
{
Tags = new ChangeTrackingDictionary<string, string>();
Profiles = new ChangeTrackingList<AutoscaleProfile>();
Notifications = new ChangeTrackingList<AutoscaleNotification>();
}
/// <summary> Resource tags. </summary>
public IDictionary<string, string> Tags { get; }
/// <summary> the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified. </summary>
public IList<AutoscaleProfile> Profiles { get; }
/// <summary> the collection of notifications. </summary>
public IList<AutoscaleNotification> Notifications { get; set; }
/// <summary> the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'false'. </summary>
public bool? IsEnabled { get; set; }
/// <summary> the predictive autoscale policy mode. </summary>
public PredictiveAutoscalePolicy PredictiveAutoscalePolicy { get; set; }
/// <summary> the name of the autoscale setting. </summary>
public string AutoscaleSettingName { get; set; }
/// <summary> the resource identifier of the resource that the autoscale setting should be added to. </summary>
public ResourceIdentifier TargetResourceId { get; set; }
/// <summary> the location of the resource that the autoscale setting should be added to. </summary>
public AzureLocation? TargetResourceLocation { get; set; }
}
}