[Storage] GA Release User Delegation SAS token Support (#11408)

* remove preview in revoke-delegation-keys

* remove preview in blob generate-sas

* remove preview in container generate-sas

* update history
This commit is contained in:
Zunli Hu 2019-11-27 10:35:17 +08:00 коммит произвёл GitHub
Родитель b2fd927da1
Коммит 2636e9c6c5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 8 добавлений и 4 удалений

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

@ -11,6 +11,10 @@ Release History
* Add back edge builds for pip install
**Storage**
* GA Release User Delegation SAS token Support
2.0.77
++++++

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

@ -301,7 +301,7 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem
'using this shared access signature.')
c.argument('full_uri', action='store_true',
help='Indicates that this command return the full blob URI and the shared access signature token.')
c.argument('as_user', min_api='2018-11-09', is_preview=True, action='store_true',
c.argument('as_user', min_api='2018-11-09', action='store_true',
validator=as_user_validator,
help="Indicates that this command return the SAS signed with the user delegation key. "
"The expiry parameter and '--auth-mode login' are required if this argument is specified. ")
@ -598,7 +598,7 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem
'using this shared access signature.')
c.argument('content_type', help='Response header value for Content-Type when resource is accessed'
'using this shared access signature.')
c.argument('as_user', min_api='2018-11-09', is_preview=True, action='store_true',
c.argument('as_user', min_api='2018-11-09', action='store_true',
validator=as_user_validator,
help="Indicates that this command return the SAS signed with the user delegation key. "
"The expiry parameter and '--auth-mode login' are required if this argument is specified. ")

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

@ -84,7 +84,7 @@ def load_command_table(self, _): # pylint: disable=too-many-locals, too-many-st
transform=lambda x: getattr(x, 'keys', x))
g.command('keys list', 'list_keys',
transform=lambda x: getattr(x, 'keys', x))
g.command('revoke-delegation-keys', 'revoke_user_delegation_keys', min_api='2019-04-01', is_preview=True)
g.command('revoke-delegation-keys', 'revoke_user_delegation_keys', min_api='2019-04-01')
with self.command_group('storage account', cloud_data_plane_sdk) as g:
g.storage_command('generate-sas', 'generate_shared_access_signature')