다음을 통해 공유


StorageCacheImportJobData Class

Definition

A class representing the StorageCacheImportJob data model. An import job instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md

public class StorageCacheImportJobData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.StorageCache.StorageCacheImportJobData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.StorageCache.StorageCacheImportJobData>
type StorageCacheImportJobData = class
    inherit TrackedResourceData
    interface IJsonModel<StorageCacheImportJobData>
    interface IPersistableModel<StorageCacheImportJobData>
Public Class StorageCacheImportJobData
Inherits TrackedResourceData
Implements IJsonModel(Of StorageCacheImportJobData), IPersistableModel(Of StorageCacheImportJobData)
Inheritance
StorageCacheImportJobData
Implements

Constructors

StorageCacheImportJobData(AzureLocation)

Initializes a new instance of StorageCacheImportJobData.

Properties

BlobsImportedPerSecond

A recent and frequently updated rate of total files, directories, and symlinks imported per second.

BlobsWalkedPerSecond

A recent and frequently updated rate of blobs walked per second.

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://learn.microsoft.com/en-us/azure/azure-managed-lustre/ for a thorough explanation of these resolution modes.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
ImportPrefixes

An array of blob paths/prefixes that get imported into the cluster namespace. It has '/' as the default value.

LastCompletionOn

The time of the last completed archive operation.

LastStartedOn

The time the latest archive operation started.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MaximumErrors

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.

Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

ARM provisioning state.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
State

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

The status message of the import job.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
TotalBlobsImported

The total blobs that have been imported since import began.

TotalBlobsWalked

The total blob objects walked.

TotalConflicts

Number of conflicts in the import job.

TotalErrors

Number of errors in the import job.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<StorageCacheImportJobData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<StorageCacheImportJobData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageCacheImportJobData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageCacheImportJobData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<StorageCacheImportJobData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to