Actions Supported by Policy-based Authorization
This section describes the VOD actions supported by policy-based authorization.
Supported Actions
xx (cloud service name) provides system-defined policies that can be directly used in IAM. You can also create custom policies to supplement system-defined policies for more refined access control. Operations supported by policies are specific to APIs. The following are common concepts related to policies:
- Permissions: statements in a policy that allow or deny certain operations
- APIs: REST APIs that can be called by a user who has been granted specific permissions.
- Actions: specific operations that are allowed or denied in a custom policy.
- Dependencies: actions which a specific action depends on. When allowing an action for a user, you also need to allow any existing action dependencies for that user.
- IAM projects/Enterprise projects: the authorization scope of a custom policy. A custom policy can be applied to IAM projects or enterprise projects or both. Policies that contain actions for both IAM and enterprise projects can be used and applied for both IAM and Enterprise Management. Policies that contain actions only for IAM projects can be used and applied to IAM only. Administrators can check whether an action supports IAM projects or enterprise projects in the action list. For details about the differences between IAM and enterprise management, see Differences Between IAM and Enterprise Management.
When assigning permissions to a user group in IAM, you cannot select Enterprise projects when setting Specify the authorization scope on the Select Scope page.
VOD supports the following actions that can be defined in custom policies.
|
Permission |
API |
Action |
IAM (Project) |
Enterprise Project |
|---|---|---|---|---|
|
Uploading a media asset |
vod:asset:upload |
√ |
× |
|
|
Authorizing access to an OBS bucket |
vod:bucket:authority |
√ |
× |
|
|
Dumping media assets to VOD |
vod:asset:publishFromObs |
√ |
× |
|
|
Creating a URL pull task |
vod:asset:createUploadTaskByUrl |
√ |
× |
|
|
Updating a video |
vod:asset:update |
√ |
× |
|
|
Creating a media asset processing task |
vod:asset:createProcessTask |
√ |
× |
|
|
Canceling a media asset processing task |
vod:asset:deleteProcessTask |
√ |
× |
|
|
Creating an audio extraction task |
vod:asset:createExtractAudioTask |
√ |
× |
|
|
Canceling an audio extraction task |
vod:asset:stopExtractAudioTask |
√ |
× |
|
|
Reviewing a media asset |
vod:asset:review |
√ |
× |
|
|
Deleting a media asset |
vod:asset:delete |
√ |
× |
|
|
Publishing a media asset |
vod:asset:publish |
√ |
× |
|
|
Canceling media asset publish |
vod:asset:unpublish |
√ |
× |
|
|
Querying media asset information |
vod:asset:getInfo |
√ |
× |
|
|
Modifying a media asset attribute |
vod:asset:modifyInfo |
√ |
× |
|
|
Querying media asset details |
vod:asset:getDetails |
√ |
× |
|
|
Querying media assets |
vod:asset:list |
√ |
× |
|
|
Creating a pre-loading task |
vod:asset:preheat |
√ |
× |
|
|
Querying a pre-loading task |
vod:asset:getPreheatTask |
√ |
× |
|
|
Creating a CDN cache refreshing task |
vod:asset:createRefreshTask |
√ |
× |
|
|
Querying CDN cache refreshing tasks |
vod:asset:getRefreshTask |
√ |
× |
|
|
Creating a media asset category |
vod:category:create |
√ |
× |
|
|
Modifying a media asset category |
vod:category:update |
√ |
× |
|
|
Deleting a media asset category |
vod:category:delete |
√ |
× |
|
|
Querying media asset categories |
vod:category:list |
√ |
× |
|
|
Querying media asset keys |
vod:asset:getCiphers |
√ |
× |
|
|
Querying statistics |
GET /v1.0/{project_id}/asset/cdn-statistics |
vod:statistics:get |
√ |
× |
|
Querying CDN logs |
vod:log:get |
√ |
× |
|
|
Querying daily playback statistics |
vod:log:getDailySummary |
√ |
× |
|
|
Creating a watermark template |
vod:watermarkTemplate:create |
√ |
× |
|
|
Modifying a watermark template |
vod:watermarkTemplate:update |
√ |
× |
|
|
Querying watermark templates |
vod:watermarkTemplate:list |
√ |
× |
|
|
Deleting a watermark template |
vod:watermarkTemplate:delete |
√ |
× |
|
|
Updating subtitles |
vod:subtitles:update |
√ |
× |
|
|
Creating a custom template group |
vod:templateGroup:create |
√ |
× |
|
|
Querying custom template groups |
vod:templateGroup:list |
√ |
× |
|
|
Modifying a custom template group |
vod:templateGroup:update |
√ |
× |
|
|
Deleting a custom template group |
vod:templateGroup:delete |
√ |
× |
|
|
Creating a transcoding template set |
POST /v1.0/{project_id}/asset/template-collection/transcodings |
vod:templateCollection:create |
√ |
× |
|
Updating a transcoding template set |
PUT /v1.0/{project_id}/asset/template-collection/transcodings |
vod:templateCollection:update |
√ |
× |
|
Querying transcoding template sets |
GET /v1.0/{project_id}/asset/template-collection/transcodings |
vod:templateCollection:list |
√ |
× |
|
Deleting a transcoding template set |
DELETE /v1.0/{project_id}/asset/template-collection/transcodings |
vod:templateCollection:delete |
√ |
× |
|
Deleting multiple transcoded outputs |
vod:asset:deleteTranscodeProduct |
√ |
× |
|
|
Updating the cold storage scope of a media asset |
vod:storageModeType:update |
√ |
× |
|
|
Updating the media asset storage mode |
vod:asset:updateStorageMode |
√ |
× |
|
|
Querying the cold storage scope of a media asset |
vod:storageModeType:get |
√ |
× |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot