List DB subnet groups (GET /v1.0/{tenantId}/subnetgroups)
Lists information for all DB subnet groups.
Request URI
{tenantID}
Project ID of the owner of the instance
Data Type | Cardinality |
---|---|
String | 1..1 |
Request Parameters
limit
Number of elements to display
20 to 100
Default:20
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
Integer | 0..1 | None | None |
marker
marker
A pagination token used to establish the starting point for retrieving the list.
Note: Specify the ID or name of the last element returned in the previous list.
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
String | 0..1 | subnetgroups | None |
Response Headers
Status
Returns the status of the request.
One of the following values will be returned.
- 401:
- unauthorized
- 403:
- forbidden
- 500:
- instanceFault
- 501:
- notImplemented
- 503:
- serviceUnavailable
- 504:
- gatewayTimeout
Data Type | Cardinality |
---|---|
Int | 1..1 |
Response Elements
subnetGroups
List of DB subnet groups
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
SubnetGroupId structures list |
name status id |
id
ID of DB subnet group
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
String |
name
Name of DB subnet group
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
String |
status
Status of DB subnet group
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
String |
Example of Response
{
" subnetGroups ": [
{
"id" : "subnetGroupid1",
"name":"subnetGroupid1",
"status":"Available"
},
{
"id" : "subnetGroupid2",
"name":"subnetGroupid2",
"status":"Available"
}
]
}