全部產品
Search
文件中心

Application Real-Time Monitoring Service:授權信息

更新時間:Jun 24, 2026

存取控制(RAM)是阿里雲提供的系統管理使用者身份與資源存取權限的服務。使用 RAM 可以讓您避免與其他使用者共用阿里雲帳號密鑰,並可按需為使用者授予最小許可權。RAM 中使用權限原則描述授權的具體內容。

本文為您介紹 為 RAM 權限原則定義的操作(Action)、資源(Resource)和條件(Condition)。 的 RAM 代碼(RamCode)為 arms,xtrace ,支援的授權粒度為 RESOURCE

權限原則通用結構

權限原則支援 JSON 格式,其通用結構如下:

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

各欄位含義如下:

  • Effect:權限原則效果。取值:Allow(允許)、Deny(拒絕)。

  • Action:授予允許或拒絕許可權的具體操作。具體資訊,請參見操作(Action)

  • Resource:受操作影響的具體對象,您可以使用資源 ARN 來描述指定資源。具體資訊,請參見資源(Resource)

  • Condition:指授權生效的條件。可選欄位。具體資訊,請參見條件(Condition)

    • Condition_operator:條件運算子,不同類型的條件對應不同的條件運算子。具體資訊,請參見權限原則基本元素

    • Condition_key:條件關鍵字。

    • Condition_value:條件關鍵字對應的值。

操作(Action)

下表是定義的操作,這些操作可以在 RAM 權限原則語句的Action元素中使用,用來授予執行該操作的許可權。下面對錶中的具體項提供說明:

  • 操作:是指具體的許可權點。

  • API:是指操作對應的 API 介面。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。該列不體現適用於任何操作的通用條件關鍵字

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

API

存取層級

資源類型

條件關鍵字

關聯操作

arms:CreateEnvServiceMonitor CreateEnvServiceMonitor create

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:GetGrafanaWorkspace GetGrafanaWorkspace get

*GrafanaWorkspace

