All Products
Search
Document Center

ApsaraDB for OceanBase:DescribeTenantTags

Last Updated:Apr 29, 2024

You can call this operation to view tenant tags.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the OceanBase cluster.

ob317v4uif****
TenantIdsstringNo

The JSON string of the tenant ID.

["xxx", "xxx"]
TagsstringNo

The tags.

[{"Key": "xxx", "Value", "xxx"},{}]

Response parameters

ParameterTypeDescriptionExample
object

The returned response.

RequestIdstring

The request ID.

EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C
TagResourcesobject []

The list of tags.

ResourceIdstring

The resource ID.

ob317v4uif****
ResourceTypestring

The type of the resource.

instance
Tagstring

The tag of the resource.

[{"Key": "xxx", "Value", "xxx"},{}]

Examples

Sample success responses

JSONformat

{
  "RequestId": "EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C",
  "TagResources": [
    {
      "ResourceId": "ob317v4uif****",
      "ResourceType": "instance",
      "Tag": "[{\"Key\": \"xxx\", \"Value\", \"xxx\"},{}]"
    }
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
2024-04-15The internal configuration of the API is changed, but the call is not affectedsee changesets
Change itemChange content
The internal configuration of the API is changed, but the call is not affected.