ServiceRestClient
class ServiceRestClient
public ServiceRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string url, string version)
Initializes a new instance of ServiceRestClient.
public ResponseWithHeaders<FilterBlobSegment, ServiceFilterBlobsHeaders> FilterBlobs(int? timeout = default, string where = null, string marker = null, int? maxresults = default, IEnumerable<FilterBlobsIncludeItem> include = null, CancellationToken cancellationToken = default)
The Filter Blobs operation enables callers to list blobs across all containers whose tags match a given search expression. Filter blobs searches across all containers within a storage account but can be scoped within the expression to a single container.
public Task<ResponseWithHeaders<FilterBlobSegment, ServiceFilterBlobsHeaders>> FilterBlobsAsync(int? timeout = default, string where = null, string marker = null, int? maxresults = default, IEnumerable<FilterBlobsIncludeItem> include = null, CancellationToken cancellationToken = default)
The Filter Blobs operation enables callers to list blobs across all containers whose tags match a given search expression. Filter blobs searches across all containers within a storage account but can be scoped within the expression to a single container.
public ResponseWithHeaders<ServiceGetAccountInfoHeaders> GetAccountInfo(int? timeout = default, CancellationToken cancellationToken = default)
Returns the sku name and account kind.
public Task<ResponseWithHeaders<ServiceGetAccountInfoHeaders>> GetAccountInfoAsync(int? timeout = default, CancellationToken cancellationToken = default)
Returns the sku name and account kind.
public ResponseWithHeaders<BlobServiceProperties, ServiceGetPropertiesHeaders> GetProperties(int? timeout = default, CancellationToken cancellationToken = default)
gets the properties of a storage account's Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
public Task<ResponseWithHeaders<BlobServiceProperties, ServiceGetPropertiesHeaders>> GetPropertiesAsync(int? timeout = default, CancellationToken cancellationToken = default)
gets the properties of a storage account's Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.
public ResponseWithHeaders<BlobServiceStatistics, ServiceGetStatisticsHeaders> 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 Task<ResponseWithHeaders<BlobServiceStatistics, ServiceGetStatisticsHeaders>> 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 ResponseWithHeaders<UserDelegationKey, ServiceGetUserDelegationKeyHeaders> 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 Task<ResponseWithHeaders<UserDelegationKey, ServiceGetUserDelegationKeyHeaders>> 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 ResponseWithHeaders<ListContainersSegmentResponse, ServiceListContainersSegmentHeaders> ListContainersSegment(string prefix = null, string marker = null, int? maxresults = default, IEnumerable<ListContainersIncludeType> include = null, int? timeout = default, CancellationToken cancellationToken = default)
The List Containers Segment operation returns a list of the containers under the specified account.
public Task<ResponseWithHeaders<ListContainersSegmentResponse, ServiceListContainersSegmentHeaders>> ListContainersSegmentAsync(string prefix = null, string marker = null, int? maxresults = default, IEnumerable<ListContainersIncludeType> include = null, int? timeout = default, CancellationToken cancellationToken = default)
The List Containers Segment operation returns a list of the containers under the specified account.
public ResponseWithHeaders<ListContainersSegmentResponse, ServiceListContainersSegmentHeaders> ListContainersSegmentNextPage(string nextLink, string prefix = null, string marker = null, int? maxresults = default, IEnumerable<ListContainersIncludeType> include = null, int? timeout = default, CancellationToken cancellationToken = default)
The List Containers Segment operation returns a list of the containers under the specified account.
public Task<ResponseWithHeaders<ListContainersSegmentResponse, ServiceListContainersSegmentHeaders>> ListContainersSegmentNextPageAsync(string nextLink, string prefix = null, string marker = null, int? maxresults = default, IEnumerable<ListContainersIncludeType> include = null, int? timeout = default, CancellationToken cancellationToken = default)
The List Containers Segment operation returns a list of the containers under the specified account.
public ResponseWithHeaders<ServiceSetPropertiesHeaders> SetProperties(BlobServiceProperties blobServiceProperties, 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 Task<ResponseWithHeaders<ServiceSetPropertiesHeaders>> SetPropertiesAsync(BlobServiceProperties blobServiceProperties, 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 ResponseWithHeaders<Stream, ServiceSubmitBatchHeaders> SubmitBatch(long contentLength, string multipartContentType, Stream body, int? timeout = default, CancellationToken cancellationToken = default)
The Batch operation allows multiple API calls to be embedded into a single HTTP request.
public Task<ResponseWithHeaders<Stream, ServiceSubmitBatchHeaders>> SubmitBatchAsync(long contentLength, string multipartContentType, Stream body, int? timeout = default, CancellationToken cancellationToken = default)
The Batch operation allows multiple API calls to be embedded into a single HTTP request.