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
|
|
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.
Azure SDK for Python