RAM authorization

Updated at:

Resource Access Management (RAM) is a service provided by Alibaba Cloud to manage user identities and resource access permissions. Using RAM helps you avoid sharing your Alibaba Cloud account keys with other users and allows you to grant users the least privilege access. RAM uses permission policies to define authorizations. This topic describes the actions, resources, and conditions that MaxCompute defines for RAM permission policies. The RamCode of MaxCompute is odps,maxcompute , and the supported authorization granularity is RESOURCE . For the resource authorization scope of each action, see the Action table.

General structure of a policy

Permission policies support the JSON format. The following example shows the structure of a policy that uses the Action element. Values in angle brackets (<>) are placeholders. Replace them with actual values.

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "<Effect>",
      "Action": "<Action>",
      "Resource": "<Resource>",
      "Condition": {
        "<Condition_operator>": {
          "<Condition_key>": [
            "<Condition_value>"
          ]
        }
      }
    }
  ]
}        

The following list describes the fields and placeholders in the policy:

  • Effect: Specifies the authorization result. Valid values: Allow and Deny.

  • Action: Specifies one or more operations that are allowed or denied.

  • Resource: Specifies the specific objects affected by the operations. You can use Alibaba Cloud Resource Names (ARNs) to describe specific resources.

  • Condition: Specifies the conditions for the authorization to take effect. This field is optional.

  • Condition operator: Specifies the conditional operators. Different types of conditions support different conditional operators.

  • Condition_key: Specifies the condition keys.

  • Condition_value: Specifies the condition values.

Action

The following table lists the RAM actions defined by MaxCompute. These actions can be used in the Action element of RAM permission policies.

  • Action: A specific RAM permission point. In most cases, it has the same name as the corresponding OpenAPI.

  • OpenAPI: The OpenAPI associated with the RAM action.

  • Access level: Write, Read, List, or Other.

  • Resource type: The types of resources for which the action supports authorization. Details are as follows:

    • Required resource types are prefixed with an asterisk (*). Specify the corresponding ARN in the Resource element of the policy.

    • When 'All Resources' is displayed and the resource ARN is *, set Resource in the policy to *.

  • Condition key: The product-level condition keys supported by the action. Common condition keys are not included. For more information, see Common condition keys.

  • Dependent action: Other action permissions required to perform the action.

Action

OpenAPI

Access level

Resource type

Condition key

Dependent action

odps:GetAutoClusterEstimatedUtility GetAutoClusterEstimatedUtility get

*All Resource

*

None None
odps:GetAutoClusterUtilityByProject GetAutoClusterUtilityByProject get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:ApplyAutoCluster ApplyAutoCluster update

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:CreateMmsFetchMetadataJob CreateMmsFetchMetadataJob create

*Project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:QueryDataAnalysisGraph QueryDataAnalysisGraph create

*All Resource

*

None None
odps:QueryQuota QueryQuota get

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:ListTenantObjectBindings ListTenantObjectBindingsByAsync list

*All Resource

*

None None
odps:GetSparkSession GetSparkSession get

*All Resource

*

None None
odps:UpdatePackage UpdatePackage update

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetStorageSuggestion GetStorageSuggestion list

*All Resource

*

None None
odps:GetImage GetImage get

*Image

