全部產品
Search
文件中心

Cloud Monitor:授權信息

更新時間:Jul 15, 2026

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

本文為您介紹 Cloud Monitor 為 RAM 權限原則定義的操作(Action)、資源(Resource)和條件(Condition)。 Cloud Monitor 的 RAM 代碼(RamCode)為 cms,log,arms ,支援的授權粒度為 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)

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

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

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

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

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

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

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

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

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

操作

API

存取層級

資源類型

條件關鍵字

關聯操作

cms:ModifyMonitorGroup ModifyMonitorGroup update

*MonitorGroup

acs:cms::{#accountId}:group/{#groupId}

cms:DescribeMetricRuleTemplateList DescribeMetricRuleTemplateList get

*All Resource

*

cms:DescribeSystemEventAttribute DescribeSystemEventAttribute get

*All Resource

*

cms:SendDryRunSystemEvent SendDryRunSystemEvent none

*All Resource

*

cms:QueryMetricList DescribeMetricList get

*All Resource

*

cms:ModifyMetricRuleBlackList ModifyMetricRuleBlackList update

*All Resource

*

cms:DeleteEventRuleTargets DeleteEventRuleTargets delete

*All Resource

*

cms:EnableMetricRuleBlackList EnableMetricRuleBlackList update

*All Resource

*

cms:DescribeMonitorGroupInstances DescribeMonitorGroupInstances get

*All Resource

*

cms:DeleteMonitorGroupDynamicRule DeleteMonitorGroupDynamicRule delete

*All Resource

*

cms:DescribeCustomMetricList DescribeCustomMetricList get

*All Resource

*

cms:PutGroupMetricRule PutGroupMetricRule create

*GroupMetricRule

acs:cms::{#accountId}:group/{#groupId}

cms:DeleteHybridMonitorTask DeleteHybridMonitorTask delete

*All Resource

*

cms:PutMetricRuleTargets PutMetricRuleTargets create

*All Resource

*

cms:DescribeMonitoringAgentAccessKey DescribeMonitoringAgentAccessKey get

*All Resource

*

cms:QueryMetricLast DescribeMetricLast get

*All Resource

*

cms:PutMonitorGroupDynamicRule PutMonitorGroupDynamicRule create

*MonitorGroup

acs:cms::{#accountId}:group/{#groupId}

cms:ModifyGroupMonitoringAgentProcess ModifyGroupMonitoringAgentProcess update

*MonitoringAgentProcess

acs:cms::{#accountId}:group/{#groupId}

cms:DescribeAlertLogHistogram DescribeAlertLogHistogram get

*All Resource

*

cms:DescribeHostAvailabilityList DescribeHostAvailabilityList get

*All Resource

*

cms:DescribeMetricRuleTemplateAttribute DescribeMetricRuleTemplateAttribute get

*All Resource

*

cms:DeleteSiteMonitors DeleteSiteMonitors delete

*All Resource

*

cms:DescribeSystemEventCount DescribeSystemEventCount get

*All Resource

*

cms:DescribeSiteMonitorList DescribeSiteMonitorList get

*All Resource

*

cms:DescribeTagValueList DescribeTagValueList get

*All Resource

*

cms:DescribeMonitoringConfig DescribeMonitoringConfig get

*All Resource

*

cms:DescribeMonitorGroupNotifyPolicyList DescribeMonitorGroupNotifyPolicyList get

*All Resource

*

cms:DescribeMonitorGroups DescribeMonitorGroups get

*All Resource

*

cms:PutHybridMonitorMetricData PutHybridMonitorMetricData create

*All Resource

*

cms:DeleteCustomMetric DeleteCustomMetric delete

*All Resource

*

cms:DeleteHostAvailability DeleteHostAvailability delete

*HostAvailability

acs:cms::{#accountId}:group/{#groupId}

cms:DeleteGroupMonitoringAgentProcess DeleteGroupMonitoringAgentProcess delete

*All Resource

*

cms:PutResourceMetricRule PutResourceMetricRule create

*All Resource

*

cms:DescribeMonitorGroupCategories DescribeMonitorGroupCategories get

*MonitorGroup

acs:cms::{#accountId}:group/{#groupId}

cms:DisableActiveMetricRule DisableActiveMetricRule update

*All Resource

*

cms:CreateMetricRuleBlackList CreateMetricRuleBlackList create

*All Resource

*

cms:UpdateCustomNamespace ModifyHybridMonitorNamespace update

*All Resource

*

cms:DescribeSiteMonitorLog DescribeSiteMonitorLog list

*All Resource

*

cms:DescribeCustomMetricDataPoint DescribeHybridMonitorDataList list

*All Resource

*

cms:CreateHostAvailability CreateHostAvailability create

*HostAvailability

acs:cms::{#accountId}:group/{#groupId}

cms:DeleteContact DeleteContact delete

*All Resource

*

cms:DescribeSiteMonitorStatistics DescribeSiteMonitorStatistics get

*All Resource

*

cms:CreateCustomNamespace CreateHybridMonitorNamespace create

*All Resource

*

cms:DeleteMonitorGroupNotifyPolicy DeleteMonitorGroupNotifyPolicy delete

*All Resource

*

cms:RemoveTags RemoveTags delete

*All Resource

*

cms:DescribeEventRuleAttribute DescribeEventRuleAttribute get

*All Resource

*

cms:DescribeTagKeyList DescribeTagKeyList get

*All Resource

*

cms:DescribeMonitoringAgentHosts DescribeMonitoringAgentHosts get

*All Resource

*

cms:DescribeHybridMonitorTaskList DescribeHybridMonitorTaskList list

*All Resource

*

cms:PutEventRule PutEventRule create

*All Resource

*

cms:DescribeMonitoringAgentConfig DescribeMonitoringAgentConfig get

*All Resource

*

cms:DeleteEventRules DeleteEventRules delete

*All Resource

*

cms:ModifyHostAvailability ModifyHostAvailability update

*All Resource

*

cms:BatchExport BatchExport list

*All Resource

*

cms:DescribeDynamicTagRuleList DescribeDynamicTagRuleList get

*All Resource

*

cms:DescribeEventRuleTargetList DescribeEventRuleTargetList get

*All Resource

*

cms:DeleteMetricRuleResources DeleteMetricRuleResources delete

*All Resource

*

cms:DeleteHybridMonitorSLSGroup DeleteHybridMonitorSLSGroup delete

*All Resource

*

cms:DisableEventRules DisableEventRules update

*All Resource

*

cms:DescribeSiteMonitorISPCityList DescribeSiteMonitorISPCityList get

*All Resource

*

cms:CreateInstantSiteMonitor CreateInstantSiteMonitor create

*All Resource

*

cms:CreateGroupMonitoringAgentProcess CreateGroupMonitoringAgentProcess create

*GroupMonitoringAgentProcess

acs:cms::{#accountId}:group/{#groupId}

cms:EnableMetricRules EnableMetricRules update

*All Resource

*

cms:DescribeCustomEventHistogram DescribeCustomEventHistogram get

*All Resource

*

cms:EnableHostAvailability EnableHostAvailability update

*All Resource

*

cms:DeleteMonitoringAgentProcess DeleteMonitoringAgentProcess delete

*All Resource

*

cms:CreateMonitorGroupNotifyPolicy CreateMonitorGroupNotifyPolicy create

*All Resource

*

cms:PutCustomEvent PutCustomEvent create

*All Resource

*

cms:QueryMetricTop DescribeMetricTop get

*All Resource

*

cms:CreateGroupMetricRules CreateGroupMetricRules create

*GroupMetricRule

acs:cms::{#accountId}:group/{#groupId}

cms:DescribeMetricRuleList DescribeMetricRuleList get

*All Resource

*

cms:DisableSiteMonitors DisableSiteMonitors update

*All Resource

*

cms:QueryMetricData DescribeMetricData get

*All Resource

*

cms:DeleteCustomNamespace DeleteHybridMonitorNamespace delete

*All Resource

*

cms:DisableHostAvailability DisableHostAvailability update

*HostAvailability

acs:cms::{#accountId}:group/{#groupId}

cms:CreateMonitorGroupInstances CreateMonitorGroupInstances create

*All Resource

*

cms:DescribeMonitorGroupDynamicRules DescribeMonitorGroupDynamicRules get

*All Resource

*

cms:CreateMonitorGroup CreateMonitorGroup create

*All Resource

*

cms:DeleteMetricRuleTargets DeleteMetricRuleTargets delete

*All Resource

*

cms:CreateHybridMonitorSLSGroup CreateHybridMonitorSLSGroup create

*All Resource

*

cms:PutCustomMetric PutCustomMetric create

*All Resource

*

cms:BatchCreateInstantSiteMonitor BatchCreateInstantSiteMonitor create

*All Resource

*

cms:DescribeAlertingMetricRuleResources DescribeAlertingMetricRuleResources get

*All Resource

*

cms:DescribeMetricRuleCount DescribeMetricRuleCount get

*All Resource

*

cms:InstallMonitoringAgent InstallMonitoringAgent create

*All Resource

*

cms:PutResourceMetricRules PutResourceMetricRules create

*All Resource

*

cms:DescribeMonitorResourceQuotaAttribute DescribeMonitorResourceQuotaAttribute get

*All Resource

*

cms:PutCustomMetricRule PutCustomMetricRule create

*All Resource

*

cms:DescribeSiteMonitorQuota DescribeSiteMonitorQuota get

*All Resource

*

cms:DescribeContactListByContactGroup DescribeContactListByContactGroup get

*All Resource

*

cms:DescribeContactList DescribeContactList get

*All Resource

*

cms:DescribeMetricRuleTargets DescribeMetricRuleTargets list

*All Resource

*

cms:DescribeLogMonitorList DescribeLogMonitorList get

*All Resource

*

cms:ModifyHybridMonitorTask ModifyHybridMonitorTask update

*All Resource

*

cms:DescribeProductResourceTagKeyList DescribeProductResourceTagKeyList get

*All Resource

*

cms:PutContactGroup PutContactGroup create

*All Resource

*

cms:CreateMetricRuleTemplate CreateMetricRuleTemplate create

*All Resource

*

cms:CreateHybridMonitorTask CreateHybridMonitorTask create

*All Resource

*

cms:DescribeGroupMonitoringAgentProcess DescribeGroupMonitoringAgentProcess get

*All Resource

*

cms:DeleteMetricRuleBlackList DeleteMetricRuleBlackList delete

*All Resource

*

cms:DescribeAlertLogCount DescribeAlertLogCount get

*All Resource

*

cms:DescribeSyntheticProbeList DescribeSyntheticProbeList none

*All Resource

*

cms:ModifyHostInfo ModifyHostInfo update

*All Resource

*

cms:PutLogMonitor PutLogMonitor create

*All Resource

*

cms:DeleteMonitorGroupInstances DeleteMonitorGroupInstances delete

*MonitorGroupInstances

acs:cms::{#accountId}:group/{#groupId}

cms:DescribeHybridMonitorSLSGroup DescribeHybridMonitorSLSGroup get

*All Resource

*

cms:DescribeMonitoringAgentStatuses DescribeMonitoringAgentStatuses get

*All Resource

*

cms:DescribeCustomNamespace DescribeHybridMonitorNamespaceList get

*All Resource

*

cms:PutMonitoringConfig PutMonitoringConfig create

*All Resource

*

cms:ModifyMonitorGroupInstances ModifyMonitorGroupInstances update

*All Resource

*

cms:EnableActiveMetricRule EnableActiveMetricRule update

*All Resource

*

cms:DeleteDynamicTagGroup DeleteDynamicTagGroup delete

*All Resource

*

cms:PutContact PutContact create

*All Resource

*

cms:DeleteContactGroup DeleteContactGroup delete

*All Resource

*

cms:DescribeMonitoringAgentProcesses DescribeMonitoringAgentProcesses get

*All Resource

*

cms:PutCustomEventRule PutCustomEventRule create

*All Resource

*

cms:DescribeMetricRuleBlackList DescribeMetricRuleBlackList list

*All Resource

*

cms:CreateSiteMonitor CreateSiteMonitor create

*All Resource

*

cms:DescribeCustomEventCount DescribeCustomEventCount get

*All Resource

*

cms:Cursor Cursor list

*All Resource

*

cms:CreateMonitorGroupByResourceGroupId CreateMonitorGroupByResourceGroupId create

*All Resource

*

cms:EnableEventRules EnableEventRules update

*All Resource

*

cms:DeleteMetricRules DeleteMetricRules delete

*All Resource

*

cms:DescribeActiveMetricRuleList DescribeActiveMetricRuleList get

*All Resource

*

cms:CreateDynamicTagGroup CreateDynamicTagGroup create

*All Resource

*

cms:DescribeContactGroupList DescribeContactGroupList get

*All Resource

*

cms:CreateMonitorAgentProcess CreateMonitorAgentProcess create

*All Resource

*

cms:DescribeSystemEventHistogram DescribeSystemEventHistogram get

*All Resource

*

cms:DescribeSiteMonitorData DescribeSiteMonitorData get

*All Resource

*

cms:DescribeLogMonitorAttribute DescribeLogMonitorAttribute get

*All Resource

*

cms:DescribeMonitorGroupInstanceAttribute DescribeMonitorGroupInstanceAttribute get

*MonitorGroupInstances

acs:cms::{#accountId}:group/{#groupId}

cms:ApplyMetricRuleTemplate ApplyMetricRuleTemplate create

*MetricRuleTemplate

acs:cms::{#accountId}:group/{#groupId}

cms:AddTags AddTags create

*All Resource

*

cms:DeleteLogMonitor DeleteLogMonitor delete

*All Resource

*

cms:DescribeSiteMonitorAttribute DescribeSiteMonitorAttribute get

*All Resource

*

cms:DescribeCustomEventAttribute DescribeCustomEventAttribute get

*All Resource

*

cms:DescribeProductsOfActiveMetricRule DescribeProductsOfActiveMetricRule get

*All Resource

*

cms:CreateMetricRuleResources CreateMetricRuleResources create

*All Resource

*

cms:DeleteMonitorGroup DeleteMonitorGroup delete

*All Resource

*

cms:PutEventRuleTargets PutEventRuleTargets create

*All Resource

*

cms:UninstallMonitoringAgent UninstallMonitoringAgent delete

*All Resource

*

cms:CreateMonitoringAgentProcess CreateMonitoringAgentProcess create

*All Resource

*

cms:DescribeUnhealthyHostAvailability DescribeUnhealthyHostAvailability get

*All Resource

*

cms:DescribeEventRuleList DescribeEventRuleList get

*All Resource

*

cms:DeleteMetricRuleTemplate DeleteMetricRuleTemplate delete

*All Resource

*

cms:ModifyHybridMonitorSLSGroup ModifyHybridMonitorSLSGroup create

*All Resource

*

cms:EnableSiteMonitors EnableSiteMonitors update

*All Resource

*

cms:ModifyMetricRuleTemplate ModifyMetricRuleTemplate update

*All Resource

*

cms:DescribeAlertLogList DescribeAlertLogList get

*All Resource

*

cms:DisableMetricRules DisableMetricRules update

*All Resource

*

cms:ModifySiteMonitor ModifySiteMonitor update

*All Resource

*

資源(Resource)

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

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

  • *表示全部。例如:

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

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

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

資源類型

資源 ARN

MonitorGroup
  • acs:cms::{#accountId}:group/{#groupId}
SystemEvent
  • acs:cms::{#accountId}:group/{#groupId}
GroupMetricRule
  • acs:cms::{#accountId}:group/{#groupId}
MonitoringAgentProcess
  • acs:cms::{#accountId}:group/{#groupId}
HostAvailability
  • acs:cms::{#accountId}:group/{#groupId}
  • acs:cms:{#regionId}:{#accountId}:HostAvailability/*
HybridMonitorNamespace
  • acs:cms,log,arms::{#accountId}:hybridmonitornamespace/*
  • acs:cms::{#accountId}:
SlsGroup
  • acs:cms:{#regionId}:{#accountId}:SlsGroup/SlsGroupId
  • acs:cms:{#regionId}:{#accountId}:SlsGroup/*
SiteMonitor
  • acs:cloudmonitorservice::{#accountId}:*
GroupMonitoringAgentProcess
  • acs:cms::{#accountId}:group/{#groupId}
InstantSiteMonitor
  • acs:cms:{#regionId}:{#accountId}:instantsitemonitor/*
MetricRuleTargets
  • acs:cms::{#accountId}:*
LogMonitor
  • acs:cms::{#accountId}:group/{#groupId}
MonitorGroupInstances
  • acs:cms::{#accountId}:group/{#groupId}
AlarmContact
  • acs:cms:{#regionId}:{#accountId}:AlarmContact/*
MetricRuleTemplate
  • acs:cms::{#accountId}:group/{#groupId}

條件(Condition)

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

相關操作

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