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
|
|
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for Python