Skip to main content
Glama
aliyun

Alibaba Cloud RDS OpenAPI MCP Server

Official
by aliyun

describe_instance_linked_whitelist_template

Retrieve whitelist templates linked to an Alibaba Cloud RDS instance to manage database access controls and security configurations.

Instructions

describe instance linked whitelist template.
Args:
    region_id: The region ID of the RDS instance.
    db_instance_id: The ID of the RDS instance.
Returns:
    dict[str, Any]: The response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
region_idYes
db_instance_idYes

Implementation Reference

  • The main handler function that executes the tool 'describe_instance_linked_whitelist_template'. It uses the RDS OpenAPI client to query the whitelist templates linked to the specified DB instance.
    async def describe_instance_linked_whitelist_template(
            region_id: str,
            db_instance_id: str
    ):
        """
        describe instance linked whitelist template.
        Args:
            region_id: The region ID of the RDS instance.
            db_instance_id: The ID of the RDS instance.
        Returns:
            dict[str, Any]: The response.
        """
        try:
            client = get_rds_client(region_id)
            request = rds_20140815_models.DescribeInstanceLinkedWhitelistTemplateRequest(
                region_id=region_id,
                ins_name=db_instance_id
            )
            response = await client.describe_instance_linked_whitelist_template_async(request)
            return response.body.to_map()
        except Exception as e:
            raise e

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aliyun/alibabacloud-rds-openapi-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server