Microsoft.Azure.Storage.Blob.CloudBlobClient
Provides a client-side logical representation of Microsoft Azure Blob storage.
Gets or sets the authentication scheme to use to sign HTTP requests.
Gets the base URI for the Blob service client at the primary location.
Gets or sets a buffer manager that implements the IBufferManager interface,
specifying a buffer pool for use with operations against the Blob service client.
Gets the account credentials used to create the Blob service client.
Gets or sets the default delimiter that may be used to create a virtual directory structure of blobs.
Gets or sets the default request options for requests made via the Blob service client.
Gets or sets the default retry policy for requests made via the Blob service client.
Gets the Blob service endpoints for both the primary and secondary locations.
Initializes a new instance of the CloudBlobClient class using the specified Blob service endpoint
and anonymous credentials.
public CloudBlobClient(Uri baseUri, StorageCredentials credentials, DelegatingHandler delegatingHandler = null)
Initializes a new instance of the CloudBlobClient class using the specified Blob service endpoint
and account credentials.
public CloudBlobClient(StorageUri storageUri, StorageCredentials credentials, DelegatingHandler delegatingHandler = null)
Initializes a new instance of the CloudBlobClient class using the specified Blob service endpoint
and account credentials.
public Task<IList<BlobBatchSubOperationResponse>> ExecuteBatchAsync(BatchOperation batchOperation, BlobRequestOptions requestOptions = null, OperationContext operationContext = null, CancellationToken cancellationToken = default)
Performs a batched operation request, returning the responses for each suboperation.
Gets the properties of the blob service.
public virtual Task<AccountProperties> GetAccountPropertiesAsync(BlobRequestOptions options, OperationContext operationContext)
Gets the properties of the blob service.
public virtual Task<AccountProperties> GetAccountPropertiesAsync(BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
Gets the properties of the blob service.
Gets a reference to a blob from the service.
public virtual Task<ICloudBlob> GetBlobReferenceFromServerAsync(Uri blobUri, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)
Gets a reference to a blob from the service.
public virtual Task<ICloudBlob> GetBlobReferenceFromServerAsync(StorageUri blobUri, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)
Gets a reference to a blob from the service.
public virtual Task<ICloudBlob> GetBlobReferenceFromServerAsync(StorageUri blobUri, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
Gets a reference to a blob from the service.
Returns a reference to a CloudBlobContainer object with the specified name.
Returns a reference to the root container.
Gets the properties of the blob service.
public virtual Task<ServiceProperties> GetServicePropertiesAsync(BlobRequestOptions options, OperationContext operationContext)
Gets the properties of the blob service.
public virtual Task<ServiceProperties> GetServicePropertiesAsync(BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
Gets the properties of the blob service.
Gets service stats for the Blob service.
public virtual Task<ServiceStats> GetServiceStatsAsync(BlobRequestOptions options, OperationContext operationContext)
Gets service stats for the Blob service.
public virtual Task<ServiceStats> GetServiceStatsAsync(BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
Gets service stats for the Blob service.
public virtual Task<BlobResultSegment> ListBlobsSegmentedAsync(string prefix, BlobContinuationToken currentToken)
Returns a result segment containing a collection of blob items
in the container.
public virtual Task<BlobResultSegment> ListBlobsSegmentedAsync(string prefix, bool useFlatBlobListing, BlobListingDetails blobListingDetails, int? maxResults, BlobContinuationToken currentToken, BlobRequestOptions options, OperationContext operationContext)
Returns a result segment containing a collection of blob items
in the container.
public virtual Task<ContainerResultSegment> ListContainersSegmentedAsync(BlobContinuationToken currentToken)
Returns a result segment containing a collection of containers.
public virtual Task<ContainerResultSegment> ListContainersSegmentedAsync(string prefix, BlobContinuationToken currentToken)
Returns a result segment containing a collection of containers.
public virtual Task<ContainerResultSegment> ListContainersSegmentedAsync(string prefix, ContainerListingDetails detailsIncluded, int? maxResults, BlobContinuationToken currentToken, BlobRequestOptions options, OperationContext operationContext)
Returns a result segment containing a collection of containers
whose names begin with the specified prefix.
public virtual Task<ContainerResultSegment> ListContainersSegmentedAsync(string prefix, ContainerListingDetails detailsIncluded, int? maxResults, BlobContinuationToken currentToken, BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
Returns a result segment containing a collection of containers
whose names begin with the specified prefix.
Gets the properties of the blob service.
public virtual Task SetServicePropertiesAsync(ServiceProperties properties, BlobRequestOptions requestOptions, OperationContext operationContext)
Gets the properties of the blob service.
public virtual Task SetServicePropertiesAsync(ServiceProperties properties, BlobRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken)
Gets the properties of the blob service.