ArmHciModelFactory.LogCollectionSession Method

Definition

Initializes a new instance of LogCollectionSession.

public static Azure.ResourceManager.Hci.Models.LogCollectionSession LogCollectionSession (DateTimeOffset? logStartOn = default, DateTimeOffset? logEndOn = default, DateTimeOffset? timeCollected = default, long? logSize = default, Azure.ResourceManager.Hci.Models.LogCollectionStatus? logCollectionStatus = default, Azure.ResourceManager.Hci.Models.LogCollectionJobType? logCollectionJobType = default, string correlationId = default, DateTimeOffset? endTimeCollected = default, Azure.ResourceManager.Hci.Models.LogCollectionError logCollectionError = default);
static member LogCollectionSession : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int64> * Nullable<Azure.ResourceManager.Hci.Models.LogCollectionStatus> * Nullable<Azure.ResourceManager.Hci.Models.LogCollectionJobType> * string * Nullable<DateTimeOffset> * Azure.ResourceManager.Hci.Models.LogCollectionError -> Azure.ResourceManager.Hci.Models.LogCollectionSession
Public Shared Function LogCollectionSession (Optional logStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional logEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional timeCollected As Nullable(Of DateTimeOffset) = Nothing, Optional logSize As Nullable(Of Long) = Nothing, Optional logCollectionStatus As Nullable(Of LogCollectionStatus) = Nothing, Optional logCollectionJobType As Nullable(Of LogCollectionJobType) = Nothing, Optional correlationId As String = Nothing, Optional endTimeCollected As Nullable(Of DateTimeOffset) = Nothing, Optional logCollectionError As LogCollectionError = Nothing) As LogCollectionSession

Parameters

logStartOn
Nullable<DateTimeOffset>

Start Time of the logs when it was collected.

logEndOn
Nullable<DateTimeOffset>

End Time of the logs when it was collected.

timeCollected
Nullable<DateTimeOffset>

Duration of logs collected.

logSize
Nullable<Int64>

Size of the logs collected.

logCollectionStatus
Nullable<LogCollectionStatus>

LogCollection status.

logCollectionJobType
Nullable<LogCollectionJobType>

LogCollection job type.

correlationId
String

CorrelationId of the log collection.

endTimeCollected
Nullable<DateTimeOffset>

End Time of the logs when it was collected.

logCollectionError
LogCollectionError

Log Collection Error details of the cluster.

Returns

A new LogCollectionSession instance for mocking.

Applies to