Actions Supported by Policy-based Authorization
This section describes the actions supported by Live.
Supported Actions
Live 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 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.
Live supports the following actions that can be defined in custom policies.
| Permission | API | Action | IAM Project | Enterprise Project |
|---|---|---|---|---|
| Creating a domain name | live:domain:createDomain | √ | × | |
| Deleting a domain name | live:domain:deleteDomain | √ | × | |
| Modifying a domain name | live:domain:updateDomain | √ | × | |
| Querying domain names | live:domain:getDomains | √ | × | |
| Mapping domain names | live:domain:createDomainsMapping | √ | × | |
| Deleting a domain name mapping | live:domain:deleteDomainsMapping | √ | × | |
| Adding or overwriting stream notification configurations | live:domain:updateStreamNotification | √ | × | |
| Querying stream notification configurations | live:domain:getStreamNotifications | √ | × | |
| Deleting stream notification configurations | live:domain:deleteStreamNotification | √ | × | |
| Creating a domain name configuration item | - | live:domain:createCDNConfig | √ | × |
| Modifying a domain name configuration item | - | live:domain:updateCDNConfig | √ | × |
| Querying domain name configuration items | - | live:domain:getCDNConfig | √ | × |
| Deleting a domain name configuration item | - | live:domain:deleteCDNConfig | √ | × |
| Querying IP ACLs | live:domain:getIPAuthList | √ | × | |
| Modifying an IP ACL | live:domain:updateIPAuthList | √ | × | |
| Obtaining the region restriction of a streaming domain name | - | live:domain:getGeoBlockingList | √ | × |
| Modifying the region restriction of a streaming domain name | - | live:domain:updateGeoBlocking | √ | × |
| Configuring a referer validation ACL | live:domain:updateRefererChain | √ | × | |
| Deleting a referer validation ACL | live:domain:deleteRefererChain | √ | × | |
| Querying referer validation ACLs | live:domain:getRefererChain | √ | × | |
| Obtaining the link for downloading playback logs | live:logs:listLog | √ | × | |
| Querying HTTPS certificate information | live:domain:getCertificates | √ | × | |
| Creating a recording template | live:record:createRule | √ | × | |
| Querying recording templates | live:record:listRules | √ | × | |
| Modifying a recording template | live:record:updateRule | √ | × | |
| Deleting a recording template | live:record:deleteRule | √ | × | |
| Querying recording template configurations | live:record:getRule | √ | × | |
| Querying recorded contents | - | live:record:listContents | √ | × |
| Submitting a recording command | live:record:createCommand | √ | × | |
| Creating a recording callback | live:record:createCallback | √ | × | |
| Querying recording callbacks | live:record:listCallbacks | √ | × | |
| Modifying a recording callback | live:record:updateCallback | √ | × | |
| Querying a recording callback | live:record:getCallback | √ | × | |
| Deleting a recording callback | live:record:deleteCallback | √ | × | |
| Configuring a snapshot capturing template | live:snapshot:createRule | √ | × | |
| Modifying a snapshot capturing template | live:snapshot:updateRule | √ | × | |
| Querying snapshot capturing templates | live:snapshot:listRules | √ | × | |
| Deleting a snapshot capturing template | live:snapshot:deleteRule | √ | × | |
| Disabling stream push | live:stream:createStreamForbidden | √ | × | |
| Querying disabled streams | live:stream:listStreamForbidden | √ | × | |
| Resuming stream push | live:stream:deleteStreamForbidden | √ | × | |
| Modifying the attribute of a disabled stream | live:stream:updateStreamForbidden | √ | × | |
| Pausing a stream | live:stream:createStreamForbiddenOnce | √ | × | |
| Querying ongoing streams | live:stream:listLiveStreamsOnline | √ | × | |
| Creating a task for ingesting streams from external networks | - | live:stream:createPullTask | √ | × |
| Deleting a task for ingesting streams from external networks | - | live:stream:deletePullTask | √ | × |
| Querying tasks for ingesting streams from external networks | - | live:stream:listPullTask | √ | × |
| Configuring the billing mode | - | live:tenant:updateChargingMode | √ | × |
| Query tenant information | - | live:tenant:getTenantInformation | √ | × |
| Creating a transcoding template | live:transcode:createTranscodingsTemplate | √ | × | |
| Deleting a transcoding template | live:transcode:deleteTranscodingsTemplate | √ | × | |
| Modifying a transcoding template | live:transcode:updateTranscodingsTemplate | √ | × | |
| Querying transcoding templates | live:transcode:listTranscodingsTemplate | √ | × | |
| Adding transcoding SEI | - | live:transcode:createSEI | √ | × |
| Querying URL validation settings | live:domain:getCDNConfig | √ | × | |
| Modifying URL validation settings | live:domain:updateCDNConfig | √ | × | |
| Deleting URL validation settings | live:domain:deleteCDNConfig | √ | × | |
| Modifying HTTPS certificate settings | live:domain:updateCDNConfig | √ | × | |
| Querying HTTPS certificate settings | live:domain:getCDNConfig | √ | × | |
| Deleting HTTPS certificate settings | live:domain:deleteCDNConfig | √ | × | |
| Querying the number of snapshots | live:statistics:listSnapshotUsage | √ | × | |
| Querying ongoing streams | live:stream:listLiveStreamsOnline | √ | × | |
| Querying HTTP status codes for pulling streams | live:statistics:listHttpCodeDimension | √ | × | |
| Querying the stream frame rate | live:statistics:listSingleStreamFramerate | √ | × | |
| Querying the stream bitrate | live:statistics:listSingleStreamBitrate | √ | × | |
| Querying the duration of recordings | live:statistics:listRecordUsage | √ | × | |
| Querying the number of streams by domain name | live:statistics:listStreamCount | √ | × | |
| Querying historical streams | live:statistics:listHistoryStreams | √ | × | |
| Querying playback profiles | live:statistics:listStreamPortrait | √ | × | |
| Querying the playback bandwidth trend | live:statistics:listBandwidthDetail | √ | × | |
| Querying the playback traffic trend | live:statistics:listTrafficDetail | √ | × | |
| Querying the peak playback bandwidth | live:statistics:listDomainBandwidthPeak | √ | × | |
| Querying the total playback traffic | live:statistics:listDomainTrafficSummary | √ | × | |
| Querying the upstream bandwidth | live:statistics:listUpBandwidth | √ | × | |
| Querying the distribution of livestreaming metrics by region | live:statistics:listAreaDetail | √ | × | |
| Querying the duration of transcoded outputs | live:statistics:listTranscodeUsage | √ | × | |
| Querying the viewer trend by stream | live:statistics:listUsersOfStream | √ | × | |
| Querying the real-time downstream bandwidth | - | live:statistics:listRealTimeBandwidthOfDomain | √ | × |
| Querying the number of online viewers by stream | - | live:statistics:listRealTimeStreamUser | √ | × |
| Querying the number of transcoding tasks | - | live:statistics:listTranscodeTaskCount | √ | × |
| Querying the number of online viewers | - | live:statistics:listRealTimeUsersOfDomain | √ | × |
| Querying the real-time stream bitrate | - | live:statistics:listRealTimeStreamBitrate | √ | × |
| Querying the bandwidth trend by stream | - | live:statistics:listBandwidthOfStream | √ | × |
| Querying the number of online streamers | - | live:statistics:listRealTimeStreamCount | √ | × |
| Querying the number of streams for real-time transcoding | - | live:statistics:listTranscodeConcurrency | √ | × |
| Querying the playback traffic trend | - | live:statistics:listDomainTrafficDetail | √ | × |
| Querying the playback bandwidth trend | - | live:statistics:listDomainBandwidthDetail | √ | × |
| Querying the real-time upstream bandwidth | - | live:statistics:listPushBandwidth | √ | × |
| Querying details about the real-time downstream bandwidth | - | live:statistics:listRealTimeDomainBandwidthDetail | √ | × |
| Querying the real-time stream bandwidth | - | live:statistics:listRealTimeStreamBandwidth | √ | × |
| Querying details about the number of online viewers | - | live:statistics:listRealTimeDomainUserDetail | √ | × |
| Querying the real-time stream frame rate | - | live:statistics:listRealTimeStreamFramerate | √ | × |
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