检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
namespace 是 String 时间序列命名空间。取值范围:PAAS.CONTAINER、PAAS.NODE、PAAS.SLA、PAAS.AGGR、CUSTOMMETRICS等。- - - PAAS.CONTAINER:应用时间序列命名空间; PAAS.NODE:节点时间序列命名空间;
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
type String 静默规则生效时间种类。FIXED:固定方式统计,DAILY:按日合计,WEEKLY:按周统计,MONTHLY:按月统计 最小长度:1 最大长度:100 枚举值: FIXED DAILY WEEKLY MONTHLY 状态码: 401 表7 响应Body参数
是否必选 参数类型 说明 content 是 string 消息模板内容。 subType 是 string 消息模板发送类型,支持:email,sms,webhook。 topic 否 string 邮件主题。 sendType 否 string 当消息模板发送类型为“webh
请求Body参数 参数 是否必选 参数类型 描述 [数组元素] 是 Array of MetricDataItem objects 待添加的监控数据项。 表4 MetricDataItem 参数 是否必选 参数类型 描述 collect_time 是 Long 数据收集时间,仅支持过
type 是 String 静默规则生效时间种类。FIXED:固定方式统计,DAILY:按日合计,WEEKLY:按周统计,MONTHLY:按月统计 最小长度:1 最大长度:100 枚举值: FIXED DAILY WEEKLY MONTHLY 响应参数 状态码: 400 表6 响应Body参数
type 是 String 静默规则生效时间种类。FIXED:固定方式统计,DAILY:按日合计,WEEKLY:按周统计,MONTHLY:按月统计 最小长度:1 最大长度:100 枚举值: FIXED DAILY WEEKLY MONTHLY 响应参数 状态码: 400 表6 响应Body参数
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
checkType为cmdLine时checkMode填contain,checkContent格式为["xxx"]表示进程命令行参数中需要包含xxx。checkType为env时checkMode填contain,checkContent格式为 ["k1","v1"]表示进程
Server),高性能、高安全的云上物理服务器。具体操作请参见:裸金属服务器BMS日志接入(LTS)。 云容器引擎CCE 云容器引擎(Cloud Container Engine),提供高可靠高性能的企业级容器应用管理服务,支持Kubernetes社区原生应用和工具,简化云上自动化容器运行环境搭建。具体操作请参见:
namespace 是 String 时间序列命名空间。取值范围: PAAS.CONTAINER、PAAS.NODE、PAAS.SLA、PAAS.AGGR、CUSTOMMETRICS等。- - - PAAS.CONTAINER:应用时间序列命名空间; PAAS.NODE:节点时间序列命名空间;
"error_code" : "SVCSTG.AMS.2000051", "error_msg" : "auth failed.", "error_type" : "AUTH_FAILED" } 状态码: 403 Forbidden 请求被拒绝访问。返回该状态码,表明请求能够到达服务端,
"error_code" : "AOM.0403", "error_msg" : "auth failed.", "error_type" : "AUTH_FAILED", "trace_id" : null } 状态码: 403 Forbidden 请求被拒绝访
"error_code" : "AOM.0403", "error_msg" : "auth failed.", "error_type" : "AUTH_FAILED", "trace_id" : null } 状态码: 403 Forbidden 请求被拒绝访
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"error_code" : "AOM.0403", "error_msg" : "auth failed.", "error_type" : "AUTH_FAILED", "trace_id" : null } 状态码: 403 Forbidden 请求被拒绝访
100)!=true。 括号:支持使用括号改变计算的优先级。示例:x *(y + 10)<200。 contains函数:支持使用contains函数判断是否包含子串,例如contains(str, "hello")返回true则表示str中包含hello子串。 多表组合语法: 基础运算符:(+-*/%)。
VPC ID。 cmdb_id String CMDB ID。 ecs_id String ECS ID,唯一值。 domain_id String 机器所属domain ID。 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error_code String 错误码。
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great