getCloudPostgresqlDatabaseList
- Print
- PDF
getCloudPostgresqlDatabaseList
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Available in VPC
Views the list of Cloud DB for PostgreSQL database.
Requests
Request Parameters
Parameter | Type | Requirement Status | Description | Restrictions |
---|---|---|---|---|
regionCode | String | N | Region code - regionCode can be obtained via the getRegionList action - default: Selects the first region of the getRegionList query results | - |
cloudPostgresqlInstanceNo | String | Y | Cloud DB for PostgreSQL instance number - You can obtain cloudPostgresqlServerInstanceNo through the getCloudPostgresqlInstanceList action | - |
responseFormatType | String | N | Format type of the response result - options: xml | json - default: xml | - |
Responses
Response bodies
For response bodies, refer to CloudPostgresqlDatabaseList.
Examples
Request Examples
The following is an example of a request body.
GET {API_URL}/getCloudPostgresqlDatabaseList
?regionCode=KR
&cloudPostgresqlInstanceNo=****890
Response examples
The following are examples of responses.
If the response shows that format type (responseFormatType) is json
{
"getCloudPostgresqlDatabaseListResponse": {
"requestId": "32993542-96c8-4899-91d8-3a273960b79c",
"returnCode": 0,
"returnMessage": "success",
"totalRows": 1,
"cloudPostgresqlDatabaseList": [
{
"databaseName": "pgtest",
"owner": "testuser"
}
]
}
}
If the response shows that format type (responseFormatType) is xml
<getCloudPostgresqlDatabaseListResponse>
<requestId>32993542-96c8-4899-91d8-3a273960b79c</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudPostgresqlDatabaseList>
<cloudPostgresqlDatabase>
<databaseName>pgtest</databaseName>
<owner>testuser</owner>
</cloudPostgresqlDatabase>
</cloudPostgresqlDatabaseList>
</getCloudPostgresqlDatabaseListResponse>
Was this article helpful?