CostThresholdProperties Class

Properties of a cost threshold item.

Inheritance
CostThresholdProperties

Constructor

CostThresholdProperties(*, threshold_id: Optional[str] = None, percentage_threshold: Optional[azure.mgmt.devtestlabs.models._models_py3.PercentageCostThresholdProperties] = None, display_on_chart: Optional[Union[str, azure.mgmt.devtestlabs.models._dev_test_labs_client_enums.CostThresholdStatus]] = None, send_notification_when_exceeded: Optional[Union[str, azure.mgmt.devtestlabs.models._dev_test_labs_client_enums.CostThresholdStatus]] = None, notification_sent: Optional[str] = None, **kwargs)

Parameters

threshold_id
str
Required

The ID of the cost threshold item.

percentage_threshold
PercentageCostThresholdProperties
Required

The value of the percentage cost threshold.

display_on_chart
str or CostThresholdStatus
Required

Indicates whether this threshold will be displayed on cost charts. Possible values include: "Enabled", "Disabled".

send_notification_when_exceeded
str or CostThresholdStatus
Required

Indicates whether notifications will be sent when this threshold is exceeded. Possible values include: "Enabled", "Disabled".

notification_sent
str
Required

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