Some MaxCompute resource management operations can only be performed in the management console. Resource Access Management (RAM) controls who can run these operations. This topic lists all console operations integrated with RAM, their ARN formats, access levels, and example access policies.
Permissions
The following rules apply to ListProjects and GetProject:
Allow (
"Effect": "Allow"): The RAM user can view all MaxCompute projects and their details in the specified region under the Alibaba Cloud account, including projects the user has not joined.Deny (
"Effect": "Deny"): The RAM user cannot view any MaxCompute project in the specified region, including projects the user has joined.No policy defined: The RAM user can view only the projects they have joined and their details in the specified region. Permissions for managing network connectivity and tenant-level users and roles can also be granted through MaxCompute tenant-level role authorization. If a RAM policy is configured with
Allow, authentication succeeds. If no RAM policy is defined, the tenant-level role permissions take effect. If a RAM policy is configured withDeny, authentication fails.
The Access level column classifies each action as List, Read, Write, or Permissions management. Use this to identify read-only versus write actions when applying least-privilege policies.
Overview page — number of jobs
Category | Action | Access level | ARN | ARN example | Description |
Overview page — number of jobs |
| Read |
|
| View the number of jobs in a specific status. |
SQL analysis
Category | Action | Access level | ARN | ARN example | Description |
SQL analysis |
| Read |
|
| Get table information. |
| Read | Get function information. | |||
| List | Get table partition information. | |||
| Read | Preview table data. |
Project management
Category | Action | Access level | ARN | ARN example | Description |
Project management |
| List |
|
| View all projects in the specified region within the Alibaba Cloud account. |
| Write | Create a project. | |||
| Read |
|
| Get information about a project. | |
| Write | Delete a project. | |||
| Write | Freeze or restore a project. | |||
| Write | Change the default quota of a project. | |||
| List | View the external network configuration. | |||
| Write | Update the external network configuration. | |||
| Write | Create a project-level role. | |||
| Write | Delete a project-level role. | |||
| Write | Update a project-level role. | |||
| Permissions management | Set a project administrator (the Admin role). | |||
| Permissions management | Set a project super administrator (the Super_Administrator role). | |||
| Permissions management | Manage members of a project-level role. | |||
| List |
|
| Get the list of RAM users. | |
| Read |
|
| Get ACL authorization information for a project-level role. | |
| Read | Get ACL authorization for a role on an object. | |||
| Read | Get the policy authorization content for a role. | |||
| List | Get the list of resources. | |||
| List | Get the list of project-level roles. | |||
| Write |
|
| Create a package. | |
| Write | Delete a package. | |||
| Read | Get a package. | |||
| List | Get packages in batches. | |||
| Write | Update a package. | |||
| List |
|
| List user permissions in STRING format. | |
| List | List user permissions in JSON format. | |||
| List | List all users in a project, including their roles and security information. | |||
| List | List all users in a project. | |||
| Write |
|
| Create a schema. | |
| List | View the list of schemas. | |||
| Write | Delete a schema. | |||
| List | View the list of functions. | |||
| Read | View the list of trusted projects. | |||
| Read | Get ACL authorization information. | |||
| Read |
|
| Check whether a service-linked role (SLR) is authorized for the data encryption feature. | |
| Read |
|
| Get the result of an asynchronous API call. Required when some APIs return results asynchronously to avoid timeout issues. An example use case is retrieving a user list based on a project-level role. | |
| List |
|
| View the list of tables. | |
| List |
|
| View role members. |
Quota management
Category | Action | Access level | ARN | ARN example | Description |
Quota management |
| Write |
|
| Modify a level-1 or level-2 quota. |
| Write | Modify a quota plan. | |||
| Write | Create a level-2 custom quota. | |||
| Write | Modify a time plan. | |||
| Write | Create a quota plan. | |||
| Write | Delete a quota plan. | |||
| Write | Create a time plan. | |||
| List |
|
| View the list of level-2 quota rules. | |
| Write | Add a level-2 quota rule. | |||
| Read |
|
| View a level-2 quota rule. | |
| Write | Remove a level-2 quota rule. | |||
| Write | Modify a level-2 quota rule. | |||
| Write |
|
| Create a quota. | |
| Write | Delete a quota. | |||
| Read | Get a quota. | |||
| List | Query the list of quotas. | |||
| List | Query the list of quota plans. | |||
| Read | Get a quota plan. | |||
| Read | Get a time-based quota plan. |
Notebook management
Category | Action | Access level | ARN | ARN example | Description |
Notebook management |
| Write |
|
| Create a Notebook instance template. |
| List | View the list of Notebook instance templates. | |||
| Read | View the details of a Notebook instance template. | |||
| Write | Update a Notebook instance template. | |||
| Write | Delete a Notebook instance template. | |||
| Write |
|
| Create and attach storage for a Notebook instance. | |
| List | View the storage attached to a Notebook instance. | |||
| Write |
|
| Create a Notebook instance. | |
| List | View the list of Notebook instances. | |||
| Read |
|
| View the details of a Notebook instance. | |
| Write | Start a Notebook instance. | |||
| Write | Stop a Notebook instance. | |||
| Write | Update a Notebook instance. | |||
| Write | Delete a Notebook instance. |
Resource observation
Category | Action | Access level | ARN | ARN example | Description |
Resource observation |
| Read |
|
| View monitoring curves, including open storage, external table cache, job observation, and storage trends. |
Resource observation (computing resources) |
| Read |
|
| View the usage details of computing resources or data transmission resources. |
| Read |
|
| View the resource usage of computing resources. | |
Resource observation (storage resources) |
| Read |
|
| Get the summary data of storage usage for the current day. |
| Read | Get the summary data of storage distribution for the current day. | |||
| Read | Get storage usage change data. | |||
| List | Get project storage details. | |||
| Read |
|
| Get storage costs (list price). | |
| Read |
|
| Get daily storage usage. | |
| List |
|
| Get table storage details. | |
| List | Get partition storage details. | |||
Resource observation (Data Transmission Service) |
| Read |
|
| View the top-K tables by access frequency for data transmission resources. |
| Read | View the top-K source IP addresses by access frequency for data transmission resources. | |||
| Read | View the access frequency information of tables for data transmission resources. | |||
| List | View the data transmission details of data transmission resources. | |||
| Read | View the data transmission volume summary of data transmission resources. | |||
| Read |
|
| View the resource usage of Data Transmission Service. | |
| Read |
| View the top-N details of resource usage for Data Transmission Service. | ||
Resource observation (job performance) |
| List |
|
| Get the top jobs by resource consumption and duration. |
Job O&M
Category | Action | Access level | ARN | ARN example | Description |
Job O&M |
| List |
|
| View the list of job information. |
| List | View the list of job snapshots. | |||
| Write | Stop jobs. | |||
| Read | View the summary of job resource information. | |||
| List | View the list of running jobs. | |||
| Read | View the summary of job statuses. | |||
| Read |
|
| Get the Logview of a job. | |
| Read | View the computing resource usage of a job. | |||
| Read |
|
| View the computing resource usage distribution of a job. | |
Job Insights — similar job analysis |
| Read |
|
| Get information about a single job by its instance ID. |
| List |
|
| View the list of similar jobs. | |
Job observation |
| List |
|
| View job-related metrics. |
View complete Logview logs |
| Read |
|
| View complete Logview logs |
| Read | ||||
| Read | ||||
| Read | ||||
| Read | ||||
| Write | ||||
| Read | ||||
| Read | ||||
| Read | ||||
Console feature gray check |
| Read |
|
| Check the gray release status of console features. |
Migration services (MMA)
Category | Action | Access level | ARN | ARN example | Description |
Migration services |
| List |
|
| View the list of data sources. |
| Read | Get the details of a data source. | |||
| Write | Create a data source. | |||
| Write | Update a data source. | |||
| Write | Delete a data source. | |||
| Write | Create a metadata update task. | |||
| List | Get the list of migration plans. | |||
| Read | Get a migration plan. | |||
| Write | Create a migration plan. | |||
| Write | Delete a migration plan. | |||
| Write | Start a migration plan. | |||
| Write | Stop a migration plan. | |||
| Write | Retry a migration plan. | |||
| List | Get the list of migration tasks. | |||
| Read | Get a migration task. | |||
| List | Get the list of migration task logs. | |||
| Read | Get an asynchronous task. | |||
| Write | Update the status of an asynchronous task. | |||
| Write | Delete an asynchronous task. | |||
| List | Get the list of databases in a data source. | |||
| Read | Get a database in a data source. | |||
| List | Get the list of tables in a data source. | |||
| Read | Get a table in a data source. | |||
| List | Get the list of partitions in a data source. | |||
| Read | Get a partition in a data source. | |||
| List |
|
| Get the list of agents running under the Alibaba Cloud account. | |
| Write |
|
| Create an authentication file. | |
| Read |
|
| View the progress of a migration task. | |
| Read | View the speed of a migration task. |
Cost management
Category | Action | Access level | ARN | ARN example | Description |
Cost analysis |
| Read |
|
| View cost analysis data. |
| Read | View cost analysis data by date. | |||
| Read | View daily cost analysis data by item. | |||
| Read |
|
| View computing usage analysis. | |
| Read | View computing usage analysis by usage type. | |||
| List | View computing usage analysis by instance. | |||
| List | View computing usage analysis by signature. | |||
| Read |
|
| View storage usage analysis by date. | |
| Read | View storage usage analysis by type. | |||
| List |
|
| List instances. |
Disaster recovery management
Category | Action | Access level | ARN | ARN example | Description |
Disaster recovery management |
| Write |
|
| Create a zone-disaster recovery. |
| Write |
|
| Delete a cross-region disaster recovery. | |
| Write |
|
| Delete a zone-disaster recovery. | |
| Read |
|
| Get project-level observation information about cross-region disaster recovery. | |
| Read |
|
| Get project-level observation information about zone-disaster recovery. | |
| List |
|
| Get available backup regions for cross-region disaster recovery. | |
| List |
|
| Get project-level observation information about cross-region disaster recovery in batches. | |
| List |
|
| Get project-level observation information about zone-disaster recovery in batches. | |
| Write |
|
| Initiate a cross-region disaster recovery switchover. | |
| Write |
|
| Create a cross-region disaster recovery. |
Tenant management
Category | Action | Access level | ARN | ARN example | Description |
Tenant management — tenant properties |
| Read |
|
| View tenant configurations. |
| Write |
|
| Modify tenant configurations. | |
Tenant management — network connectivity (NetworkLink) |
| List |
|
| View all network connections within a tenant. |
| Write | Create a network connection. | |||
| Read |
|
| Get information about a network connection. | |
| Write | Delete a network connection. | |||
Tenant management — image management |
| List |
|
| Query the list of custom images. |
| Write |
| Create a custom image. | ||
| Read |
|
| Query information about a custom image. | |
| Write |
| Delete a custom image. | ||
Tenant management — external data sources |
| List |
|
| List projects to which tenant-side resources are bound. |
| Write | Update a project to which a tenant-side resource is bound. | |||
| Write |
|
| Update an external data source. | |
| Write | Delete an external data source. | |||
| Read | Get an external data source. | |||
| List |
|
| View the list of external data sources. | |
| Write | Create an external data source. | |||
Tenant-level user and role management |
| List |
|
| View the list of tenant-level users. |
| Write | Add tenant-level users. | |||
| Write | Delete tenant-level users. | |||
| Permissions management | Modify the tenant-level role of a single user. | |||
| List |
|
| View the list of tenant-level roles. | |
| Write | Create a tenant-level role. | |||
| Permissions management |
|
| Update the policy authorization of a tenant-level role. | |
| Read | Get the policy authorization of a single tenant-level role. | |||
| Write | Delete a tenant-level role. |
Intelligent optimization
Intelligent materialized views — recommendation and management
Category | Action | Access level | ARN | ARN example | Description |
Materialized view |
| List |
|
| View global configuration switches. Currently, only materialized views are supported. |
| Read |
|
| Get a global configuration switch. Currently, only materialized views are supported. | |
| Write | Close a global configuration switch. Currently, only materialized views are supported. | |||
| Write | Modify a global configuration switch. Currently, only materialized views are supported. | |||
| List |
|
| View the list of projects for which materialized view recommendation is enabled. | |
| Read | Check the list of projects for which materialized view recommendation is enabled. | |||
| List | View the list of recommended materialized views. | |||
| Read | View information about a recommended materialized view. | |||
| Write |
|
| Add a project for which materialized view recommendation is enabled. | |
| Write | Remove a project from materialized view recommendation. | |||
| Write | Create a materialized view. | |||
| Read | View the creation status of a materialized view. | |||
| List | View all created materialized views. | |||
| Read | View information about a materialized view. | |||
| Write | Update a materialized view. | |||
| Write | Delete a materialized view. | |||
| List | View the list of recommended materialized views for a project. | |||
| Read | View information about a recommended materialized view for a project. | |||
| List | View the list of recommended materialized views for a project. | |||
| Read | View information about a recommended materialized view for a project. | |||
| List | View job information related to a recommended materialized view. | |||
| List | View job information related to a materialized view. | |||
| Read |
|
| Get benefit information of materialized views. | |
| Read |
|
| Get benefit information of materialized views for a specific project. | |
| Read |
|
| Get benefit information of recommended materialized views. | |
| Read |
|
| Get benefit information of recommended materialized views for a specific project. |
Intelligent materialized views — automatic materialized views
Category | Action | Access level | ARN | ARN example | Description |
Intelligent optimization - intelligent materialized views - automatic materialized views |
| Read |
|
| View the benefits of automatic materialized views. |
| Read |
|
| View the benefits of automatic materialized views for a specific project. | |
| List |
|
| View the list of automatic materialized views. | |
| List |
|
| View the list of automatic materialized views for a specific project. | |
| Read |
|
| View the benefit trend chart of automatic materialized views. | |
| Read |
|
| View the benefit trend chart of automatic materialized views for a specific project. | |
| Read |
|
| View the details of automatic materialized views for a specific project. | |
| List |
|
| View the configuration information of automatic materialized views for all projects. | |
| Write |
|
| Update the configuration of automatic materialized views for a project. |
Computing resource configuration optimization
Category | Action | Access level | ARN | ARN example | Description |
Cost optimization — upgrade/downgrade recommendations for subscription computing resources |
| Write |
|
| Initiate a request to analyze quota group usage for cost optimization (subscription). |
| Read | Get the result of quota group usage analysis for cost optimization (subscription). | |||
| Write | Initiate a request to evaluate the current situation for cost optimization (subscription). | |||
| Read | Get the result of the current situation evaluation for cost optimization (subscription). | |||
| Write | Initiate a request for recommended configurations for cost optimization (subscription). | |||
| Read | Get the result of recommended configurations for cost optimization (subscription). | |||
Cost optimization — upgrading/downgrading a pay-as-you-go project to a subscription quota |
| List |
|
| Get the list of projects for cost optimization (pay-as-you-go). |
| Write |
|
| Initiate a request to analyze project and quota group usage for cost optimization (pay-as-you-go). | |
| Read | Get the result of project and quota group usage analysis for cost optimization (pay-as-you-go). | |||
| Write | Initiate a request to evaluate the current situation for cost optimization (pay-as-you-go). | |||
| Read | Get the result of the current situation evaluation for cost optimization (pay-as-you-go). | |||
| Write | Initiate a request for recommended configurations for cost optimization (pay-as-you-go). | |||
| Read | Get the result of recommended configurations for cost optimization (pay-as-you-go). |
Tiered storage configuration optimization
Category | Action | Access level | ARN | ARN example | Description |
Cost optimization — storage cost optimization |
| Read |
|
| Get storage cost optimization suggestions. |
| Read |
|
| Get storage cost optimization suggestions for a specific project. | |
| Read |
|
| Get a storage cost optimization summary. | |
| Read |
|
| Get a storage cost optimization summary for a specific project. | |
| Read |
|
| Get storage usage comparison data. |
Condition element
The Condition element specifies the conditions under which a policy takes effect. A condition clause consists of a condition operator, a condition key, and a condition value. For more information, see Conditions.
MaxCompute supports the following condition operators and condition keys:
Condition operator types
Condition operator type | Supported type |
Boolean | Bool |
Condition keys
Condition key | Type | Description |
| Bool | Restricts whether a MaxCompute project must be encrypted during creation. Valid values: |
Access policies
RAM supports two types of access policies: system policies managed by Alibaba Cloud and custom policies that you create.
System policies
MaxCompute provides two system policies:
AliyunMaxComputeFullAccess: Grants all permissions listed in this topic. This policy may grant excessive permissions — attach it to RAM users or RAM roles with caution.AliyunMaxComputeReadOnlyAccess: Grants allListandGetpermissions listed in this topic. Attach this policy to RAM users or RAM roles that only need read access.
Custom policies
Create custom policies in the RAM console for fine-grained permission management. For more information, see Create a custom policy.
A RAM policy consists of a Version field and one or more Statement entries. Each statement includes an Effect, one or more Action values, a Resource (Alibaba Cloud Resource Name), and an optional Condition. The Action and Resource values come from the permission tables above. The Condition value comes from the Condition element section. For more information about policy syntax, see Policy structure and syntax.
The following are example custom policies.
Policy for managing MaxCompute project objects
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": [
"odps:ListProjects",
"odps:GetProject",
"odps:CreateProject",
"odps:DeleteProject",
"odps:UpdateProjectDefaultQuota",
"odps:UpdateProjectStatus",
"odps:UpdateUsersToSuperAdmin",
"odps:ListOutboundInternetAddress",
"odps:UpdateOutboundInternetAddress"
],
"Resource": "*"
}
]
}Policy for managing MaxCompute quota objects
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": [
"odps:UpdateQuota",
"odps:UpdateQuotaPlan",
"odps:UpdateSubQuotas",
"odps:UpdateQuotaSchedule",
"odps:CreateQuotaPlan",
"odps:DeleteQuotaPlan",
"odps:CreateQuotaSchedule",
"odps:ListQuotaRoutingRules",
"odps:CreateQuotaRoutingRule",
"odps:GetQuotaRoutingRule",
"odps:RemoveQuotaRoutingRule",
"odps:UpdateQuotaRoutingRule"
],
"Resource": "*"
}
]
}Policy to deny creation of unencrypted MaxCompute projects
{
"Version": "1",
"Statement": [
{
"Effect": "Deny",
"Action": "odps:CreateProject",
"Resource": "*",
"Condition": {
"Bool": {
"odps:Encryption": [
"false"
]
}
}
}
]
}Policy to allow viewing MaxCompute resource observation data
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": [
"odps:GetMetric",
"odps:GetQuotaUsage",
"odps:GetStorageSummaryCompared",
"odps:GetStorageSizeSummary",
"odps:SumDailyBillsByItem",
"odps:SumStorageMetricsByDate",
"odps:GetStorageAmountSummary",
"odps:ListStorageProjectsInfo",
"odps:ListTopJobInfo",
"odps:ListStorageTablesInfo",
"odps:ListStoragePartitionsInfo",
"odps:GetTableAccessInfoTopK",
"odps:GetTableIpAccessInfoTopK",
"odps:GetTableAccessInfo",
"odps:ListTableSlotDetail",
"odps:GetTunnelThroughputSummary"
],
"Resource": "*"
}
]
}