你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
LogProfileResourcePatch 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
LogProfileResourcePatch() |
初始化 LogProfileResourcePatch 类的新实例。 |
LogProfileResourcePatch(IList<String>, IList<String>, RetentionPolicy, IDictionary<String,String>, String, String) |
初始化 LogProfileResourcePatch 类的新实例。 |
LogProfileResourcePatch()
初始化 LogProfileResourcePatch 类的新实例。
public LogProfileResourcePatch ();
Public Sub New ()
适用于
LogProfileResourcePatch(IList<String>, IList<String>, RetentionPolicy, IDictionary<String,String>, String, String)
初始化 LogProfileResourcePatch 类的新实例。
public LogProfileResourcePatch (System.Collections.Generic.IList<string> locations, System.Collections.Generic.IList<string> categories, Microsoft.Azure.Management.Monitor.Models.RetentionPolicy retentionPolicy, System.Collections.Generic.IDictionary<string,string> tags = default, string storageAccountId = default, string serviceBusRuleId = default);
new Microsoft.Azure.Management.Monitor.Models.LogProfileResourcePatch : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Monitor.Models.RetentionPolicy * System.Collections.Generic.IDictionary<string, string> * string * string -> Microsoft.Azure.Management.Monitor.Models.LogProfileResourcePatch
Public Sub New (locations As IList(Of String), categories As IList(Of String), retentionPolicy As RetentionPolicy, Optional tags As IDictionary(Of String, String) = Nothing, Optional storageAccountId As String = Nothing, Optional serviceBusRuleId As String = Nothing)
参数
- retentionPolicy
- RetentionPolicy
日志中事件的保留策略。
- tags
- IDictionary<String,String>
资源标记
- storageAccountId
- String
要向其发送活动日志的存储帐户的资源 ID。
- serviceBusRuleId
- String
要在其中创建事件中心以流式传输活动日志的服务总线命名空间的服务总线规则 ID。 规则 ID 的格式为:“{服务总线资源 ID}/authorizationrules/{key name}”。