class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::CostThresholdProperties
Properties of a cost threshold item.
Attributes
display_on_chart[RW]
@return [CostThresholdStatus] Indicates whether this threshold will be displayed on cost charts. Possible values include: 'Enabled', 'Disabled'
notification_sent[RW]
@return [String] Indicates the datetime when notifications were last sent for this threshold.
percentage_threshold[RW]
@return [PercentageCostThresholdProperties] The value of the percentage cost threshold.
send_notification_when_exceeded[RW]
@return [CostThresholdStatus] Indicates whether notifications will be sent when this threshold is exceeded. Possible values include: 'Enabled', 'Disabled'
threshold_id[RW]
@return [String] The ID of the cost threshold item.
Private Class Methods
mapper()
click to toggle source
Mapper for CostThresholdProperties
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/cost_threshold_properties.rb, line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CostThresholdProperties', type: { name: 'Composite', class_name: 'CostThresholdProperties', model_properties: { threshold_id: { client_side_validation: true, required: false, serialized_name: 'thresholdId', type: { name: 'String' } }, percentage_threshold: { client_side_validation: true, required: false, serialized_name: 'percentageThreshold', type: { name: 'Composite', class_name: 'PercentageCostThresholdProperties' } }, display_on_chart: { client_side_validation: true, required: false, serialized_name: 'displayOnChart', type: { name: 'String' } }, send_notification_when_exceeded: { client_side_validation: true, required: false, serialized_name: 'sendNotificationWhenExceeded', type: { name: 'String' } }, notification_sent: { client_side_validation: true, required: false, serialized_name: 'notificationSent', type: { name: 'String' } } } } } end