你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Notification 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
与预算关联的通知。
public class Notification
type Notification = class
Public Class Notification
- 继承
-
Notification
构造函数
Notification() |
初始化 Notification 类的新实例。 |
Notification(Boolean, String, Decimal, IList<String>, IList<String>, IList<String>) |
初始化 Notification 类的新实例。 |
属性
ContactEmails |
获取或设置在超出阈值时要向其发送预算通知的电子邮件地址。 |
ContactGroups |
获取或设置在超出阈值时要向其发送预算通知的操作组。 |
ContactRoles |
获取或设置在超出阈值时将预算通知发送到的联系人角色。 |
Enabled |
获取或设置是否启用通知。 |
OperatorProperty |
获取或设置比较运算符。 可能的值包括:“EqualTo”、“GreaterThan”、“GreaterThanOrEqualTo” |
Threshold |
获取或设置与通知关联的阈值。 当成本超过阈值时,将发送通知。 它始终为百分比,并且必须介于 0 到 1000 之间。 |
方法
Validate() |
验证 对象。 |