Esta página ainda não está disponível no idioma selecionado. Estamos trabalhando para adicionar mais opções de idiomas. Agradecemos sua compreensão.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page
Help Center/ Data Lake Insight/ API Reference (Kuala Lumpur Region)/ Permissions Policies and Supported Actions

Permissions Policies and Supported Actions

Updated on 2022-12-07 GMT+08:00

This section describes fine-grained permissions management for your DLI. If your account does not need individual IAM users, then you may skip this section.

By default, new IAM users do not have permissions assigned. You need to add them to one or more groups, and attach permissions policies or roles to these groups. Users inherit permissions from the groups to which they are added After authorization, the user can perform specified operations on MRS based on the permissions.

  • Roles are a type of coarse-grained authorization mechanism that defines permissions related to user responsibilities.
  • Policies define API-based permissions for operations on specific resources under certain conditions, allowing for more fine-grained, secure access control of cloud resources.
NOTE:

Policy-based authorization is useful if you want to allow or deny the access to an API.

An account has all of the permissions required to call all APIs, but IAM users must have the required permissions specifically assigned. The permissions required for calling an API are determined by the actions supported by the API. Only users who have been granted permissions allowing the actions can call the API successfully. For example, if an IAM user needs to create buckets using an API, the user must have been granted permissions that allow the dli:queue:create_queue action.

Supported Actions

VBS provides system-defined policies that can be directly used in IAM. You can also create custom policies and use them to supplement system-defined policies, implementing more refined access control. Operations supported by policies are specific to APIs. The following are common concepts related to policies:

  • Permissions: Allow or deny operations on specified resources under specific conditions.
  • APIs: RESTful APIs that can be called in a custom policy.
  • Actions: added to a custom policy to control permissions for specific operations.
  • Related actions: Actions on which a specific action depends to take effect. When assigning permissions for the action to a user, you also need to assign permissions for the related actions.
  • IAM or enterprise projects: Type of projects for which an action will take effect. Policies that contain actions supporting both IAM and enterprise projects can be assigned to user groups and take effect in both IAM and Enterprise Management. Policies that only contain actions supporting IAM projects can be assigned to user groups and only take effect for IAM. Such policies will not take effect if they are assigned to user groups in Enterprise Project.

NOTE:

The check mark (√) indicates that an action takes effect. The cross mark (x) indicates that an action does not take effect.

DLI supports the following actions that can be defined in custom policies:

Table 1 Actions

Permission

API

Actions

Dependent Permission

IAM Project

(Project)

Enterprise Project

(Enterprise Project)

Creating a Queue

POST /v1.0/{project_id}/queues

dli:queue:create_queue

-

Deleting a Queue

DELETE /v1.0/{project_id}/queues/{queue_name}

dli:queue:drop_queue

-

Submitting a Job

POST /v1.0/{project_id}/jobs/submit-job

dli:queue:submit_job

-

×

Canceling a job

DELETE /v1.0/{project_id}/jobs/{job_id}

dli:queue:cancel_job

-

×

Viewing Queue Permissions of Other Users

GET /v1.0/{project_id}/queues/{queue_name}/users

dli:queue:show_privileges

-

×

Restarting a queue

PUT /v1.0/{project_id}/queues/{queue_name}/action

dli:queue:restart

-

×

Scaling out/in a queue

PUT /v1.0/{project_id}/queues/{queue_name}/action

dli:queue:scale_queue

-

×

Granting permissions to a specified user queue

PUT /v1.0/{project_id}/user-authorization

dli:queue:grant_privilege

-

×

Removing permissions of a specified user queue

POST /v1.0/{project_id}/databases

dli:database:create_database

-

×

Creating a Database

POST /v1.0/{project_id}/databases

dli:database:create_database

-

×

Deleting a Database

DELETE /v1.0/{project_id}/databases/{database_name}

dli:database:drop_database

-

×

Modifying database configuration

POST /v1.0/{project_id}/jobs/submit-job

dli:database:alter_database_properties

-

×

Explaining the SQL Statement as an Execution Plan

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:database:explain

-

×

Creating a Table

POST /v1.0/{project_id}/databases/{database_name}/tables

dli:database:create_table

-

×

Creating a View

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

database:create_view

-

×

Creating a Function

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:database:create_function

-

×

Describing a Function

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:database:describe_function

-

×

Deleting a Function

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:database:drop_function

-

×

Displaying a Function

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:database:show_functions

-

×

Creating a role

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:database:create_role

-

×

Deleting a role

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:database:drop_role

-

×

Displaying a Role

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:database:show_roles

-

×

Displaying All Roles

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:database:show_all_roles

-

×

Binding a Role

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:database:grant_role

-

×

Unbinding the Role

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:database:revoke_role

-

×

Displaying the Binding Relationships Between All Roles and Users

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:database:show_users

-

×

Viewing Database Permissions of Other Users

GET /v1.0/{project_id}/databases/{database_name}/users

dli:database:show_privileges

-

×

Displaying database

GET /v1.0/{project_id}/databases

dli:database:display_database

-

×

Displaying all databases

GET /v1.0/{project_id}/databases

dli:database:display_all_databases

-

×

Displaying all tables

GET /v1.0/{project_id}/databases

dli:database:display_all_tables

-

×

Granting database permissions to a specified user

PUT /v1.0/{project_id}/user-authorization

dli:database:grant_privilege

-

×

Removing database permissions of a specified user

PUT /v1.0/{project_id}/user-authorization

dli:database:revoke_privilege

-

×

Deleting a Table

DELETE /v1.0/{project_id}/databases/{database_name}/tables/{table_name}

dli:table:drop_table

-

×

Displaying Table Structure

GET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}

dli:table:describe_table

-

×

Querying a Table

GET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}/preview

dli:table:select

-

×

Displaying table configuration

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:table:show_table_properties

-

×

Displaying the Table Creation Statement

GET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}/preview

dli:table:show_create_table

-

×

Displaying All Partitions

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:table:show_partitions

-

×

Setting Table Configuration

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:table:alter_table_set_properties

-

×

Adding a Column

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:table:alter_table_add_columns

-

×

Adding Partitions to the Partitioned Table

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:table:alter_table_add_partition

-

×

Renaming a Table Partition

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:table:alter_table_rename_partition

-

×

Deleting Partitions from a Partitioned Table

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:table:alter_table_drop_partition

-

×

Restoring Table Partitions

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:table:alter_table_recover_partition

-

×

Renaming a Table

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:table:alter_table_rename

-

×

Setting the Partition Path

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:table:alter_table_set_location

-

×

Inserting data into a table

POST /v1.0/{project_id}/jobs/submit-job, statement invoking

dli:table:insert_into_table

-

×

Rewriting table data

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:table:insert_overwrite_table

-

×

Viewing Table Permissions of Other Users

GET /v1.0/{project_id}/databases/{database_name}/tables/{table_name}/users

dli:table:show_privileges

-

×

Clearing a table

POST /v1.0/{project_id}/jobs/submit-job

dli:table:truncate_table

-

×

Updating a table

POST /v1.0/{project_id}/jobs/submit-job

dli:table:update

-

×

Deleting data in a table

POST /v1.0/{project_id}/jobs/submit-job

dli:table:delete

-

×

Modifying column information

POST /v1.0/{project_id}/jobs/submit-job

dli:table:alter_table_change_column

-

×

Deleting a column

POST /v1.0/{project_id}/jobs/submit-job

dli:table:alter_table_drop_columns

-

×

Displaying data segments

POST /v1.0/{project_id}/jobs/submit-job

dli:table:show_segments

-

×

Merging data segments

POST /v1.0/{project_id}/jobs/submit-job

dli:table:compaction

-

×

Modifying a View

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:table:alter_view

-

×

Displaying a table

POST /v1.0/{project_id}/jobs/submit-job

