Aracılığıyla paylaş


AlertPropertiesDetails Class

Definition

Alert details.

public class AlertPropertiesDetails
type AlertPropertiesDetails = class
Public Class AlertPropertiesDetails
Inheritance
AlertPropertiesDetails

Constructors

AlertPropertiesDetails()

Initializes a new instance of AlertPropertiesDetails.

Properties

Amount

budget threshold amount.

CompanyName

company name.

ContactEmails

list of emails to contact.

ContactGroups

list of action groups to broadcast to.

ContactRoles

list of contact roles.

CurrentSpend

current spend.

DepartmentName

department name.

EnrollmentEndDate

datetime of enrollmentEndDate.

EnrollmentNumber

enrollment number.

EnrollmentStartDate

datetime of enrollmentStartDate.

InvoicingThreshold

invoicing threshold.

MeterFilter

array of meters to filter by

To assign an object to the element of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Operator

operator used to compare currentSpend with amount.

OverridingAlert

overriding alert.

PeriodStartDate

datetime of periodStartDate.

ResourceFilter

array of resources to filter by

To assign an object to the element of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

ResourceGroupFilter

array of resourceGroups to filter by

To assign an object to the element of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

TagFilter

tags to filter by

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Threshold

notification threshold percentage as a decimal which activated this alert.

TimeGrainType

Type of timegrain cadence.

TriggeredBy

notificationId that triggered this alert.

Unit

unit of currency being used.

Applies to