Share via


EdgeUsageDataCollectionPolicy Class

Definition

The EdgeUsageDataCollectionPolicy.

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

Properties

DataCollectionFrequency

Usage data collection frequency in ISO 8601 duration format e.g. PT10M , PT5H.

DataReportingFrequency

Usage data reporting frequency in ISO 8601 duration format e.g. PT10M , PT5H.

EventHubDetails

Details of Event Hub where the usage will be reported.

MaxAllowedUnreportedUsageDuration

Maximum time for which the functionality of the device will not be hampered for not reporting the usage data.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EdgeUsageDataCollectionPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EdgeUsageDataCollectionPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided System.Text.Json.Utf8JsonWriter.

IPersistableModel<EdgeUsageDataCollectionPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

IPersistableModel<EdgeUsageDataCollectionPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EdgeUsageDataCollectionPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Applies to