All Products
Search
Document Center

ApsaraDB for OceanBase:CreateTenantReadOnlyConnection

Last Updated:Apr 21, 2023

You can call this operation to create a read-only address for a specified tenant.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
TenantIdstringYes

The ID of the tenant.

ob2mr3oae0****
InstanceIdstringYes

The ID of the OceanBase cluster.

ob317v4uif****
ZoneIdstringYes

The ID of the zone.

For more information, see AvailableZones in DescribeInstance.

cn-hangzhou-i

Response parameters

ParameterTypeDescriptionExample
object

The return result of the request.

RequestIdstring

The request ID.

EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C

Examples

Sample success responses

JSONformat

{
  "RequestId": "EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C"
}

Error codes

HTTP status codeError codeError message
2014InternalErrorThe request processing has failed due to some unknown error.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history