ArmStorageCacheModelFactory.AmlFileSystemArchiveStatus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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
Azure SDK for .NET