Show DB subnet group details (GET /v1.0/{tenantId}/subnetgroups/{subnetGroupId})

Show details of a DB subnet group.

Request URI

{tenantID}

Project ID of the owner of the instance

Data Type Cardinality
String 1..1

{subnetGroupId}

ID of DB subnet group

Data Type Cardinality
String 1..1

Request Parameters

n/a

Response Headers

Status

Returns the status of the request.

One of the following values will be returned.
400:
badRequest
401:
unauthorized
403:
forbidden
404:
itemNotFound
500:
instanceFault
501:
notImplemented
503:
serviceUnavailable
504:
gatewayTimeout
Data Type Cardinality
Int 1.1

Response Elements

description

Description 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      

subnetIds

List of subnets

Data Type Cardinality Parent Element Child Element(s)
SubnetId list      

id

ID of DB subnet group

Data Type Cardinality Parent Element Child Element(s)
String      

subnetId

ID of DB subnet

Data Type Cardinality Parent Element Child Element(s)
String      

Example of Response


{
   "subnetgroup" : {
     " name ": "subnetGroup1",
     "id": "subnet_edrtfyuhijko01",
     "status":" Available"
     " subnetIds ": [
       {"subnetId" : "subnetid1"},
       {"subnetId" : "subnetid2"}
     ],
     "description" : "this is test"
   }
}