Product |
Abbreviation in CAM |
Console |
Authorization by Tag |
Authorization Granularity |
IP Restriction |
Image Creation Large Model |
aiart |
Supported |
not supported |
Operation level |
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 |
ActivateService |
Activate service |
Operation level |
* |
Supported |
DeleteTrainPortraitModel |
DeleteTrainPortraitModel |
Operation level |
* |
Supported |
ReportEvaluation |
ReportEvaluation |
Operation level |
* |
Supported |
SetPayMode |
set pay mode |
Operation level |
* |
Supported |
SetUserStatus |
set user status |
Operation level |
* |
Supported |
SubmitDrawPortraitJobProxy |
SubmitDrawPortraitJobProxy |
Operation level |
* |
Supported |
SubmitTextToImageProJob |
SubmitTextToImageProJob |
Operation level |
* |
Supported |
UploadTrainPortraitImages |
UploadTrainPortraitImages |
Operation level |
* |
Supported |
Read operations
API |
API Description |
Authorization Granularity |
Six-segment Resource Description |
IP Restriction |
DescribeQuotaPkgs |
Describe Quota Pkgs |
Operation level |
* |
Supported |
DescribeStatInfo |
Describe Stat Info |
Operation level |
* |
Supported |
GenerateAvatar |
Generate Avatar |
Operation level |
* |
Supported |
GetAIArtTaskList |
getAIArtTaskList |
Operation level |
* |
Supported |
GetFeedbackLabels |
GetFeedbackLabels |
Operation level |
* |
Supported |
ImageToImage |
Image to image |
Operation level |
* |
Supported |
QueryChangeClothesJob |
QueryChangeClothesJob |
Operation level |
* |
Supported |
QueryDrawPortraitJob |
QueryDrawPortraitJob |
Operation level |
* |
Supported |
QueryDrawPortraitJobProxy |
QueryDrawPortraitJobProxy |
Operation level |
* |
Supported |
QueryTextToImageProJob |
QueryTextToImageProJob |
Operation level |
* |
Supported |
QueryTrainPortraitModelJob |
QueryTrainPortraitModelJob |
Operation level |
* |
Supported |
QueryTrainPortraitModels |
QueryTrainPortraitModels |
Operation level |
* |
Supported |
SubmitChangeClothesJob |
SubmitChangeClothesJob |
Operation level |
* |
Supported |
SubmitDrawPortraitJob |
SubmitDrawPortraitJob |
Operation level |
* |
Supported |
SubmitTrainPortraitModelJob |
SubmitTrainPortraitModelJob |
Operation level |
* |
Supported |
TextToImage |
Text to image |
Operation level |
* |
Supported |
Other Operations
API |
API Description |
Authorization Granularity |
Six-segment Resource Description |
IP Restriction |
GetAuthUrl |
GetAuthUrl |
Operation level |
* |
Supported |
문제 해결에 도움이 되었나요?