From c288d780044da1a09fed0456307cd8d3648898b0 Mon Sep 17 00:00:00 2001 From: Xiaoxi Fu <49707495+xiafu-msft@users.noreply.github.com> Date: Tue, 13 Oct 2020 14:07:47 -0700 Subject: [PATCH] [Storage][FileShare]Regenerate for delete leased snapshot (#14469) --- .../_generated/aio/operations_async/_share_operations_async.py | 2 +- .../fileshare/_generated/models/_azure_file_storage_enums.py | 1 + .../fileshare/_generated/operations/_share_operations.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/aio/operations_async/_share_operations_async.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/aio/operations_async/_share_operations_async.py index 9834f1ed0b3..0d95a586306 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/aio/operations_async/_share_operations_async.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/aio/operations_async/_share_operations_async.py @@ -205,7 +205,7 @@ async def delete(self, sharesnapshot=None, timeout=None, delete_snapshots=None, :type timeout: int :param delete_snapshots: Specifies the option include to delete the base share and all of its snapshots. Possible values include: - 'include' + 'include', 'include-leased' :type delete_snapshots: str or ~azure.storage.fileshare.models.DeleteSnapshotsOptionType :param lease_access_conditions: Additional parameters for the diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/_azure_file_storage_enums.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/_azure_file_storage_enums.py index 952bec7cf50..0835990e448 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/_azure_file_storage_enums.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/models/_azure_file_storage_enums.py @@ -119,6 +119,7 @@ class PermissionCopyModeType(str, Enum): class DeleteSnapshotsOptionType(str, Enum): include = "include" + include_leased = "include-leased" class ListSharesIncludeType(str, Enum): diff --git a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/operations/_share_operations.py b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/operations/_share_operations.py index 3e26c16a451..64cc52ac576 100644 --- a/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/operations/_share_operations.py +++ b/sdk/storage/azure-storage-file-share/azure/storage/fileshare/_generated/operations/_share_operations.py @@ -205,7 +205,7 @@ def delete(self, sharesnapshot=None, timeout=None, delete_snapshots=None, lease_ :type timeout: int :param delete_snapshots: Specifies the option include to delete the base share and all of its snapshots. Possible values include: - 'include' + 'include', 'include-leased' :type delete_snapshots: str or ~azure.storage.fileshare.models.DeleteSnapshotsOptionType :param lease_access_conditions: Additional parameters for the