getCloudRedisBucketList
- Print
- PDF
getCloudRedisBucketList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
It can be used in a VPC environment.
Overview
Searches the list of Object Storage buckets available to use in Cloud DB for Redis.
Request
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code You can decide the region where the list of Cloud DB for Redis backups will be searched. You can obtain regionCode through the getRegionList action. Default: Selects the first region of the getRegionList search results. | |
cloudRedisInstanceNo | Yes | String | Cloud DB for Redis instance number You can obtain cloudRedisInstanceNo through the getCloudRedisInstanceList action. | |
output | No | String | Format type for the response result Options: xml | json Default: json |
Response
Response Data Type
- CloudRedisBucketList type
CloudRedisBucketList extends CommonResponse |
---|
private Integer totalRows; |
private List<CloudRedisBucket> cloudRedisBucketList = new ArrayList<>(); |
CloudRedisBucket |
---|
private String bucketName; |
Example
Examples of requests
ncloud vredis getCloudRedisBucketList --regionCode KR --cloudRedisInstanceNo 821***
Examples of responses
{
"getCloudRedisBucketListResponse": {
"requestId": "40cb968e-72ef-42d3-adc3-e392e8f7cc99",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 2,
"cloudRedisBucketList": [
{
"bucketName": "aab***"
},
{
"bucketName": "asdsd****"
}
]
}
}
<getCloudRedisBucketListResponse>
<requestId>9f2c90d3-9f6d-4891-af62-780c36949402</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>2</totalRows>
<cloudRedisBucketList>
<cloudRedisBucket>
<bucketName>aab***</bucketName>
</cloudRedisBucket>
<cloudRedisBucket>
<bucketName>asdsd****</bucketName>
</cloudRedisBucket>
</cloudRedisBucketList>
</getCloudRedisBucketListResponse>
Was this article helpful?