Parameters | Type | Sample value | Descriptions |
Id | String | fcbc7eef-2f6c-4247-bce1*** | The ID of the integration task. |
Name | String | test | The name of the integration task. |
WorkspaceId | String | fcbc7eef-2f6c-4247-bce1*** | Workspace ID. |
Type | String | CloudMonitor | Integration task type. The value CloudMonitor indicates a Cloud Monitor integration task. |
Status | String | Creating | The status of the integration task. Valid values:
|
Params | String | {\"JobName\":\"test\",\"ScrapeInterval\":\"1m\",\"Regions\":{\"cn-beijing\":{\"VCM_ALB\":{},\"VCM_ECS\":{}}},\"MetaLabelWithNewMetric\":false,\"RelabelConfigs\":\"- action: drop\\n source_labels:\\n - __name__\\n regex: metricA|metricB\"} | Integration task settings. |
Environment | String | Vke | The environment to which the integration task is deployed. Valid values:
tip When you create a Cloud Monitor integration task, you can select only a managed environment. |
VkeClusterId | String | cd2i3c1beif8n1*** | The ID of the VKE cluster where the integration task is deployed. |
VkeClusterInfo | - | Information about the VKE cluster to which the integration task is deployed. |
Parameters | Type | Sample value | Description |
Name | String | cluster-demo | The name of the VKE cluster. |
Status | String | Running | The VKE cluster status. |
HTTP status code | Error code | Error message | Description |
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. |
400 | InvalidParameter.{{parameter}} | The specified parameter {{parameter}} is invalid. | Invalid parameters are found. For example, an invalid workspace name is included in requests. |
400 | MissingParameter.{{parameter}} | The required parameter {{parameter}} is missing. | Missing required parameters. |