Udostępnij za pośrednictwem


IStorageBlobManagement.StartCopyAsync Method

Definition

Overloads

StartCopyAsync(CloudBlob, Uri, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously start copy operation to a blob.

StartCopyAsync(CloudBlob, Uri, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
StartCopyAsync(CloudPageBlob, Uri, PremiumPageBlobTier, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously start copy operation to a PageBlob with PremiumPageBlobTier.

StartCopyAsync(CloudPageBlob, Uri, PremiumPageBlobTier, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
StartCopyAsync(CloudBlob, Uri, Nullable<StandardBlobTier>, Nullable<RehydratePriority>, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously start copy operation to a CloudBlockBlob with StandardBlobTier.

StartCopyAsync(CloudBlob, Uri, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously start copy operation to a blob.

public System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.Azure.Storage.Blob.CloudBlob blob, Uri source, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member StartCopyAsync : Microsoft.Azure.Storage.Blob.CloudBlob * Uri * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function StartCopyAsync (blob As CloudBlob, source As Uri, sourceAccessCondition As AccessCondition, destAccessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of String)

Parameters

blob
CloudBlob

CloudBlob object

source
Uri

Uri to copying source

sourceAccessCondition
AccessCondition

Access condition to source if it's file/blob in azure.

destAccessCondition
AccessCondition

Access condition to Destination blob.

options
BlobRequestOptions

Blob request options

operationContext
OperationContext

Operation context

cancellationToken
CancellationToken

Cancellation token

Returns

Return copy id if succeeded.

Applies to

StartCopyAsync(CloudBlob, Uri, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

public System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.WindowsAzure.Storage.Blob.CloudBlob blob, Uri source, Microsoft.WindowsAzure.Storage.AccessCondition sourceAccessCondition, Microsoft.WindowsAzure.Storage.AccessCondition destAccessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member StartCopyAsync : Microsoft.WindowsAzure.Storage.Blob.CloudBlob * Uri * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function StartCopyAsync (blob As CloudBlob, source As Uri, sourceAccessCondition As AccessCondition, destAccessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of String)

Parameters

blob
CloudBlob
source
Uri
sourceAccessCondition
AccessCondition
destAccessCondition
AccessCondition
operationContext
OperationContext
cancellationToken
CancellationToken

Returns

Applies to

StartCopyAsync(CloudPageBlob, Uri, PremiumPageBlobTier, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously start copy operation to a PageBlob with PremiumPageBlobTier.

public System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.Azure.Storage.Blob.CloudPageBlob blob, Uri source, Microsoft.Azure.Storage.Blob.PremiumPageBlobTier premiumPageBlobTier, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member StartCopyAsync : Microsoft.Azure.Storage.Blob.CloudPageBlob * Uri * Microsoft.Azure.Storage.Blob.PremiumPageBlobTier * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function StartCopyAsync (blob As CloudPageBlob, source As Uri, premiumPageBlobTier As PremiumPageBlobTier, sourceAccessCondition As AccessCondition, destAccessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of String)

Parameters

blob
CloudPageBlob

CloudPageBlob object

source
Uri

Uri to copying source

premiumPageBlobTier
PremiumPageBlobTier

The PremiumPageBlobTier of Destination blob

sourceAccessCondition
AccessCondition

Access condition to source if it's file/blob in azure.

destAccessCondition
AccessCondition

Access condition to Destination blob.

options
BlobRequestOptions

Blob request options

operationContext
OperationContext

Operation context

cancellationToken
CancellationToken

Cancellation token

Returns

Return copy id if succeeded.

Applies to

StartCopyAsync(CloudPageBlob, Uri, PremiumPageBlobTier, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

public System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.WindowsAzure.Storage.Blob.CloudPageBlob blob, Uri source, Microsoft.WindowsAzure.Storage.Blob.PremiumPageBlobTier premiumPageBlobTier, Microsoft.WindowsAzure.Storage.AccessCondition sourceAccessCondition, Microsoft.WindowsAzure.Storage.AccessCondition destAccessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member StartCopyAsync : Microsoft.WindowsAzure.Storage.Blob.CloudPageBlob * Uri * Microsoft.WindowsAzure.Storage.Blob.PremiumPageBlobTier * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function StartCopyAsync (blob As CloudPageBlob, source As Uri, premiumPageBlobTier As PremiumPageBlobTier, sourceAccessCondition As AccessCondition, destAccessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of String)

Parameters

source
Uri
premiumPageBlobTier
PremiumPageBlobTier
sourceAccessCondition
AccessCondition
destAccessCondition
AccessCondition
operationContext
OperationContext
cancellationToken
CancellationToken

Returns

Applies to

StartCopyAsync(CloudBlob, Uri, Nullable<StandardBlobTier>, Nullable<RehydratePriority>, AccessCondition, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously start copy operation to a CloudBlockBlob with StandardBlobTier.

public System.Threading.Tasks.Task<string> StartCopyAsync (Microsoft.Azure.Storage.Blob.CloudBlob blob, Uri source, Microsoft.Azure.Storage.Blob.StandardBlobTier? standardBlobTier, Microsoft.Azure.Storage.Blob.RehydratePriority? rehydratePriority, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition, Microsoft.Azure.Storage.AccessCondition destAccessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member StartCopyAsync : Microsoft.Azure.Storage.Blob.CloudBlob * Uri * Nullable<Microsoft.Azure.Storage.Blob.StandardBlobTier> * Nullable<Microsoft.Azure.Storage.Blob.RehydratePriority> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function StartCopyAsync (blob As CloudBlob, source As Uri, standardBlobTier As Nullable(Of StandardBlobTier), rehydratePriority As Nullable(Of RehydratePriority), sourceAccessCondition As AccessCondition, destAccessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of String)

Parameters

blob
CloudBlob

CloudBlockBlob object

source
Uri

Uri to copying source

standardBlobTier
Nullable<StandardBlobTier>

Access condition to source if it's file/blob in azure.

rehydratePriority
Nullable<RehydratePriority>
sourceAccessCondition
AccessCondition

Access condition to source if it's file/blob in azure.

destAccessCondition
AccessCondition

Access condition to Destination blob.

options
BlobRequestOptions

Blob request options

operationContext
OperationContext

Operation context

cancellationToken
CancellationToken

Cancellation token

Returns

Return copy id if succeeded.

Applies to