Volcengine Managed Service for Prometheus
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Action | String | Yes | UpdateContact | API name. The API name is UpdateContact. |
Version | String | Yes | 2021-03-03 | API version. The API version is 2021-03-03. |
Id | String | Yes | e28ae750-bbb8-4ff4-abf4-1e0e0f88808c | ID of the contact person. |
Name | String | No | user-demo | Name of the contact person.
|
Email | String | No | user-demo@example.com | A valid email address of the contact person. |
Webhook | No | - | Generic webhook for contacts. | |
ContactGroupIds | Array of String | No | ["e28ae750-bbb8-4ff4-abf4-1e0e0f88808c"] | The contact group ID to which the contact person belongs. |
LarkBotWebhook | No | - | Webhook configuration of the Feishu group bot for the contact. | |
DingTalkBotWebhook | No | - | Webhook configuration of the DingTalk group bot for the contact. | |
WeComBotWebhook | No | - | Webhook configuration of the WeCom group bot for the contact. |
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Address | String | Yes | https://www.bytedance.com/ | Generic webhook address. |
Token | String | No | 3KSxxx | Authentication token for the generic webhook. It must be used together with the generic webhook address. |
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Address | String | Yes | https://open.feishu.cn/open-apis/bot/v2/hook/*** | |
SecretKey | String | No | 6KKxxx | A webhook secret key for the Feishu group bot. It needs to always be used together with the webhook address of the Feishu group bot. |
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Address | String | Yes | https://oapi.dingtalk.com/robot/send?access_token=*** | |
SecretKey | String | No | SECxxx | A webhook secret key for DingTalk robot. It needs to always be used together with the webhook address of DingTalk robot. |
AtMobiles | Array of String | No | ["133********"] | The phone number of the user to be @mentioned. The user must be in the group. |
AtUserIds | Array of String | No | ["********"] | The ID of the user who is about to be @mentioned in the group. |
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Address | String | Yes | https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=*** | |
AtUserIds | Array of String | No | ["********"] | The ID of the user who is about to be @mentioned in the group. |
Parameter | Type | Sample value | Description |
Parameter | Type | Sample value | Description |
Id | String | e28ae750-bbb8-4ff4-abf4-1e0e0f88808c | ID of the contact person. |
SendStatus | String | MessageSucceed.Email | The status returned when sending verification emails:
|
Message | String | The same email address should not be validated more than once in 1 minute, please try it later. | The reason the error occurred when sending the verification email. This parameter has a value when SendStatus is not MessageSucceed.Email. |
HTTP status codes | Error codes | Error message | Description |
HTTP status codes | Error codes | Error message | Description |
400 | InvalidParameter.{{parameter}} | The specified parameter {{parameter}} is invalid. | The input is invalid. For example, the workspace name does not meet the requirements. |
400 | MissingParameter.{{parameter}} | The required parameter {{parameter}} is missing. | Missing required parameters. |
403 | ProductUnsubscribed | You are not subscribed to VMP. Please go to the VMP console web page to subscribe to the service | The account is not subscribed to the VMP Service. |
404 | NotFound.Id | The specified Contact/ContactGroup {{Id}} is not found. | The specified contact person/group was not found. |
409 | Conflict.Name | The specified name conflicts with existing {{resource}}. | The specified name has already been used by an existing resource. |