Share via


ArmStorageCacheModelFactory.AmlFileSystemArchiveStatus Method

Definition

Initializes a new instance of AmlFileSystemArchiveStatus.

public static Azure.ResourceManager.StorageCache.Models.AmlFileSystemArchiveStatus AmlFileSystemArchiveStatus (Azure.ResourceManager.StorageCache.Models.ArchiveStatusType? state = default, DateTimeOffset? lastCompletionOn = default, DateTimeOffset? lastStartedOn = default, int? percentComplete = default, string errorCode = default, string errorMessage = default);
static member AmlFileSystemArchiveStatus : Nullable<Azure.ResourceManager.StorageCache.Models.ArchiveStatusType> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * string * string -> Azure.ResourceManager.StorageCache.Models.AmlFileSystemArchiveStatus
Public Shared Function AmlFileSystemArchiveStatus (Optional state As Nullable(Of ArchiveStatusType) = Nothing, Optional lastCompletionOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastStartedOn As Nullable(Of DateTimeOffset) = Nothing, Optional percentComplete As Nullable(Of Integer) = Nothing, Optional errorCode As String = Nothing, Optional errorMessage As String = Nothing) As AmlFileSystemArchiveStatus

Parameters

state
Nullable<ArchiveStatusType>

The state of the archive operation.

lastCompletionOn
Nullable<DateTimeOffset>

The time of the last completed archive operation.

lastStartedOn
Nullable<DateTimeOffset>

The time the latest archive operation started.

percentComplete
Nullable<Int32>

The completion percentage of the archive operation.

errorCode
String

Server-defined error code for the archive operation.

errorMessage
String

Server-defined error message for the archive operation.

Returns

A new AmlFileSystemArchiveStatus instance for mocking.

Applies to