文档数据库服务 DDS-查询数据库角色列表:URI

时间:2025-01-16 16:22:08

URI

  • URI格式

    GET https://{Endpoint}/v3/{project_id}/instances/{instance_id}/db-roles?role_name={role_name}&db_name={db_name}&offset={offset}&limit={limit}

  • URI样例
    • 查询数据库角色列表:

      https://dds.cn-north-1.myhuaweicloud.com/v3/0483b6b16e954cb88930a360d2c4e663/instances/3527b6b16e7639b88930a360d2c4in02/db-roles

    • 根据指定条件查询角色列表

      https://dds.cn-north-1.myhuaweicloud.com/v3/0483b6b16e954cb88930a360d2c4e663/instances/3527b6b16e7639b88930a360d2c4in02/db-roles?role_name=testRole&db_name=testDb&offset=0&limit=100

support.huaweicloud.com/api-dds/dds_api_0074.html