{
"alertrecordshield": {
"__meta__": {
"user:rd": "op"
},
"alert_id": "string",
"description": "test create network",
"dry_run": false,
"end_time": "string",
"generate_name": "test###",
"is_emulated": true,
"name": "test-network",
"res_id": "string",
"res_name": "string",
"res_type": "string",
"start_time": "string"
},
"count": 1
}curl --location --request POST 'https://example.com:30888/alertrecordshields' \
--header 'Content-Type: application/json' \
--data-raw '{
"alertrecordshield": {
"__meta__": {
"user:rd": "op"
},
"alert_id": "string",
"description": "test create network",
"dry_run": false,
"end_time": "string",
"generate_name": "test###",
"is_emulated": true,
"name": "test-network",
"res_id": "string",
"res_name": "string",
"res_type": "string",
"start_time": "string"
},
"count": 1
}'{
"alertrecordshield": {
"alert_duration": 0,
"alert_name": "string",
"alert_type": "string",
"can_delete": true,
"can_update": true,
"channel": [
"string"
],
"common_alert_metric_details": [
{
"FieldDescription": {
"display_name": "string",
"id": "string",
"name": "string",
"unit": "string"
},
"comparator": "string",
"condition_type": "string",
"db": "string",
"field": "string",
"field_opt": "string",
"filters": [
{
"condition": "string",
"key": "string",
"operator": "string",
"value": "string"
}
],
"get_point_str": true,
"groupby": "string",
"measurement": "string",
"measurement_display_name": "string",
"operator": "string",
"reduce": "string",
"res_type": "string",
"threshold": 0,
"threshold_str": "string",
"within_range": [
0
]
}
],
"created_at": "2019-08-24T14:15:22.123Z",
"customize_config": {},
"delete_fail_reason": {
"class": "string",
"code": 0,
"details": "string"
},
"deleted": true,
"deleted_at": "2019-08-24T14:15:22.123Z",
"description": "string",
"domain_id": "string",
"enabled": true,
"eval_data": {},
"execution_error": "string",
"execution_error_state": "string",
"expired": true,
"for": 0,
"frequency": 0,
"id": "string",
"is_emulated": true,
"last_state_change": "2019-08-24T14:15:22.123Z",
"level": "string",
"message": "string",
"metadata": {
"property1": "string",
"property2": "string"
},
"name": "string",
"no_data_state": "string",
"notifier_id": "string",
"period": "string",
"progress": 0,
"project": "string",
"project_domain": "string",
"project_id": "string",
"project_metadata": {
"property1": "string",
"property2": "string"
},
"recipients": [
"string"
],
"res_name": "string",
"res_type": "string",
"robot_ids": [
"string"
],
"role_ids": [
"string"
],
"scope": "string",
"settings": {
"conditions": [
{
"evaluator": {
"operators": [
"string"
],
"params": [
0
],
"type": "string"
},
"operator": "string",
"query": {
"from": "string",
"model": {
"alias": "string",
"database": "string",
"group_by": [
{
"params": [
"string"
],
"type": "string"
}
],
"interval": "string",
"measurement": "string",
"policy": "string",
"result_format": "string",
"select": [
[
{
"params": [
"string"
],
"type": "string"
}
]
],
"tags": [
{
"condition": "string",
"key": "string",
"operator": "string",
"value": "string"
}
],
"tz": "string"
},
"result_reducer": {
"operators": [
"string"
],
"params": [
0
],
"type": "string"
},
"result_reducer_order": "string",
"to": "string"
},
"reducer": {
"operators": [
"string"
],
"params": [
0
],
"type": "string"
},
"reducer_order": "string",
"type": "string"
}
]
},
"silent_period": "string",
"state": "string",
"state_changes": 0,
"status": "string",
"tenant": "string",
"tenant_id": "string",
"update_fail_reason": {
"class": "string",
"code": 0,
"details": "string"
},
"update_version": 0,
"updated_at": "2019-08-24T14:15:22.123Z",
"used_by": "string"
}
}