edit-icon download-icon


Last Updated: Mar 02, 2018


This API supports replica set instances only.

Input parameters

NameTypeRequired or notDescription
ActionStringYesRequired parameter; value: DescribeReplicaSetRole.
DBInstanceIdStringYesInstance ID

Response parameters

Public response parameters-For more information, see public response parameters.
DBInstanceIdStringInstance ID
ReplicaSetsList<ReplicaSet>List of replica set roles

ReplicaSetRole data structure

ReplicaSetRoleStringReplica set roles: Primary or Secondary
ConnectionDomainStringInstance connection domain name
ConnectionPortStringInstance connection port
ExpiredTime String StringRemaining duration of the classic network address, in seconds
NetworkTypeStringNetwork type:
- VPC: Private network
- Classic: Classic network
- Public: Public network
Thank you! We've received your feedback.