Sdílet prostřednictvím


DevTestLabCostThreshold Class

Definition

Properties of a cost threshold item.

public class DevTestLabCostThreshold : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevTestLabs.Models.DevTestLabCostThreshold>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevTestLabs.Models.DevTestLabCostThreshold>
public class DevTestLabCostThreshold
type DevTestLabCostThreshold = class
    interface IJsonModel<DevTestLabCostThreshold>
    interface IPersistableModel<DevTestLabCostThreshold>
type DevTestLabCostThreshold = class
Public Class DevTestLabCostThreshold
Implements IJsonModel(Of DevTestLabCostThreshold), IPersistableModel(Of DevTestLabCostThreshold)
Public Class DevTestLabCostThreshold
Inheritance
DevTestLabCostThreshold
Implements

Constructors

DevTestLabCostThreshold()

Initializes a new instance of DevTestLabCostThreshold.

Properties

DisplayOnChart

Indicates whether this threshold will be displayed on cost charts.

NotificationSent

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

SendNotificationWhenExceeded

Indicates whether notifications will be sent when this threshold is exceeded.

ThresholdId

The ID of the cost threshold item.

ThresholdValue

The cost threshold value.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DevTestLabCostThreshold>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DevTestLabCostThreshold>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevTestLabCostThreshold>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevTestLabCostThreshold>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DevTestLabCostThreshold>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to