Usługi
Usługi Cloud
Endpoint zwraca listę usług z NSX-T i obsługą IP spaces
http
GET https://365.exea.pl/api/v5/services/cloud
Accept: application/json
Authorization: Bearer {{token}}
Przykładowa odpowiedź
HTTP/1.1 200 OK
json
[
{
"id": "9d18376c-307c-4983-87dc-2100373d5363",
"status": 3,
"status_description": "The service is delivered.",
"name": "test_api_v5",
"project_id": "46ac4576-6f2c-469d-aec6-6a7c86b93a30",
"product_id": "9b459802-7d7f-49c5-8707-8bbfe1bd48b9",
"created_at": "2024-09-25 16:09:06",
"vcloud_vdc_id": "718f50e9-e652-4afe-b683-f24f47c8679b",
"service_type": "Exea Cloud",
"service_type_id": "c8e532c0-569e-11ed-8f47-c1e8fe13dbc7"
}
]
Szczegóły usługi Cloud
Aby pobrać szczegóły usługi, wyślij zapytanie GET
http
GET https://365.exea.pl/api/v5/services/cloud/{{serviceId}}
Accept: application/json
Authorization: Bearer {{token}}
Przykładowa odpowiedź
HTTP/1.1 200 OK
json
{
"id": "9d1bcea4-a9a3-47e9-9c1d-06e243974f69",
"status": 3,
"status_description": "The service is delivered.",
"name": "cloud_api_v5",
"project_id": "46ac4576-6f2c-469d-aec6-6a7c86b93a30",
"product_id": "9b459802-7d7f-49c5-8707-8bbfe1bd48b9",
"created_at": "2024-09-27 10:59:25",
"service_components": [
{
"name": "CPU",
"quantity": 1,
"unit": null
},
{
"name": "RAM",
"quantity": 1,
"unit": "GB"
},
{
"name": "HDD",
"quantity": 10,
"unit": "GB"
},
{
"name": "Edge Gateway NSX-T",
"quantity": 1,
"unit": null
},
{
"name": "Bandwidth 100",
"quantity": 1,
"unit": null
}
],
"vdc": {
"id": "0441dd85-96cb-4d65-ba01-5898e5f69a7e",
"service_id": "9d1bcea4-a9a3-47e9-9c1d-06e243974f69",
"name": "Org_bph9cfh2_cloud_api_v5",
"vcd_org_id": "d9e9f578-2c85-46fe-a3da-be19b81fb5ef",
"created_at": "2024-09-27 11:03:25",
"edge_gateways": [
{
"id": "57a6a4b0-3df2-4a85-ada5-90a7b15725ed",
"name": "Org_bph9cfh2_cloud_api_v5_Edge_001",
"vcloud_vdc_id": "0441dd85-96cb-4d65-ba01-5898e5f69a7e",
"type": "NSXT_BACKED",
"gateway_qos_profile_id": "100Mbps",
"created_at": "2024-09-27 11:05:39"
}
],
"storage_profiles": [
{
"id": "f5e78cca-4223-46f9-9600-b4e326550a45",
"name": "hdd storage policy",
"vcloud_vdc_id": "0441dd85-96cb-4d65-ba01-5898e5f69a7e",
"limit": 10240,
"default": 1,
"enabled": 1,
"units": "MB",
"storage_used_mb": 0
}
]
},
"service_type": "Exea Cloud",
"service_type_id": "c8e532c0-569e-11ed-8f47-c1e8fe13dbc7"
}