clear_pages Method
Clears a range of pages in a page blob.
Syntax
def clear_pages(page_blob: str, byte_offset: int, page_count: int) -> None: ...
Remarks
This method clears PageCount pages, from ByteOffset onwards, for the specified PageBlob in the container currently selected by container.
ByteOffset must be a multiple of 512; i.e. ByteOffset % 512 == 0. PageCount must be a number between 1 and the number of pages in the page blob following ByteOffset (inclusive).
If the specified blob has an active lease, its lease Id must be specified using lease_id, or the request will fail.