acs:odps:{#regionId}:{#accountId}:image/{#name}

None None
odps:ListLivyServer ListLivyServer list

*All Resource

*

None None
odps:GetQuotaSchedule GetQuotaSchedule get

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:GetAutoClusterSuggestion GetAutoClusterSuggestion get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:CreateQuotaPlan CreateComputeQuotaPlan create

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:RespondAgentAction RespondAgentAction create

*All Resource

*

None None
odps:GetAutoClusterUtility GetAutoClusterUtility get

*All Resource

*

None None
odps:UpdateProjectTrustedProjects UpdateProjectTrustedProjects update

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetRoleAcl GetRoleAcl get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:UpdateProjectIpWhiteList UpdateProjectIpWhiteList update

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:ListMmsTasks ListMmsTasks list

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:ListRoles ListRoles list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetQuotaUsage GetQuotaUsage get

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#nickName}

None None
odps:ListQuotasPlans ListQuotasPlans get

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:ListTenantUsers ListTenantUsers list

*All Resource

*

None None
odps:QueryParentTunnelMetric QueryParentTunnelMetric list

*All Resource

*

None None
odps:RemoveMyFocusResource RemoveMyFocusResource delete

*All Resource

*

None None
odps:UpdateTenantRolesToUser UpdateTenantRolesToUser update

*All Resource

*

None None
odps:RefreshSubUsers RefreshSubUsers update

*All Resource

*

None None
odps:ListAutoClusterJobInfo ListAutoClusterJobInfo list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetAutoMvUtilityTrendByProject GetAutoMvUtilityTrendByProject get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetTenantUser GetTenantUser get

*All Resource

*

None None
odps:DeleteMmsDataSource DeleteMmsDataSource delete

*Project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:GetQuotaSchedule GetComputeQuotaSchedule get

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:ListStorageTablesInfo ListStorageTablesInfo get

*Storage

acs:odps:{#regionId}:{#accountId}:storage/{#project}

None None
odps:GetEffectivePlan GetEffectivePlan get

*All Resource

*

None None
odps:ListAutoMvProjects ListAutoMvProjects list

*All Resource

*

None None
odps:ListMvRecommendations ListMvRecommendations list

*All Resource

*

None None
odps:GetQuota GetQuota get

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:GetMvRecommendationsUtilityByProject GetMvRecommendationsUtilityByProject get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetNetworkLink GetNetworkLink get

*NetworkLink

acs:odps:{#regionId}:{#accountId}:networklink/{#networkLinkName}

None None
odps:TagResources TagResources update

*All Resource

*

None None
odps:ListImages ListImages list

*All Resource

*

None None
odps:GetStorageSuggestionSummaryByProject GetStorageSuggestionSummaryByProject get

*Storage

acs:odps:{#regionId}:{#accountId}:storage/{#project}

None None
odps:QueryTunnelMetricDetail QueryTunnelMetricDetail list

*Tunnel

acs:odps:{#regionId}:{#accountId}:tunnel/{#metric}

None None
odps:CreateMmsDataSource CreateMmsDataSource create

*All Resource

*

None None
odps:GetJobInfo GetJobInfo get

*Job

acs:odps:{#regionId}:{#accountId}:job/{#instanceId}

None None
odps:StopMmsJob StopMmsJob update

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:GetJobAnalyzeQuotaUsage GetJobAnalyzeQuotaUsage get

*Job

acs:odps:{#regionId}:{#accountId}:job/{#instanceId}

None None
odps:ListAutoMv ListAutoMv list

*All Resource

*

None None
odps:UpdateTenantSetting UpdateTenantSetting update

*All Resource

*

None None
odps:UpdateQuotaPlan UpdateQuotaPlan update

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:GetLivyServer GetLivyServer get

*All Resource

*

None None
odps:UpdateOutboundInternetAddress UpdateOutboundInternetAddress update

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#projectName}

None None
odps:GetExistUserResourceRegion GetExistUserResourceRegion get

*All Resource

*

None None
odps:GetFunctionInfo GetFunctionInfo get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:ListTables ListTables list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:CheckTunnelAdditional CheckTunnelAdditional get

*All Resource

*

None None
odps:GetMaterializedViewsUtility GetMaterializedViewsUtility get

*All Resource

*

None None
odps:UpdateProjectSecurity UpdateProjectSecurity update

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:ListStoragePartitionsInfo ListStoragePartitionsInfo get

*Storage

acs:odps:{#regionId}:{#accountId}:storage/{#project}

None None
odps:GetIfSupportMultiAz GetIfSupportMultiAz get

*All Resource

*

None None
odps:ListProjects ListProjects list

Project

acs:odps:{#regionId}:{#accountId}:projects/*

None None
odps:UpdateQuotaSchedule UpdateComputeQuotaSchedule update

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:SumStorageMetricsByDate SumStorageMetricsByDate none

*All Resource

*

None None
odps:ListUsersByRole ListUsersByRole list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:ListAutoClusterInfoByProject ListAutoClusterInfoByProject list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:UpdateProjectBasicMeta UpdateProjectBasicMeta update

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetMvRecommendation GetMvRecommendation list

*All Resource

*

None None
odps:ListQuotaRoutingRules ListQuotaRoutingRules list

*All Resource

*

None None
odps:ListResourcePackage ListResourcePackage list

*All Resource

*

None None
odps:ListPackages ListPackages list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:SumComputeMetricsByRecord SumComputeMetricsByRecord none

*All Resource

*

None None
odps:UpdateMmsDb UpdateMmsDb update

*Project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:CreateLivyServer CreateLivyServer create

*All Resource

*

None None
odps:UpdateMmsTables UpdateMmsTables update

*Project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:GetUserInfoByProject GetUserInfoByProject get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetQuotaPlan GetComputeQuotaPlan get

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:GetMaterializedView GetMaterializedView get

*All Resource

*

None None
odps:CreateQuotaRoutingRule CreateQuotaRoutingRule create

*All Resource

*

None None
odps:GetAutoMvUtility GetAutoMvUtility get

*All Resource

*

None None
odps:GetMmsTable GetMmsTable get

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:GetRunningJobs GetRunningJobs list

*All Resource

*

None None
odps:ListTagResources ListTagResources list

*All Resource

*

None None
odps:ListSimilarJobInfos ListSimilarJobInfos list

*All Resource

*

None None
odps:SumBills SumBills none

*All Resource

*

None None
odps:GetStorageSummaryCompared GetStorageSummaryCompared get

*All Resource

*

None None
odps:GetEffectivePlan GetComputeEffectivePlan get

*QuotaPlan

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:StartMmsJob StartMmsJob update

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:ListUsersInfoByProject ListUsersInfoByProject list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:UpdateQuotaSchedule UpdateQuotaSchedule update

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:AddMyFocusResource AddMyFocusResource create

*All Resource

*

None None
odps:GetMaterializedViewsUtilityByProject GetMaterializedViewsUtilityByProject get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:RemoveQuotaRoutingRule RemoveQuotaRoutingRule delete

*QuotaRoutingRule

acs:odps:{#regionId}:{#accountId}:quotas/{#quotaPath}

None None
odps:ListStorageProjectsInfo ListStorageProjectsInfo list

*All Resource

*

None None
odps:ListQuotas ListQuotas get

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/*

None None
odps:CreateNetworkLink CreateNetworkLink create

*All Resource

*

None None
odps:UpdateProjectDefaultQuota UpdateProjectDefaultQuota update

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:AddTenantUsers AddTenantUsers update

*All Resource

*

None None
odps:GetMvRecommendationsUtility GetMvRecommendationsUtility get

*All Resource

*

None None
odps:ListUserResource ListUserResource list

*All Resource

*

None None
odps:ListJobSnapshotInfos ListJobSnapshotInfos list

*All Resource

*

None None
odps:GetMmsFetchMetadataJob GetMmsFetchMetadataJob get

*Project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:GetEcsQuotaUsage GetEcsQuotaUsage get

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#nickName}

None None
odps:GetRoleAclOnObject GetRoleAclOnObject get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:RemoveNetworkLink RemoveNetworkLink delete

*NetworkLink

acs:odps:{#regionId}:{#accountId}:networklink/{#networkLinkName}

None None
odps:GetMmsProgress GetProgress get

*All Resource

*

None None
odps:GetAclAuthInfo GetAclAuthInfo get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:CreateMmsJob CreateMmsJob create

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:UpdateQuotaPlan UpdateComputeQuotaPlan update

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:CreateRole CreateRole create

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#projectName}

None None
odps:ListConversations ListConversations list

*All Resource

*

None None
odps:UpdateProjectModelTier UpdateProjectModelTier update

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:ListAutoClusterInfo ListAutoClusterInfo list

*All Resource

*

None None
odps:SumBillsByDate SumBillsByDate none

*All Resource

*

None None
odps:ListMvRecommendationsByProject ListMvRecommendationsByProject list

*All Resource

*

None None
odps:ListMvRecommendationJobInfo ListMvRecommendationJobInfo list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#projectName}

None None
odps:QueryStorageMetric QueryStorageMetric list

*Storage

acs:odps:{#regionId}:{#accountId}:storage/{#metric}

None None
odps:GetAutoMvUtilityTrend GetAutoMvUtilityTrend get

*All Resource

*

None None
odps:UpdateProjectStatus UpdateProjectStatus update

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetStorageSuggestionByProject GetStorageSuggestionByProject get

*Storage

acs:odps:{#regionId}:{#accountId}:storage/{#project}

None None
odps:SumDailyBillsByItem SumDailyBillsByItem none

*All Resource

*

None None
odps:UpdateQuotaRoutingRule UpdateQuotaRoutingRule update

*QuotaRoutingRule

acs:odps:{#regionId}:{#accountId}:quotas/{#quotaPath}

None None
odps:RetryMmsTask RetryMmsTask update

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:ListUsers ListUsers list

*All Resource

*

None None
odps:PreviewTable PreviewTable list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetAutoClusterInfo GetAutoClusterInfo get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:CreateSchema CreateSchema create

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetMmsDataSource GetMmsDataSource get

*Project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:ListTablePartitions ListTablePartitions list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetMmsPartition GetMmsPartition get

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:GetMmsAsyncTask GetMmsAsyncTask get

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:GetProject GetProject get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:ListAllTenantRoles ListAllTenantRoles list

*All Resource

*

None None
odps:ListAutoMvByProject ListAutoMvByProject list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:DeleteQuotaPlan DeleteQuotaPlan delete

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:ListOutboundInternetAddress ListOutboundInternetAddress list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#projectName}

None None
odps:ListArtifacts ListArtifacts list

*All Resource

*

None None
odps:RemoveImage RemoveImage delete

*Image

acs:odps:{#regionId}:{#accountId}:image/{#name}

None None
odps:GetResourceInfo GetResourceInfo get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetTableInfo GetTableInfo get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:TriggerMmsTimer TriggerMmsTimer create

*Project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:UpdateMmsDataSource UpdateMmsDataSource update

*Project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:ListInstances ListInstances list

*All Resource

*

None None
odps:GetMmsNetworkBandwidth GetMmsNetworkBandwidth get

*All Resource

*

None None
odps:CreateSparkSession CreateSparkSession create

*All Resource

*

None None
odps:CreateTenantRole CreateTenantRole create

*All Resource

*

None None
odps:ApplyComputeQuotaPlan ApplyComputeQuotaPlan update

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:DeleteRole DeleteRole delete

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#projectName}

None None
odps:GetStorageAmountSummary GetStorageAmountSummary get

*All Resource

*

None None
odps:ListPeriodicTasks ListPeriodicTasks list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:AddImage AddImage create

*All Resource

*

None None
odps:ListMmsDbs ListMmsDbs list

*Project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:LivyProxy LivyProxy none

*All Resource

*

None None
odps:GetMmsJob GetMmsJob get

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:RemoveTenantUsers RemoveTenantUsers update

*All Resource

*

None None
odps:CheckRamRole CheckRamRole get

*All Resource

*

None None
odps:GetJobAnalyzeQuotaDistribution GetJobAnalyzeQuotaDistribution get

*Job

acs:odps:{#regionId}:{#accountId}:job/{#quotaNickname}

None None
odps:ListMmsPartitions ListMmsPartitions list

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:DeleteMmsTimer DeleteMmsTimer delete

*Project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:ListJobMetric ListJobMetric list

*All Resource

*

None None
odps:GetLogviewDownloadUrl GetLogviewDownloadUrl get

*JobInsight

acs:odps:{#regionId}:{#accountId}:jobInsight/{#project}

None None
odps:ListMmsTimerLogs ListMmsTimerLogs list

*Project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:GetJobResourceUsage GetJobResourceUsage list

*All Resource

*

None None
odps:ListAutoClusterSuggestionByProject ListAutoClusterSuggestionByProject list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetMetric GetMetric get

*Metric

acs:odps:{#regionId}:{#accountId}:metric/{#category}

None None
odps:ListPeriodicTaskJobs ListPeriodicTaskJobs list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:CreateMmsTimer CreateMmsTimer create

*Project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:RemoveTenantRole RemoveTenantRole delete

*All Resource

*

None None
odps:ListMmsDataSources ListMmsDataSources list

*All Resource

*

None None
odps:ListComputeMetricsBySignature ListComputeMetricsBySignature none

*All Resource

*

None None
odps:GetAutoMvDetail GetAutoMvDetail get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:UpdateTenantRolePolicy UpdateTenantRolePolicy update

*All Resource

*

None None
odps:QueryQuotaMetric QueryQuotaMetric list

*Quota

acs:odps:{#regionId}:{#accountId}:quota/{#metric}

None None
odps:ListAutoClusterSuggestionJobInfo ListAutoClusterSuggestionJobInfo list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetStorageSuggestionEstimateInfo GetStorageSuggestionEstimateInfo list

*All Resource

*

None None
odps:GetAutoClusterEstimatedUtilityByProject GetAutoClusterEstimatedUtilityByProject get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetJobCount GetJobCount get

*All Resource

*

None None
odps:GetAutoMvUtilityByProject GetAutoMvUtilityByProject get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:ListTopJobInfo ListTopJobInfo list

*All Resource

*

None None
odps:GetQuotaRoutingRule GetQuotaRoutingRule get

*QuotaRoutingRule

acs:odps:{#regionId}:{#accountId}:quotas/{#quotaPath}

None None
odps:KillJobs KillJobs update

*All Resource

*

None None
odps:ListJobInfos ListJobInfos list

*All Resource

*

None None
odps:DeleteQuotaPlan DeleteComputeQuotaPlan delete

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:GetMmsSpeed GetSpeed get

*All Resource

*

None None
odps:GetConversationMessages GetConversationMessages get

*All Resource

*

None None
odps:CreateProject CreateProject create

*Project

acs:odps:{#regionId}:{#accountId}:project/*

odps:Encryption

None
odps:DeleteMmsJob DeleteMmsJob delete

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:UpdateAutoMvProject UpdateAutoMvProject update

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:UpdateMmsTable UpdateMmsTable update

*Project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:ListMyFocusResource ListMyFocusResource list

*All Resource

*

None None
odps:ListNetworkLinks ListNetworkLinks list

*All Resource

*

None None
odps:GetStorageSuggestionEstimateSummary GetStorageSuggestionEstimateSummary get

*All Resource

*

None None
odps:UpdateLivyServer UpdateLivyServer update

*All Resource

*

None None
odps:ListMmsTimers ListMmsTimers list

*Project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:UpdateMmsTimer UpdateMmsTimer update

*Project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:ListMmsTables ListMmsTables list

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:GetTrustedProjects GetTrustedProjects get

Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetStorageSuggestionSummary GetStorageSuggestionSummary list

*All Resource

*

None None
odps:GetJobLogView GetJobLogView get

*Job

acs:odps:{#regionId}:{#accountId}:job/{#instanceId}

None None
odps:GetTenantRolePolicy GetTenantRolePolicy get

*All Resource

*

None None
odps:UpdateSubQuotas UpdateComputeSubQuota update

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:GetPackage GetPackage get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:CreateMaterializedView CreateMaterializedView create

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#projectName}

None None
odps:DeleteMaterializedView DeleteMaterializedView delete

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#projectName}

None None
odps:ListMmsTaskLogs ListMmsTaskLogs list

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:ListSchemas ListSchemas list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:ListAutoClusterSuggestion ListAutoClusterSuggestion list

*All Resource

*

None None
odps:GetMmsTask GetMmsTask get

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:ListFunctions ListFunctions list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetQuotaPlan GetQuotaPlan get

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:UpdateTenantUserRoles UpdateTenantUserRoles update

*All Resource

*

None None
odps:CreateQuota CreateQuota create

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/*

None None
odps:ListQuotasPlans ListComputeQuotaPlan list

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:DeleteSchema DeleteSchema delete

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:ListComputeMetricsByInstance ListComputeMetricsByInstance list

*All Resource

*

None None
odps:UntagResources UntagResources update

*All Resource

*

None None
odps:ListProjectUsers ListProjectUsers get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetMmsTimer GetMmsTimer get

*Project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:CreatePackage CreatePackage create

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetMmsDb GetMmsDb get

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:ListMaterializedViews ListMaterializedViews list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#projectName}

None None
odps:GetStorageSizeSummary GetStorageSizeSummary get

*All Resource

*

None None
odps:CancelAgentChat CancelAgentChat create

*All Resource

*

None None
odps:GetJobSummaryByPreCompute GetJobSummaryByPreCompute list

*All Resource

*

None None
odps:UpdateComputePayAsYouGoQuota UpdateComputePayAsYouGoQuota update

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:RetryMmsJob RetryMmsJob update

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:PageQueryProjectUserInfo PageQueryProjectUserInfo list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:DeleteProject DeleteProject delete

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:QueryTunnelMetric QueryTunnelMetric list

*Tunnel

acs:odps:{#regionId}:{#accountId}:tunnel/{#metric}

None None
odps:SetTableStorageTier SetTableStorageTier update

*All Resource

*

None None
odps:OperateOdpsCatalog OperateOdpsCatalog none

*All Resource

*

None None
odps:CreateQuotaPlan CreateQuotaPlan create

*Quota

acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}

None None
odps:SumComputeMetricsByUsage SumComputeMetricsByUsage none

*All Resource

*

None None
odps:GetStorageSuggestionDownloadUrl GetStorageSuggestionDownloadUrl get

*Storage

acs:odps:{#regionId}:{#accountId}:storage/{#project}

None None
odps:ListMmsJobs ListMmsJobs list

*project

acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}

None None
odps:GetTenant GetTenant get

*All Resource

*

None None
odps:ListProjectMvRecommendations ListProjectMvRecommendations list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#projectName}

None None
odps:ListMaterializedViewJobInfo ListMaterializedViewJobInfo list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#projectName}

None None
odps:UpdateUsersToRole UpdateUsersToRole update

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:ListResources ListResources list

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetPeriodicTask GetPeriodicTask get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:GetTenantSetting GetTenantSetting get

*All Resource

*

None None
odps:GetRolePolicy GetRolePolicy get

*Project

acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}

None None
odps:DeleteLivyServer DeleteLivyServer delete

*All Resource

*

None None

Resource

The following table lists the resource types and ARN formats defined by MaxCompute. The Resource element of RAM policy statements specifies the resources to which the statement applies. Notes:

  • In an ARN, {#} indicates a variable that you must replace with an actual value. For example, replace {#ramcode} with the actual RAM code of the cloud service.

  • In an ARN, * means all. For example:

    • {#resourceType}/*: All resources.

    • When {#regionId} is *, all regions are included.

    • When {#accountId} is set to *, it specifies all Alibaba Cloud accounts.

Resource type

ARN

Project
  • acs:odps:{#regionId}:{#accountId}:projects/*
  • acs:odps:{#regionId}:{#accountId}:projects/{#ProjectName}
  • acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}
  • acs:odps:{#regionId}:{#accountId}:mmsdatasource/*
  • acs:odps:{#regionId}:{#accountId}:projects
  • acs:odps:{#regionId}:{#accountId}:project/{#projectName}
  • acs:odps:{#regionId}:{#accountId}:project/*
Quota
  • acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}
  • acs:odps:{#regionId}:{#accountId}:quotas/*
  • acs:odps:{#regionId}:{#accountId}:quota/{#metric}
tenant
  • acs:odps:{#regionId}:{#accountId}:tenant/*
LivyServer
  • acs:odps:{#regionId}:{#accountId}:livyserver/{#LivyServerId}
  • acs:odps:{#regionId}:{#accountId}:livyserver/*
Storage
  • acs:odps:{#regionId}:{#accountId}:storage/*
  • acs:odps:{#regionId}:{#accountId}:storage/{#project}
  • acs:odps:{#regionId}:{#accountId}:storage/{#metric}
Image
  • acs:odps:{#regionId}:{#accountId}:image/{#name}
  • acs:odps:{#regionId}:{#accountId}:image/*
project
  • acs:odps:{#regionId}:{#accountId}:mmsdatasource/{#sourceId}
Tunnel
  • acs:odps:{#regionId}:{#accountId}:tunnel/*
  • acs:odps:{#regionId}:{#accountId}:tunnel/{#metric}
MyFocusResource
  • acs:odps:{#regionId}:{#accountId}:myfocusresource/*
User
  • acs:odps:{#regionId}:{#accountId}:user/{#AccountId}
  • acs:odps:*:{#accountId}:user/*
TenantUsers
  • acs:odps::{#accountId}:tenantusers/*
QuotaPlan
  • acs:odps:{#regionId}:{#accountId}:quotaplan/*
  • acs:odps:{#regionId}:{#accountId}:quotas/{#NickName}
NetworkLink
  • acs:odps:{#regionId}:{#accountId}:networklink/{#networkLinkName}
  • acs:odps:{#regionId}:{#accountId}:networklink/*
Tag
  • acs:odps:{#regionId}:{#accountId}:tags/*
Job
  • acs:odps:{#regionId}:{#accountId}:job/{#instanceId}
  • acs:odps:{#regionId}:{#accountId}:job/*
  • acs:odps:{#regionId}:{#accountId}:job/{#quotaNickname}
Tenant
  • acs:odps:{#regionId}:{#accountId}:tenant/settings/{key}
  • acs:odps:{#regionId}:{#accountId}:tenant/*
  • acs:odps:{#regionId}:{#accountId}:tenant/settings/*
UserResource
  • acs:odps:{#regionId}:{#accountId}:userresource/*
  • acs:odps:{#regionId}:{#accountId}:userResource/*
StorageMetrics
  • acs:odps:{#regionId}:{#accountId}:storageMetrics/*
QuotaRoutingRule
  • acs:odps:{#regionId}:{#accountId}:quotas/*
  • acs:odps:{#regionId}:{#accountId}:quotas/{#quotaPath}
ResourcePackage
  • acs:odps:{#regionId}:{#accountId}:resourcePackage/*
Instance
  • acs:odps:*:{#accountId}:instance/*
JobInsight
  • acs:odps:{#regionId}:{#accountId}:jobInsight/{#project}
Metric
  • acs:odps:{#regionId}:{#accountId}:metric/{#category}
SetTableStorageTier
  • acs:odps:{#regionId}:{#accountId}:settablestoragetier/*
OdpsCatalogs
  • acs:odps:{#regionId}:{#accountId}:odpscatalogs/*

Condition

The following table lists the product-level condition keys defined by MaxCompute. Specify them in the Condition element of RAM policy statements to define the conditions under which the statement takes effect. Use conditional operators that match the data type of the condition key. If the operator does not match, the statement does not take effect. For more information about conditional operators, see Condition operator.

Condition key

Description

Data type

odps:Encryption Specifies whether encryption is enabled for the project. Boolean

References

For information about conditional operators, custom policies, and authorization operations, see the following documents: