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 Cloud Monitor defines for RAM permission policies. The RamCode of Cloud Monitor is cms , 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 Cloud Monitor. 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

cms:GetCloudResource GetCloudResource get

*CloudResource

acs:cms:{#regionId}:{#accountId}:cloudresource

None None
cms:UpdateAlertRobot UpdateAlertRobot update

*AlertRobot

acs:cms:{#regionId}:{#accountId}:robot/{#robotId}

None None
cms:DeleteAlertActions DeleteAlertActions delete

*AlertAction

acs:cms:{#regionId}:{#accountId}:alertaction/{#alertActionIds}

None None
cms:GetEntityPortraitGraph GetEntityPortraitGraph get

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:ListAddons ListAddons none

*All Resource

*

None None
cms:UpdateContextStore UpdateContextStore update

*ContextStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/contextstore/{#ContextStoreName}

None None
cms:ResendVerifyActivate ResendVerifyActivate none

*Contact

acs:cms:{#regionId}:{#accountId}:contact/{#ContactId}

None None
cms:UpdateAggTaskGroup UpdateAggTaskGroup update

*AggTaskGroup

acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#sourcePrometheusId}/aggtaskgroup/{#aggTaskGroupId}

None None
cms:GetServiceObservability GetServiceObservability get

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/service-observability/{#type}

None None
cms:ListPrometheusInstances ListPrometheusInstances list

*PrometheusInstance

acs:cms:{#regionId}:{#accountId}:prometheusinstance/*

None None
cms:TagResources TagResources create

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:GetUmodelCommonSchemaRef GetUmodelCommonSchemaRef get

*Umodel

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel

None None
cms:EnableNotifyPolicy EnableNotifyPolicy update

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:GetContextStore GetContextStore get

*ContextStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/contextstore/{#ContextStoreName}

None None
cms:CreateAlertNotifyTemplate CreateAlertNotifyTemplate create

*All Resource

*

None None
cms:ListIntegrationPolicyServiceMonitors ListIntegrationPolicyServiceMonitors none

*IntegrationPolicy

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}

None None
cms:DeleteMaintainWindow DeleteMaintainWindow delete

*MaintainWindow

acs:cms:{#regionId}:{#accountId}:subscription/{#subscriptionId}

None None
cms:ListAggTaskGroups ListAggTaskGroups list

*AggTaskGroup

acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#sourcePrometheusId}

None None
cms:DeleteContextStoreAPIKey DeleteContextStoreAPIKey delete

*ContextStoreAPIKey

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/contextstore/{#ContextStoreName}

None None
cms:DeletePrometheusView DeletePrometheusView delete

*PrometheusView

acs:cms:{#regionId}:{#accountId}:prometheusview/{#prometheusViewId}

None None
cms:ListContactGroups ListContactGroups list

*ContactGroup

acs:cms:{#regionId}:{#accountId}:contactgroup/{#contactGroupId}

None None
cms:ListIntegrationPolicies ListIntegrationPolicies list

*IntegrationPolicy

acs:cms:{#regionId}:{#accountId}:integrationpolicy/*

None None
cms:ListIntegrationPolicyDashboards ListIntegrationPolicyDashboards none

*integrationPolicy

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}

None None
cms:CreateContactGroup CreateContactGroup create

*ContactGroup

acs:cms:{#regionId}:{#accountId}:contactgroup/{#contactGroupId}

None None
cms:DeleteUmodelCommonSchemaRef DeleteUmodelCommonSchemaRef delete

*Umodel

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel

None None
cms:GetOncallSchedule GetOncallSchedule get

*OncallSchedule

acs:cms:{#regionId}:{#accountId}:oncallschedule/{#oncallscheduleId}

None None
cms:UpdateMemoryStore UpdateMemoryStore update

*MemoryStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}

None None
cms:UpdatePrometheusView UpdatePrometheusView update

*PrometheusView

acs:cms:{#regionId}:{#accountId}:prometheusview/{#prometheusViewId}

None None
cms:DeleteAggTaskGroup DeleteAggTaskGroup delete

*AggTaskGroup

acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#sourcePrometheusId}/aggtaskgroup/{#aggTaskGroupId}

None None
cms:GetService GetService get

*Service

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/service/{#ServiceId}

None None
cms:ListAddonReleases ListAddonReleases list

*AddonRelease

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#PolicyId}/addonrelease/*

None None
cms:CreateService CreateService create

*Service

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/service/*

None None
cms:UpdateDataPipeline UpdateDataPipeline update

*DataPipeline

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/datapipeline/{#PipelineName}

None None
cms:ExecuteQuery ExecuteQuery update

*Dataset

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/dataset/{#DatasetName}

None None
cms:CreateMemoryStore CreateMemoryStore create

*MemoryStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}

None None
cms:ListDataPipelines ListDataPipelines list

*DataPipeline

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/datapipeline/*

None None
cms:ListIntegrationPolicyPodMonitors ListIntegrationPolicyPodMonitors none

*IntegrationPolicy

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}

None None
cms:GetIntegrationVersionForCS GetIntegrationVersionForCS none

*All Resource

*

None None
cms:GetMemoryHistory GetMemoryHistory get

*MemoryStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}

None None
cms:CreateUmodel CreateUmodel create

*Umodel

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel

None None
cms:DeletePrometheusVirtualInstance DeletePrometheusVirtualInstance none

*All Resource

*

None None
cms:CreatePrometheusView CreatePrometheusView create

*PrometheusView

acs:cms:{#regionId}:{#accountId}:prometheusview/*

None None
cms:CreateDataset CreateDataset create

*Dataset

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/dataset/{#DatasetName}

None None
cms:GetSubscription GetSubscription get

*Subscription

acs:cms:{#regionId}:{#accountId}:subscription/{#subscriptionId}

None None
cms:UpdateAlertNotifyTemplate UpdateAlertNotifyTemplate update

*Contact

acs:cms:{#regionId}:{#accountId}:alertNotifyTemplate/{#alertNotifyTemplateId}

None None
cms:EnableMaintainWindow EnableMaintainWindow update

*MaintainWindow

acs:cms:{#regionId}:{#accountId}:maintainWindow/{#maintainWindowId}

None None
cms:GetMemoryStore GetMemoryStore get

*MemoryStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}

None None
cms:ListOncallSchedules ListOncallSchedules list

*OncallSchedule

acs:cms:{#regionId}:{#accountId}:oncallschedule/{#oncallscheduleId}

None None
cms:DeleteServiceTask DeleteServiceTask delete

*Service

acs:cms:{#regionId}:{#accountId}:serviceTask/{#Workspace}/{#serviceId}/task/{#taskId}

None None
cms:GetAlertAction GetAlertAction get

*AlertAction

acs:cms:{#regionId}:{#accountId}:alertaction/{#alertActionId}

None None
cms:CreateContextStoreAPIKey CreateContextStoreAPIKey create

*ContextStoreAPIKey

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/contextstore/{#ContextStoreName}

None None
cms:CreatePipeline CreatePipeline create

*Pipeline

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/pipeline/{#PipelineName}

None None
cms:CreateAlertAction CreateAlertAction create

*AlertAction

acs:cms:{#regionId}:{#accountId}:alertaction/*

None None
cms:ListAlertHistories ListAlertHistories list

*AlertHistory

acs:cms:{#regionId}:{#accountId}:alerthistory/*

None None
cms:GetIntegrationPolicy GetIntegrationPolicy get

*integrationPolicy

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}

None None
cms:ListAlertNotifyTemplates ListAlertNotifyTemplates list

*Contact

acs:cms:{#regionId}:{#accountId}:alertNotifyTemplate/{#alertNotifyTemplateId}

None None
cms:GetBizTrace GetBizTrace get

*BizTrace

acs:cms:{#regionId}:{#accountId}:biztrace/{#BizTraceId}

None None
cms:ListOncallContacts ListOncallContacts list

*OncallSchedule

acs:cms:{#regionId}:{#accountId}:oncallschedule/{#oncallscheduleId}

None None
cms:UpdateAlertAction UpdateAlertAction update

*AlertAction

acs:cms:{#regionId}:{#accountId}:alertaction/{#alertActionId}

None None
cms:UpdateAggTaskGroupStatus UpdateAggTaskGroupStatus update

*AggTaskGroup

acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#sourcePrometheusId}/aggtaskgroup/{#aggTaskGroupId}

None None
cms:GetMemories GetMemories get

*MemoryStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}

None None
cms:GetPipeline GetPipeline none

*Pipeline

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/pipeline/{#PipelineName}

None None
cms:ReflectEntityPortrait ReflectEntityPortrait get

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:UpdateAddonRelease UpdateAddonRelease update

*AddonRelease

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#PolicyId}/addonrelease/{#ReleaseName}

None None
cms:GetCloudResourceData GetCloudResourceData get

*CloudResource

acs:cms:{#regionId}:{#accountId}:cloudresource

None None
cms:DeleteEntityPortrait DeleteEntityPortrait delete

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:QueryAlertRules QueryAlertRules none

*All Resource

*

None None
cms:ListWorkspaces ListWorkspaces list

*Workspace

acs:cms::{#accountId}:workspace/*

None None
cms:DeleteIntegrationPolicy DeleteIntegrationPolicy delete

*IntegrationPolicy

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}

None None
cms:GetAggTaskGroup GetAggTaskGroup get

*AggTaskGroup

acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#sourcePrometheusId}/aggtaskgroup/{#aggTaskGroupId}

None None
cms:UpsertUmodelData UpsertUmodelData update

*Umodel

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel

None None
cms:ListServices ListServices list

*Service

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/service/*

None None
cms:GetDataset GetDataset get

*Dataset

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/dataset/{#DatasetName}

None None
cms:GetAddonRelease GetAddonRelease get

*AddonRelease

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#PolicyId}/addonrelease/{#ReleaseName}

None None
cms:ListIntegrationPolicyCustomScrapeJobRules ListIntegrationPolicyCustomScrapeJobRules none

*IntegrationPolicy

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}

None None
cms:ListBizTraces ListBizTraces list

*BizTrace

acs:cms:{#regionId}:{#accountId}:biztrace/*

None None
cms:DeleteSubscription DeleteSubscription delete

*Subscription

acs:cms:{#regionId}:{#accountId}:subscription/{#subscriptionId}

None None
cms:ListPipelines ListPipelines list

*Pipeline

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/pipeline/*

None None
cms:ListPrometheusDashboards ListPrometheusDashboards list

*PrometheusInstance

acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#prometheusInstanceId}

None None
cms:CreateContact CreateContact create

*Contact

acs:cms:{#regionId}:{#accountId}:contact/*

None None
cms:DeleteAlertRobots DeleteAlertRobots delete

*AlertRobot

acs:cms:{#regionId}:{#accountId}:robot/{#robotIds}

None None
cms:CreateServiceTask CreateServiceTask create

*Service

acs:cms:{#regionId}:{#accountId}:serviceTask/{#Workspace}/{#serviceId}/task

None None
cms:GetUmodelData GetUmodelData get

*Umodel

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel

None None
cms:UpdatePrometheusInstance UpdatePrometheusInstance update

*PrometheusInstance

acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#prometheusInstanceId}

None None
cms:CreateCloudResource CreateCloudResource create

*CloudResource

acs:cms:{#regionId}:{#accountId}:cloudresource

None None
cms:ListDeliveryTasks ListDeliveryTasks list

*DeliveryTask

acs:cms:{#regionId}:{#accountId}:deliverytask/*

None None
cms:ListSubscriptions ListSubscriptions list

*Subscription

acs:cms:{#regionId}:{#accountId}:subscription/*

None None
cms:ManageAlertRules ManageAlertRules none

*All Resource

*

None None
cms:CreateAlertRobot CreateAlertRobot create

*AlertRobot

acs:cms:{#regionId}:{#accountId}:robot/*

None None
cms:GetNotifyPolicy GetNotifyPolicy get

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:GetRumSymbolFileParams GetRumSymbolFileParams none

*All Resource

*

None None
cms:GetContext GetContext get

*ContextStore

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/contextstore/{#contextStoreName}

None None
cms:CreateAggTaskGroup CreateAggTaskGroup create

*AggTaskGroup

acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#sourcePrometheusId}/aggtaskgroup/*

None None
cms:GetServiceTask GetServiceTask get

*Service

acs:cms:{#regionId}:{#accountId}:serviceTask/{#Workspace}/{#serviceId}/task/{#taskId}

None None
cms:UpdateNotifyPolicy UpdateNotifyPolicy update

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:CreateDataPipeline CreateDataPipeline create

*DataPipeline

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/datapipeline/{#PipelineName}

None None
cms:ListServiceRecords ListServiceRecords list

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/service-records

None None
cms:GetRumSymbolicStack GetRumSymbolicStack none

*All Resource

*

None None
cms:GetUmodel GetUmodel get

*Umodel

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel

None None
cms:ListNotifyPolicies ListNotifyPolicies list

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:CreateTicket CreateTicket create

*All Resource

*

None None
cms:GetAddonCodeTemplate GetAddonCodeTemplate get

*All Resource

*

None None
cms:DeleteAddonRelease DeleteAddonRelease delete

*AddonRelease

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#PolicyId}/addonrelease/*

None None
cms:UpdateDataset UpdateDataset update

*Dataset

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/dataset/{#DatasetName}

None None
cms:UpdatePrometheusUserSetting UpdatePrometheusUserSetting update

*All Resource

*

None None
cms:DeletePipeline DeletePipeline none

*Pipeline

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/pipeline/{#PipelineName}

None None
cms:WriteEntityPortrait WriteEntityPortrait create

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:SearchMemories SearchMemories list

*MemoryStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}

None None
cms:GetEntityStoreData GetEntityStoreData get

*EntityStore

acs:cms:{#regionId}:{#accountId}:workspace/{#workspaceName}/entitystore

None None
cms:GetDataPipeline GetDataPipeline get

*DataPipeline

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/datapipeline/{#PipelineName}

None None
cms:DisableNotifyPolicy DisableNotifyPolicy update

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:CreateSubscription CreateSubscription create

*Subscription

acs:cms:{#regionId}:{#accountId}:subscription/*

None None
cms:DeleteUmodel DeleteUmodel delete

*Umodel

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel

None None
cms:ListIntegrationPolicyCollectors ListIntegrationPolicyCollectors none

*IntegrationPolicy

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}

None None
cms:ListIntegrationPolicyAddons ListIntegrationPolicyAddons none

*integrationPolicy

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}

None None
cms:UpsertUmodelCommonSchemaRef UpsertUmodelCommonSchemaRef update

*Umodel

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel

None None
cms:ListPrometheusViews ListPrometheusViews list

*PrometheusView

acs:cms:{#regionId}:{#accountId}:prometheusview/*

None None
cms:ListServiceTask ListServiceTask list

*Service

acs:cms:{#regionId}:{#accountId}:serviceTask/{#Workspace}/{#serviceId}/tasks

None None
cms:UpdateDeliveryTask UpdateDeliveryTask update

*DeliveryTask

acs:cms:{#regionId}:{#accountId}:deliverytask/{#TaskId}

None None
cms:DeleteUmodelData DeleteUmodelData delete

*Umodel

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel

None None
cms:GetServiceRecord GetServiceRecord get

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/service/{#serviceId}/record

None None
cms:DeleteNotifyPolicy DeleteNotifyPolicy delete

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:DeleteContexts DeleteContexts delete

*ContextStore

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/contextstore/{#contextStoreName}

None None
cms:DeleteCloudResource DeleteCloudResource delete

*CloudResource

acs:cms:{#regionId}:{#accountId}:cloudresource

None None
cms:ViewOncallSchedule ViewOncallSchedule get

*OncallSchedule

acs:cms:{#regionId}:{#accountId}:oncallschedule/{#oncallscheduleId}

None None
cms:DeleteContext DeleteContext delete

*ContextStore

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/contextstore/{#contextStoreName}

None None
cms:OpenCmsService OpenCmsService create

*CmsService

acs:cms:*:{#accountId}:cmsservice/*

None

log:EnableService

arms:OpenArmsService

cms:ListPrometheusVirtualInstances ListPrometheusVirtualInstances none

*All Resource

*

None None
cms:DeleteDataPipeline DeleteDataPipeline delete

*DataPipeline

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/datapipeline/{#PipelineName}

None None
cms:GetEntityPortraitStatus GetEntityPortraitStatus get

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:UpdateService UpdateService update

*Service

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/service/{#ServiceId}

None None
cms:DeleteWorkspace DeleteWorkspace delete

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:GetDeliveryTask GetDeliveryTask get

*DeliveryTask

acs:cms:{#regionId}:{#accountId}:deliverytask/{#TaskId}

None None
cms:UpdateSubscription UpdateSubscription update

*Subscription

acs:cms:{#regionId}:{#accountId}:subscription/{#subscriptionId}

None None
cms:DeleteContactGroups DeleteContactGroups delete

*ContactGroup

acs:cms:{#regionId}:{#accountId}:contactgroup/{#contactGroupId}

None None
cms:DeleteServiceRecord DeleteServiceRecord delete

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/service/{#serviceId}/record

None None
cms:DeleteMemory DeleteMemory delete

*MemoryStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}

None None
cms:QueryEntityPortrait QueryEntityPortrait list

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:UpdateMaintainWindow UpdateMaintainWindow update

*MaintainWindow

acs:cms:{#regionId}:{#accountId}:maintainWindow/{#maintainWindowId}

None None
cms:CreateOncallSchedule CreateOncallSchedule create

*OncallSchedule

acs:cms:{#regionId}:{#accountId}:oncallschedule/*

None None
cms:UpdateNotifyStrategy UpdateNotifyStrategy update

*NotifyStrategy

acs:cms:{#regionId}:{#accountId}:notifyStrategy/{#notifyStrategyId}

None None
cms:GetAddonSchema GetAddonSchema get

*All Resource

*

None None
cms:GetRumSymbolFiles GetRumSymbolFiles none

*All Resource

*

None None
cms:CreateMaintainWindow CreateMaintainWindow create

*MaintainWindow

acs:cms:{#regionId}:{#accountId}:maintainWindow/*

None None
cms:PreviewNotifyTemplate PreviewNotifyTemplate create

*All Resource

*

None None
cms:DeleteOncallSchedules DeleteOncallSchedules delete

*OncallSchedule

acs:cms:{#regionId}:{#accountId}:oncallschedule/{#oncallscheduleId}

None None
cms:GetAddon GetAddon none

*All Resource

*

None None
cms:CreateBizTrace CreateBizTrace create

*BizTrace

acs:cms:{#regionId}:{#accountId}:biztrace/*

None None
cms:DeleteContextStore DeleteContextStore delete

*ContextStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/contextstore/{#ContextStoreName}

None None
cms:PreviewDataPipeline PreviewDataPipeline none

*DataPipeline

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/datapipeline/{#PipelineName}

None None
cms:CreateDeliveryTask CreateDeliveryTask create

*DeliveryTask

acs:cms:{#regionId}:{#accountId}:deliverytask/*

None None
cms:GetMemory GetMemory get

*MemoryStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}

None None
cms:CreateContextStore CreateContextStore create

*ContextStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/contextstore/{#ContextStoreName}

None None
cms:AddMemories AddMemories create

*MemoryStore

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/memorystore/{#memoryStore}

None None
cms:UpdateIntegrationPolicy UpdateIntegrationPolicy update

*IntegrationPolicy

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}

None None
cms:UpdateAlertWebhook UpdateAlertWebhook update

*AlertWebhook

acs:cms:{#regionId}:{#accountId}:webhook/{#webhookId}

None None
cms:ListIntegrationPolicyStorageRequirements ListIntegrationPolicyStorageRequirements none

*IntegrationPolicy

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}

None None
cms:EnableSubscription EnableSubscription update

*Subscription

acs:cms:{#regionId}:{#accountId}:subscription/{#subscriptionId}

None None
cms:DeleteContacts DeleteContacts delete

*Contact

acs:cms:{#regionId}:{#accountId}:contact/{#contactIds}

None None
cms:PutWorkspace PutWorkspace create

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:CreatePrometheusInstance CreatePrometheusInstance create

*PrometheusInstance

acs:cms:{#regionId}:{#accountId}:prometheusinstance/*

None None
cms:ListContextStoreAPIKeys ListContextStoreAPIKeys list

*ContextStoreAPIKey

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/contextstore/{#ContextStoreName}

None None
cms:UpdateBizTrace UpdateBizTrace update

*BizTrace

acs:cms:{#regionId}:{#accountId}:biztrace/{#BizTraceId}

None None
cms:UntagResources UntagResources delete

*All Resource

*

None None
cms:UpdateContext UpdateContext update

*ContextStore

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/contextstore/{#contextStoreName}

None None
cms:DeleteDataset DeleteDataset delete

*Dataset

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/dataset/{#DatasetName}

None None
cms:ListAlertActions ListAlertActions list

*AlertAction

acs:cms:{#regionId}:{#accountId}:alertaction/*

None None
cms:UpdateContact UpdateContact update

*Contact

acs:cms:{#regionId}:{#accountId}:contact/{#contactId}

None None
cms:CreateServiceObservability CreateServiceObservability create

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/service-observability/{#type}

None None
cms:UpdatePipeline UpdatePipeline none

*Pipeline

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/pipeline/{#PipelineName}

None None
cms:SearchContext SearchContext list

*ContextStore

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/contextstore/{#contextStoreName}

None None
cms:EnsureSharedPrometheusInstance EnsureSharedPrometheusInstance none

*PrometheusInstance

acs:cms:{#regionId}:{#accountId}:prometheusinstance/*

None None
cms:ActiveContactChannel ActiveContactChannel none

*All Resource

*

None None
cms:CreateAlertWebhook CreateAlertWebhook create

*AlertWebhook

acs:cms:{#regionId}:{#accountId}:webhook/{#webhookId}

None None
cms:DeleteMemoryStore DeleteMemoryStore delete

*MemoryStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}

None None
cms:CreateEntityStore CreateEntityStore create

*EntityStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/entitystore

None None
cms:ListTagResources ListTagResources list

*All Resource

*

None None
cms:DeleteBizTrace DeleteBizTrace delete

*BizTrace

acs:cms:{#regionId}:{#accountId}:biztrace/{#BizTraceId}

None None
cms:UpdateUmodel UpdateUmodel update

*Umodel

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel

None None
cms:ListMaintainWindows ListMaintainWindows list

*MaintainWindow

acs:cms:{#regionId}:{#accountId}:maintainWindow/*

None None
cms:UpdateServiceRecord UpdateServiceRecord update

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/service/{#serviceId}/record

None None
cms:ListMemoryStores ListMemoryStores list

*MemoryStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/*

None None
cms:DeleteService DeleteService delete

*Service

acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/service/{#ServiceId}

None None
cms:DeletePrometheusInstance DeletePrometheusInstance delete

*PrometheusInstance

acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#prometheusInstanceId}

None None
cms:ListAlertWebhooks ListAlertWebhooks get

*AlertWebhook

acs:cms:{#regionId}:{#accountId}:webhook/{#webhookId}

None None
cms:DeleteAlertNotifyTemplates DeleteAlertNotifyTemplates delete

*Contact

acs:cms:{#regionId}:{#accountId}:alertNotifyTemplate/{#alertNotifyTemplateIds}

None None
cms:GetPrometheusView GetPrometheusView get

*PrometheusView

acs:cms:{#regionId}:{#accountId}:prometheusview/{#prometheusViewId}

None None
cms:CreatePrometheusVirtualInstance CreatePrometheusVirtualInstance create

*All Resource

*

None None
cms:CreateAddonRelease CreateAddonRelease create

*AddonRelease

acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#PolicyId}/addonrelease/*

None None
cms:GetCmsService GetCmsService get

*CmsService

acs:cms:*:{#accountId}:cmsservice/*

None None
cms:GetEntityPortrait GetEntityPortrait get

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:DescribeMetricMetaList DescribeMetricMetaList none

*All Resource

*

None None
cms:GetMaintainWindow GetMaintainWindow get

*MaintainWindow

acs:cms:{#regionId}:{#accountId}:maintainWindow/{#maintainWindowId}

None None
cms:DeleteEntityStore DeleteEntityStore delete

*EntityStore

acs:cms:{#regionId}:{#accountId}:workspace/{#workspaceName}/entitystore

None None
cms:CreateServiceRecord CreateServiceRecord create

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/service/{#serviceId}/record

None None
cms:DeleteMemories DeleteMemories delete

*MemoryStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}

None None
cms:ListAlertRobots ListAlertRobots list

*AlertRobot

acs:cms:{#regionId}:{#accountId}:robot/{#robotId}

None None
cms:CreateIntegrationPolicy CreateIntegrationPolicy create

*All Resource

*

None None
cms:CreateNotifyPolicy CreateNotifyPolicy create

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:ListDatasets ListDatasets list

*Dataset

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/dataset/*

None None
cms:GetPrometheusInstance GetPrometheusInstance get

*PrometheusInstance

acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#prometheusInstanceId}

None None
cms:DisableSubscription DisableSubscription update

*Subscription

acs:cms:{#regionId}:{#accountId}:subscription/{#subscriptionId}

None None
cms:DeleteDeliveryTask DeleteDeliveryTask delete

*DeliveryTask

acs:cms:{#regionId}:{#accountId}:deliverytask/{#TaskId}

None None
cms:AddContexts AddContexts create

*ContextStore

acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/contextstore/{#contextStoreName}

None None
cms:ChangeResourceGroup ChangeResourceGroup update

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:ListUserNotifyHistories ListUserNotifyHistories list

*All Resource

*

None None
cms:DeleteAlertWebhooks DeleteAlertWebhooks delete

*AlertWebhook

acs:cms:{#regionId}:{#accountId}:webhook/{#webhookIds}

None None
cms:ListContextStores ListContextStores list

*ContextStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/contextstore/*

None None
cms:UpdateContactGroup UpdateContactGroup update

*ContactGroup

acs:cms:{#regionId}:{#accountId}:contactgroup/{#contactGroupId}

None None
cms:GetPrometheusUserSetting GetPrometheusUserSetting get

*All Resource

*

None None
cms:DeleteRumSymbolFiles DeleteRumSymbolFiles none

*All Resource

*

None None
cms:DisableMaintainWindow DisableMaintainWindow update

*MaintainWindow

acs:cms:{#regionId}:{#accountId}:maintainWindow/{#maintainWindowId}

None None
cms:GetEntityStore GetEntityStore get

*EntityStore

acs:cms:{#regionId}:{#accountId}:workspace/{#workspaceName}/entitystore

None None
cms:UpdateMemory UpdateMemory update

*MemoryStore

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}

None None
cms:UpdateOncallSchedule UpdateOncallSchedule update

*OncallSchedule

acs:cms:{#regionId}:{#accountId}:oncallschedule/{#oncallscheduleId}

None None
cms:GetWorkspace GetWorkspace get

*Workspace

acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}

None None
cms:ListContacts ListContacts list

*Contact

acs:cms:{#regionId}:{#accountId}:contact/*

None None

Resource

The following table lists the resource types and ARN formats defined by Cloud Monitor. 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

CloudResource
  • acs:cms:{#regionId}:{#accountId}:cloudresource
AlertRobot
  • acs:cms:{#regionId}:{#accountId}:robot/{#robotId}
  • acs:cms:{#regionId}:{#accountId}:robot/{#robotIds}
  • acs:cms:{#regionId}:{#accountId}:robot/*
AlertAction
  • acs:cms:{#regionId}:{#accountId}:alertaction/{#alertActionIds}
  • acs:cms:{#regionId}:{#accountId}:alertaction/{#alertActionId}
  • acs:cms:{#regionId}:{#accountId}:alertaction/*
Workspace
  • acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}
  • acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/service-observability/{#type}
  • acs:cms::{#accountId}:workspace/*
  • acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/service-records
  • acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/service/{#serviceId}/record
ContextStore
  • acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/contextstore/{#ContextStoreName}
  • acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/contextstore/{#contextStoreName}
  • acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/contextstore/*
Contact
  • acs:cms:{#regionId}:{#accountId}:contact/{#ContactId}
  • acs:cms:{#regionId}:{#accountId}:alertNotifyTemplate/*
  • acs:cms:{#regionId}:{#accountId}:alertNotifyTemplate/{#alertNotifyTemplateId}
  • acs:cms:{#regionId}:{#accountId}:contact/*
  • acs:cms:{#regionId}:{#accountId}:contact/{#contactIds}
  • acs:cms:{#regionId}:{#accountId}:alertNotifyTemplate/{#alertNotifyTemplateIds}
AggTaskGroup
  • acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#sourcePrometheusId}/aggtaskgroup/{#aggTaskGroupId}
  • acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#sourcePrometheusId}
  • acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#sourcePrometheusId}/aggtaskgroup/*
PrometheusInstance
  • acs:cms:{#regionId}:{#accountId}:prometheusinstance/*
  • acs:cms:{#regionId}:{#accountId}:prometheusinstance/{#prometheusInstanceId}
Umodel
  • acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/umodel
IntegrationPolicy
  • acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}
  • acs:cms:{#regionId}:{#accountId}:integrationpolicy/*
MaintainWindow
  • acs:cms:{#regionId}:{#accountId}:subscription/{#subscriptionId}
  • acs:cms:{#regionId}:{#accountId}:maintainWindow/{#maintainWindowId}
  • acs:cms:{#regionId}:{#accountId}:maintainWindow/*
ContextStoreAPIKey
  • acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/contextstore/{#ContextStoreName}
PrometheusView
  • acs:cms:{#regionId}:{#accountId}:prometheusview/{#prometheusViewId}
  • acs:cms:{#regionId}:{#accountId}:prometheusview/*
ContactGroup
  • acs:cms:{#regionId}:{#accountId}:contactgroup/{#contactGroupId}
integrationPolicy
  • acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#integrationPolicyId}
OncallSchedule
  • acs:cms:{#regionId}:{#accountId}:oncallschedule/{#oncallscheduleId}
  • acs:cms:{#regionId}:{#accountId}:oncallschedule/*
MemoryStore
  • acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/{#MemoryStoreName}
  • acs:cms:{#regionId}:{#accountId}:workspace/{#workspace}/memorystore/{#memoryStore}
  • acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/memorystore/*
Service
  • acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/service/{#ServiceId}
  • acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/service/*
  • acs:cms:{#regionId}:{#accountId}:serviceTask/{#Workspace}/{#serviceId}/task/{#taskId}
  • acs:cms:{#regionId}:{#accountId}:serviceTask/{#Workspace}/{#serviceId}/task
  • acs:cms:{#regionId}:{#accountId}:serviceTask/{#Workspace}/{#serviceId}/tasks
AddonRelease
  • acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#PolicyId}/addonrelease/*
  • acs:cms:{#regionId}:{#accountId}:integrationpolicy/{#PolicyId}/addonrelease/{#ReleaseName}
DataPipeline
  • acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/datapipeline/{#PipelineName}
  • acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/datapipeline/*
Dataset
  • acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/dataset/{#DatasetName}
  • acs:cms:{#regionId}:{#accountId}:workspace/{#WorkspaceName}/dataset/*
Subscription
  • acs:cms:{#regionId}:{#accountId}:subscription/{#subscriptionId}
  • acs:cms:{#regionId}:{#accountId}:subscription/*
Pipeline
  • acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/pipeline/{#PipelineName}
  • acs:cms:{#regionId}:{#accountId}:workspace/{#Workspace}/pipeline/*
AlertHistory
  • acs:cms:{#regionId}:{#accountId}:alerthistory/*
BizTrace
  • acs:cms:{#regionId}:{#accountId}:biztrace/{#BizTraceId}
  • acs:cms:{#regionId}:{#accountId}:biztrace/*
DeliveryTask
  • acs:cms:{#regionId}:{#accountId}:deliverytask/*
  • acs:cms:{#regionId}:{#accountId}:deliverytask/{#TaskId}
EntityStore
  • acs:cms:{#regionId}:{#accountId}:workspace/{#workspaceName}/entitystore
CmsService
  • acs:cms:*:{#accountId}:cmsservice/*
NotifyStrategy
  • acs:cms:{#regionId}:{#accountId}:notifyStrategy/{#notifyStrategyId}
AlertWebhook
  • acs:cms:{#regionId}:{#accountId}:webhook/{#webhookId}
  • acs:cms:{#regionId}:{#accountId}:webhook/{#webhookIds}

Condition

The following table lists the product-level condition keys defined by Cloud Monitor. 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

acs:Service String
acs:ResourceGroupId String

References

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