共用方式為


Notification interface

與預算相關聯的通知。

屬性

contactEmails

超過臨界值時,要傳送預算通知的電子郵件位址。 在訂用帳戶或資源群組範圍中至少必須指定一個聯繫人電子郵件或聯繫人群組。 所有其他範圍必須至少指定一個聯繫人電子郵件。

contactGroups

當超過臨界值時,要傳送預算通知的動作群組。 必須以完整 Azure 資源標識碼的形式提供。只有訂用帳戶或資源群組範圍才支援。

contactRoles

連絡角色,以在超過臨界值時將預算通知傳送至 。

enabled

通知已啟用或未啟用。

locale

收件者將接收通知的語言

operator

比較運算子。

threshold

與通知相關聯的臨界值。 當成本超過閾值時,就會傳送通知。 一律為百分比,且必須介於 0 到 1000 之間。

thresholdType

臨界值的類型

屬性詳細資料

contactEmails

超過臨界值時,要傳送預算通知的電子郵件位址。 在訂用帳戶或資源群組範圍中至少必須指定一個聯繫人電子郵件或聯繫人群組。 所有其他範圍必須至少指定一個聯繫人電子郵件。

contactEmails: string[]

屬性值

string[]

contactGroups

當超過臨界值時,要傳送預算通知的動作群組。 必須以完整 Azure 資源標識碼的形式提供。只有訂用帳戶或資源群組範圍才支援。

contactGroups?: string[]

屬性值

string[]

contactRoles

連絡角色,以在超過臨界值時將預算通知傳送至 。

contactRoles?: string[]

屬性值

string[]

enabled

通知已啟用或未啟用。

enabled: boolean

屬性值

boolean

locale

收件者將接收通知的語言

locale?: string

屬性值

string

operator

比較運算子。

operator: string

屬性值

string

threshold

與通知相關聯的臨界值。 當成本超過閾值時,就會傳送通知。 一律為百分比,且必須介於 0 到 1000 之間。

threshold: number

屬性值

number

thresholdType

臨界值的類型

thresholdType?: string

屬性值

string