CostThresholdProperties Class

Properties of a cost threshold item.

Constructor

CostThresholdProperties(*, threshold_id: str | None = None, percentage_threshold: _models.PercentageCostThresholdProperties | None = None, display_on_chart: str | _models.CostThresholdStatus | None = None, send_notification_when_exceeded: str | _models.CostThresholdStatus | None = None, notification_sent: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
threshold_id
str

The ID of the cost threshold item.

Default value: None
percentage_threshold

The value of the percentage cost threshold.

Default value: None
display_on_chart

Indicates whether this threshold will be displayed on cost charts. Known values are: "Enabled" and "Disabled".

Default value: None
send_notification_when_exceeded

Indicates whether notifications will be sent when this threshold is exceeded. Known values are: "Enabled" and "Disabled".

Default value: None
notification_sent
str

Indicates the datetime when notifications were last sent for this threshold.

Default value: None

Variables

Name Description
threshold_id
str

The ID of the cost threshold item.

percentage_threshold

The value of the percentage cost threshold.

display_on_chart

Indicates whether this threshold will be displayed on cost charts. Known values are: "Enabled" and "Disabled".

send_notification_when_exceeded

Indicates whether notifications will be sent when this threshold is exceeded. Known values are: "Enabled" and "Disabled".

notification_sent
str

Indicates the datetime when notifications were last sent for this threshold.