acs:arms:{#regionId}:{#accountId}:grafanaworkspace/{#GrafanaWorkspaceId}

arms:CreateIntegration CreateIntegration none

*All Resource

*

arms:ListTraceApps ListTraceApps none

*All Resource

*

arms:GetRetcodeShareUrl GetRetcodeShareUrl none

*All Resource

*

arms:GetRetcodeApp GetRetcodeAppByPid none

*RetcodeApp

acs:arms:{#regionId}:{#accountId}:retcodeapp/{#RetcodeAppId}

arms:ListEnvironmentMetricTargets ListEnvironmentMetricTargets none

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:QueryMetricByPage QueryMetricByPage get

*All Resource

*

arms:CreateEnvironment CreateEnvironment create

*Environment

acs:arms:{#regionId}:{#accountId}:environment/*

arms:UninstallPromCluster UninstallPromCluster delete

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:ListActivatedAlerts ListActivatedAlerts none

*All Resource

*

arms:DescribeEnvironment DescribeEnvironment get

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:DeleteContact DeleteContact none

*All Resource

*

arms:AddRecordingRule AddRecordingRule none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:DescribeEnvCustomJob DescribeEnvCustomJob get

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:EnableMetric EnableMetric none

*Prometheus

acs:arms:{#regionId}:{#accountId}:Prometheus/{#ClusterId}

arms:GetAgentDownloadUrl GetAgentDownloadUrl none

*All Resource

*

arms:ListIntegration ListIntegration none

*All Resource

*

arms:UpdateAlertContact UpdateAlertContact none

*All Resource

*

arms:StopAlertRule StopAlert none

*All Resource

*

arms:InitEnvironment InitEnvironment update

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:ListDispatchRule ListOnCallSchedules none

*All Resource

*

arms:GetPrometheusMonitoring GetPrometheusMonitoring get

*All Resource

*

arms:DeleteGrafanaWorkspace DeleteGrafanaWorkspace delete

*GrafanaWorkspace

acs:arms:{#regionId}:{#accountId}:grafanaworkspace/{#GrafanaWorkspaceId}

arms:ApplyScenario ApplyScenario none

*All Resource

*

arms:GetPrometheusInstance GetPrometheusInstance get

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:SearchAlertContact SearchAlertContact none

*All Resource

*

arms:GetAlertRules GetAlertRules get

*All Resource

*

arms:QueryTopology QueryAppTopology get

*All Resource

*

arms:ListDispatchRule ListEscalationPolicies none

*All Resource

*

arms:DeleteAlertRules DeleteAlertRule delete

*AlertRule

acs:arms:{#regionId}:{#accountId}:AlertRule/{#AlertRuled}

arms:ListPrometheusAlertTemplates ListPrometheusAlertTemplates none

*All Resource

*

arms:GetSourceMapInfo GetSourceMapInfo none

*All Resource

*

arms:GetRetcodeDataByQuery GetRetcodeDataByQuery get

*All Resource

*

arms:DeleteIntegration DeleteIntegration none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:DescribeEnvPodMonitor DescribeEnvPodMonitor get

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:GetRumExceptionStack GetRumExceptionStack get

*All Resource

*

arms:GetRumAppInfo GetRumAppInfo get

*All Resource

*

arms:UpdateAlertContactGroup UpdateAlertContactGroup none

*All Resource

*

arms:GetAppJVMConfig GetAppJVMConfig none

*All Resource

*

arms:GetRetcodeLogstore GetRetcodeLogstore none

*All Resource

*

arms:CreateGrafanaWorkspace CreateGrafanaWorkspace create

*GrafanaWorkspace

acs:arms:{#regionId}:{#AccountId}:grafanaworkspace/*

arms:OpenXtraceDefaultSLR OpenXtraceDefaultSLR none

*All Resource

*

arms:QueryReleaseMetric QueryReleaseMetric none

*All Resource

*

arms:ListEnvironmentDashboards ListEnvironmentDashboards none

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:DescribePrometheusAlertRule DescribePrometheusAlertRule get

*All Resource

*

arms:UpdatePrometheusInstance UpdatePrometheusInstance update

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:CreatePrometheusAlertRule CreatePrometheusAlertRule create

*All Resource

*

arms:ListRetcodeApps ListRetcodeApps none

*RetcodeApp

acs:arms:{#regionId}:{#accountId}:retcodeapp/*

arms:AddAliClusterIdsToPrometheusGlobalView AddAliClusterIdsToPrometheusGlobalView none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:DeletePrometheusGlobalView DeletePrometheusGlobalView none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:DeleteContact DeleteIMRobot none

*All Resource

*

arms:GetRumOcuStatisticData GetRumOcuStatisticData get

*All Resource

*

arms:GetAlert ListInsightsEvents none

*All Resource

*

arms:ListGrafanaWorkspace ListGrafanaWorkspace list

*GrafanaWorkspace

acs:arms:{#regionId}:{#accountId}:grafanaworkspace/*

arms:DeleteEnvPodMonitor DeleteEnvPodMonitor delete

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:GetIntegrationState GetIntegrationState none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:DeleteRetcodeApp DeleteRetcodeApp none

*RetcodeApp

acs:arms:{#regionId}:{#accountId}:retcodeapp/{#Pid}

arms:CreateAlertRules CreateOrUpdateAlertRule create

*AlertRule

acs:arms:{#regionId}:{#AccountId}:alertrule/{#AlertRuled}

arms:CreatePrometheusInstance CreatePrometheusInstance create

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/*

arms:CreateWebhook CreateWebhook none

*All Resource

*

arms:SetRetcodeShareStatus SetRetcodeShareStatus none

*RetcodeApp

acs:arms:{#regionId}:{#accountId}:retcodeapp/{#RetcodeAppId}

arms:CreateContact CreateOrUpdateWebhookContact none

*All Resource

*

arms:ListDispatchRule ListNotificationPolicies none

*All Resource

*

arms:GetRumData GetRumDataForPage get

*All Resource

*

arms:CreateAlertRules ImportAppAlertRules none

*AlertRule

acs:arms:{#regionId}:{#AccountId}:alertrule/{#AlertRuled}

arms:CheckServiceStatus CheckServiceStatus none

*All Resource

*

arms:CreateDispatchRule CreateOrUpdateSilencePolicy none

*All Resource

*

arms:SearchTraceAppByName SearchTraceAppByName get

*TraceApp

acs:arms:{#regionId}:{#AccountId}:traceapp/{#Pid}

arms:GetCloudClusterAllUrl GetCloudClusterAllUrl none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:CreateContact CreateOrUpdateContact none

*All Resource

*

arms:ListScenario ListScenario none

*All Resource

*

arms:GetSyntheticTask SwitchSyntheticTaskStatus none

*All Resource

*

arms:ListPrometheusGlobalView ListPrometheusGlobalView none

*All Resource

*

arms:GetSyntheticMonitors GetSyntheticMonitors none

*All Resource

*

arms:SearchAlertRules SearchAlertRules none

*AlertRule

acs:arms:{#regionId}:{#AccountId}:AlertRule/*

arms:ListEnvironmentFeatures ListEnvironmentFeatures none

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:UpdatePrometheusIntegration UpdatePrometheusIntegration none

*All Resource

*

arms:GetRecordingRule GetRecordingRule none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:SaveTraceAppConfig SaveTraceAppConfig none

*TraceApp

acs:arms:{#regionId}:{#accountId}:traceapp/{#Pid}

arms:GetTimingSyntheticTask GetTimingSyntheticTask get

*SyntheticTask

acs:arms:{#regionId}:{#accountId}:synthetictask/{#TaskId}

arms:ListEnvironmentAddons ListEnvironmentAddons none

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:ListEnvironmentAlertRules ListEnvironmentAlertRules none

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:OpenArmsDefaultSLR OpenArmsDefaultSLR none

*All Resource

*

arms:DeletePrometheusAlertRule DeletePrometheusAlertRule delete

*All Resource

*

arms:GetAppApiPageInfo GetAppApiByPage none

*All Resource

*

arms:SearchAlertContactGroup SearchAlertContactGroup none

*All Resource

*

arms:UpdateDispatchRule UpdateDispatchRule none

*All Resource

*

arms:ListDashboards ListDashboards none

*All Resource

*

arms:UpdateEnvCustomJob UpdateEnvCustomJob update

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:AddPrometheusGlobalViewByAliClusterIds AddPrometheusGlobalViewByAliClusterIds none

*All Resource

*

arms:DeletePrometheusIntegration DeletePrometheusIntegration none

*All Resource

*

arms:DeleteEnvironment DeleteEnvironment delete

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:UpdateEnvDropMetricsRule UpdateEnvDropMetricsRule update

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:CreateDispatchRule CreateOrUpdateNotificationPolicy none

*All Resource

*

arms:RemoveSourcesFromPrometheusGlobalView RemoveSourcesFromPrometheusGlobalView none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:UpdatePrometheusMonitoring UpdatePrometheusMonitoring update

*All Resource

*

arms:AppendInstancesToPrometheusGlobalView AppendInstancesToPrometheusGlobalView none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:DescribeEnvironmentFeature DescribeEnvironmentFeature none

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:DeleteTimingSyntheticTask DeleteTimingSyntheticTask delete

*SyntheticTask

acs:arms:{#regionId}:{#accountId}:synthetictask/{#TaskId}

arms:SearchContact DescribeIMRobots none

*All Resource

*

arms:ListSyntheticDetail ListSyntheticDetail list

*All Resource

*

arms:GetClusterAllUrl GetClusterAllUrl none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:GetTrace GetTrace none

*All Resource

*

arms:GetStack GetStack none

*All Resource

*

arms:DescribeEnvDropMetricsRule DescribeEnvDropMetricsRule get

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:UpdateMetricDrop UpdateMetricDrop none

*Prometheus

acs:arms:{#regionId}:{#accountId}:Prometheus/{#ClusterId}

arms:InstallAddon InstallAddon none

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:ListEnvPodMonitors ListEnvPodMonitors list

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:CreateOrUpdateEventBridgeIntegration CreateOrUpdateEventBridgeIntegration none

*All Resource

*

arms:DeleteAddonRelease DeleteAddonRelease none

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:ListEnvServiceMonitors ListEnvServiceMonitors list

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:SyncRecordingRules SyncRecordingRules none

*All Resource

*

arms:UpdateRumApp UpdateRumFileStatus update

*All Resource

*

arms:CreateEnvCustomJob CreateEnvCustomJob create

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:TagResources TagResources update

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

*RetcodeApp

acs:arms:{#regionId}:{#accountId}:retcodeapp/{#Pid}

*TraceApp

acs:arms:{#regionId}:{#accountId}:traceapp/{#Pid}

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#EnvironmentId}

*GrafanaWorkspace

acs:arms:{#regionId}:{#accountId}:grafanaworkspace/{#GrafanaWorkspaceId}

arms:GetCommercialStatus GetCommercialStatus none

*All Resource

*

arms:GetSyntheticTaskList GetSyntheticTaskList none

*All Resource

*

arms:InstallManagedPrometheus InstallManagedPrometheus none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:UpdateEnvServiceMonitor UpdateEnvServiceMonitor update

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:DeleteContactGroup DeleteContactGroup none

*All Resource

*

arms:CreateAlertContact CreateAlertContact none

*All Resource

*

arms:DeleteScenario DeleteScenario none

*All Resource

*

arms:ListAddons ListAddons none

*All Resource

*

arms:QueryCommercialUsage QueryCommercialUsage get

*All Resource

*

arms:CheckCommercialStatus CheckCommercialStatus none

*All Resource

*

arms:DeleteEnvServiceMonitor DeleteEnvServiceMonitor delete

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:DoInsightsAction DoInsightsAction get

*All Resource

*

arms:UpdateAlertRule UpdateAlertRule none

*AlertRule

acs:arms:{#regionId}:{#AccountId}:alertrule/{#AlertRuled}

arms:CloseAlarm CloseAlarm create

*All Resource

*

arms:SearchContact DescribeContacts none

*All Resource

*

arms:UninstallManagedPrometheus UninstallManagedPrometheus none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:StopTimingSyntheticTask StopTimingSyntheticTask update

*SyntheticTask

acs:arms:{#regionId}:{#accountId}:synthetictask/{#TaskId}

arms:RemoveAliClusterIdsFromPrometheusGlobalView RemoveAliClusterIdsFromPrometheusGlobalView none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:SearchTraces SearchTraces none

*All Resource

*

arms:CreatePrometheusMonitoring CreatePrometheusMonitoring create

*All Resource

*

arms:SearchRetcodeAppByPage SearchRetcodeAppByPage get

*All Resource

*

arms:GetOnCallSchedulesDetail GetOnCallSchedulesDetail none

*All Resource

*

arms:StartAlertRule StartAlert none

*All Resource

*

arms:GetAlarmHistories ListAlerts none

*All Resource

*

arms:AddTagToFlinkCluster AddTagToFlinkCluster create

*All Resource

*

arms:GetRumApps GetRumApps list

*Rum

acs:arms:{#regionId}:{#accountId}:rum/*

arms:ChangeResourceGroup ChangeResourceGroup update

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

*RetcodeApp

acs:arms:{#regionId}:{#accountId}:retcodeapp/{#Pid}

*TraceApp

acs:arms:{#regionId}:{#accountId}:traceapp/{#Pid}

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#EnvironmentId}

*GrafanaWorkspace

acs:arms:{#regionId}:{#accountId}:grafanaworkspace/{#GrafanaWorkspaceId}

*XTraceApp

acs:arms:{#regionId}:{#accountId}:xtraceapp/{#Pid}

arms:CreateRumApp CreateRumApp create

*All Resource

*

arms:GetPrometheusApiToken GetPrometheusApiToken none

*All Resource

*

arms:UpdatePrometheusMonitoringStatus UpdatePrometheusMonitoringStatus update

*PrometheusMonitoring

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:GetPrometheusIntegration ListPrometheusIntegration none

*All Resource

*

arms:UpdateGrafanaWorkspace UpdateGrafanaWorkspace update

*GrafanaWorkspace

acs:arms:{#regionId}:{#accountId}:grafanaworkspace/{#GrafanaWorkspaceId}

arms:CreateEnvPodMonitor CreateEnvPodMonitor create

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:StartTimingSyntheticTask StartTimingSyntheticTask update

*SyntheticTask

acs:arms:{#regionId}:{#accountId}:synthetictask/{#TaskId}

arms:CreateDispatchRule CreateDispatchRule none

*All Resource

*

arms:DescribeTraceLicenseKey DescribeTraceLicenseKey get

*All Resource

*

arms:UpdateEnvPodMonitor UpdateEnvPodMonitor update

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:DeleteAlertContact DeleteAlertContact none

*All Resource

*

arms:BlockAlarmNotification BlockAlarmNotification create

*All Resource

*

arms:OpenVCluster OpenVCluster none

*All Resource

*

arms:ChangeAlarmSeverity ChangeAlarmSeverity create

*All Resource

*

arms:DeleteSilencePolicy DeleteSilencePolicy none

*All Resource

*

arms:DescribeDispatchRule DescribeDispatchRule none

*All Resource

*

arms:DeleteEnvCustomJob DeleteEnvCustomJob delete

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:UpgradeAddonRelease UpgradeAddonRelease none

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:UpdateSourceMap Upload update

*All Resource

*

arms:ListAlertEvents ListAlertEvents none

*All Resource

*

arms:ListEventBridgeIntegrations ListEventBridgeIntegrations none

*All Resource

*

arms:ListCmsInstances ListCmsInstances none

*All Resource

*

arms:DeleteSourceMap DeleteSourceMap delete

*All Resource

*

arms:DeleteEventBridgeIntegration DeleteEventBridgeIntegration none

*All Resource

*

arms:DeleteTraceApp DeleteTraceApp none

*TraceApp

acs:arms:{#regionId}:{#AccountId}:traceapp/{#Pid}

arms:GetSyntheticTaskDetail GetSyntheticTaskDetail none

*All Resource

*

arms:AddPrometheusGlobalView AddPrometheusGlobalView none

*All Resource

*

arms:CreateContact CreateOrUpdateIMRobot none

*All Resource

*

arms:ListDispatchRule ListSilencePolicies none

*All Resource

*

arms:CreateAlertContactGroup CreateAlertContactGroup none

*All Resource

*

arms:DeleteDispatchRule DeleteNotificationPolicy none

*All Resource

*

arms:DescribeAddonRelease DescribeAddonRelease none

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:UpdateWebhook UpdateWebhook none

*All Resource

*

arms:DeleteRumUploadFile DeleteRumUploadFile delete

*All Resource

*

arms:AddIntegration AddIntegration none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:DeleteAlertRules DeleteAlertRules none

*All Resource

*

arms:CreateRumUploadFileUrl CreateRumUploadFileUrl create

*All Resource

*

arms:DeleteSyntheticTask DeleteSyntheticTask none

*All Resource

*

arms:DeleteRumApp DeleteRumApp delete

*All Resource

*

arms:AddGrafana AddGrafana none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:GetExploreUrl GetExploreUrl none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:ListEnvironmentKubeResources ListEnvironmentKubeResources none

*All Resource

*

arms:UpdatePrometheusAlertRule UpdatePrometheusAlertRule update

*All Resource

*

arms:UpdateGrafanaWorkspaceVersion UpdateGrafanaWorkspaceVersion update

*GrafanaWorkspace

acs:arms:{#regionId}:{#accountId}:grafanaworkspace/{#GrafanaWorkspaceId}

arms:DelAuthToken DelAuthToken none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:SearchTraceAppByPage SearchTraceAppByPage none

*TraceApp

acs:arms:{#regionId}:{#accountId}:traceapp/*

arms:SearchTracesByPage SearchTracesByPage none

*All Resource

*

arms:ListPrometheusInstanceByTagAndResourceGroupId ListPrometheusInstanceByTagAndResourceGroupId list

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/*

arms:QueryPromInstallStatus QueryPromInstallStatus none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:ClaimAlarm ClaimAlarm create

*All Resource

*

arms:CreateContactGroup CreateOrUpdateContactGroup none

*All Resource

*

arms:ListPrometheusAlertRules ListPrometheusAlertRules list

*All Resource

*

arms:DeleteGrafanaResource DeleteGrafanaResource none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:CreateTimingSyntheticTask CreateTimingSyntheticTask create

*SyntheticTask

acs:arms:{#regionId}:{#accountId}:synthetictask/*

arms:ListPrometheusMonitoring ListPrometheusMonitoring list

*All Resource

*

arms:InstallCmsExporter InstallCmsExporter none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:QueryAppMetadata QueryAppMetadata get

*All Resource

*

arms:ListClusterFromGrafana ListClusterFromGrafana none

*All Resource

*

arms:ListEnvCustomJobs ListEnvCustomJobs list

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:DeleteContact DeleteWebhookContact none

*All Resource

*

arms:DeleteAlertContactGroup DeleteAlertContactGroup none

*All Resource

*

arms:UpdateEnvironment UpdateEnvironment update

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:ListDispatchRule ListDispatchRule none

*All Resource

*

arms:UpdatePrometheusGlobalView UpdatePrometheusGlobalView update

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:GetMultipleTrace GetMultipleTrace none

*All Resource

*

arms:GetPrometheusGlobalView GetPrometheusGlobalView none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:GetRumUploadFiles GetRumUploadFiles get

*All Resource

*

arms:DeleteCmsExporter DeleteCmsExporter none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:ListTimingSyntheticTasks ListTimingSyntheticTasks list

*SyntheticTask

acs:arms:{#regionId}:{#accountId}:synthetictask/*

arms:AddPrometheusIntegration AddPrometheusIntegration none

*All Resource

*

arms:CreateRetcodeApp CreateRetcodeApp none

*All Resource

*

arms:SearchContactGroup DescribeContactGroups none

*All Resource

*

arms:DeleteDispatchRule DeleteDispatchRule none

*All Resource

*

arms:UpdateTimingSyntheticTask UpdateTimingSyntheticTask create

*SyntheticTask

acs:arms:{#regionId}:{#accountId}:synthetictask/{#TaskId}

arms:UpdateContact SendTTSVerifyLink none

*All Resource

*

arms:GetAuthToken GetAuthToken none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:ConfigApp ConfigApp none

*All Resource

*

arms:UpgradeEnvironmentFeature UpgradeEnvironmentFeature none

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:SearchContact DescribeWebhookContacts none

*All Resource

*

arms:DeleteEnvironmentFeature DeleteEnvironmentFeature none

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:DescribeEnvServiceMonitor DescribeEnvServiceMonitor get

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:SearchEvents SearchEvents none

*All Resource

*

arms:GetTraceAppConfig GetTraceAppConfig get

*TraceApp

acs:arms:{#regionId}:{#accountId}:traceapp/{#Pid}

arms:GetAgentDownloadUrl GetAgentDownloadUrlV2 none

*All Resource

*

arms:DescribeAddonMetrics DescribeAddonMetrics none

*All Resource

*

arms:GetManagedPrometheusStatus GetManagedPrometheusStatus none

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:InstallEnvironmentFeature InstallEnvironmentFeature none

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:UpdateRumApp UpdateRumApp update

*All Resource

*

arms:DeletePrometheusMonitoring DeletePrometheusMonitoring delete

*All Resource

*

arms:BindPrometheusGrafanaInstance BindPrometheusGrafanaInstance update

*Prometheus

acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}

arms:DeleteAppList DeleteAppList none

*TraceApp

acs:arms:{#regionId}:{#accountId}:traceapp/{#Pid}

arms:AddPrometheusInstance AddPrometheusInstance none

*All Resource

*

arms:GetPrometheusIntegration GetPrometheusIntegration none

*All Resource

*

arms:GetTraceApp GetTraceApp none

*TraceApp

acs:arms:{#regionId}:{#AccountId}:traceapp/{#Pid}

arms:ListDashboardsByName ListDashboardsByName none

*All Resource

*

arms:ListAddonReleases ListAddonReleases none

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:GetSyntheticTask GetSyntheticTaskMonitors none

*All Resource

*

arms:RestartEnvironmentFeature RestartEnvironmentFeature none

*Environment

acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}

arms:OpenArmsService OpenArmsServiceSecondVersion none

*All Resource

*

arms:SearchAlertHistories SearchAlertHistories none

*All Resource

*

arms:GetSyntheticTask CreateSyntheticTask create

*All Resource

*

arms:UpdateIntegration UpdateIntegration none

*All Resource

*

arms:ListEnvironments ListEnvironments list

*Environment

acs:arms:{#regionId}:{#accountId}:environment/*

arms:ListPrometheusInstances ListPrometheusInstances none

*All Resource

*

資源(Resource)

下表是定義的資源,這些資源可以在 RAM 權限原則語句的Resource元素中使用,用來授予對該資源執行具體操作的許可權。 其中,資源 ARN 是資源在阿里雲上的唯一標識。具體說明如下:

  • {#}為變數標識,需要您替換為實際值。例如:{#ramcode}需要您替換為實際的雲端服務RAM代碼。

  • *表示全部。例如:

    • {#resourceType}*時:表示全部資源。

    • {#regionId}*時:表示全部地區。

    • {#accountId}*時:表示全部阿里雲帳號。

資源類型

資源 ARN

Environment
  • acs:arms:{#regionId}:{#accountId}:environment/{#environmentId}
  • acs:arms:{#regionId}:{#accountId}:environment/*
GrafanaWorkspace
  • acs:arms:{#regionId}:{#accountId}:grafanaworkspace/{#GrafanaWorkspaceId}
  • acs:arms:{#regionId}:{#AccountId}:grafanaworkspace/*
TraceApp
  • acs:arms:{#regionId}:{#AccountId}:traceapp/{#Pid}
  • acs:arms:{#regionId}:{#accountId}:traceapp/*
RetcodeApp
  • acs:arms:{#regionId}:{#accountId}:retcodeapp/{#RetcodeAppId}
  • acs:arms:{#regionId}:{#accountId}:retcodeapp/*
  • acs:arms:{#regionId}:{#accountId}:retcodeapp/{#Pid}
Prometheus
  • acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}
  • acs:arms:{#regionId}:{#accountId}:Prometheus/{#ClusterId}
  • acs:arms:{#regionId}:{#accountId}:prometheus/*
PrometheusMonitoring
  • acs:arms:{#regionId}:{#accountId}:prometheus/{#clusterId}/monitoring/{#type}/{#monitoringName}/*
  • acs:arms:{#regionId}:{#accountId}:prometheus/{#clusterId}/monitoring/{#type}/*
  • acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId}
  • acs:arms:{#regionId}:{#accountId}:prometheus/{#clusterId}/monitoring/*
  • acs:arms:{#regionId}:{#accountId}:prometheus/{#clusterId}/monitoring/{#type}/{#monitoringName}
AlertRule
  • acs:arms:{#regionId}:{#accountId}:AlertRule/{#AlertRuled}
  • acs:arms:{#regionId}:{#AccountId}:alertrule/{#AlertRuled}
  • acs:arms:{#regionId}:{#AccountId}:AlertRule/*
PrometheusAlertRule
  • acs:arms:${Region}:${AccountId}:prometheus/${ClusterId}/prometheusalertrule/${PrometheusAlertRuleId}
  • acs:arms:${Region}:${AccountId}:prometheus/${ClusterId}/prometheusalertrule/*
  • acs:arms:{#regionId}:{#accountId}:prometheusalertrule/{#ClusterId}/{#PrometheusAlertRuleId}
  • acs:arms:{#regionId}:${AccountId}:prometheus/${ClusterId}/prometheusalertrule/*
IntegrationExporter
  • acs:arms:{#regionId}:{#accountId}:prometheus/{#clusterId}
SyntheticTask
  • acs:arms:{#regionId}:{#accountId}:synthetictask/{#TaskId}
  • acs:arms:{#regionId}:{#accountId}:synthetictask/*
Rum
  • acs:arms:{#regionId}:{#accountId}:rum/*
XTraceApp
  • acs:arms:{#regionId}:{#accountId}:xtraceapp/{#Pid}

條件(Condition)

未定義產品層級的條件關鍵字。如需查看適用於所有雲產品的通用條件關鍵字,請參見通用條件關鍵字

相關操作

您可以建立自訂權限原則,並將權限原則授予 RAM 使用者、RAM 使用者組或 RAM 角色。具體操作如下: