flushAllCloudRedisServerInstance
- Print
- PDF
flushAllCloudRedisServerInstance
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
It is available in a VPC environment.
Overview
Delete all data on the selected Redis server using the FlushAll command in Cloud DB for Redis.
If there is backup data, it can be restored to a new Redis server, but this does not mean the data at the time of deletion, so please proceed carefully.
HA products can only be deleted from a master server, and deleting it will also get slave and standby master servers deleted with it. Please proceed carefully.
Request
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code You can obtain regionCode through the getRegionList action. Default: Selects the first region of the getRegionList search results. | |
cloudRedisServerInstanceNo | Yes | String | Cloud DB for Redis server instance number to run the FlushAll command You can obtain cloudRedisServerInstanceNo through the getCloudRedisInstanceList action. | |
output | No | String | Format type for the response result Options : xml | json Default : json |
Response
Response Data Type
- CloudRedisInstanceList type
CloudRedisInstanceList extends CommonResponse |
---|
private Integer totalRows; |
private List<CloudRedisInstance> cloudRedisInstanceList = new ArrayList<>(); |
CloudRedisInstance |
---|
private String cloudRedisInstanceNo; |
private String cloudRedisServiceName; |
private String cloudRedisInstanceStatusName; |
private CommonCode cloudRedisInstanceStatus; |
private CommonCode cloudRedisInstanceOperation; |
private String cloudRedisImageProductCode; |
private String engineVersion; |
private CommonCode licence; |
private Integer cloudRedisPort; |
private Boolean isHa; |
private String cloudRedisServerPrefix; |
private Boolean isBackup; |
private Integer backupFileRetentionPeriod; |
private String backupTime; |
private String backupSchedule; |
private Date createDate; |
private Integer shardCount; |
private Integer shardCopyCount; |
private AccessControlGroupNoList accessControlGroupNoList; |
private String configGroupNo; |
private String configGroupName; |
private CommonCode role; |
private List<CloudRedisInstance> cloudRedisServerInstanceList; |
AccessControlGroupNoList |
---|
private List<String> accessControlGroupNoList = new ArrayList<>(); |
CloudRedisServerInstance |
---|
private String cloudRedisServerInstanceNo; |
private String cloudRedisServerName; |
private CommonCode cloudRedisServerRole; |
private String cloudRedisServerInstanceStatusName; |
private CommonCode cloudRedisServerInstanceStatus; |
private CommonCode cloudRedisServerInstanceOperation; |
private String cloudRedisProductCode; |
private String regionCode; |
private String zoneCode; |
private String vpcNo; |
private String subnetNo; |
private String privateDomain; |
private Integer cpuCount; |
private Long memorySize; |
private Long osMemorySize; |
private Date uptime; |
private Date createDate; |
private String slotName; |
Example
Examples of requests
Examples of responses
Was this article helpful?