Volcengine Managed Service for Prometheus
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Action | String | Yes | GetRuleFile | API name. The API name is GetRuleFile. |
Version | String | Yes | 2021-03-03 | API version. The API version is 2021-03-03. |
Id | String | No | 1c3f6e48-b5e1-4832-8564-10eaac12a22c | Rule file ID. |
WorkspaceId | String | No | e28ae750-bbb8-4ff4-abf4-1e0e0f88808c | Workspace ID. It is always used together with Name. |
Name | String | No | test | Rule file name. It is always used together with WorkspaceId. |
Parameter | Type | Sample value | Description |
Parameter | Type | Sample value | Description |
Id | String | e28ae750-bbb8-4ff4-abf4-1e0e0f88808c | Rule file ID. |
CreateTime | String | 2022-01-01T00:00:00Z | The creation date of the rule file. It is presented in RFC3339 format. |
LastUpdateTime | String | 2022-01-01T00:00:00Z | The latest date the rule file was updated. It is presented in RFC3339 format. |
Name | String | test | Rule file name. |
Description | String | This is a description | Description of the rule file. |
Content | String | groups: - name: example rules: - record: test expr: up | Rule file content. |
Status | String | Running | Status of rule file:
|
RuleCount | Long | 2 | Number of rules in the rule file. |
HTTP status codes | Error codes | Error message | Description |
HTTP status codes | Error codes | 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. |
404 | NotFound.Workspace | The specified Workspace {{id}} is not found. | The workspace with the ID was not found. |
400 | InvalidParameter.{{parameter}} | The specified parameter {{parameter}} is invalid. | An invalid parameter was found. For example, an invalid workspace name was included in requests. |
400 | MissingParameter.{{parameter}} | The required parameter {{parameter}} is missing. | Missing necessary parameters. |