ncloud_get_mysql_target_subnets
Lists VPC subnets that can host a new Cloud DB for MySQL instance for a specified image, helping you choose a valid subnet before creating the instance.
Instructions
List subnets in a VPC that can host a new Cloud DB for MySQL instance of the given image (use before ncloud_create_mysql_instance)
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": {
"vpcNo": "<vpcNo>",
"cloudMysqlImageProductCode": "<cloudMysqlImageProductCode>"
},
"name": "ncloud_get_mysql_target_subnets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vpcNo | Yes | VPC number (see ncloud_get_mysql_target_vpcs) | |
| isPublic | No | true = public subnets only, false = private subnets only | |
| regionCode | No | Region code (see ncloud_get_regions). Defaults to current region. | |
| cloudMysqlImageProductCode | Yes | MySQL image product code (see ncloud_get_mysql_image_products) |