Delen 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>
public class EdgeUsageDataCollectionPolicy
type EdgeUsageDataCollectionPolicy = class
    interface IJsonModel<EdgeUsageDataCollectionPolicy>
    interface IPersistableModel<EdgeUsageDataCollectionPolicy>
type EdgeUsageDataCollectionPolicy = class
Public Class EdgeUsageDataCollectionPolicy
Implements IJsonModel(Of EdgeUsageDataCollectionPolicy), IPersistableModel(Of EdgeUsageDataCollectionPolicy)
Public Class EdgeUsageDataCollectionPolicy
Inheritance
EdgeUsageDataCollectionPolicy
Implements

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 Utf8JsonWriter.

IPersistableModel<EdgeUsageDataCollectionPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided 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 BinaryData.

Applies to