BlobBeginCopyFromUrlPollState interface

The state used by the poller returned from <xref:BlobClient.beginCopyFromURL>. This state is passed into the user-specified onProgress callback whenever copy progress is detected.

Extends

PollOperationState<BlobBeginCopyFromURLResponse>

Properties

blobClient

The instance of <xref:BlobClient> that was used when calling <xref:BlobClient.beginCopyFromURL>.

copyId

The copyId that identifies the in-progress blob copy.

copyProgress

the progress of the blob copy as reported by the service.

copySource

The source URL provided in <xref:BlobClient.beginCopyFromURL>.

error

Will exist if the operation encountered any error.

isCancelled

True if the operation has been cancelled.

isCompleted

True if the operation has been completed.

isStarted

True if the operation has started.

result

Will exist if the operation concluded in a result of an expected type.

startCopyFromURLOptions

The options that were passed to the initial <xref:BlobClient.beginCopyFromURL> call. This is exposed for the poller and should not be modified directly.

Property Details

blobClient

The instance of <xref:BlobClient> that was used when calling <xref:BlobClient.beginCopyFromURL>.

blobClient: CopyPollerBlobClient

Property Value

copyId

The copyId that identifies the in-progress blob copy.

copyId?: string

Property Value

string

copyProgress

the progress of the blob copy as reported by the service.

copyProgress?: string

Property Value

string

copySource

The source URL provided in <xref:BlobClient.beginCopyFromURL>.

copySource: string

Property Value

string

error

Will exist if the operation encountered any error.

error?: Error

Property Value

Error

isCancelled

True if the operation has been cancelled.

isCancelled?: boolean

Property Value

boolean

isCompleted

True if the operation has been completed.

isCompleted?: boolean

Property Value

boolean

isStarted

True if the operation has started.

isStarted?: boolean

Property Value

boolean

result

Will exist if the operation concluded in a result of an expected type.

result?: BlobBeginCopyFromURLResponse

Property Value

startCopyFromURLOptions

The options that were passed to the initial <xref:BlobClient.beginCopyFromURL> call. This is exposed for the poller and should not be modified directly.

startCopyFromURLOptions?: BlobStartCopyFromURLOptions

Property Value