你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AutoscaleSettingResourcePatch 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
修补操作的自动缩放设置对象。
[Microsoft.Rest.Serialization.JsonTransformation]
public class AutoscaleSettingResourcePatch
[<Microsoft.Rest.Serialization.JsonTransformation>]
type AutoscaleSettingResourcePatch = class
Public Class AutoscaleSettingResourcePatch
- 继承
-
AutoscaleSettingResourcePatch
- 属性
构造函数
AutoscaleSettingResourcePatch() |
初始化 AutoscaleSettingResourcePatch 类的新实例。 |
AutoscaleSettingResourcePatch(IList<AutoscaleProfile>, IDictionary<String, String>, IList<AutoscaleNotification>, Nullable<Boolean>, String, String, String) |
初始化 AutoscaleSettingResourcePatch 类的新实例。 |
属性
Enabled |
获取或设置已启用的标志。 指定是否为资源启用自动缩放。 默认值为“true”。 |
Name |
获取或设置自动缩放设置的名称。 |
Notifications |
获取或设置通知的集合。 |
Profiles |
获取或设置自动缩放配置文件的集合,这些配置文件为不同的时间段指定不同的缩放参数。 最多可指定 20 个配置文件。 |
Tags |
获取或设置资源标记 |
TargetResourceLocation |
获取或设置自动缩放设置应添加到的资源的位置。 |
TargetResourceUri |
获取或设置自动缩放设置应添加到的资源的资源标识符。 |
方法
Validate() |
验证 对象。 |