- 产品 API 使用指南
- SDDC
- 概览
- 计算
- 虚拟机
- virtual-machines
- /virtual-machines/
- /virtual-machines/
- /virtual-machines/{clone}
- /virtual-machines/{id}
- /virtual-machines/{id}
- /virtual-machines/{id}
- /virtual-machines/{id}/{failure-migrate}
- /virtual-machines/{id}/{flatten}
- /virtual-machines/{id}/{migrate}
- /virtual-machines/{id}/{reboot}
- /virtual-machines/{id}/{rollback}
- /virtual-machines/{id}/{start}
- /virtual-machines/{id}/{stop}
- /virtual-machines/{id}/{verify-gpasswd}
- vm-cd-roms
- vm-cleanup-jobs
- vm-disk-cleanup-jobs
- vm-disks
- vm-migration-jobs
- vm-nic-cleanup-jobs
- vm-nics
- vm-scheduling-rules
- virtual-machines
- 虚拟机快照
- 镜像
- 虚拟机
- 网络
- 块存储
- 弹性存储
- 集群
- 运维管理
- 标签管理
- 权限访问
- 加密
- 用户管理
- 产品信息
- 系统设置
- SDS
- action-logs
- alert-info-groups
- alert-infos
- alert-rule-groups
- alert-rules
- chunks
- disks
- osds
- pools
- /pools/
- /pools/
- /pools/{calc-capacity}
- /pools/{check-full}
- /pools/{pool_id}
- /pools/{pool_id}
- /pools/{pool_id}
- /pools/{pool_id}/osds
- /pools/{pool_id}/osds
- /pools/{pool_id}/predictions
- /pools/{pool_id}/samples
- /pools/{pool_id}/topology
- /pools/{pool_id}:disable-device-type-check
- /pools/{pool_id}:enable-device-type-check
- /pools/{pool_id}:initialize
- /pools/{pool_id}:reweight
- /pools/{pool_id}:switch-role
- /pools/{pool_id}:update-ec-crush-rule
- /pools/{pool_id}:update-gc-policy
/alert-rule-groups/{id}/detail
GET
/alert-rule-groups/{id}/detail
alert-rule-groups
最后修改时间:2022-11-07 16:36:40
责任人:未设置
请求参数
Path 参数
id
integer
必需
Header 参数
x-sddc-token
string
可选
默认值:
78ce2df0c80e4b10a28c7779af4dc10f
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://10.16.11.91:6012/sddc/v1/alert-rule-groups//detail' \
--header 'x-sddc-token: 78ce2df0c80e4b10a28c7779af4dc10f'
返回响应
🟢200OK
application/json
Body
alert_rule_group
object (AlertRuleGroup)
必需
+X:model:generate;etcd_lock=with_get +X:benchmark:
auto_resolve
boolean
可选
create
string <date-time>
可选
enabled
boolean
可选
id
integer <int64>
可选
levels
array[string]
可选
name
string
可选
resource_type
string
可选
trigger_time_seconds
integer <int64>
可选
update
string <date-time>
可选
alert_rules
array[object (AlertRule) {2}]
必需
data
object (AlertRuleData is Data part of AlertRule.)
必需
metadata
object (ResourceMeta is the metadata all resource type must have.)
必需
示例
{
"alert_rule_group": {
"auto_resolve": true,
"create": "2019-08-24T14:15:22Z",
"enabled": true,
"id": 0,
"levels": [
"string"
],
"name": "string",
"resource_type": "string",
"trigger_time_seconds": 0,
"update": "2019-08-24T14:15:22Z"
},
"alert_rules": [
{
"data": {
"auto_resolve": true,
"auto_resolve_waiting_for_seconds": 0,
"category": "string",
"created_at": "2019-08-24T14:15:22Z",
"creation_finish": "2019-08-24T14:15:22Z",
"critical_threshold": 0,
"default_rule": true,
"deleted_at": {
"Time": "2019-08-24T14:15:22Z",
"Valid": true
},
"deletion_begin": "2019-08-24T14:15:22Z",
"deletion_finish": "2019-08-24T14:15:22Z",
"enabled": true,
"error_renotify_interval_seconds": 0,
"error_threshold": 0,
"etag": "string",
"eval_interval_seconds": 0,
"expr": "string",
"group_notify": true,
"id": 0,
"metric": "string",
"muted": true,
"name": "string",
"operator": "string",
"resource_type": "string",
"type": "string",
"updated_at": "2019-08-24T14:15:22Z",
"waiting_for_seconds": 0,
"warning_renotify_interval_seconds": 0,
"warning_threshold": 0
},
"metadata": {
"created_at": "2019-08-24T14:15:22Z",
"creation_finish": "2019-08-24T14:15:22Z",
"deletion_begin": "2019-08-24T14:15:22Z",
"deletion_finish": "2019-08-24T14:15:22Z",
"id": 0,
"labels": [
{
"label_key_id": 0,
"label_key_name": "string",
"label_value_id": 0,
"label_value_name": "string"
}
],
"name": "string",
"project_id": 0,
"state": {
"diff_fields": {
"irreconcilable": [
"string"
],
"reconciling": [
"string"
]
},
"state": "string"
}
}
}
]
}
🟠400BadRequest
🟠404NotFound
🔴500InternalServerError
修改于 2022-11-07 16:36:40