dli:table:display_table

-

×

Granting data table permissions to a specified user

PUT /v1.0/{project_id}/user-authorization

dli:table:grant_privilege

-

×

Removing data table permissions of a specified user

PUT /v1.0/{project_id}/user-authorization

dli:table:revoke_privilege

-

×

Viewing the security authentication information permission list of other users

GET /v1.0/{project_id}/datasource/auth-infos/{auth_name}/users

dli:datasourceauth:show_privileges

-

×

Using security authentication information

POST /v1.0/{project_id}/jobs/submit-job

dli:datasourceauth:use_auth

-

×

Deleting security authentication information

DELETE /v2.0/{project_id}/datasource/auth-infos/{auth_info_name}

dli:datasourceauth:drop_auth

-

×

Granting security authentication permissions to a specified user

PUT /v1.0/{project_id}/user-authorization

dli:datasourceauth:grant_privilege

-

×

Updating security authentication information

PUT /v2.0/{project_id}/datasource/auth-infos

dli:datasourceauth:update_auth

-

×

Granting security authentication permissions to a specified user

PUT /v1.0/{project_id}/user-authorization

dli:datasourceauth:grant_privilege

-

×

Removing security authentication permissions of a specified user

PUT /v1.0/{project_id}/user-authorization

dli:datasourceauth:revoke_privilege

-

×

Querying job details

GET /v1.0/:x_project_id/streaming/jobs/:job_id

dli:jobs:get

-

×

Querying a job list

GET /v1.0/:x_project_id/streaming/jobs

dli:jobs:list_all

-

×

Creating a job

POST /v1.0/:x_project_id/streaming/sql-jobs

dli:jobs:create

-

×

Updating a job

PUT /v1.0/:x_project_id/streaming/sql-jobs/:job_id

dli:jobs:update

-

×

Deleting a job

POST /v1.0/:x_project_id/streaming/jobs/delete

dli:jobs:delete

-

×

Starting a job

POST /v1.0/:x_project_id/streaming/jobs/run

dli:jobs:start

-

×

Stopping a job

POST /v1.0/:x_project_id/streaming/jobs/stop

dli:jobs:stop

-

×

Exporting a job

POST /v1.0/:x_project_id/streaming/jobs/export

dli:jobs:export

-

×

Granting job permissions to a specified user

PUT /v1.0/{{project_id}}/authorization

dli:jobs:grant_privilege

-

×

Removing job permissions of a specified user

PUT /v1.0/{{project_id}}/authorization

dli:jobs:revokePrivilege

-

×

Querying a Column

POST /v1.0/{project_id}/jobs/submit-job, SQL statement invoking

dli:column:select

-

×

Granting permissions to a specified user queue

PUT /v1.0/{project_id}/user-authorization

dli:column:grant_privilege

-

×

Removing permissions of a specified user queue

PUT /v1.0/{project_id}/user-authorization

dli:column:revoke_privilege

-

×

Querying the Flink Job List

GET /v1.0/:x_project_id/jobs

dli:jobs:list_job

-

×

Querying Flink Job Details

GET /v1.0/:x_project_id/job/:job_id

dli:jobs:get_job

-

×

Creating a Flink Job

POST /v1.0/:x_project_id/sql_job

dli:jobs:create_job

-

×

Updating a Flink Job

PATCH /v1.0/:x_project_id/sql_job

dli:jobs:update_job

-

×

Deleting a Flink Job

DELETE /v1.0/:x_project_id/job/:job_id

dli:jobs:delete_job

-

×

Starting a Flink Job

POST v1.0/:x_project_id/job/:job_id/run

dli:queue:submit_job

-

×

Stopping a Flink Job

POST /v1.0/:x_project_id/job/:job_id/stop

dli:queue:cancel_job

-

×

Usamos cookies para aprimorar nosso site e sua experiência. Ao continuar a navegar em nosso site, você aceita nossa política de cookies. Saiba mais

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback