TranslatorCredential Class
Credential for Translator Service. It is using combination of Resource key and region.
- Inheritance
-
builtins.objectTranslatorCredential
Constructor
TranslatorCredential(key: str, region: str)
Parameters
Name | Description |
---|---|
key
Required
|
|
region
Required
|
|
Methods
update |
Update the key. This can be used when you've regenerated your service key and want to update long-lived clients. :param str key: The key used to authenticate to an Azure service :raises: ValueError or TypeError |
update
Update the key. This can be used when you've regenerated your service key and want to update long-lived clients. :param str key: The key used to authenticate to an Azure service :raises: ValueError or TypeError
update(key: str) -> None
Parameters
Name | Description |
---|---|
key
Required
|
|
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Python