hss__UpdateContainerNetworkPolicy
Updates a container cluster network policy in Huawei Cloud HSS by applying the specified policy content to the target cluster.
Instructions
[HSS] 容器集群网络更新配置策略
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster_id": "<cluster_id>",
"policy_content": "<policy_content>",
"policy_id": "<policy_id>",
"project_id": "<project_id>"
},
"name": "hss__UpdateContainerNetworkPolicy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 策略名称 | |
| namespace | No | 命名空间 | |
| policy_id | Yes | 策略Id | |
| cluster_id | Yes | 集群ID | |
| project_id | Yes | **参数解释**: | |
| policy_content | Yes | 网络策略内容 | |
| enterprise_project_id | No | **参数解释**: | 0 |