attach_whitelist_template_to_instance
Apply a whitelist template to an Alibaba Cloud RDS instance to manage access permissions by specifying the region ID, instance ID, and template ID.
Instructions
allocate db instance public connection.
Args:
region_id: The region ID of the RDS instance.
db_instance_id: The ID of the RDS instance.
template_id: Whitelist Template ID. Can be obtained via DescribeAllWhitelistTemplate.
Returns:
dict[str, Any]: The response.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
db_instance_id | Yes | ||
region_id | Yes | ||
template_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"db_instance_id": {
"title": "Db Instance Id",
"type": "string"
},
"region_id": {
"title": "Region Id",
"type": "string"
},
"template_id": {
"title": "Template Id",
"type": "integer"
}
},
"required": [
"region_id",
"db_instance_id",
"template_id"
],
"title": "attach_whitelist_template_to_instanceArguments",
"type": "object"
}