<PackageReference Include="Azure.Storage.Blobs" Version="12.31.0-beta.2" />

Azure.Storage.Blobs.ServiceRestClient

public virtual HttpPipeline Pipeline { get; }

The HTTP pipeline for sending and receiving REST requests and responses.

protected ServiceRestClient()

Initializes a new instance of ServiceRestClient for mocking.

public virtual Response FilterBlobs(string filterExpression, int? timeout, string marker, int? maxresults, IEnumerable<FilterBlobsIncludeItem> include, RequestContext context)

[Protocol Method] Lists blobs across all containers whose tags match a given search expression. This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

public virtual Response<FilterBlobSegment> FilterBlobs(string filterExpression, int? timeout = default, string marker = null, int? maxresults = default, IEnumerable<FilterBlobsIncludeItem> include = null, CancellationToken cancellationToken = default)

Lists blobs across all containers whose tags match a given search expression.

public virtual Task<Response> FilterBlobsAsync(string filterExpression, int? timeout, string marker, int? maxresults, IEnumerable<FilterBlobsIncludeItem> include, RequestContext context)

[Protocol Method] Lists blobs across all containers whose tags match a given search expression. This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

public virtual Task<Response<FilterBlobSegment>> FilterBlobsAsync(string filterExpression, int? timeout = default, string marker = null, int? maxresults = default, IEnumerable<FilterBlobsIncludeItem> include = null, CancellationToken cancellationToken = default)

Lists blobs across all containers whose tags match a given search expression.

public virtual Response GetAccountInfo(int? timeout, RequestContext context)

[Protocol Method] Returns information about the storage account. This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

public virtual Response GetAccountInfo(int? timeout = default, CancellationToken cancellationToken = default)

Returns information about the storage account.

public virtual Task<Response> GetAccountInfoAsync(int? timeout, RequestContext context)

[Protocol Method] Returns information about the storage account. This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

public virtual Task<Response> GetAccountInfoAsync(int? timeout = default, CancellationToken cancellationToken = default)

Returns information about the storage account.

public virtual Response GetContainersSegment(string prefix, string marker, int? maxresults, int? timeout, IEnumerable<ListContainersIncludeType> include, RequestContext context)

[Protocol Method] Returns a list of the containers in the specified account. This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

public virtual Response<ListContainersSegmentResult> GetContainersSegment(string prefix = null, string marker = null, int? maxresults = default, int? timeout = default, IEnumerable<ListContainersIncludeType> include = null, CancellationToken cancellationToken = default)

Returns a list of the containers in the specified account.

public virtual Task<Response> GetContainersSegmentAsync(string prefix, string marker, int? maxresults, int? timeout, IEnumerable<ListContainersIncludeType> include, RequestContext context)

[Protocol Method] Returns a list of the containers in the specified account. This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

public virtual Task<Response<ListContainersSegmentResult>> GetContainersSegmentAsync(string prefix = null, string marker = null, int? maxresults = default, int? timeout = default, IEnumerable<ListContainersIncludeType> include = null, CancellationToken cancellationToken = default)

Returns a list of the containers in the specified account.

public virtual Response GetProperties(int? timeout, RequestContext context)

[Protocol Method] Retrieves properties of a storage account's Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

public virtual Response<BlobServiceProperties> GetProperties(int? timeout = default, CancellationToken cancellationToken = default)

Retrieves properties of a storage account's Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.

public virtual Task<Response> GetPropertiesAsync(int? timeout, RequestContext context)

[Protocol Method] Retrieves properties of a storage account's Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

public virtual Task<Response<BlobServiceProperties>> GetPropertiesAsync(int? timeout = default, CancellationToken cancellationToken = default)

Retrieves properties of a storage account's Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.

public virtual Response GetStatistics(int? timeout, RequestContext context)

[Protocol Method] Retrieves statistics related to replication for the Blob service. It is only available on the secondary location endpoint when read-access geo-redundant replication is enabled for the storage account. This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

public virtual Response<BlobServiceStatistics> GetStatistics(int? timeout = default, CancellationToken cancellationToken = default)

Retrieves statistics related to replication for the Blob service. It is only available on the secondary location endpoint when read-access geo-redundant replication is enabled for the storage account.

public virtual Task<Response> GetStatisticsAsync(int? timeout, RequestContext context)

[Protocol Method] Retrieves statistics related to replication for the Blob service. It is only available on the secondary location endpoint when read-access geo-redundant replication is enabled for the storage account. This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

public virtual Task<Response<BlobServiceStatistics>> GetStatisticsAsync(int? timeout = default, CancellationToken cancellationToken = default)

Retrieves statistics related to replication for the Blob service. It is only available on the secondary location endpoint when read-access geo-redundant replication is enabled for the storage account.

public virtual Response GetUserDelegationKey(RequestContent content, int? timeout = default, RequestContext context = null)

[Protocol Method] Retrieves a user delegation key for the Blob service. This is only a valid operation when using bearer token authentication. This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

public virtual Response<UserDelegationKey> GetUserDelegationKey(KeyInfo keyInfo, int? timeout = default, CancellationToken cancellationToken = default)

Retrieves a user delegation key for the Blob service. This is only a valid operation when using bearer token authentication.

public virtual Task<Response> GetUserDelegationKeyAsync(RequestContent content, int? timeout = default, RequestContext context = null)

[Protocol Method] Retrieves a user delegation key for the Blob service. This is only a valid operation when using bearer token authentication. This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

public virtual Task<Response<UserDelegationKey>> GetUserDelegationKeyAsync(KeyInfo keyInfo, int? timeout = default, CancellationToken cancellationToken = default)

Retrieves a user delegation key for the Blob service. This is only a valid operation when using bearer token authentication.

public virtual Response SetProperties(RequestContent content, int? timeout = default, RequestContext context = null)

[Protocol Method] Sets properties for a storage account's Blob service endpoint, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

public virtual Response SetProperties(BlobServiceProperties storageServiceProperties, int? timeout = default, CancellationToken cancellationToken = default)

Sets properties for a storage account's Blob service endpoint, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.

public virtual Task<Response> SetPropertiesAsync(RequestContent content, int? timeout = default, RequestContext context = null)

[Protocol Method] Sets properties for a storage account's Blob service endpoint, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

public virtual Task<Response> SetPropertiesAsync(BlobServiceProperties storageServiceProperties, int? timeout = default, CancellationToken cancellationToken = default)

Sets properties for a storage account's Blob service endpoint, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.

public virtual Response SubmitBatch(long contentLength, RequestContent content, string contentType, int? timeout = default, RequestContext context = null)

[Protocol Method] Allows multiple API calls to be embedded into a single HTTP request. This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

public virtual Task<Response> SubmitBatchAsync(long contentLength, RequestContent content, string contentType, int? timeout = default, RequestContext context = null)

[Protocol Method] Allows multiple API calls to be embedded into a single HTTP request. This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.