Resource Type | Resource Description Method in Authorization Policy |
TMP | qcs::monitor:$region:$account:prom-instance/* qcs::monitor:$region:$account:prom-instance/$instanceId |
action
field to control the individual API. You can also use *
as a wildcard to set the action
.API Operation | API Description |
DescribePrometheusInstances | Lists all TMP instances of the user |
TerminatePrometheusInstances | Terminates TMP instance |
RecreatePrometheusInstance | Reboots TMP instance |
ModifyPrometheusInstanceAttributes | Modifies TMP instance attributes |
ChangeGrafanaAdminPassword | Changes Grafana admin Password |
UpgradeGrafanaDashboard | Upgrades Grafana dashboard |
DescribePrometheusKubeClusters | Lists TKE clusters that can be integrated with TMP |
InstallPrometheusAgent | Installs Prometheus agent |
UninstallPrometheusAgent | Uninstalls Prometheus agent |
DescribeServiceDiscovery | Lists TMP scrape configurations |
CreateServiceDiscovery | Creates TMP scrape configuration |
UpdateServiceDiscovery | Updates TMP scrape configuration |
DeleteServiceDiscovery | Deletes TMP scrape configuration |
DescribePrometheusKubeBasicMonitor | Queries basic monitoring status |
EnablePrometheusKubeBasicMonitor | Enables basic monitoring |
DisablePrometheusKubeBasicMonitor | Disables basic monitoring |
DescribePrometheusAgentRuntime | Gets the runtime status of Prometheus agent |
DescribePrometheusJobTargets | Lists the status information of TMP metric scrape tasks |
DescribeRecordingRules | Queries recording rules |
CreateRecordingRule | Creates recording rule |
UpdateRecordingRule | Updates recording rule |
DeleteRecordingRules | Deletes recording rule |
DescribeAlertRules | Queries alarming rules |
DeleteAlertRules | Deletes alarming rule |
UpdateAlertRuleState | Updates alarming rule status |
CreateAlertRule | Creates alarming rule |
UpdateAlertRule | Updates alarming rule |
*
as the resource element in the policy statement.API Operation | API Description |
CreatePrometheusInstance | Creates TMP instance |
Was this page helpful?