存取控制(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
|
無 | 無 |
| arms:GetGrafanaWorkspace | GetGrafanaWorkspace | get |
*GrafanaWorkspace
|
無 | 無 |
| arms:CreateIntegration | CreateIntegration | none |
*All Resource
|
無 | 無 |
| arms:ListTraceApps | ListTraceApps | none |
*All Resource
|
無 | 無 |
| arms:GetRetcodeShareUrl | GetRetcodeShareUrl | none |
*All Resource
|
無 | 無 |
| arms:GetRetcodeApp | GetRetcodeAppByPid | none |
*RetcodeApp
|
無 | 無 |
| arms:ListEnvironmentMetricTargets | ListEnvironmentMetricTargets | none |
*Environment
|
無 | 無 |
| arms:QueryMetricByPage | QueryMetricByPage | get |
*All Resource
|
無 | 無 |
| arms:CreateEnvironment | CreateEnvironment | create |
*Environment
|
無 | 無 |
| arms:UninstallPromCluster | UninstallPromCluster | delete |
*Prometheus
|
無 | 無 |
| arms:ListActivatedAlerts | ListActivatedAlerts | none |
*All Resource
|
無 | 無 |
| arms:DescribeEnvironment | DescribeEnvironment | get |
*Environment
|
無 | 無 |
| arms:DeleteContact | DeleteContact | none |
*All Resource
|
無 | 無 |
| arms:AddRecordingRule | AddRecordingRule | none |
*Prometheus
|
無 | 無 |
| arms:DescribeEnvCustomJob | DescribeEnvCustomJob | get |
*Environment
|
無 | 無 |
| arms:EnableMetric | EnableMetric | none |
*Prometheus
|
無 | 無 |
| 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
|
無 | 無 |
| arms:ListDispatchRule | ListOnCallSchedules | none |
*All Resource
|
無 | 無 |
| arms:GetPrometheusMonitoring | GetPrometheusMonitoring | get |
*All Resource
|
無 | 無 |
| arms:DeleteGrafanaWorkspace | DeleteGrafanaWorkspace | delete |
*GrafanaWorkspace
|
無 | 無 |
| arms:ApplyScenario | ApplyScenario | none |
*All Resource
|
無 | 無 |
| arms:GetPrometheusInstance | GetPrometheusInstance | get |
*Prometheus
|
無 | 無 |
| 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
|
無 | 無 |
| arms:ListPrometheusAlertTemplates | ListPrometheusAlertTemplates | none |
*All Resource
|
無 | 無 |
| arms:GetSourceMapInfo | GetSourceMapInfo | none |
*All Resource
|
無 | 無 |
| arms:GetRetcodeDataByQuery | GetRetcodeDataByQuery | get |
*All Resource
|
無 | 無 |
| arms:DeleteIntegration | DeleteIntegration | none |
*Prometheus
|
無 | 無 |
| arms:DescribeEnvPodMonitor | DescribeEnvPodMonitor | get |
*Environment
|
無 | 無 |
| 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
|
無 | 無 |
| arms:OpenXtraceDefaultSLR | OpenXtraceDefaultSLR | none |
*All Resource
|
無 | 無 |
| arms:QueryReleaseMetric | QueryReleaseMetric | none |
*All Resource
|
無 | 無 |
| arms:ListEnvironmentDashboards | ListEnvironmentDashboards | none |
*Environment
|
無 | 無 |
| arms:DescribePrometheusAlertRule | DescribePrometheusAlertRule | get |
*All Resource
|
無 | 無 |
| arms:UpdatePrometheusInstance | UpdatePrometheusInstance | update |
*Prometheus
|
無 | 無 |
| arms:CreatePrometheusAlertRule | CreatePrometheusAlertRule | create |
*All Resource
|
無 | 無 |
| arms:ListRetcodeApps | ListRetcodeApps | none |
*RetcodeApp
|
無 | 無 |
| arms:AddAliClusterIdsToPrometheusGlobalView | AddAliClusterIdsToPrometheusGlobalView | none |
*Prometheus
|
無 | 無 |
| arms:DeletePrometheusGlobalView | DeletePrometheusGlobalView | none |
*Prometheus
|
無 | 無 |
| arms:DeleteContact | DeleteIMRobot | none |
*All Resource
|
無 | 無 |
| arms:GetRumOcuStatisticData | GetRumOcuStatisticData | get |
*All Resource
|
無 | 無 |
| arms:GetAlert | ListInsightsEvents | none |
*All Resource
|
無 | 無 |
| arms:ListGrafanaWorkspace | ListGrafanaWorkspace | list |
*GrafanaWorkspace
|
無 | 無 |
| arms:DeleteEnvPodMonitor | DeleteEnvPodMonitor | delete |
*Environment
|
無 | 無 |
| arms:GetIntegrationState | GetIntegrationState | none |
*Prometheus
|
無 | 無 |
| arms:DeleteRetcodeApp | DeleteRetcodeApp | none |
*RetcodeApp
|
無 | 無 |
| arms:CreateAlertRules | CreateOrUpdateAlertRule | create |
*AlertRule
|
無 | 無 |
| arms:CreatePrometheusInstance | CreatePrometheusInstance | create |
*Prometheus
|
無 | 無 |
| arms:CreateWebhook | CreateWebhook | none |
*All Resource
|
無 | 無 |
| arms:SetRetcodeShareStatus | SetRetcodeShareStatus | none |
*RetcodeApp
|
無 | 無 |
| arms:CreateContact | CreateOrUpdateWebhookContact | none |
*All Resource
|
無 | 無 |
| arms:ListDispatchRule | ListNotificationPolicies | none |
*All Resource
|
無 | 無 |
| arms:GetRumData | GetRumDataForPage | get |
*All Resource
|
無 | 無 |
| arms:CreateAlertRules | ImportAppAlertRules | none |
*AlertRule
|
無 | 無 |
| arms:CheckServiceStatus | CheckServiceStatus | none |
*All Resource
|
無 | 無 |
| arms:CreateDispatchRule | CreateOrUpdateSilencePolicy | none |
*All Resource
|
無 | 無 |
| arms:SearchTraceAppByName | SearchTraceAppByName | get |
*TraceApp
|
無 | 無 |
| arms:GetCloudClusterAllUrl | GetCloudClusterAllUrl | none |
*Prometheus
|
無 | 無 |
| 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
|
無 | 無 |
| arms:ListEnvironmentFeatures | ListEnvironmentFeatures | none |
*Environment
|
無 | 無 |
| arms:UpdatePrometheusIntegration | UpdatePrometheusIntegration | none |
*All Resource
|
無 | 無 |
| arms:GetRecordingRule | GetRecordingRule | none |
*Prometheus
|
無 | 無 |
| arms:SaveTraceAppConfig | SaveTraceAppConfig | none |
*TraceApp
|
無 | 無 |
| arms:GetTimingSyntheticTask | GetTimingSyntheticTask | get |
*SyntheticTask
|
無 | 無 |
| arms:ListEnvironmentAddons | ListEnvironmentAddons | none |
*Environment
|
無 | 無 |
| arms:ListEnvironmentAlertRules | ListEnvironmentAlertRules | none |
*Environment
|
無 | 無 |
| 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
|
無 | 無 |
| arms:AddPrometheusGlobalViewByAliClusterIds | AddPrometheusGlobalViewByAliClusterIds | none |
*All Resource
|
無 | 無 |
| arms:DeletePrometheusIntegration | DeletePrometheusIntegration | none |
*All Resource
|
無 | 無 |
| arms:DeleteEnvironment | DeleteEnvironment | delete |
*Environment
|
無 | 無 |
| arms:UpdateEnvDropMetricsRule | UpdateEnvDropMetricsRule | update |
*Environment
|
無 | 無 |
| arms:CreateDispatchRule | CreateOrUpdateNotificationPolicy | none |
*All Resource
|
無 | 無 |
| arms:RemoveSourcesFromPrometheusGlobalView | RemoveSourcesFromPrometheusGlobalView | none |
*Prometheus
|
無 | 無 |
| arms:UpdatePrometheusMonitoring | UpdatePrometheusMonitoring | update |
*All Resource
|
無 | 無 |
| arms:AppendInstancesToPrometheusGlobalView | AppendInstancesToPrometheusGlobalView | none |
*Prometheus
|
無 | 無 |
| arms:DescribeEnvironmentFeature | DescribeEnvironmentFeature | none |
*Environment
|
無 | 無 |
| arms:DeleteTimingSyntheticTask | DeleteTimingSyntheticTask | delete |
*SyntheticTask
|
無 | 無 |
| arms:SearchContact | DescribeIMRobots | none |
*All Resource
|
無 | 無 |
| arms:ListSyntheticDetail | ListSyntheticDetail | list |
*All Resource
|
無 | 無 |
| arms:GetClusterAllUrl | GetClusterAllUrl | none |
*Prometheus
|
無 | 無 |
| arms:GetTrace | GetTrace | none |
*All Resource
|
無 | 無 |
| arms:GetStack | GetStack | none |
*All Resource
|
無 | 無 |
| arms:DescribeEnvDropMetricsRule | DescribeEnvDropMetricsRule | get |
*Environment
|
無 | 無 |
| arms:UpdateMetricDrop | UpdateMetricDrop | none |
*Prometheus
|
無 | 無 |
| arms:InstallAddon | InstallAddon | none |
*Environment
|
無 | 無 |
| arms:ListEnvPodMonitors | ListEnvPodMonitors | list |
*Environment
|
無 | 無 |
| arms:CreateOrUpdateEventBridgeIntegration | CreateOrUpdateEventBridgeIntegration | none |
*All Resource
|
無 | 無 |
| arms:DeleteAddonRelease | DeleteAddonRelease | none |
*Environment
|
無 | 無 |
| arms:ListEnvServiceMonitors | ListEnvServiceMonitors | list |
*Environment
|
無 | 無 |
| arms:SyncRecordingRules | SyncRecordingRules | none |
*All Resource
|
無 | 無 |
| arms:UpdateRumApp | UpdateRumFileStatus | update |
*All Resource
|
無 | 無 |
| arms:CreateEnvCustomJob | CreateEnvCustomJob | create |
*Environment
|
無 | 無 |
| arms:TagResources | TagResources | update |
*Prometheus
*RetcodeApp
*TraceApp
*Environment
*GrafanaWorkspace
|
無 | 無 |
| arms:GetCommercialStatus | GetCommercialStatus | none |
*All Resource
|
無 | 無 |
| arms:GetSyntheticTaskList | GetSyntheticTaskList | none |
*All Resource
|
無 | 無 |
| arms:InstallManagedPrometheus | InstallManagedPrometheus | none |
*Prometheus
|
無 | 無 |
| arms:UpdateEnvServiceMonitor | UpdateEnvServiceMonitor | update |
*Environment
|
無 | 無 |
| 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
|
無 | 無 |
| arms:DoInsightsAction | DoInsightsAction | get |
*All Resource
|
無 | 無 |
| arms:UpdateAlertRule | UpdateAlertRule | none |
*AlertRule
|
無 | 無 |
| arms:CloseAlarm | CloseAlarm | create |
*All Resource
|
無 | 無 |
| arms:SearchContact | DescribeContacts | none |
*All Resource
|
無 | 無 |
| arms:UninstallManagedPrometheus | UninstallManagedPrometheus | none |
*Prometheus
|
無 | 無 |
| arms:StopTimingSyntheticTask | StopTimingSyntheticTask | update |
*SyntheticTask
|
無 | 無 |
| arms:RemoveAliClusterIdsFromPrometheusGlobalView | RemoveAliClusterIdsFromPrometheusGlobalView | none |
*Prometheus
|
無 | 無 |
| 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
|
無 | 無 |
| arms:ChangeResourceGroup | ChangeResourceGroup | update |
*Prometheus
*RetcodeApp
*TraceApp
*Environment
*GrafanaWorkspace
*XTraceApp
|
無 | 無 |
| arms:CreateRumApp | CreateRumApp | create |
*All Resource
|
無 | 無 |
| arms:GetPrometheusApiToken | GetPrometheusApiToken | none |
*All Resource
|
無 | 無 |
| arms:UpdatePrometheusMonitoringStatus | UpdatePrometheusMonitoringStatus | update |
*PrometheusMonitoring
|
無 | 無 |
| arms:GetPrometheusIntegration | ListPrometheusIntegration | none |
*All Resource
|
無 | 無 |
| arms:UpdateGrafanaWorkspace | UpdateGrafanaWorkspace | update |
*GrafanaWorkspace
|
無 | 無 |
| arms:CreateEnvPodMonitor | CreateEnvPodMonitor | create |
*Environment
|
無 | 無 |
| arms:StartTimingSyntheticTask | StartTimingSyntheticTask | update |
*SyntheticTask
|
無 | 無 |
| arms:CreateDispatchRule | CreateDispatchRule | none |
*All Resource
|
無 | 無 |
| arms:DescribeTraceLicenseKey | DescribeTraceLicenseKey | get |
*All Resource
|
無 | 無 |
| arms:UpdateEnvPodMonitor | UpdateEnvPodMonitor | update |
*Environment
|
無 | 無 |
| 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
|
無 | 無 |
| arms:UpgradeAddonRelease | UpgradeAddonRelease | none |
*Environment
|
無 | 無 |
| 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
|
無 | 無 |
| 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
|
無 | 無 |
| arms:UpdateWebhook | UpdateWebhook | none |
*All Resource
|
無 | 無 |
| arms:DeleteRumUploadFile | DeleteRumUploadFile | delete |
*All Resource
|
無 | 無 |
| arms:AddIntegration | AddIntegration | none |
*Prometheus
|
無 | 無 |
| 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
|
無 | 無 |
| arms:GetExploreUrl | GetExploreUrl | none |
*Prometheus
|
無 | 無 |
| arms:ListEnvironmentKubeResources | ListEnvironmentKubeResources | none |
*All Resource
|
無 | 無 |
| arms:UpdatePrometheusAlertRule | UpdatePrometheusAlertRule | update |
*All Resource
|
無 | 無 |
| arms:UpdateGrafanaWorkspaceVersion | UpdateGrafanaWorkspaceVersion | update |
*GrafanaWorkspace
|
無 | 無 |
| arms:DelAuthToken | DelAuthToken | none |
*Prometheus
|
無 | 無 |
| arms:SearchTraceAppByPage | SearchTraceAppByPage | none |
*TraceApp
|
無 | 無 |
| arms:SearchTracesByPage | SearchTracesByPage | none |
*All Resource
|
無 | 無 |
| arms:ListPrometheusInstanceByTagAndResourceGroupId | ListPrometheusInstanceByTagAndResourceGroupId | list |
*Prometheus
|
無 | 無 |
| arms:QueryPromInstallStatus | QueryPromInstallStatus | none |
*Prometheus
|
無 | 無 |
| arms:ClaimAlarm | ClaimAlarm | create |
*All Resource
|
無 | 無 |
| arms:CreateContactGroup | CreateOrUpdateContactGroup | none |
*All Resource
|
無 | 無 |
| arms:ListPrometheusAlertRules | ListPrometheusAlertRules | list |
*All Resource
|
無 | 無 |
| arms:DeleteGrafanaResource | DeleteGrafanaResource | none |
*Prometheus
|
無 | 無 |
| arms:CreateTimingSyntheticTask | CreateTimingSyntheticTask | create |
*SyntheticTask
|
無 | 無 |
| arms:ListPrometheusMonitoring | ListPrometheusMonitoring | list |
*All Resource
|
無 | 無 |
| arms:InstallCmsExporter | InstallCmsExporter | none |
*Prometheus
|
無 | 無 |
| arms:QueryAppMetadata | QueryAppMetadata | get |
*All Resource
|
無 | 無 |
| arms:ListClusterFromGrafana | ListClusterFromGrafana | none |
*All Resource
|
無 | 無 |
| arms:ListEnvCustomJobs | ListEnvCustomJobs | list |
*Environment
|
無 | 無 |
| arms:DeleteContact | DeleteWebhookContact | none |
*All Resource
|
無 | 無 |
| arms:DeleteAlertContactGroup | DeleteAlertContactGroup | none |
*All Resource
|
無 | 無 |
| arms:UpdateEnvironment | UpdateEnvironment | update |
*Environment
|
無 | 無 |
| arms:ListDispatchRule | ListDispatchRule | none |
*All Resource
|
無 | 無 |
| arms:UpdatePrometheusGlobalView | UpdatePrometheusGlobalView | update |
*Prometheus
|
無 | 無 |
| arms:GetMultipleTrace | GetMultipleTrace | none |
*All Resource
|
無 | 無 |
| arms:GetPrometheusGlobalView | GetPrometheusGlobalView | none |
*Prometheus
|
無 | 無 |
| arms:GetRumUploadFiles | GetRumUploadFiles | get |
*All Resource
|
無 | 無 |
| arms:DeleteCmsExporter | DeleteCmsExporter | none |
*Prometheus
|
無 | 無 |
| arms:ListTimingSyntheticTasks | ListTimingSyntheticTasks | list |
*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
|
無 | 無 |
| arms:UpdateContact | SendTTSVerifyLink | none |
*All Resource
|
無 | 無 |
| arms:GetAuthToken | GetAuthToken | none |
*Prometheus
|
無 | 無 |
| arms:ConfigApp | ConfigApp | none |
*All Resource
|
無 | 無 |
| arms:UpgradeEnvironmentFeature | UpgradeEnvironmentFeature | none |
*Environment
|
無 | 無 |
| arms:SearchContact | DescribeWebhookContacts | none |
*All Resource
|
無 | 無 |
| arms:DeleteEnvironmentFeature | DeleteEnvironmentFeature | none |
*Environment
|
無 | 無 |
| arms:DescribeEnvServiceMonitor | DescribeEnvServiceMonitor | get |
*Environment
|
無 | 無 |
| arms:SearchEvents | SearchEvents | none |
*All Resource
|
無 | 無 |
| arms:GetTraceAppConfig | GetTraceAppConfig | get |
*TraceApp
|
無 | 無 |
| arms:GetAgentDownloadUrl | GetAgentDownloadUrlV2 | none |
*All Resource
|
無 | 無 |
| arms:DescribeAddonMetrics | DescribeAddonMetrics | none |
*All Resource
|
無 | 無 |
| arms:GetManagedPrometheusStatus | GetManagedPrometheusStatus | none |
*Prometheus
|
無 | 無 |
| arms:InstallEnvironmentFeature | InstallEnvironmentFeature | none |
*Environment
|
無 | 無 |
| arms:UpdateRumApp | UpdateRumApp | update |
*All Resource
|
無 | 無 |
| arms:DeletePrometheusMonitoring | DeletePrometheusMonitoring | delete |
*All Resource
|
無 | 無 |
| arms:BindPrometheusGrafanaInstance | BindPrometheusGrafanaInstance | update |
*Prometheus
|
無 | 無 |
| arms:DeleteAppList | DeleteAppList | none |
*TraceApp
|
無 | 無 |
| arms:AddPrometheusInstance | AddPrometheusInstance | none |
*All Resource
|
無 | 無 |
| arms:GetPrometheusIntegration | GetPrometheusIntegration | none |
*All Resource
|
無 | 無 |
| arms:GetTraceApp | GetTraceApp | none |
*TraceApp
|
無 | 無 |
| arms:ListDashboardsByName | ListDashboardsByName | none |
*All Resource
|
無 | 無 |
| arms:ListAddonReleases | ListAddonReleases | none |
*Environment
|
無 | 無 |
| arms:GetSyntheticTask | GetSyntheticTaskMonitors | none |
*All Resource
|
無 | 無 |
| arms:RestartEnvironmentFeature | RestartEnvironmentFeature | none |
*Environment
|
無 | 無 |
| 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
|
無 | 無 |
| arms:ListPrometheusInstances | ListPrometheusInstances | none |
*All Resource
|
無 | 無 |
資源(Resource)
下表是定義的資源,這些資源可以在 RAM 權限原則語句的Resource元素中使用,用來授予對該資源執行具體操作的許可權。 其中,資源 ARN 是資源在阿里雲上的唯一標識。具體說明如下:
{#}為變數標識,需要您替換為實際值。例如:{#ramcode}需要您替換為實際的雲端服務RAM代碼。*表示全部。例如:{#resourceType}為*時:表示全部資源。{#regionId}為*時:表示全部地區。{#accountId}為*時:表示全部阿里雲帳號。
資源類型 |
資源 ARN |
| Environment |
|
| GrafanaWorkspace |
|
| TraceApp |
|
| RetcodeApp |
|
| Prometheus |
|
| PrometheusMonitoring |
|
| AlertRule |
|
| PrometheusAlertRule |
|
| IntegrationExporter |
|
| SyntheticTask |
|
| Rum |
|
| XTraceApp |
|
條件(Condition)
未定義產品層級的條件關鍵字。如需查看適用於所有雲產品的通用條件關鍵字,請參見通用條件關鍵字。
相關操作
您可以建立自訂權限原則,並將權限原則授予 RAM 使用者、RAM 使用者組或 RAM 角色。具體操作如下: