Share via


CopyStatus Struct

Definition

The Status of the copy

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Support.CopyStatusTypeConverter))]
public struct CopyStatus : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.DataBox.Support.CopyStatus>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Support.CopyStatusTypeConverter))>]
type CopyStatus = struct
    interface IArgumentCompleter
Public Structure CopyStatus
Implements IArgumentCompleter, IEquatable(Of CopyStatus)
Inheritance
CopyStatus
Attributes
Implements

Fields

Completed

Data copy completed.

CompletedWithErrors

Data copy completed with errors.

DeviceFormatted

Data copy failed. The Device was formatted by user.

DeviceMetadataModified

Data copy failed. Device metadata was modified by user.

DriveCorrupted

Copy failed due to corrupted drive.

DriveNotDetected

Copy failed due to disk detection error.

DriveNotReceived

No copy triggered as device was not received.

Failed

Data copy failed. No data was copied.

HardwareError

The Device has hit hardware issues.

InProgress

Data copy is in progress.

MetadataFilesModifiedOrRemoved

Copy failed due to modified or removed metadata files.

NotReturned

No copy triggered as device was not returned.

NotStarted

Data copy hasn't started yet.

OtherServiceError

Copy failed due to service error.

OtherUserError

Copy failed due to user error.

StorageAccountNotAccessible

Data copy failed. Storage Account was not accessible during copy.

UnsupportedData

Data copy failed. The Device data content is not supported.

UnsupportedDrive

No copy triggered as device type is not supported.

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(CopyStatus)

Compares values of enum type CopyStatus

Equals(Object)

Compares values of enum type CopyStatus (override for Object)

GetHashCode()

Returns hashCode for enum CopyStatus

ToString()

Returns string representation for CopyStatus

Operators

Equality(CopyStatus, CopyStatus)

Overriding == operator for enum CopyStatus

Implicit(CopyStatus to String)

Implicit operator to convert CopyStatus to string

Implicit(String to CopyStatus)

Implicit operator to convert string to CopyStatus

Inequality(CopyStatus, CopyStatus)

Overriding != operator for enum CopyStatus

Applies to