sdrs__AddProtectedInstanceNic
Adds a network interface to a specified SDRS protected instance using a subnet ID, with optional IP address and security group settings.
Instructions
[SDRS] 给指定的保护实例添加网卡。
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": {
"project_id": "<project_id>",
"protected_instance_id": "<protected_instance_id>",
"subnet_id": "<subnet_id>"
},
"name": "sdrs__AddProtectedInstanceNic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subnet_id | Yes | 添加网卡的子网ID。该参数是子网的network_id,和neutron_network_id的值保持一致。 | |
| ip_address | No | IP地址,若无该参数表示自动分配IP地址。 | |
| project_id | Yes | 项目ID。 | |
| security_groups | No | 添加网卡的安全组信息。默认为Sys-default安全组。 | |
| protected_instance_id | Yes | 保护实例的ID。 |