From 3862bb20a6d6ba24ea965998ed8bea2cc9f91585 Mon Sep 17 00:00:00 2001 From: Zunli Hu Date: Thu, 18 Mar 2021 10:05:02 +0800 Subject: [PATCH] ignore snotshot --- src/azure-cli/azure/cli/command_modules/storage/_params.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/azure-cli/azure/cli/command_modules/storage/_params.py b/src/azure-cli/azure/cli/command_modules/storage/_params.py index a6cf1e88b1f..043c49a52f3 100644 --- a/src/azure-cli/azure/cli/command_modules/storage/_params.py +++ b/src/azure-cli/azure/cli/command_modules/storage/_params.py @@ -1171,6 +1171,7 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem c.argument('share_name', share_name_type, options_list=('--name', '-n'), id_part='child_name_2') c.argument('expand', default=None) c.ignore('filter', 'maxpagesize') + c.ignore('x_ms_snapshot') # Ignore first before it is ready for item in ['create', 'update']: with self.argument_context('storage share-rm {}'.format(item), resource_type=ResourceType.MGMT_STORAGE) as c: