插件下载了解更多
Alibaba Cloud Developer ToolkitbetaAlibaba Cloud OpenAPI
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
Alibaba Cloud Developer ToolkitbetaAlibaba Cloud OpenAPI
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.
流控信息
当前云产品API请求速率暂未透出。
请求参数
字段名称 | 字段详情 |
---|---|
RegionIdstring | 地域 ID。 示例值:cn-hangzhou |
EnvironmentIdstring | 环境实例 ID。 示例值:env-xxxxx参考取值来源: ListEnvironments InstallEnvironmentFeature |
Namespacestring | ServiceMonitor 所在的命名空间。 示例值:arms-prom |
ServiceMonitorNamestring | ServiceMonitor 名称。 示例值:arms-admin1参考取值来源: CreateEnvServiceMonitor ListEnvServiceMonitors |
返回参数
字段名称 | 字段详情 |
---|---|
RequestIdstring | Id of the request 示例值:40B10E04-81E8-4643-970D-F1B38F2E**** |
Codeinteger<int32> | 状态码。200 为成功,其他状态码为异常。 示例值:200 |
Dataobject | 返回结构体。 |
Messagestring | 返回信息。 示例值:success |
返回说明
ConfigYaml 示例:
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: arms-admin1
namespace: arms-prom
annotations:
arms.prometheus.io/discovery: 'true'
spec:
endpoints:
- interval: 30s
port: operator
path: /metrics
- interval: 10s
port: operator1
path: /metrics
namespaceSelector:
any: true
selector:
matchLabels:
app: arms-prometheus-ack-arms-prometheusapiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: arms-admin1
namespace: arms-prom
annotations:
arms.prometheus.io/discovery: 'true'
spec:
endpoints:
- interval: 30s
port: operator
path: /metrics
- interval: 10s
port: operator1
path: /metrics
namespaceSelector:
any: true
selector:
matchLabels:
app: arms-prometheus-ack-arms-prometheus
返回示例
变更历史
暂无变更历史