Share via


LogCollectionRequest Class

Definition

Log Collection Request

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.LogCollectionRequestTypeConverter))]
public class LogCollectionRequest : Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.ILogCollectionRequest
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.LogCollectionRequestTypeConverter))>]
type LogCollectionRequest = class
    interface ILogCollectionRequest
    interface IJsonSerializable
Public Class LogCollectionRequest
Implements ILogCollectionRequest
Inheritance
LogCollectionRequest
Attributes
Implements

Constructors

LogCollectionRequest()

Creates an new LogCollectionRequest instance.

Properties

FromDate

From DateTimeStamp from when logs need to be connected

ToDate

To DateTimeStamp till when logs need to be connected

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of LogCollectionRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LogCollectionRequest.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StackHCI.Models.Api20240401.ILogCollectionRequest.

FromJsonString(String)

Creates a new instance of LogCollectionRequest, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of LogCollectionRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to