зеркало из https://github.com/microsoft/azure-cli.git
This commit is contained in:
Родитель
fb7d72c90e
Коммит
49ce3a8f36
|
@ -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).')
|
'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,
|
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.')
|
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 '
|
help='Access tier for specific share. GpV2 account can choose between TransactionOptimized '
|
||||||
'(default), Hot, and Cool. FileStorage account can choose Premium.')
|
'(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',
|
custom_command_type=get_custom_sdk('file',
|
||||||
cf_mgmt_file_shares,
|
cf_mgmt_file_shares,
|
||||||
resource_type=ResourceType.MGMT_STORAGE),
|
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.custom_command('create', 'create_share_rm')
|
||||||
g.command('delete', 'delete', confirmation=True)
|
g.command('delete', 'delete', confirmation=True)
|
||||||
g.custom_command('exists', '_file_share_exists', transform=create_boolean_result_output_transformer('exists'))
|
g.custom_command('exists', '_file_share_exists', transform=create_boolean_result_output_transformer('exists'))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче