Product |
Abbreviation in CAM |
Console |
Authorization by Tag |
Authorization Granularity |
IP Restriction |
TextToSpeech |
tts |
Supported |
not supported |
Operation level |
Partially supported |
Note:
The authorization granularity of cloud products is divided into three levels: service level, operation level, and resource level, based on the degree of granularity.
- Service level: It defines whether a user has the permission to access the service as a whole. A user can have either full access or no access to the service. For the authorization granularity of cloud products at service level, the authorization of specific APIs are not supported.
- Operation level: It defines whether a user has the permission to call a specific API of the service. For example, granting an account read-only access to the CVM service is an authorization at the operation level.
- Resource level: It is the finest authorization granularity which defines whether a user has the permission to access specific resources. For example, granting an account read/write access to a specific CVM instance is an authorization at the resource level.
API authorization granularity
Two authorization granularity levels of API are supported: resource level, and operation level.
- Resource level: It supports the authorization of a specific resource.
- Operation level: It does not support the authorization of a specific resource. If the policy syntax restricts a specific resource during authorization, CAM will determine that this API is not within the scope of authorization, and deem it as unauthorized.
Write operations
API |
API Description |
Authorization Granularity |
Six-segment Resource Description |
IP Restriction |
ActivateAuth |
Offline device authorization device activation interface |
Resource level |
qcs::tts:${region}:uin/${uin}:subUin/${uin} |
Supported |
ActivateService |
Activate service |
Operation level |
* |
Supported |
ChangeTaskName |
Change Task Name |
Operation level |
* |
not supported |
CreateShortSynthesizeTask |
Create Short Synthesize Task |
Operation level |
* |
Supported |
CreateSynthesizeLongSpeechTask |
Create Synthesize Long Speech Task |
Operation level |
* |
Supported |
CreateTextFromUrl |
Create Text From Url |
Operation level |
* |
Supported |
CreateTtsServer |
Open tencent cloud tts service |
Operation level |
* |
Supported |
CreateTtsTask |
create tts task |
Operation level |
* |
Supported |
DeleteLongSpeechTasks |
Delete Long Speech Tasks |
Operation level |
* |
not supported |
InvokeSDKFunction |
Offline SDK console interface |
Resource level |
qcs::tts::uin/${uin}:subUin/${uin} |
Supported |
SendFreePackage |
Send Free Package |
Operation level |
* |
Supported |
SetPayMode |
SetPayMode |
Operation level |
* |
Supported |
TextToStreamAudio |
Stream TTS Sever |
Operation level |
* |
not supported |
TextToVoice |
Basic TTS Sever |
Operation level |
* |
Supported |
Read operations
API |
API Description |
Authorization Granularity |
Six-segment Resource Description |
IP Restriction |
CheckFreePackage |
Check Free Package |
Operation level |
* |
Supported |
DescribeLongSpeechTasks |
Describe Long Speech Tasks |
Operation level |
* |
Supported |
DescribeOpenStatus |
Query user activation status |
Operation level |
* |
Supported |
DescribePidOrders |
Describe pid resource list |
Operation level |
* |
Supported |
DescribeQuotaPkgs |
Describe qps quota package |
Operation level |
* |
Supported |
DescribeServerLists |
Query user server list |
Operation level |
* |
Supported |
DescribeStatInfo |
Describe Interface Statistic Info |
Resource level |
qcs::tts::uin/${uin}:subUin/${subUin} |
Supported |
DescribeStatInfoUrl |
Describe Download Url Of Interface Statistic Info |
Resource level |
qcs::tts::uin/${uin}:subUin/${subUin} |
Supported |
DescribeStatistics |
Query usage data |
Operation level |
* |
not supported |
DescribeTtsTaskStatus |
describe tts task status |
Operation level |
* |
Supported |
DescribeUsedData |
Query real-time usage data |
Operation level |
* |
Supported |
DescribeVoices |
Describe Voices |
Operation level |
* |
Supported |
DescribeVrsUserInfo |
Describe Vrs UserInfo |
Operation level |
* |
Supported |
DownloadLongSpeechTasks |
Download Long Speech Tasks |
Operation level |
* |
not supported |
GetQpsQuota |
Describe QPS quota |
Operation level |
* |
Supported |
GetQpsStatistics |
Describe QPS Statistics Data |
Operation level |
* |
Supported |
GetQpsStatisticsUrl |
Describe QPS statistic data download url |
Operation level |
* |
Supported |
GetQuotaConfig |
Describe quota config |
Operation level |
* |
Supported |
VoiceConversionStream |
voice conversion |
Operation level |
* |
not supported |
List Operations
API |
API Description |
Authorization Granularity |
Six-segment Resource Description |
IP Restriction |
DescribeUserInfo |
Describe User Info |
Resource level |
qcs::tts::uin/${uin}:subUin/${subUin} |
Supported |
Was this page helpful?