Share via


LogCollectionContentProperties Class

Definition

Properties for Log Collection Request.

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

Constructors

LogCollectionContentProperties(DateTimeOffset, DateTimeOffset)

Initializes a new instance of LogCollectionContentProperties.

Properties

FromDate

From DateTimeStamp from when logs need to be connected.

ToDate

To DateTimeStamp till when logs need to be connected.

Explicit Interface Implementations

IJsonModel<LogCollectionContentProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LogCollectionContentProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LogCollectionContentProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LogCollectionContentProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LogCollectionContentProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to