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
|
|
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Python