From b5557708514c3e027ebe116b08a6bfb41f00018e Mon Sep 17 00:00:00 2001 From: Tamer Sherif Date: Fri, 25 Sep 2020 14:40:59 -0700 Subject: [PATCH 1/3] fixed docs for delete blob --- .../azure/storage/blob/_container_client.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py index 575611c4e7a9..41024897cd9d 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py @@ -877,6 +877,13 @@ def delete_blob( Required if the blob has associated snapshots. Values include: - "only": Deletes only the blobs snapshots. - "include": Deletes the blob along with all snapshots. + :keyword str version_id: + The version id parameter is an opaque DateTime + value that, when present, specifies the version of the blob to delete. + + .. versionadded:: 12.4.0 + This keyword argument was introduced in API version '2019-12-12'. + :keyword lease: Required if the blob has an active lease. Value can be a BlobLeaseClient object or the lease ID as a string. From f442e82dc1a0bc392a930acf9358c98f41b2f3b2 Mon Sep 17 00:00:00 2001 From: Tamer Sherif Date: Fri, 25 Sep 2020 14:41:47 -0700 Subject: [PATCH 2/3] fixed docs for delete blob --- .../azure/storage/blob/aio/_container_client_async.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py index 0554fc661459..635dab1a20ae 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_container_client_async.py @@ -752,6 +752,13 @@ async def delete_blob( Required if the blob has associated snapshots. Values include: - "only": Deletes only the blobs snapshots. - "include": Deletes the blob along with all snapshots. + :keyword str version_id: + The version id parameter is an opaque DateTime + value that, when present, specifies the version of the blob to delete. + + .. versionadded:: 12.4.0 + This keyword argument was introduced in API version '2019-12-12'. + :keyword lease: Required if the blob has an active lease. Value can be a Lease object or the lease ID as a string. From 32a0faa0eca5f65d3bc399720fa95e2de479e904 Mon Sep 17 00:00:00 2001 From: Tamer Sherif Date: Mon, 28 Sep 2020 09:38:57 -0700 Subject: [PATCH 3/3] lint --- .../azure-storage-blob/azure/storage/blob/_container_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py b/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py index 41024897cd9d..e43c9c1c32de 100644 --- a/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py +++ b/sdk/storage/azure-storage-blob/azure/storage/blob/_container_client.py @@ -883,7 +883,7 @@ def delete_blob( .. versionadded:: 12.4.0 This keyword argument was introduced in API version '2019-12-12'. - + :keyword lease: Required if the blob has an active lease. Value can be a BlobLeaseClient object or the lease ID as a string.