Inter DC Service¶
List Interdc Service¶
List all visible interdc_services.
Synchronous / Asynchronous¶
Synchronous
Request¶
HTTP Request Method¶
GET
HTTP Request Path¶
{endpoint}/v2.0/interdc_services
HTTP Request Parameters¶
Parameter |
Style |
Type |
Format |
Enumeration |
Description |
Required |
---|---|---|---|---|---|---|
description |
query |
string |
- |
- |
Description of the Inter DC Service resource |
no |
id |
query |
string |
hyph-uuid |
- |
Unique ID of the Inter DC Service resource |
no |
name |
query |
string |
- |
- |
Name of the Inter DC Service resource |
no |
zone |
query |
string |
- |
- |
Name of zone |
no |
Response¶
HTTP Response Code List¶
Response Code |
Description |
---|---|
200 |
OK |
400 |
Bad Request |
401 |
UnAuthorized |
404 |
Not Found |
500 |
Internal Server Error |
HTTP Response Parameters¶
Parameter |
Type |
Format |
Description |
---|---|---|---|
interdc_services |
array<object> |
datatype_interdc_service |
- |
description |
string |
- |
Description of the Inter DC Service resource |
id |
string |
hyph-uuid |
Unique ID of the Inter DC Service resource |
name |
string |
- |
Name of the Inter DC Service resource |
zone |
string |
- |
Name of zone |
Examples¶
Sample Request Body¶
This operation does not send a request body.
Sample Response Body¶
{
"interdc_services": [
{
"description": "test InterDC service",
"id": "d4006e79-9f60-4b72-9f86-5f6ef8b4e9e9",
"name": "test InterDC service 1",
"zone": "Lab3"
},
{
"description": "test InterDC service",
"id": "63094f0a-81ee-4d7f-9b05-05c6a95aa8f2",
"name": "test InterDC service 2",
"zone": "Lab3"
}
]
}
Show Interdc Service¶
Show details for interdc_service.
Synchronous / Asynchronous¶
Synchronous
Request¶
HTTP Request Method¶
GET
HTTP Request Path¶
{endpoint}/v2.0/interdc_services/{interdc_service_id}
HTTP Request Parameters¶
Parameter |
Style |
Type |
Format |
Enumeration |
Description |
Required |
---|---|---|---|---|---|---|
interdc_service_id |
URI |
string |
hyph-uuid |
- |
Unique ID of the Inter DC Service resource |
yes |
Response¶
HTTP Response Code List¶
Response Code |
Description |
---|---|
200 |
OK |
400 |
Bad Request |
401 |
UnAuthorized |
404 |
Not Found |
500 |
Internal Server Error |
HTTP Response Parameters¶
Parameter |
Type |
Format |
Description |
---|---|---|---|
interdc_service |
object |
datatype_interdc_service |
- |
description |
string |
- |
Description of the Inter DC Service resource |
id |
string |
hyph-uuid |
Unique ID of the Inter DC Service resource |
name |
string |
- |
Name of the Inter DC Service resource |
zone |
string |
- |
Name of zone |