From a0d2eddabca637914539cf2772722ff6abc075a8 Mon Sep 17 00:00:00 2001 From: xiafu Date: Tue, 13 Oct 2020 12:59:15 -0700 Subject: [PATCH] [Storage][FileShare]Regenerate for delete leased snapshot --- .../_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 915f757fc7c..391372b2d85 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 @@ -196,7 +196,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 3a1fab622b7..ae01db3b090 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 @@ -112,6 +112,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 5e1bbb6325e..cbf80709a52 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 @@ -196,7 +196,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