StorageBlobManagement Class

Definition

Blob management

public class StorageBlobManagement : Microsoft.WindowsAzure.Commands.Storage.Model.Contract.IStorageBlobManagement
type StorageBlobManagement = class
    interface IStorageBlobManagement
    interface IStorageManagement
Public Class StorageBlobManagement
Implements IStorageBlobManagement
Inheritance
StorageBlobManagement
Implements

Constructors

StorageBlobManagement(AzureStorageContext)
StorageBlobManagement(AzureStorageContext)

Init blob management

Properties

StorageContext

The azure storage context assoicated with this IStorageBlobManagement

Methods

AbortCopy(CloudBlob, String, AccessCondition, BlobRequestOptions, OperationContext)

Abort copy operation on specified blob

AbortCopy(CloudBlob, String, AccessCondition, BlobRequestOptions, OperationContext)
AbortCopyAsync(CloudBlob, String, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously abort the blob copy operation

AbortCopyAsync(CloudBlob, String, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
CreateContainerIfNotExists(CloudBlobContainer, BlobRequestOptions, OperationContext)

Create the container if not exists

CreateContainerIfNotExists(CloudBlobContainer, BlobRequestOptions, OperationContext)
CreateContainerIfNotExistsAsync(CloudBlobContainer, BlobContainerPublicAccessType, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously create a container if it doesn't exist.

CreateContainerIfNotExistsAsync(CloudBlobContainer, BlobContainerPublicAccessType, BlobRequestOptions, OperationContext, CancellationToken)
DeleteCloudBlob(CloudBlob, DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext)
DeleteCloudBlob(CloudBlob, DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext)

Delete azure blob

DeleteCloudBlobAsync(CloudBlob, DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously delete the specified blob

DeleteCloudBlobAsync(CloudBlob, DeleteSnapshotsOption, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
DeleteContainer(CloudBlobContainer, AccessCondition, BlobRequestOptions, OperationContext)

Delete container

DeleteContainer(CloudBlobContainer, AccessCondition, BlobRequestOptions, OperationContext)
DeleteContainerAsync(CloudBlobContainer, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously delete the specified container.

DeleteContainerAsync(CloudBlobContainer, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
DoesBlobExist(CloudBlob, BlobRequestOptions, OperationContext)

Whether the blob is exists or not

DoesBlobExist(CloudBlob, BlobRequestOptions, OperationContext)
DoesBlobExistAsync(CloudBlob, BlobRequestOptions, OperationContext, CancellationToken)
DoesBlobExistAsync(CloudBlob, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously check whether the specified blob exists.

DoesContainerExist(CloudBlobContainer, BlobRequestOptions, OperationContext)

Whether the container exists or not

DoesContainerExist(CloudBlobContainer, BlobRequestOptions, OperationContext)
DoesContainerExistAsync(CloudBlobContainer, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously check whether the specified container exists.

DoesContainerExistAsync(CloudBlobContainer, BlobRequestOptions, OperationContext, CancellationToken)
FetchBlobAttributes(CloudBlob, AccessCondition, BlobRequestOptions, OperationContext)

Fetch blob attributes

FetchBlobAttributes(CloudBlob, AccessCondition, BlobRequestOptions, OperationContext)
FetchBlobAttributesAsync(CloudBlob, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously fetch blob attributes

FetchBlobAttributesAsync(CloudBlob, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
FetchContainerAttributes(CloudBlobContainer, AccessCondition, BlobRequestOptions, OperationContext)
FetchContainerAttributes(CloudBlobContainer, AccessCondition, BlobRequestOptions, OperationContext)

Fetch container attributes

GetAccountProperties()

Returns the sku name and account kind for the specified account

GetBlobContainerClient(String, BlobClientOptions)

Get an BlobContainerClient instance in local

GetBlobReferenceFromServer(CloudBlobContainer, String, AccessCondition, BlobRequestOptions, OperationContext, Nullable<DateTimeOffset>)

Get blob reference with properties and meta data from server

GetBlobReferenceFromServer(CloudBlobContainer, String, AccessCondition, BlobRequestOptions, OperationContext, Nullable<DateTimeOffset>)
GetBlobReferenceFromServerAsync(CloudBlobContainer, String, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
GetBlobReferenceFromServerAsync(CloudBlobContainer, String, Nullable<DateTimeOffset>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously get the blob reference from server

GetBlobServiceClient(BlobClientOptions)

Get an BlobServiceClient instance in local

GetContainerPermissions(CloudBlobContainer, AccessCondition, BlobRequestOptions, OperationContext)
GetContainerPermissions(CloudBlobContainer, AccessCondition, BlobRequestOptions, OperationContext)

Get container presssions

GetContainerPermissionsAsync(CloudBlobContainer, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
GetContainerPermissionsAsync(CloudBlobContainer, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Async Get container presssions

GetContainerReference(String)

Get an CloudBlobContainer instance in local

GetStorageAccountSASToken(SharedAccessAccountPolicy)

Get the SAS token for an account.

GetStorageAccountSASToken(SharedAccessAccountPolicy)
GetStorageServiceProperties(StorageServiceType, IRequestOptions, OperationContext)

Get the service properties

GetStorageServiceProperties(StorageServiceType, IRequestOptions, OperationContext)
GetUserDelegationKey(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, AccessCondition, BlobRequestOptions, OperationContext)

Get UserDelegationKey, this key will be used to get UserDelegation SAS token

ListBlobs(CloudBlobContainer, String, Boolean, BlobListingDetails, BlobRequestOptions, OperationContext)

List all blobs in specified containers

ListBlobs(CloudBlobContainer, String, Boolean, BlobListingDetails, BlobRequestOptions, OperationContext)
ListBlobsSegmented(CloudBlobContainer, String, Boolean, BlobListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext)

List part of blobs.

ListBlobsSegmented(CloudBlobContainer, String, Boolean, BlobListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext)
ListBlobsSegmentedAsync(CloudBlobContainer, String, Boolean, BlobListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext, CancellationToken)
ListBlobsSegmentedAsync(CloudBlobContainer, String, Boolean, BlobListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext, CancellationToken)

List the blobs segmented in specified containers

ListContainers(String, ContainerListingDetails, BlobRequestOptions, OperationContext)

Get a list of CloudBlobContainer in azure

ListContainers(String, ContainerListingDetails, BlobRequestOptions, OperationContext)
ListContainersSegmented(String, ContainerListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext)

Get a list of CloudBlobContainer in azure

ListContainersSegmented(String, ContainerListingDetails, Nullable<Int32>, BlobContinuationToken, BlobRequestOptions, OperationContext)
SetBlobMetadata(CloudBlob, AccessCondition, BlobRequestOptions, OperationContext)

Set blob meta data

SetBlobMetadata(CloudBlob, AccessCondition, BlobRequestOptions, OperationContext)
SetBlobMetadataAsync(CloudBlob, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously set blob meta data

SetBlobMetadataAsync(CloudBlob, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
SetBlobProperties(CloudBlob, AccessCondition, BlobRequestOptions, OperationContext)
SetBlobProperties(CloudBlob, AccessCondition, BlobRequestOptions, OperationContext)

Set blob properties

SetBlobPropertiesAsync(CloudBlob, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously set blob properties

SetBlobPropertiesAsync(CloudBlob, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
SetContainerPermissions(CloudBlobContainer, BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext)

Set container permissions

SetContainerPermissions(CloudBlobContainer, BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext)
SetContainerPermissionsAsync(CloudBlobContainer, BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously set the container permission

SetContainerPermissionsAsync(CloudBlobContainer, BlobContainerPermissions, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)
SetPageBlobTierAsync(CloudPageBlob, PremiumPageBlobTier, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously set Premium page blob Tier

SetPageBlobTierAsync(CloudPageBlob, PremiumPageBlobTier, BlobRequestOptions, OperationContext, CancellationToken)
SetStandardBlobTierAsync(CloudBlockBlob, AccessCondition, StandardBlobTier, Nullable<RehydratePriority>, BlobRequestOptions, OperationContext, CancellationToken)

Return a task that asynchronously set block blob Tier

SetStorageServiceProperties(StorageServiceType, ServiceProperties, IRequestOptions, OperationContext)
SetStorageServiceProperties(StorageServiceType, ServiceProperties, IRequestOptions, OperationContext)

Set service properties

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(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(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)
StartIncrementalCopyAsync(CloudPageBlob, CloudPageBlob, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

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

StartIncrementalCopyAsync(CloudPageBlob, CloudPageBlob, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Applies to