This commit is contained in:
Zunli Hu 2020-09-29 15:41:03 +08:00 коммит произвёл GitHub
Родитель fb7d72c90e
Коммит 49ce3a8f36
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1084,7 +1084,7 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem
'only available for premium file shares (file shares in the FileStorage account type).')
c.argument('root_squash', arg_type=get_enum_type(t_root_squash), is_preview=True,
min_api='2019-06-01', help='Reduction of the access rights for the remote superuser.')
c.argument('access_tier', arg_type=get_enum_type(t_access_tier), is_preview=True, min_api='2019-06-01',
c.argument('access_tier', arg_type=get_enum_type(t_access_tier), min_api='2019-06-01',
help='Access tier for specific share. GpV2 account can choose between TransactionOptimized '
'(default), Hot, and Cool. FileStorage account can choose Premium.')

Просмотреть файл

@ -478,7 +478,7 @@ def load_command_table(self, _): # pylint: disable=too-many-locals, too-many-st
custom_command_type=get_custom_sdk('file',
cf_mgmt_file_shares,
resource_type=ResourceType.MGMT_STORAGE),
resource_type=ResourceType.MGMT_STORAGE, min_api='2019-04-01', is_preview=True) as g:
resource_type=ResourceType.MGMT_STORAGE, min_api='2019-04-01') as g:
g.custom_command('create', 'create_share_rm')
g.command('delete', 'delete', confirmation=True)
g.custom_command('exists', '_file_share_exists', transform=create_boolean_result_output_transformer('exists'))