访问控制(RAM)是阿里云提供的管理用户身份与资源访问权限的服务。使用RAM可以让您避免与其他用户共享阿里云账号密钥,并可按需为用户授予最小权限。RAM中使用权限策略描述授权的具体内容。
本文为您介绍应用实时监控服务(ARMS)为RAM权限策略定义的操作(Action)、资源(Resource)和条件(Condition)。应用实时监控服务(ARMS)的RAM代码(RamCode)为 arms、xtrace,支持的授权粒度为资源级。
权限策略通用结构
权限策略支持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)
下表是应用实时监控服务(ARMS)定义的操作,这些操作可以在RAM权限策略语句的Action元素中使用,用来授予执行该操作的权限。下面对表中的具体项提供说明:- 操作:是指具体的权限点。
- API:是指操作对应的API接口。
- 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
- 资源类型:是指操作中支持授权的资源类型。具体说明如下:
- 对于必选的资源类型,用前面加 * 表示。
- 对于不支持资源级授权的操作,用
全部资源表示。
- 条件关键字:是指云产品自身定义的条件关键字。该列不体现适用于任何操作的通用条件关键字。
- 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
| 操作 | API | 访问级别 | 资源类型 | 条件关键字 | 关联操作 |
|---|---|---|---|---|---|
| arms:AddAliClusterIdsToPrometheusGlobalView | AddAliClusterIdsToPrometheusGlobalView | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:AddGrafana | AddGrafana | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:AddIntegration | AddIntegration | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:AddPrometheusGlobalView | AddPrometheusGlobalView | none | *全部资源 * | 无 | 无 |
| arms:AddPrometheusGlobalViewByAliClusterIds | AddPrometheusGlobalViewByAliClusterIds | none | *全部资源 * | 无 | 无 |
| arms:AddPrometheusInstance | AddPrometheusInstance | none | *全部资源 * | 无 | 无 |
| arms:AddPrometheusIntegration | AddPrometheusIntegration | none | *全部资源 * | 无 | 无 |
| arms:AddRecordingRule | AddRecordingRule | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:AddTagToFlinkCluster | AddTagToFlinkCluster | create | *全部资源 * | 无 | 无 |
| arms:AppendInstancesToPrometheusGlobalView | AppendInstancesToPrometheusGlobalView | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:ApplyScenario | ApplyScenario | none | *全部资源 * | 无 | 无 |
| arms:BindPrometheusGrafanaInstance | BindPrometheusGrafanaInstance | update | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:BlockAlarmNotification | BlockAlarmNotification | create | *全部资源 * | 无 | 无 |
| arms:ChangeAlarmSeverity | ChangeAlarmSeverity | create | *全部资源 * | 无 | 无 |
| 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:CheckCommercialStatus | CheckCommercialStatus | none | *全部资源 * | 无 | 无 |
| arms:CheckServiceStatus | CheckServiceStatus | none | *全部资源 * | 无 | 无 |
| arms:ClaimAlarm | ClaimAlarm | create | *全部资源 * | 无 | 无 |
| arms:CloseAlarm | CloseAlarm | create | *全部资源 * | 无 | 无 |
| arms:ConfigApp | ConfigApp | none | *全部资源 * | 无 | 无 |
| arms:CreateAlertContact | CreateAlertContact | none | *全部资源 * | 无 | 无 |
| arms:CreateAlertContactGroup | CreateAlertContactGroup | none | *全部资源 * | 无 | 无 |
| arms:CreateAlertRules | CreateOrUpdateAlertRule | create | *AlertRule acs:arms:{#regionId}:{#AccountId}:alertrule/{#AlertRuled} | 无 | 无 |
| arms:CreateAlertRules | ImportAppAlertRules | none | *AlertRule acs:arms:{#regionId}:{#AccountId}:alertrule/{#AlertRuled} | 无 | 无 |
| arms:CreateContact | CreateOrUpdateContact | none | *全部资源 * | 无 | 无 |
| arms:CreateContact | CreateOrUpdateIMRobot | none | *全部资源 * | 无 | 无 |
| arms:CreateContact | CreateOrUpdateWebhookContact | none | *全部资源 * | 无 | 无 |
| arms:CreateContactGroup | CreateOrUpdateContactGroup | none | *全部资源 * | 无 | 无 |
| arms:CreateDispatchRule | CreateOrUpdateSilencePolicy | none | *全部资源 * | 无 | 无 |
| arms:CreateDispatchRule | CreateOrUpdateNotificationPolicy | none | *全部资源 * | 无 | 无 |
| arms:CreateDispatchRule | CreateDispatchRule | none | *全部资源 * | 无 | 无 |
| arms:CreateEnvCustomJob | CreateEnvCustomJob | create | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:CreateEnvPodMonitor | CreateEnvPodMonitor | create | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:CreateEnvServiceMonitor | CreateEnvServiceMonitor | create | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:CreateEnvironment | CreateEnvironment | create | *Environment acs:arms:{#regionId}:{#accountId}:environment/* | 无 | 无 |
| arms:CreateGrafanaWorkspace | CreateGrafanaWorkspace | create | *GrafanaWorkspace acs:arms:{#regionId}:{#AccountId}:grafanaworkspace/* | 无 | 无 |
| arms:CreateIntegration | CreateIntegration | none | *全部资源 * | 无 | 无 |
| arms:CreateOrUpdateEventBridgeIntegration | CreateOrUpdateEventBridgeIntegration | none | *全部资源 * | 无 | 无 |
| arms:CreatePrometheusAlertRule | CreatePrometheusAlertRule | create | *全部资源 * | 无 | 无 |
| arms:CreatePrometheusInstance | CreatePrometheusInstance | create | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/* | 无 | 无 |
| arms:CreatePrometheusMonitoring | CreatePrometheusMonitoring | create | *全部资源 * | 无 | 无 |
| arms:CreateRetcodeApp | CreateRetcodeApp | none | *全部资源 * | 无 | 无 |
| arms:CreateRumApp | CreateRumApp | create | *全部资源 * | 无 | 无 |
| arms:CreateRumUploadFileUrl | CreateRumUploadFileUrl | create | *全部资源 * | 无 | 无 |
| arms:CreateTimingSyntheticTask | CreateTimingSyntheticTask | create | *SyntheticTask acs:arms:{#regionId}:{#accountId}:synthetictask/* | 无 | 无 |
| arms:CreateWebhook | CreateWebhook | none | *全部资源 * | 无 | 无 |
| arms:DelAuthToken | DelAuthToken | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:DeleteAddonRelease | DeleteAddonRelease | none | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:DeleteAlertContact | DeleteAlertContact | none | *全部资源 * | 无 | 无 |
| arms:DeleteAlertContactGroup | DeleteAlertContactGroup | none | *全部资源 * | 无 | 无 |
| arms:DeleteAlertRules | DeleteAlertRule | delete | *AlertRule acs:arms:{#regionId}:{#accountId}:AlertRule/{#AlertRuled} | 无 | 无 |
| arms:DeleteAlertRules | DeleteAlertRules | none | *全部资源 * | 无 | 无 |
| arms:DeleteAppList | DeleteAppList | none | *TraceApp acs:arms:{#regionId}:{#accountId}:traceapp/{#Pid} | 无 | 无 |
| arms:DeleteCmsExporter | DeleteCmsExporter | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:DeleteContact | DeleteIMRobot | none | *全部资源 * | 无 | 无 |
| arms:DeleteContact | DeleteWebhookContact | none | *全部资源 * | 无 | 无 |
| arms:DeleteContact | DeleteContact | none | *全部资源 * | 无 | 无 |
| arms:DeleteContactGroup | DeleteContactGroup | none | *全部资源 * | 无 | 无 |
| arms:DeleteDispatchRule | DeleteNotificationPolicy | none | *全部资源 * | 无 | 无 |
| arms:DeleteDispatchRule | DeleteDispatchRule | none | *全部资源 * | 无 | 无 |
| arms:DeleteEnvCustomJob | DeleteEnvCustomJob | delete | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:DeleteEnvPodMonitor | DeleteEnvPodMonitor | delete | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:DeleteEnvServiceMonitor | DeleteEnvServiceMonitor | delete | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:DeleteEnvironment | DeleteEnvironment | delete | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:DeleteEnvironmentFeature | DeleteEnvironmentFeature | none | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:DeleteEventBridgeIntegration | DeleteEventBridgeIntegration | none | *全部资源 * | 无 | 无 |
| arms:DeleteGrafanaResource | DeleteGrafanaResource | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:DeleteGrafanaWorkspace | DeleteGrafanaWorkspace | delete | *GrafanaWorkspace acs:arms:{#regionId}:{#accountId}:grafanaworkspace/{#GrafanaWorkspaceId} | 无 | 无 |
| arms:DeleteIntegration | DeleteIntegration | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:DeletePrometheusAlertRule | DeletePrometheusAlertRule | delete | *全部资源 * | 无 | 无 |
| arms:DeletePrometheusGlobalView | DeletePrometheusGlobalView | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:DeletePrometheusIntegration | DeletePrometheusIntegration | none | *全部资源 * | 无 | 无 |
| arms:DeletePrometheusMonitoring | DeletePrometheusMonitoring | delete | *全部资源 * | 无 | 无 |
| arms:DeleteRetcodeApp | DeleteRetcodeApp | none | *RetcodeApp acs:arms:{#regionId}:{#accountId}:retcodeapp/{#Pid} | 无 | 无 |
| arms:DeleteRumApp | DeleteRumApp | delete | *全部资源 * | 无 | 无 |
| arms:DeleteRumUploadFile | DeleteRumUploadFile | delete | *全部资源 * | 无 | 无 |
| arms:DeleteScenario | DeleteScenario | none | *全部资源 * | 无 | 无 |
| arms:DeleteSilencePolicy | DeleteSilencePolicy | none | *全部资源 * | 无 | 无 |
| arms:DeleteSourceMap | DeleteSourceMap | delete | *全部资源 * | 无 | 无 |
| arms:DeleteSyntheticTask | DeleteSyntheticTask | none | *全部资源 * | 无 | 无 |
| arms:DeleteTimingSyntheticTask | DeleteTimingSyntheticTask | delete | *SyntheticTask acs:arms:{#regionId}:{#accountId}:synthetictask/{#TaskId} | 无 | 无 |
| arms:DeleteTraceApp | DeleteTraceApp | none | *TraceApp acs:arms:{#regionId}:{#AccountId}:traceapp/{#Pid} | 无 | 无 |
| arms:DescribeAddonMetrics | DescribeAddonMetrics | none | *全部资源 * | 无 | 无 |
| arms:DescribeAddonRelease | DescribeAddonRelease | none | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:DescribeDispatchRule | DescribeDispatchRule | none | *全部资源 * | 无 | 无 |
| arms:DescribeEnvCustomJob | DescribeEnvCustomJob | get | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:DescribeEnvDropMetricsRule | DescribeEnvDropMetricsRule | get | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:DescribeEnvPodMonitor | DescribeEnvPodMonitor | get | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:DescribeEnvServiceMonitor | DescribeEnvServiceMonitor | get | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:DescribeEnvironment | DescribeEnvironment | get | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:DescribeEnvironmentFeature | DescribeEnvironmentFeature | none | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:DescribePrometheusAlertRule | DescribePrometheusAlertRule | get | *全部资源 * | 无 | 无 |
| arms:DescribeTraceLicenseKey | DescribeTraceLicenseKey | none | *全部资源 * | 无 | 无 |
| arms:DoInsightsAction | DoInsightsAction | get | *全部资源 * | 无 | 无 |
| arms:EnableMetric | EnableMetric | none | *Prometheus acs:arms:{#regionId}:{#accountId}:Prometheus/{#ClusterId} | 无 | 无 |
| arms:GetAgentDownloadUrl | GetAgentDownloadUrlV2 | none | *全部资源 * | 无 | 无 |
| arms:GetAgentDownloadUrl | GetAgentDownloadUrl | none | *全部资源 * | 无 | 无 |
| arms:GetAlarmHistories | ListAlerts | none | *全部资源 * | 无 | 无 |
| arms:GetAlert | ListInsightsEvents | none | *全部资源 * | 无 | 无 |
| arms:GetAlertRules | GetAlertRules | get | *全部资源 * | 无 | 无 |
| arms:GetAppApiPageInfo | GetAppApiByPage | none | *全部资源 * | 无 | 无 |
| arms:GetAppJVMConfig | GetAppJVMConfig | none | *全部资源 * | 无 | 无 |
| arms:GetAuthToken | GetAuthToken | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:GetCloudClusterAllUrl | GetCloudClusterAllUrl | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:GetClusterAllUrl | GetClusterAllUrl | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:GetCommercialStatus | GetCommercialStatus | none | *全部资源 * | 无 | 无 |
| arms:GetExploreUrl | GetExploreUrl | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:GetGrafanaWorkspace | GetGrafanaWorkspace | get | *GrafanaWorkspace acs:arms:{#regionId}:{#accountId}:grafanaworkspace/{#GrafanaWorkspaceId} | 无 | 无 |
| arms:GetIntegrationState | GetIntegrationState | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:GetManagedPrometheusStatus | GetManagedPrometheusStatus | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:GetMultipleTrace | GetMultipleTrace | none | *全部资源 * | 无 | 无 |
| arms:GetOnCallSchedulesDetail | GetOnCallSchedulesDetail | none | *全部资源 * | 无 | 无 |
| arms:GetPrometheusApiToken | GetPrometheusApiToken | none | *全部资源 * | 无 | 无 |
| arms:GetPrometheusGlobalView | GetPrometheusGlobalView | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:GetPrometheusInstance | GetPrometheusInstance | get | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:GetPrometheusIntegration | GetPrometheusIntegration | none | *全部资源 * | 无 | 无 |
| arms:GetPrometheusIntegration | ListPrometheusIntegration | none | *全部资源 * | 无 | 无 |
| arms:GetPrometheusMonitoring | GetPrometheusMonitoring | get | *全部资源 * | 无 | 无 |
| arms:GetRecordingRule | GetRecordingRule | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:GetRetcodeApp | GetRetcodeAppByPid | none | *RetcodeApp acs:arms:{#regionId}:{#accountId}:retcodeapp/{#RetcodeAppId} | 无 | 无 |
| arms:GetRetcodeDataByQuery | GetRetcodeDataByQuery | get | *全部资源 * | 无 | 无 |
| arms:GetRetcodeLogstore | GetRetcodeLogstore | none | *全部资源 * | 无 | 无 |
| arms:GetRetcodeShareUrl | GetRetcodeShareUrl | none | *全部资源 * | 无 | 无 |
| arms:GetRumAppInfo | GetRumAppInfo | get | *全部资源 * | 无 | 无 |
| arms:GetRumApps | GetRumApps | list | *Rum acs:arms:{#regionId}:{#accountId}:rum/* | 无 | 无 |
| arms:GetRumData | GetRumDataForPage | get | *全部资源 * | 无 | 无 |
| arms:GetRumExceptionStack | GetRumExceptionStack | get | *全部资源 * | 无 | 无 |
| arms:GetRumUploadFiles | GetRumUploadFiles | get | *全部资源 * | 无 | 无 |
| arms:GetSourceMapInfo | GetSourceMapInfo | none | *全部资源 * | 无 | 无 |
| arms:GetStack | GetStack | none | *全部资源 * | 无 | 无 |
| arms:GetSyntheticMonitors | GetSyntheticMonitors | none | *全部资源 * | 无 | 无 |
| arms:GetSyntheticTask | CreateSyntheticTask | create | *全部资源 * | 无 | 无 |
| arms:GetSyntheticTask | SwitchSyntheticTaskStatus | none | *全部资源 * | 无 | 无 |
| arms:GetSyntheticTask | GetSyntheticTaskMonitors | none | *全部资源 * | 无 | 无 |
| arms:GetSyntheticTaskDetail | GetSyntheticTaskDetail | none | *全部资源 * | 无 | 无 |
| arms:GetSyntheticTaskList | GetSyntheticTaskList | none | *全部资源 * | 无 | 无 |
| arms:GetTimingSyntheticTask | GetTimingSyntheticTask | get | *SyntheticTask acs:arms:{#regionId}:{#accountId}:synthetictask/{#TaskId} | 无 | 无 |
| arms:GetTrace | GetTrace | none | *全部资源 * | 无 | 无 |
| arms:GetTraceApp | GetTraceApp | none | *TraceApp acs:arms:{#regionId}:{#AccountId}:traceapp/{#Pid} | 无 | 无 |
| arms:GetTraceAppConfig | GetTraceAppConfig | get | *TraceApp acs:arms:{#regionId}:{#accountId}:traceapp/{#Pid} | 无 | 无 |
| arms:InitEnvironment | InitEnvironment | update | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:InstallAddon | InstallAddon | none | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:InstallCmsExporter | InstallCmsExporter | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:InstallEnvironmentFeature | InstallEnvironmentFeature | none | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:InstallManagedPrometheus | InstallManagedPrometheus | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:ListActivatedAlerts | ListActivatedAlerts | none | *全部资源 * | 无 | 无 |
| arms:ListAddonReleases | ListAddonReleases | none | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:ListAddons | ListAddons | none | *全部资源 * | 无 | 无 |
| arms:ListAlertEvents | ListAlertEvents | none | *全部资源 * | 无 | 无 |
| arms:ListClusterFromGrafana | ListClusterFromGrafana | none | *全部资源 * | 无 | 无 |
| arms:ListCmsInstances | ListCmsInstances | none | *全部资源 * | 无 | 无 |
| arms:ListDashboards | ListDashboards | none | *全部资源 * | 无 | 无 |
| arms:ListDashboardsByName | ListDashboardsByName | none | *全部资源 * | 无 | 无 |
| arms:ListDispatchRule | ListOnCallSchedules | none | *全部资源 * | 无 | 无 |
| arms:ListDispatchRule | ListEscalationPolicies | none | *全部资源 * | 无 | 无 |
| arms:ListDispatchRule | ListNotificationPolicies | none | *全部资源 * | 无 | 无 |
| arms:ListDispatchRule | ListSilencePolicies | none | *全部资源 * | 无 | 无 |
| arms:ListDispatchRule | ListDispatchRule | none | *全部资源 * | 无 | 无 |
| arms:ListEnvCustomJobs | ListEnvCustomJobs | list | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:ListEnvPodMonitors | ListEnvPodMonitors | list | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:ListEnvServiceMonitors | ListEnvServiceMonitors | list | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:ListEnvironmentAddons | ListEnvironmentAddons | none | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:ListEnvironmentAlertRules | ListEnvironmentAlertRules | none | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:ListEnvironmentDashboards | ListEnvironmentDashboards | none | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:ListEnvironmentFeatures | ListEnvironmentFeatures | none | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:ListEnvironmentKubeResources | ListEnvironmentKubeResources | none | *全部资源 * | 无 | 无 |
| arms:ListEnvironmentMetricTargets | ListEnvironmentMetricTargets | none | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:ListEnvironments | ListEnvironments | list | *Environment acs:arms:{#regionId}:{#accountId}:environment/* | 无 | 无 |
| arms:ListEventBridgeIntegrations | ListEventBridgeIntegrations | none | *全部资源 * | 无 | 无 |
| arms:ListGrafanaWorkspace | ListGrafanaWorkspace | list | *GrafanaWorkspace acs:arms:{#regionId}:{#accountId}:grafanaworkspace/* | 无 | 无 |
| arms:ListIntegration | ListIntegration | none | *全部资源 * | 无 | 无 |
| arms:ListPrometheusAlertRules | ListPrometheusAlertRules | list | *全部资源 * | 无 | 无 |
| arms:ListPrometheusAlertTemplates | ListPrometheusAlertTemplates | none | *全部资源 * | 无 | 无 |
| arms:ListPrometheusGlobalView | ListPrometheusGlobalView | none | *全部资源 * | 无 | 无 |
| arms:ListPrometheusInstanceByTagAndResourceGroupId | ListPrometheusInstanceByTagAndResourceGroupId | list | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/* | 无 | 无 |
| arms:ListPrometheusInstances | ListPrometheusInstances | none | *全部资源 * | 无 | 无 |
| arms:ListPrometheusMonitoring | ListPrometheusMonitoring | list | *全部资源 * | 无 | 无 |
| arms:ListRetcodeApps | ListRetcodeApps | none | *RetcodeApp acs:arms:{#regionId}:{#accountId}:retcodeapp/* | 无 | 无 |
| arms:ListScenario | ListScenario | none | *全部资源 * | 无 | 无 |
| arms:ListSyntheticDetail | ListSyntheticDetail | list | *全部资源 * | 无 | 无 |
| arms:ListTimingSyntheticTasks | ListTimingSyntheticTasks | list | *SyntheticTask acs:arms:{#regionId}:{#accountId}:synthetictask/* | 无 | 无 |
| arms:ListTraceApps | ListTraceApps | none | *全部资源 * | 无 | 无 |
| arms:OpenArmsDefaultSLR | OpenArmsDefaultSLR | none | *全部资源 * | 无 | 无 |
| arms:OpenArmsService | OpenArmsServiceSecondVersion | none | *全部资源 * | 无 | 无 |
| arms:OpenVCluster | OpenVCluster | none | *全部资源 * | 无 | 无 |
| arms:OpenXtraceDefaultSLR | OpenXtraceDefaultSLR | none | *全部资源 * | 无 | 无 |
| arms:QueryAppMetadata | QueryAppMetadata | get | *全部资源 * | 无 | 无 |
| arms:QueryCommercialUsage | QueryCommercialUsage | get | *全部资源 * | 无 | 无 |
| arms:QueryMetricByPage | QueryMetricByPage | get | *全部资源 * | 无 | 无 |
| arms:QueryPromInstallStatus | QueryPromInstallStatus | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:QueryReleaseMetric | QueryReleaseMetric | none | *全部资源 * | 无 | 无 |
| arms:QueryTopology | QueryAppTopology | get | *全部资源 * | 无 | 无 |
| arms:RemoveAliClusterIdsFromPrometheusGlobalView | RemoveAliClusterIdsFromPrometheusGlobalView | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:RemoveSourcesFromPrometheusGlobalView | RemoveSourcesFromPrometheusGlobalView | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:RestartEnvironmentFeature | RestartEnvironmentFeature | none | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:SaveTraceAppConfig | SaveTraceAppConfig | none | *TraceApp acs:arms:{#regionId}:{#accountId}:traceapp/{#Pid} | 无 | 无 |
| arms:SearchAlertContact | SearchAlertContact | none | *全部资源 * | 无 | 无 |
| arms:SearchAlertContactGroup | SearchAlertContactGroup | none | *全部资源 * | 无 | 无 |
| arms:SearchAlertHistories | SearchAlertHistories | none | *全部资源 * | 无 | 无 |
| arms:SearchAlertRules | SearchAlertRules | none | *AlertRule acs:arms:{#regionId}:{#AccountId}:AlertRule/* | 无 | 无 |
| arms:SearchContact | DescribeIMRobots | none | *全部资源 * | 无 | 无 |
| arms:SearchContact | DescribeWebhookContacts | none | *全部资源 * | 无 | 无 |
| arms:SearchContact | DescribeContacts | none | *全部资源 * | 无 | 无 |
| arms:SearchContactGroup | DescribeContactGroups | none | *全部资源 * | 无 | 无 |
| arms:SearchEvents | SearchEvents | none | *全部资源 * | 无 | 无 |
| arms:SearchRetcodeAppByPage | SearchRetcodeAppByPage | get | *全部资源 * | 无 | 无 |
| arms:SearchTraceAppByName | SearchTraceAppByName | get | *TraceApp acs:arms:{#regionId}:{#AccountId}:traceapp/{#Pid} | 无 | 无 |
| arms:SearchTraceAppByPage | SearchTraceAppByPage | none | *TraceApp acs:arms:{#regionId}:{#accountId}:traceapp/* | 无 | 无 |
| arms:SearchTraces | SearchTraces | none | *全部资源 * | 无 | 无 |
| arms:SearchTracesByPage | SearchTracesByPage | none | *全部资源 * | 无 | 无 |
| arms:SetRetcodeShareStatus | SetRetcodeShareStatus | none | *RetcodeApp acs:arms:{#regionId}:{#accountId}:retcodeapp/{#RetcodeAppId} | 无 | 无 |
| arms:StartAlertRule | StartAlert | none | *全部资源 * | 无 | 无 |
| arms:StartTimingSyntheticTask | StartTimingSyntheticTask | update | *SyntheticTask acs:arms:{#regionId}:{#accountId}:synthetictask/{#TaskId} | 无 | 无 |
| arms:StopAlertRule | StopAlert | none | *全部资源 * | 无 | 无 |
| arms:StopTimingSyntheticTask | StopTimingSyntheticTask | update | *SyntheticTask acs:arms:{#regionId}:{#accountId}:synthetictask/{#TaskId} | 无 | 无 |
| arms:SyncRecordingRules | SyncRecordingRules | none | *全部资源 * | 无 | 无 |
| 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:UninstallManagedPrometheus | UninstallManagedPrometheus | none | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:UninstallPromCluster | UninstallPromCluster | delete | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:UntagResources | UntagResources | 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:UpdateAlertContact | UpdateAlertContact | none | *全部资源 * | 无 | 无 |
| arms:UpdateAlertContactGroup | UpdateAlertContactGroup | none | *全部资源 * | 无 | 无 |
| arms:UpdateAlertRule | UpdateAlertRule | none | *AlertRule acs:arms:{#regionId}:{#AccountId}:alertrule/{#AlertRuled} | 无 | 无 |
| arms:UpdateContact | SendTTSVerifyLink | none | *全部资源 * | 无 | 无 |
| arms:UpdateDispatchRule | UpdateDispatchRule | none | *全部资源 * | 无 | 无 |
| arms:UpdateEnvCustomJob | UpdateEnvCustomJob | update | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:UpdateEnvDropMetricsRule | UpdateEnvDropMetricsRule | update | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:UpdateEnvPodMonitor | UpdateEnvPodMonitor | update | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:UpdateEnvServiceMonitor | UpdateEnvServiceMonitor | update | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:UpdateEnvironment | UpdateEnvironment | update | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:UpdateGrafanaWorkspace | UpdateGrafanaWorkspace | update | *GrafanaWorkspace acs:arms:{#regionId}:{#accountId}:grafanaworkspace/{#GrafanaWorkspaceId} | 无 | 无 |
| arms:UpdateGrafanaWorkspaceVersion | UpdateGrafanaWorkspaceVersion | update | *GrafanaWorkspace acs:arms:{#regionId}:{#accountId}:grafanaworkspace/{#GrafanaWorkspaceId} | 无 | 无 |
| arms:UpdateIntegration | UpdateIntegration | none | *全部资源 * | 无 | 无 |
| arms:UpdateMetricDrop | UpdateMetricDrop | none | *Prometheus acs:arms:{#regionId}:{#accountId}:Prometheus/{#ClusterId} | 无 | 无 |
| arms:UpdatePrometheusAlertRule | UpdatePrometheusAlertRule | update | *全部资源 * | 无 | 无 |
| arms:UpdatePrometheusGlobalView | UpdatePrometheusGlobalView | update | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:UpdatePrometheusInstance | UpdatePrometheusInstance | update | *Prometheus acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:UpdatePrometheusIntegration | UpdatePrometheusIntegration | none | *全部资源 * | 无 | 无 |
| arms:UpdatePrometheusMonitoring | UpdatePrometheusMonitoring | update | *全部资源 * | 无 | 无 |
| arms:UpdatePrometheusMonitoringStatus | UpdatePrometheusMonitoringStatus | update | *PrometheusMonitoring acs:arms:{#regionId}:{#accountId}:prometheus/{#ClusterId} | 无 | 无 |
| arms:UpdateRumApp | UpdateRumApp | update | *全部资源 * | 无 | 无 |
| arms:UpdateRumApp | UpdateRumFileStatus | update | *全部资源 * | 无 | 无 |
| arms:UpdateSourceMap | Upload | update | *全部资源 * | 无 | 无 |
| arms:UpdateTimingSyntheticTask | UpdateTimingSyntheticTask | create | *SyntheticTask acs:arms:{#regionId}:{#accountId}:synthetictask/{#TaskId} | 无 | 无 |
| arms:UpdateWebhook | UpdateWebhook | none | *全部资源 * | 无 | 无 |
| arms:UpgradeAddonRelease | UpgradeAddonRelease | none | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
| arms:UpgradeEnvironmentFeature | UpgradeEnvironmentFeature | none | *Environment acs:arms:{#regionId}:{#accountId}:environment/{#environmentId} | 无 | 无 |
资源(Resource)
下表是应用实时监控服务(ARMS)定义的资源,这些资源可以在RAM权限策略语句的Resource元素中使用,用来授予对该资源执行具体操作的权限。 其中,资源ARN是资源在阿里云上的唯一标识。具体说明如下:{#}为变量标识,需要您替换为实际值。例如:{#ramcode}需要您替换为实际的云服务RAM代码。-
*表示全部。例如:{#resourceType}为*时:表示全部资源。{#regionId}为*时:表示全部地域。{#accountId}为*时:表示全部阿里云账号。
| 资源类型 | 资源ARN |
|---|---|
| AgentInfo |
|
| AlertRule |
|
| Environment |
|
| GrafanaWorkspace |
|
| IntegrationExporter |
|
| Prometheus |
|
| PrometheusAlertRule |
|
| PrometheusMonitoring |
|
| RetcodeApp |
|
| Rum |
|
| SyntheticTask |
|
| TraceApp |
|
| XTraceApp |
|
条件(Condition)
应用实时监控服务(ARMS)未定义产品级别的条件关键字。如需查看适用于所有云产品的通用条件关键字,请参见通用条件关键字。