ArmStorageCacheModelFactory.StorageCacheImportJobData 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 StorageCacheImportJobData.
public static Azure.ResourceManager.StorageCache.StorageCacheImportJobData StorageCacheImportJobData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.StorageCache.Models.ImportJobProvisioningStateType? provisioningState = default, System.Collections.Generic.IEnumerable<string> importPrefixes = default, Azure.ResourceManager.StorageCache.Models.ConflictResolutionMode? conflictResolutionMode = default, int? maximumErrors = default, Azure.ResourceManager.StorageCache.Models.ImportStatusType? state = default, string statusMessage = default, long? totalBlobsWalked = default, long? blobsWalkedPerSecond = default, long? totalBlobsImported = default, long? blobsImportedPerSecond = default, DateTimeOffset? lastCompletionOn = default, DateTimeOffset? lastStartedOn = default, int? totalErrors = default, int? totalConflicts = default);
static member StorageCacheImportJobData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.StorageCache.Models.ImportJobProvisioningStateType> * seq<string> * Nullable<Azure.ResourceManager.StorageCache.Models.ConflictResolutionMode> * Nullable<int> * Nullable<Azure.ResourceManager.StorageCache.Models.ImportStatusType> * string * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<int64> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.StorageCache.StorageCacheImportJobData
Public Shared Function StorageCacheImportJobData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional provisioningState As Nullable(Of ImportJobProvisioningStateType) = Nothing, Optional importPrefixes As IEnumerable(Of String) = Nothing, Optional conflictResolutionMode As Nullable(Of ConflictResolutionMode) = Nothing, Optional maximumErrors As Nullable(Of Integer) = Nothing, Optional state As Nullable(Of ImportStatusType) = Nothing, Optional statusMessage As String = Nothing, Optional totalBlobsWalked As Nullable(Of Long) = Nothing, Optional blobsWalkedPerSecond As Nullable(Of Long) = Nothing, Optional totalBlobsImported As Nullable(Of Long) = Nothing, Optional blobsImportedPerSecond As Nullable(Of Long) = Nothing, Optional lastCompletionOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastStartedOn As Nullable(Of DateTimeOffset) = Nothing, Optional totalErrors As Nullable(Of Integer) = Nothing, Optional totalConflicts As Nullable(Of Integer) = Nothing) As StorageCacheImportJobData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- provisioningState
- Nullable<ImportJobProvisioningStateType>
ARM provisioning state.
- importPrefixes
- IEnumerable<String>
An array of blob paths/prefixes that get imported into the cluster namespace. It has '/' as the default value.
- conflictResolutionMode
- Nullable<ConflictResolutionMode>
How the import job will handle conflicts. For example, if the import job is trying to bring in a directory, but a file is at that path, how it handles it. Fail indicates that the import job should stop immediately and not do anything with the conflict. Skip indicates that it should pass over the conflict. OverwriteIfDirty causes the import job to delete and re-import the file or directory if it is a conflicting type, is dirty, or was not previously imported. OverwriteAlways extends OverwriteIfDirty to include releasing files that had been restored but were not dirty. Please reference https://video2.skills-academy.com/en-us/azure/azure-managed-lustre/ for a thorough explanation of these resolution modes.
Total non-conflict oriented errors the import job will tolerate before exiting with failure. -1 means infinite. 0 means exit immediately and is the default.
- state
- Nullable<ImportStatusType>
The state of the import job. InProgress indicates the import is still running. Canceled indicates it has been canceled by the user. Completed indicates import finished, successfully importing all discovered blobs into the Lustre namespace. CompletedPartial indicates the import finished but some blobs either were found to be conflicting and could not be imported or other errors were encountered. Failed means the import was unable to complete due to a fatal error.
- statusMessage
- String
The status message of the import job.
A recent and frequently updated rate of blobs walked per second.
A recent and frequently updated rate of total files, directories, and symlinks imported per second.
- lastCompletionOn
- Nullable<DateTimeOffset>
The time of the last completed archive operation.
- lastStartedOn
- Nullable<DateTimeOffset>
The time the latest archive operation started.
Returns
A new StorageCacheImportJobData instance for mocking.