async listPageRangesDiffSegment(offset, count, prevSnapshotOrUrl, marker, options = {}) {
        return tracingClient.withSpan("PageBlobClient-getPageRangesDiffSegment", options, async (updatedOptions) => {
            var _a;
            return assertResponse(await this.pageBlobContext.getPageRangesDiff({
                abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
                leaseAccessConditions: options === null || options === void 0 ? void 0 : options.conditions,
                modifiedAccessConditions: Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.conditions), { ifTags: (_a = options === null || options === void 0 ? void 0 : options.conditions) === null || _a === void 0 ? void 0 : _a.tagConditions }),
                prevsnapshot: prevSnapshotOrUrl,
                range: rangeToString({
                    offset: offset,
                    count: count,
                }),
                marker: marker,
                maxPageSize: options === null || options === void 0 ? void 0 : options.maxPageSize,
                tracingOptions: updatedOptions.tracingOptions,
            }));
        });
    }
getPageRangesDiffSegment returns a single segment of page ranges starting from the
specified Marker for difference between previous snapshot and the target page blob.
Use an empty Marker to start enumeration from the beginning.
After getting a segment, process it, and then call getPageRangesDiffSegment again
(passing the the previously-returned Marker) to get the next segment.
@see https://learn.microsoft.com/rest/api/storageservices/get-page-ranges

@param offset - Starting byte position of the page ranges.
@param count - Number of bytes to get.
@param prevSnapshotOrUrl - Timestamp of snapshot to retrieve the difference or URL of snapshot to retrieve the difference.
@param marker - A string value that identifies the portion of the get to be returned with the next get operation.
@param options - Options to the Page Blob Get Page Ranges Diff operation.