ModifyStrategyTarget
Description
modify the asset grouping to which the specified baseline check policy is applied.
Request Method
POST
Request Path
/apsara/route/aegis/ModifyStrategyTarget
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| Type | BODY | string | No | No sample value for this parameter. | system specified parameters. Value: hc_strategy |
| Target | BODY | string | No | No sample value for this parameter. | the asset grouping information to which the baseline check policy is applied. see the request example for the specific description. |
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| Config | BODY | string | No | No sample value for this parameter. | policy configuration information. Enter the baseline check policy ID in JSON format, for example, {"strategyId":15161} |
| version | BODY | string | No | 2016-01-01 | version of api |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| RequestId | string | no demo value | request ID. |
Example
Successful Response example
{
"RequestId":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}