Delen via


ArmHciModelFactory.LogCollectionProperties Method

Definition

Initializes a new instance of LogCollectionProperties.

public static Azure.ResourceManager.Hci.Models.LogCollectionProperties LogCollectionProperties (DateTimeOffset? fromDate = default, DateTimeOffset? toDate = default, DateTimeOffset? lastLogGenerated = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Hci.Models.LogCollectionSession> logCollectionSessionDetails = default);
static member LogCollectionProperties : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.Hci.Models.LogCollectionSession> -> Azure.ResourceManager.Hci.Models.LogCollectionProperties
Public Shared Function LogCollectionProperties (Optional fromDate As Nullable(Of DateTimeOffset) = Nothing, Optional toDate As Nullable(Of DateTimeOffset) = Nothing, Optional lastLogGenerated As Nullable(Of DateTimeOffset) = Nothing, Optional logCollectionSessionDetails As IEnumerable(Of LogCollectionSession) = Nothing) As LogCollectionProperties

Parameters

fromDate
Nullable<DateTimeOffset>

From DateTimeStamp from when logs need to be connected.

toDate
Nullable<DateTimeOffset>

To DateTimeStamp till when logs need to be connected.

lastLogGenerated
Nullable<DateTimeOffset>

Recent DateTimeStamp where logs are successfully generated.

logCollectionSessionDetails
IEnumerable<LogCollectionSession>

Returns

A new LogCollectionProperties instance for mocking.

Applies to