你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NotificationHook.Administrators 属性

定义

具有管理权限以管理此挂钩的用户列表。 此列表中的每个元素表示具有管理员访问权限的用户,但每个 string 元素的值取决于此管理员在与服务通信时要使用的身份验证类型。 如果使用 MetricsAdvisorKeyCredential 身份验证, string 则必须是用户的电子邮件地址。 如果改用 AAD 身份验证, string 则必须唯一标识用户的主体。 例如,对于 ,ClientSecretCredentialstring必须是客户端 ID。

public System.Collections.Generic.IList<string> Administrators { get; }
member this.Administrators : System.Collections.Generic.IList<string>
Public ReadOnly Property Administrators As IList(Of String)

属性值

注解

创建挂钩后,服务会自动将创建者用户分配为管理员。

适用于