你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AutoscaleSettingResourcePatch 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AutoscaleSettingResourcePatch() |
初始化 AutoscaleSettingResourcePatch 类的新实例。 |
AutoscaleSettingResourcePatch(IList<AutoscaleProfile>, IDictionary<String, String>, IList<AutoscaleNotification>, Nullable<Boolean>, String, String, String) |
初始化 AutoscaleSettingResourcePatch 类的新实例。 |
AutoscaleSettingResourcePatch()
初始化 AutoscaleSettingResourcePatch 类的新实例。
public AutoscaleSettingResourcePatch ();
Public Sub New ()
适用于
AutoscaleSettingResourcePatch(IList<AutoscaleProfile>, IDictionary<String, String>, IList<AutoscaleNotification>, Nullable<Boolean>, String, String, String)
初始化 AutoscaleSettingResourcePatch 类的新实例。
public AutoscaleSettingResourcePatch (System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AutoscaleProfile> profiles, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AutoscaleNotification> notifications = default, bool? enabled = default, string name = default, string targetResourceUri = default, string targetResourceLocation = default);
new Microsoft.Azure.Management.Monitor.Models.AutoscaleSettingResourcePatch : System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AutoscaleProfile> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.AutoscaleNotification> * Nullable<bool> * string * string * string -> Microsoft.Azure.Management.Monitor.Models.AutoscaleSettingResourcePatch
Public Sub New (profiles As IList(Of AutoscaleProfile), Optional tags As IDictionary(Of String, String) = Nothing, Optional notifications As IList(Of AutoscaleNotification) = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional name As String = Nothing, Optional targetResourceUri As String = Nothing, Optional targetResourceLocation As String = Nothing)
参数
- profiles
- IList<AutoscaleProfile>
为不同时间段指定不同缩放参数的自动缩放配置文件的集合。 最多可指定 20 个配置文件。
- tags
- IDictionary<String,String>
资源标记
- notifications
- IList<AutoscaleNotification>
通知的集合。
- name
- String
自动缩放设置的名称。
- targetResourceUri
- String
自动缩放设置应添加到的资源的资源标识符。
- targetResourceLocation
- String
自动缩放设置应添加到的资源的位置。