DescribeRoleTagStatus

Updated at:

Describes the status of a tag for a node.

Try it now

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

DBInstanceId

string

Yes

The instance ID.

dds-wz9760547de1****

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

69D55DEC-B219-569F-A686-AC2F67A1****

RoleTagStatus

string

The tag status of the ReplicaSet node. Valid values:

  • true: The tag is created.

  • false: The tag is not created.

Note

If the instance is a sharded cluster, this parameter returns false.

Valid values:

  • true :

    true

  • false :

    false

false

ShardRoleTagStatus

object

The tag status of each node in the sharded cluster. Valid values:

  • true: The tag is created.

  • false: The tag is not created.

{ "d-2ze204b4db58****": "false", "d-2zeb9716646e***": "false" }

Examples

Success response

JSON format

{
  "RequestId": "69D55DEC-B219-569F-A686-AC2F67A1****",
  "RoleTagStatus": "false",
  "ShardRoleTagStatus": {
    "d-2ze204b4db58****": "false",
    "d-2zeb9716646e***": "false"
  }
}

Error codes

See for a complete list.

Release notes

See 变更详情 for a complete list.