PageBlobRestClient
class PageBlobRestClient
public PageBlobRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string url, string version)
Initializes a new instance of PageBlobRestClient.
public ResponseWithHeaders<PageBlobClearPagesHeaders> ClearPages(long contentLength, int? timeout = default, string range = null, string leaseId = null, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, string encryptionScope = null, long? ifSequenceNumberLessThanOrEqualTo = default, long? ifSequenceNumberLessThan = default, long? ifSequenceNumberEqualTo = default, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, CancellationToken cancellationToken = default)
The Clear Pages operation clears a set of pages from a page blob.
public Task<ResponseWithHeaders<PageBlobClearPagesHeaders>> ClearPagesAsync(long contentLength, int? timeout = default, string range = null, string leaseId = null, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, string encryptionScope = null, long? ifSequenceNumberLessThanOrEqualTo = default, long? ifSequenceNumberLessThan = default, long? ifSequenceNumberEqualTo = default, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, CancellationToken cancellationToken = default)
The Clear Pages operation clears a set of pages from a page blob.
public ResponseWithHeaders<PageBlobCopyIncrementalHeaders> CopyIncremental(string copySource, int? timeout = default, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, CancellationToken cancellationToken = default)
The Copy Incremental operation copies a snapshot of the source page blob to a destination page blob. The snapshot is copied such that only the differential changes between the previously copied snapshot are transferred to the destination. The copied snapshots are complete copies of the original snapshot and can be read or copied from as usual. This API is supported since REST version 2016-05-31.
public Task<ResponseWithHeaders<PageBlobCopyIncrementalHeaders>> CopyIncrementalAsync(string copySource, int? timeout = default, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, CancellationToken cancellationToken = default)
The Copy Incremental operation copies a snapshot of the source page blob to a destination page blob. The snapshot is copied such that only the differential changes between the previously copied snapshot are transferred to the destination. The copied snapshots are complete copies of the original snapshot and can be read or copied from as usual. This API is supported since REST version 2016-05-31.
public ResponseWithHeaders<PageBlobCreateHeaders> Create(long contentLength, long blobContentLength, int? timeout = default, PremiumPageBlobAccessTier? tier = default, string blobContentType = null, string blobContentEncoding = null, string blobContentLanguage = null, byte[] blobContentMD5 = null, string blobCacheControl = null, IDictionary<string, string> metadata = null, string leaseId = null, string blobContentDisposition = null, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, string encryptionScope = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, long? blobSequenceNumber = default, string blobTagsString = null, DateTimeOffset? immutabilityPolicyExpiry = default, BlobImmutabilityPolicyMode? immutabilityPolicyMode = default, bool? legalHold = default, CancellationToken cancellationToken = default)
The Create operation creates a new page blob.
public Task<ResponseWithHeaders<PageBlobCreateHeaders>> CreateAsync(long contentLength, long blobContentLength, int? timeout = default, PremiumPageBlobAccessTier? tier = default, string blobContentType = null, string blobContentEncoding = null, string blobContentLanguage = null, byte[] blobContentMD5 = null, string blobCacheControl = null, IDictionary<string, string> metadata = null, string leaseId = null, string blobContentDisposition = null, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, string encryptionScope = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, long? blobSequenceNumber = default, string blobTagsString = null, DateTimeOffset? immutabilityPolicyExpiry = default, BlobImmutabilityPolicyMode? immutabilityPolicyMode = default, bool? legalHold = default, CancellationToken cancellationToken = default)
The Create operation creates a new page blob.
public ResponseWithHeaders<PageList, PageBlobGetPageRangesHeaders> GetPageRanges(string snapshot = null, int? timeout = default, string range = null, string leaseId = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, string marker = null, int? maxresults = default, CancellationToken cancellationToken = default)
The Get Page Ranges operation returns the list of valid page ranges for a page blob or snapshot of a page blob.
public Task<ResponseWithHeaders<PageList, PageBlobGetPageRangesHeaders>> GetPageRangesAsync(string snapshot = null, int? timeout = default, string range = null, string leaseId = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, string marker = null, int? maxresults = default, CancellationToken cancellationToken = default)
The Get Page Ranges operation returns the list of valid page ranges for a page blob or snapshot of a page blob.
public ResponseWithHeaders<PageList, PageBlobGetPageRangesDiffHeaders> GetPageRangesDiff(string snapshot = null, int? timeout = default, string prevsnapshot = null, string prevSnapshotUrl = null, string range = null, string leaseId = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, string marker = null, int? maxresults = default, CancellationToken cancellationToken = default)
The Get Page Ranges Diff operation returns the list of valid page ranges for a page blob that were changed between target blob and previous snapshot.
public Task<ResponseWithHeaders<PageList, PageBlobGetPageRangesDiffHeaders>> GetPageRangesDiffAsync(string snapshot = null, int? timeout = default, string prevsnapshot = null, string prevSnapshotUrl = null, string range = null, string leaseId = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, string marker = null, int? maxresults = default, CancellationToken cancellationToken = default)
The Get Page Ranges Diff operation returns the list of valid page ranges for a page blob that were changed between target blob and previous snapshot.
public ResponseWithHeaders<PageList, PageBlobGetPageRangesDiffHeaders> GetPageRangesDiffNextPage(string nextLink, string snapshot = null, int? timeout = default, string prevsnapshot = null, string prevSnapshotUrl = null, string range = null, string leaseId = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, string marker = null, int? maxresults = default, CancellationToken cancellationToken = default)
The Get Page Ranges Diff operation returns the list of valid page ranges for a page blob that were changed between target blob and previous snapshot.
public Task<ResponseWithHeaders<PageList, PageBlobGetPageRangesDiffHeaders>> GetPageRangesDiffNextPageAsync(string nextLink, string snapshot = null, int? timeout = default, string prevsnapshot = null, string prevSnapshotUrl = null, string range = null, string leaseId = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, string marker = null, int? maxresults = default, CancellationToken cancellationToken = default)
The Get Page Ranges Diff operation returns the list of valid page ranges for a page blob that were changed between target blob and previous snapshot.
public ResponseWithHeaders<PageList, PageBlobGetPageRangesHeaders> GetPageRangesNextPage(string nextLink, string snapshot = null, int? timeout = default, string range = null, string leaseId = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, string marker = null, int? maxresults = default, CancellationToken cancellationToken = default)
The Get Page Ranges operation returns the list of valid page ranges for a page blob or snapshot of a page blob.
public Task<ResponseWithHeaders<PageList, PageBlobGetPageRangesHeaders>> GetPageRangesNextPageAsync(string nextLink, string snapshot = null, int? timeout = default, string range = null, string leaseId = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, string marker = null, int? maxresults = default, CancellationToken cancellationToken = default)
The Get Page Ranges operation returns the list of valid page ranges for a page blob or snapshot of a page blob.
public ResponseWithHeaders<PageBlobResizeHeaders> Resize(long blobContentLength, int? timeout = default, string leaseId = null, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, string encryptionScope = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, CancellationToken cancellationToken = default)
Resize the Blob.
public Task<ResponseWithHeaders<PageBlobResizeHeaders>> ResizeAsync(long blobContentLength, int? timeout = default, string leaseId = null, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, string encryptionScope = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, CancellationToken cancellationToken = default)
Resize the Blob.
public ResponseWithHeaders<PageBlobUpdateSequenceNumberHeaders> UpdateSequenceNumber(SequenceNumberAction sequenceNumberAction, int? timeout = default, string leaseId = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, long? blobSequenceNumber = default, CancellationToken cancellationToken = default)
Update the sequence number of the blob.
public Task<ResponseWithHeaders<PageBlobUpdateSequenceNumberHeaders>> UpdateSequenceNumberAsync(SequenceNumberAction sequenceNumberAction, int? timeout = default, string leaseId = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, long? blobSequenceNumber = default, CancellationToken cancellationToken = default)
Update the sequence number of the blob.
public ResponseWithHeaders<PageBlobUploadPagesHeaders> UploadPages(long contentLength, Stream body, byte[] transactionalContentMD5 = null, byte[] transactionalContentCrc64 = null, int? timeout = default, string range = null, string leaseId = null, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, string encryptionScope = null, long? ifSequenceNumberLessThanOrEqualTo = default, long? ifSequenceNumberLessThan = default, long? ifSequenceNumberEqualTo = default, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, string structuredBodyType = null, long? structuredContentLength = default, CancellationToken cancellationToken = default)
The Upload Pages operation writes a range of pages to a page blob.
public Task<ResponseWithHeaders<PageBlobUploadPagesHeaders>> UploadPagesAsync(long contentLength, Stream body, byte[] transactionalContentMD5 = null, byte[] transactionalContentCrc64 = null, int? timeout = default, string range = null, string leaseId = null, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, string encryptionScope = null, long? ifSequenceNumberLessThanOrEqualTo = default, long? ifSequenceNumberLessThan = default, long? ifSequenceNumberEqualTo = default, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, string structuredBodyType = null, long? structuredContentLength = default, CancellationToken cancellationToken = default)
The Upload Pages operation writes a range of pages to a page blob.
public ResponseWithHeaders<PageBlobUploadPagesFromURLHeaders> UploadPagesFromURL(string sourceUrl, string sourceRange, long contentLength, string range, byte[] sourceContentMD5 = null, byte[] sourceContentcrc64 = null, int? timeout = default, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, string encryptionScope = null, string leaseId = null, long? ifSequenceNumberLessThanOrEqualTo = default, long? ifSequenceNumberLessThan = default, long? ifSequenceNumberEqualTo = default, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, DateTimeOffset? sourceIfModifiedSince = default, DateTimeOffset? sourceIfUnmodifiedSince = default, string sourceIfMatch = null, string sourceIfNoneMatch = null, string copySourceAuthorization = null, FileShareTokenIntent? fileRequestIntent = default, CancellationToken cancellationToken = default)
The Upload Pages operation writes a range of pages to a page blob where the contents are read from a URL.
public Task<ResponseWithHeaders<PageBlobUploadPagesFromURLHeaders>> UploadPagesFromURLAsync(string sourceUrl, string sourceRange, long contentLength, string range, byte[] sourceContentMD5 = null, byte[] sourceContentcrc64 = null, int? timeout = default, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, string encryptionScope = null, string leaseId = null, long? ifSequenceNumberLessThanOrEqualTo = default, long? ifSequenceNumberLessThan = default, long? ifSequenceNumberEqualTo = default, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string ifMatch = null, string ifNoneMatch = null, string ifTags = null, DateTimeOffset? sourceIfModifiedSince = default, DateTimeOffset? sourceIfUnmodifiedSince = default, string sourceIfMatch = null, string sourceIfNoneMatch = null, string copySourceAuthorization = null, FileShareTokenIntent? fileRequestIntent = default, CancellationToken cancellationToken = default)
The Upload Pages operation writes a range of pages to a page blob where the contents are read from a URL.