CostThresholdProperties Class
Properties of a cost threshold item.
Constructor
CostThresholdProperties(*, threshold_id: str | None = None, percentage_threshold: PercentageCostThresholdProperties | None = None, display_on_chart: str | CostThresholdStatus | None = None, send_notification_when_exceeded: str | CostThresholdStatus | None = None, notification_sent: str | None = None, **kwargs)
Parameters
Name | Description |
---|---|
threshold_id
Required
|
The ID of the cost threshold item. |
percentage_threshold
Required
|
The value of the percentage cost threshold. |
display_on_chart
Required
|
Indicates whether this threshold will be displayed on cost charts. Possible values include: "Enabled", "Disabled". |
send_notification_when_exceeded
Required
|
Indicates whether notifications will be sent when this threshold is exceeded. Possible values include: "Enabled", "Disabled". |
notification_sent
Required
|
Indicates the datetime when notifications were last sent for this threshold. |
Keyword-Only Parameters
Name | Description |
---|---|
threshold_id
|
Default value: None
|
percentage_threshold
|
Default value: None
|
display_on_chart
|
Default value: None
|
send_notification_when_exceeded
|
Default value: None
|
notification_sent
|
Default value: None
|
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python