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

DataArts Studio

Updated on 2025-02-25 GMT+08:00

The Organizations service provides Service Control Policies (SCPs) to set access control policies.

SCPs do not actually grant any permissions to a principal. They only set the permissions boundary for the principal. When SCPs are attached to an organizational unit (OU) or a member account, the SCPs do not directly grant permissions to that OU or member account. Instead, the SCPs only determine what permissions are available for that member account or those member accounts under that OU.

This section describes the elements used by Organizations SCPs. The elements include actions, resources, and conditions.

For details about how to use these elements to create a custom SCP, see Creating an SCP.

Actions

Actions are specific operations that are allowed or denied in an SCP.

  • The Access Level column describes how the action is classified (List, Read, or Write). This classification helps you understand the level of access that an action grants when you use it in an SCP.
  • The Resource Type column indicates whether the action supports resource-level permissions.
    • You can use a wildcard (*) to indicate all resource types. If this column is empty (-), the action does not support resource-level permissions and you must specify all resources ("*") in your SCP statements.
    • If this column includes a resource type, you must specify the URN in the Resource element of your statements.
    • Required resources are marked with asterisks (*) in the table. If you specify a resource in a statement using this action, then it must be of this type.

    For details about the resource types defined by DataArts Studio, see Resources.

  • Condition Key contains keys that you can specify in the Condition element of an SCP statement.
    • If the Resource Type column has values for an action, the condition key takes effect only for the listed resource types.
    • If the Resource Type column is empty (-) for an action, the condition key takes effect for all resources that action supports.
    • If the Condition Key column is empty (-) for an action, the action does not support any condition keys.

    For details about the condition keys defined by DataArts Studio, see Conditions.

The following table lists the actions that you can define in SCP statements for DataArts Studio.

NOTE:

Due to API restrictions, if the resource type is specified for an SCP, the permission configuration may not meet expectations because some operations are unavailable for specified workspace or instance resources. For example, if an operation that does not support specified resources is allowed but a specific resource is specified for the operation, all resource operations are denied. If an operation that does not support specified resources is denied but a specific resource is specified for the operation, all resource operations are allowed.

Therefore, if you want to specify the resource type for an SCP, you must exclude such operations. Instead, you can only configure SCP statements without specified resources or with global resources for such operations, and use multiple SCP statements to grant permissions to users. SCP statements without specified resources or with global resources do not contain the Resource element in the JSON content, or contain the following Resource element:
            "Resource": [
                "DataArtsStudio:*:*:workspace:*",
                "DataArtsStudio:*:*:instance:*"
            ]

The operations that cannot be performed on specified resources in DataArts Studio are as follows:

  • Operations that can be performed only on specified instance resources but not on specified workspace resources:
    • DataArtsStudio:workspace:create
    • DataArtsStudio:workspace:list
  • Operations that cannot be performed on specified instance or workspace resources:
    • DataArtsStudio:instance:create
    • DataArtsStudio:instance:get
    • DataArtsStudio:instance:list
    • DataArtsStudio:instance:resize
    • DataArtsStudio:instance:getAgency
    • DataArtsStudio:instance:createAgency
    • DataArtsStudio:instance:uploadDriver
    • DataArtsStudio:instance:deleteDriver
    • DataArtsStudio:instance:listDrivers
    • DataArtsStudio:instance:listTags
    • DataArtsStudio:workspace:listTags
Table 1 Actions supported by DataArts Studio

Action

Description

Access Level

Resource Type (*: required)

Condition Key

DataArtsStudio:workspace:list

Grants the permission to query all workspaces.

list

workspace *

g:ResourceTag/<tag-key>

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:workspace:create

Grants the permission to create a workspace.

write

workspace *

-

instance *

g:ResourceTag/<tag-key>

-

  • g:RequestTag/<tag-key>
  • g:TagKeys

DataArtsStudio:workspace:get

Grants the permission to query workspace information.

read

workspace *

g:ResourceTag/<tag-key>

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:workspace:frozen

Grants the permission to freeze a workspace.

write

workspace *

g:ResourceTag/<tag-key>

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:workspace:unfrozen

Grants the permissions to unfreeze a workspace.

write

workspace *

g:ResourceTag/<tag-key>

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:workspace:update

Grants the permission to update a workspace.

write

workspace *

g:ResourceTag/<tag-key>

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:list

Grants the permission to query all instances.

list

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:create

Grants the permission to create an instance.

write

instance *

-

-

  • g:RequestTag/<tag-key>
  • g:TagKeys

DataArtsStudio:instance:get

Grants the permission to query an instance.

read

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:resize

Grants the permission to change instance specifications.

write

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:listDrivers

Grants the permission to query all driver files.

list

-

-

DataArtsStudio:instance:uploadDriver

Grants the permission to upload a driver file.

write

-

-

DataArtsStudio:instance:deleteDriver

Grants the permission to delete a driver file.

write

-

-

DataArtsStudio:workspace:delete

Grants the permission to delete a workspace.

write

workspace *

g:ResourceTag/<tag-key>

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:getAgency

Grants the permission to query an agency.

read

-

-

DataArtsStudio:instance:createAgency

Grants the permission to create an agency.

write

-

-

DataArtsStudio:instance:delete

Grants the permission to delete an instance.

write

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:migrateBusinessModel

Grants the permission to change the business model of an instance.

write

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:operate

Grants the permission to operate the resources of an instance.

write

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:workspace:operate

Grants the permission to operate the resources in a workspace.

write

workspace *

g:ResourceTag/<tag-key>

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:createRole

Grants the permission to create a custom role.

write

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:listRoles

Grants the permission to query custom roles.

list

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:getRoleType

Grants the permission to query the type of a custom role.

read

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:getRole

Grants the permission to query a custom role.

read

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:updateRole

Grants the permission to update a custom role.

write

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:deleteRole

Grants the permission to delete a custom role.

write

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:tagResource

Grants the permission to add an instance tag.

write

instance *

g:ResourceTag/<tag-key>

-

  • g:RequestTag/<tag-key>
  • g:TagKeys

DataArtsStudio:instance:unTagResource

Grants the permission to delete an instance tag.

write

instance *

g:ResourceTag/<tag-key>

-

  • g:RequestTag/<tag-key>
  • g:TagKeys

DataArtsStudio:instance:listIncrementalPackages

Grants the permission to query all incremental packages.

list

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:workspace:createIncrementalPackage

Grants the permission to create an incremental package for a workspace.

write

workspace *

  • g:ResourceTag/<tag-key>
  • DataArtsStudio:EnablePublicAccess

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:workspace:tagResource

Grants the permission to add a tag to a workspace.

write

workspace *

g:ResourceTag/<tag-key>

instance *

g:ResourceTag/<tag-key>

-

  • g:RequestTag/<tag-key>
  • g:TagKeys

DataArtsStudio:workspace:unTagResource

Grants the permission to delete a tag from a workspace.

write

workspace *

g:ResourceTag/<tag-key>

instance *

g:ResourceTag/<tag-key>

-

  • g:RequestTag/<tag-key>
  • g:TagKeys

DataArtsStudio:instance:createIncrementalPackage

Grants the permission to create an incremental package for an instance.

write

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:listTags

Grants the permission to query the tags of all instances.

list

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:workspace:listTags

Grants the permission to query the tags of all workspaces.

list

workspace *

g:ResourceTag/<tag-key>

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:listTagsForResource

Grants the permission to query the tags of an instance.

list

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:workspace:listTagsForResource

Grants the permission to query the tags of a workspace.

list

workspace *

g:ResourceTag/<tag-key>

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:workspace:updateDataServiceApiQuota

Grants the permission to update the DataArts DataService API quota of a workspace.

write

workspace *

g:ResourceTag/<tag-key>

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:workspace:executeDataServiceInstanceAction

Grants the permission to run commands to perform operations on DataArts DataService clusters.

write

workspace *

g:ResourceTag/<tag-key>

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:configureDataSecurityAdministrator

Grants the permission to configure the data security administrator.

write

instance *

g:ResourceTag/<tag-key>

DataArtsStudio:instance:listResourcesByTag

Grants the permission to filter instances by tag.

list

instance *

-

-

g:TagKeys

DataArtsStudio:workspace:listResourcesByTag

Grants the permission to filter workspaces by tag.

list

workspace *

-

instance *

-

-

g:TagKeys

Each API of DataArts Studio usually supports one or more actions. Table 2 lists the actions and dependencies supported by DataArts Studio APIs.

Table 2 Actions and dependencies supported by DataArts Studio APIs

API

Action

Dependencies

GET /v1/{project_id}/workspaces/{instance_id}

DataArtsStudio:workspace:list

-

POST /v1/{project_id}/workspaces/{instance_id}

DataArtsStudio:workspace:create

-

GET /v1/{project_id}/workspaces/{instance_id}/{workspace_id}

DataArtsStudio:workspace:get

-

POST /v1/{project_id}/change-resource

DataArtsStudio:instance:resize

-

GET /v1/{project_id}/instances

DataArtsStudio:instance:list

-

POST /v1/{project_id}/instances/onekey-purchase

DataArtsStudio:instance:create

-

Resources

A resource type indicates the resources that an SCP applies to. If you specify a resource type for any action in Table 3, the resource URN must be specified in the SCP statements using that action, and the SCP applies only to resources of this type. If no resource type is specified, the Resource element is marked with an asterisk (*) and the SCP applies to all resources. You can also set condition keys in an SCP to define resource types.

The following table lists the resource types that you can define in an SCP for DataArts Studio.

Table 3 Resource types supported by DataArts Studio

Resource Type

URN

workspace

DataArtsStudio:<region>:<account-id>:workspace:<instance-id>/<workspace-id>

instance

DataArtsStudio:<region>:<account-id>:instance:<instance-id>

Conditions

A Condition element lets you specify conditions for when an SCP is in effect. It contains condition keys and operators.

  • The condition key that you specify for an SCP statement can be a global condition key or a service-specific condition key.
    • Global condition keys (with the g: prefix) apply to all actions. Cloud services do not need to provide user identity information. Instead, the system automatically obtains such information and authenticates users. For details, see Global Condition Keys.
    • Service-specific condition keys (with the abbreviation of a service name as the prefix, for example, DataArtsStudio:) apply only to DataArts Studio operations. For details, see Table 4.
    • The number of values associated with a condition key in the request context of an API call makes the condition key single-valued or multivalued. Single-valued condition keys have at most one value in the request context of an API call. Multivalued condition keys can have multiple values in the request context of an API call. For example, a request can originate from at most one VPC endpoint, so g:SourceVpce is a single-valued condition key. You can tag resources and include multiple tag key-value pairs in a request, so g:TagKeys is a multivalued condition key.
  • An operator, a condition key, and a condition value together constitute a complete condition statement. An SCP becomes in effect only when its request conditions are met. For supported operators, see Operators.

The following table lists the condition keys that you can define in an SCP for DataArts Studio. You can include these condition keys to specify conditions for when your SCP statement is in effect.

Table 4 Service-specific condition keys supported by DataArts Studio

Service-specific Condition Key

Type

Single-valued/Multivalued

Description

DataArtsStudio:EnablePublicAccess

boolean

Single-valued

Whether the service is accessible over the Internet

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback