getCloudPostgresqlBucketList
    • PDF

    getCloudPostgresqlBucketList

    • PDF

    Article summary

    Available in VPC

    Views Object Storage bucket lists available in Cloud DB for PostgreSQL.

    Commands

    The text of the command is as follows:

    ncloud vpostgresql getCloudPostgresqlBucketList [regionCode] [cloudPostgresqlServerInstanceNo] [output]
    

    Parameter

    The following is a description on parameters.

    ParameterTypeRequirement statusDescriptionRestrictions
    regionCodeStringNRegion code
    - regionCode can be obtained via the getRegionList action
    - Default: selects the first region of the getRegionList search results
    -
    cloudPostgresqlServerInstanceNoStringYCloud DB for PostgreSQL server instance number
    - You can obtain cloudPostgresqlServerInstanceNo through the getCloudPostgresqlInstanceList action
    - When entered, view Object Storage bucket lists accessible from the instance
    -
    outputStringNFormat type of the response result
    - options: xml | json
    - default: json
    -

    Responses

    Response data type

    • CloudPostgresqlBucketList type
    CloudPostgresqlBucketList extends CommonResponseDescription
    private Integer totalRows;Total number of items viewed
    private List<CloudPostgresqlBucket> cloudPostgresqlBucketList = new ArrayList<>();Cloud DB for PostgreSQL bucket list
    • CloudPostgresqlBucket type
    CloudPostgresqlBucketDescription
    private String bucketName;Cloud DB for PostgreSQL bucket

    Examples

    Request Examples

    ncloud vpostgresql getCloudPostgresqlBucketList --regionCode KR --cloudPostgresqlServerInstanceNo ****891
    

    Response examples

    The following are examples of responses.

    If the response shows that format type (output) is json

    {
      "getCloudPostgresqlBucketListResponse": {
        "requestId": "40cb968e-72ef-42d3-adc3-e392e8f7cc99",
        "returnCode": "0",
        "returnMessage": "success",
        "totalRows": 2,
        "cloudPostgresqlBucketList": [
          {
            "bucketName": "bucket***"
          },
          {
            "bucketName": "bucket***"
          }
        ]
      }
    }
    

    If the response shows that format type (output) is xml

    <getCloudPostgresqlBucketListResponse>
        <requestId>40cb968e-72ef-42d3-adc3-e392e8f7cc99</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>2</totalRows>
        <cloudPostgresqlBucketList>
            <cloudPostgresqlBucket>
                <bucketName>bucket***</bucketName>
            </cloudPostgresqlBucket>
            <cloudPostgresqlBucket>
                <bucketName>bucket***</bucketName>
            </cloudPostgresqlBucket>
        </cloudPostgresqlBucketList>
    </getCloudPostgresqlBucketListResponse>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.