Volcengine Kubernetes Engine
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Action | String | Yes | ListInspectionPolicies | The API name. The API name is ListInspectionPolicies. |
Version | String | Yes | May 12, 2022 | The API version. The API version is 2022-05-12. |
Filter | No | - | The inspection object filter. It intersects the value ranges of query parameters and returns matching results. | |
PageNumber | Long | No | 1 | The starting page number for paginated queries. The value starts at 1 and defaults to 1. |
PageSize | Long | No | 10 | The number of results per page:
|
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Ids | Array of String | No | R202604**** | The inspection policy ID. |
Name | String | No | policy-test | The inspection policy name. |
Types | Array of String | No | ClusterInspection | The inspection type. You can only set the value to ClusterInspection, which indicates that a regular inspection is initiated for the inspection object. |
ClusterIds | Array of String | No | ccbm7**** | Cluster ID. |
ResourceIds | Array of String | No | ["ccbm7****", "ccdhm****"] | The inspection object IDs. |
ResourceType | String | No | VkeCluster | The inspection object type. You can only set the value to VkeCluster, which indicates a cluster inspection. |
Parameter | Type | Sample value | Description |
Parameter | Type | Sample value | Description |
Items | - | The inspection and self-healing configurations. | |
PageNumber | Long | 1 | The current page number. |
PageSize | Long | 10 | Number of tasks displayed per page. |
TotalCount | Long | 178 | The total number of data entries that match the query conditions. |
Parameter | Type | Sample value | Description |
Parameter | Type | Sample value | Description |
Id | String | R2026****** | The inspection policy ID. |
Name | String | policy-test | The inspection policy name. |
Type | String | ClusterInspection | The inspection type. You can only set the value to ClusterInspection, which indicates that a regular inspection is initiated for the inspection object. |
Enabled | Boolean | true | Whether the inspection policy is enabled. Valid values:
|
Schedule | String | 0 0 13 * 5 | The inspection schedule in standard crontab format. For example, 0 0 13 * 5 means the task runs at 00:00 on the 13th of each month and at 00:00 every Friday. |
ClusterId | String | ccbm***** | Cluster ID. |
CreateTime | String | 2021-01-01T00:00:00Z | The time when the inspection policy was created. |
UpdateTime | String | 2021-01-01T00:00:00Z | The time when the inspection policy was updated. |
ClientToken | String | BC028527-33B9-4990-A633-84E9F9xxxx | A string used to ensure the idempotency of the request. This string is passed in by the caller and must be unique across different requests. ClientToken is case-sensitive and can consist of 64 ASCII characters at most. |
ResourceIds | Array of String | ["ccbm7****", "ccdhm****"] | The inspection object IDs. |
ResourceType | String | VkeCluster | The inspection object type. You can only set the value to VkeCluster, which indicates a cluster inspection. |