Volcengine Kubernetes Engine
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Action | String | Yes | CreateInspectionPolicy | The API name. The API name is CreateInspectionPolicy. |
Version | String | Yes | May 12, 2022 | The API version. The API version is 2022-05-12. |
Name | String | No | policy-test | The inspection policy name.
|
ClusterId | String | No | ccbm***** | Cluster ID. |
ResourceType | String | Yes | VkeCluster | The inspection object type. You can only set the value to VkeCluster, which indicates a cluster inspection. |
ResourceIds | Array of String | No | ["ccbm7****", "ccdhm****"] | The inspection object IDs. |
Type | String | Yes | 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 | No | true | Whether the inspection policy is enabled. Valid values:
|
Schedule | String | No | 0 0 13 * 5 | The inspection schedule in standard crontab format. For example, 0 0 13 * 5 means it will be executed at midnight on the 13th of every month and every Friday. |
ClientToken | String | No | BC028527-33B9-4990-A633-84E9F9**** | 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. |
Parameter | Type | Sample value | Description |
Parameter | Type | Sample value | Description |
Id | String | R2026****** | The inspection policy ID. |