{
    "id": "dc-1",
    "type": "datacenter",
    "href": "/cloudapi/v4/datacenters/dc-1",
    "metadata": {
        "createdDate": "2016-10-17T11:33:11Z",
        "createdBy": "test@test.test",
        "etag": "53b215b8ec0356a649955dab019845a4",
        "lastModifiedDate": "2016-10-18T15:13:44Z",
        "lastModifiedBy": "test@test.test",
        "state": "AVAILABLE"
    },
    "properties": {
        "name": "libcloud Test",
        "description": "libcloud test datacenter",
        "location": "us/las",
        "version": 35,
        "features": [
            "SSD",
            "MULTIPLE_CPU"
        ]
    },
    "entities": {
        "servers": {
            "id": "dc-1/servers",
            "type": "collection",
            "href": "/cloudapi/v4/datacenters/dc-1/servers",
            "items": [
                {
                    "id": "srv-1",
                    "type": "server",
                    "href": "/cloudapi/v4/datacenters/dc-1/servers/srv-1",
                    "metadata": {
                        "createdDate": "2016-10-18T07:28:05Z",
                        "createdBy": "test@test.test",
                        "etag": "53b215b8ec0356a649955dab019845a4",
                        "lastModifiedDate": "2016-10-18T15:13:44Z",
                        "lastModifiedBy": "test@test.test",
                        "state": "AVAILABLE"
                    },
                    "properties": {
                        "name": "Made with a stray volume and included size.",
                        "cores": 2,
                        "ram": 4096,
                        "availabilityZone": "AUTO",
                        "vmState": "RUNNING",
                        "bootCdrom": null,
                        "bootVolume": {
                            "id": "bvol-1",
                            "type": "volume",
                            "href": "/cloudapi/v4/datacenters/dc-1/volumes/bvol-1",
                            "metadata": {
                                "createdDate": "2016-10-18T07:20:41Z",
                                "createdBy": "test@test.test",
                                "etag": "33f6b8d506e7ad756e8554b915f29c61",
                                "lastModifiedDate": "2016-10-18T07:20:41Z",
                                "lastModifiedBy": "test@test.test",
                                "state": "AVAILABLE"
                            },
                            "properties": {
                                "name": "Bootable and linkable",
                                "type": "HDD",
                                "size": 10,
                                "image": "bvol-img",
                                "imagePassword": null,
                                "bus": "VIRTIO",
                                "licenceType": "LINUX",
                                "cpuHotPlug": true,
                                "cpuHotUnplug": false,
                                "ramHotPlug": true,
                                "ramHotUnplug": false,
                                "nicHotPlug": true,
                                "nicHotUnplug": true,
                                "discVirtioHotPlug": true,
                                "discVirtioHotUnplug": true,
                                "discScsiHotPlug": false,
                                "discScsiHotUnplug": false,
                                "deviceNumber": 1
                            }
                        },
                        "cpuFamily": "AMD_OPTERON"
                    },
                    "entities": {
                        "cdroms": {
                            "id": "srv-1/cdroms",
                            "type": "collection",
                            "href": "/cloudapi/v4/datacenters/dc-1/servers/srv-1/cdroms",
                            "items": []
                        },
                        "volumes": {
                            "id": "srv-1/volumes",
                            "type": "collection",
                            "href": "/cloudapi/v4/datacenters/dc-1/servers/srv-1/volumes",
                            "items": [
                                {
                                    "id": "d6688ced-700d-4c9c-a3a7-9f7170c5edc3",
                                    "type": "volume",
                                    "href": "/cloudapi/v4/datacenters/dc-1/volumes/d6688ced-700d-4c9c-a3a7-9f7170c5edc3"
                                },
                                {
                                    "id": "vol-2",
                                    "type": "volume",
                                    "href": "/cloudapi/v4/datacenters/dc-1/volumes/vol-2"
                                },
                                {
                                    "id": "bvol-1",
                                    "type": "volume",
                                    "href": "/cloudapi/v4/datacenters/dc-1/volumes/bvol-1"
                                }
                            ]
                        },
                        "nics": {
                            "id": "srv-1/nics",
                            "type": "collection",
                            "href": "/cloudapi/v4/datacenters/dc-1/servers/srv-1/nics",
                            "items": []
                        }
                    }
                },
                {
                    "id": "s-3",
                    "type": "server",
                    "href": "/cloudapi/v4/datacenters/dc-1/servers/s-3",
                    "metadata": {
                        "createdDate": "2016-10-17T11:33:20Z",
                        "createdBy": "test@test.test",
                        "etag": "f6c94daafaf8ef852e2dc4b82a903c7b",
                        "lastModifiedDate": "2016-10-17T16:13:43Z",
                        "lastModifiedBy": "test@test.test",
                        "state": "AVAILABLE"
                    },
                    "properties": {
                        "name": "Updated this node",
                        "cores": 3,
                        "ram": 3072,
                        "availabilityZone": "AUTO",
                        "vmState": "RUNNING",
                        "bootCdrom": null,
                        "bootVolume": {
                            "id": "21d7e7de-5054-4041-b691-717aa8b3c799",
                            "type": "volume",
                            "href": "/cloudapi/v4/datacenters/dc-1/volumes/21d7e7de-5054-4041-b691-717aa8b3c799",
                            "metadata": {
                                "createdDate": "2016-10-17T11:33:20Z",
                                "createdBy": "test@test.test",
                                "etag": "a9d0b923527efae5e7071e9118e9eece",
                                "lastModifiedDate": "2016-10-17T11:33:20Z",
                                "lastModifiedBy": "test@test.test",
                                "state": "AVAILABLE"
                            },
                            "properties": {
                                "name": "Image and location and size. - volume",
                                "type": "HDD",
                                "size": 50,
                                "image": "bvol-img",
                                "imagePassword": null,
                                "bus": "VIRTIO",
                                "licenceType": "LINUX",
                                "cpuHotPlug": true,
                                "cpuHotUnplug": false,
                                "ramHotPlug": true,
                                "ramHotUnplug": false,
                                "nicHotPlug": true,
                                "nicHotUnplug": true,
                                "discVirtioHotPlug": true,
                                "discVirtioHotUnplug": true,
                                "discScsiHotPlug": false,
                                "discScsiHotUnplug": false,
                                "deviceNumber": 1
                            }
                        },
                        "cpuFamily": "INTEL_XEON"
                    },
                    "entities": {
                        "cdroms": {
                            "id": "s-3/cdroms",
                            "type": "collection",
                            "href": "/cloudapi/v4/datacenters/dc-1/servers/s-3/cdroms",
                            "items": []
                        },
                        "volumes": {
                            "id": "s-3/volumes",
                            "type": "collection",
                            "href": "/cloudapi/v4/datacenters/dc-1/servers/s-3/volumes",
                            "items": [
                                {
                                    "id": "21d7e7de-5054-4041-b691-717aa8b3c799",
                                    "type": "volume",
                                    "href": "/cloudapi/v4/datacenters/dc-1/volumes/21d7e7de-5054-4041-b691-717aa8b3c799"
                                }
                            ]
                        },
                        "nics": {
                            "id": "s-3/nics",
                            "type": "collection",
                            "href": "/cloudapi/v4/datacenters/dc-1/servers/s-3/nics",
                            "items": [
                                {
                                    "id": "nic-1",
                                    "type": "nic",
                                    "href": "/cloudapi/v4/datacenters/dc-1/servers/s-3/nics/nic-1"
                                }
                            ]
                        }
                    }
                }
            ]
        },
        "volumes": {
            "id": "dc-1/volumes",
            "type": "collection",
            "href": "/cloudapi/v4/datacenters/dc-1/volumes",
            "items": [
                {
                    "id": "vol-2",
                    "type": "volume",
                    "href": "/cloudapi/v4/datacenters/dc-1/volumes/vol-2",
                    "metadata": {
                        "createdDate": "2016-10-18T15:13:44Z",
                        "createdBy": "test@test.test",
                        "etag": "a96f7781920c2890c25f967e66e6ee91",
                        "lastModifiedDate": "2016-10-18T15:13:44Z",
                        "lastModifiedBy": "test@test.test",
                        "state": "AVAILABLE"
                    },
                    "properties": {
                        "name": "Unnamed HDD Storage",
                        "type": "HDD",
                        "size": 10,
                        "availabilityZone": "AUTO",
                        "image": null,
                        "imagePassword": null,
                        "sshKeys": null,
                        "bus": "VIRTIO",
                        "licenceType": null,
                        "cpuHotPlug": false,
                        "cpuHotUnplug": false,
                        "ramHotPlug": false,
                        "ramHotUnplug": false,
                        "nicHotPlug": false,
                        "nicHotUnplug": false,
                        "discVirtioHotPlug": false,
                        "discVirtioHotUnplug": false,
                        "discScsiHotPlug": false,
                        "discScsiHotUnplug": false,
                        "deviceNumber": 2
                    }
                },
                {
                    "id": "bvol-1",
                    "type": "volume",
                    "href": "/cloudapi/v4/datacenters/dc-1/volumes/bvol-1",
                    "metadata": {
                        "createdDate": "2016-10-18T07:20:41Z",
                        "createdBy": "test@test.test",
                        "etag": "33f6b8d506e7ad756e8554b915f29c61",
                        "lastModifiedDate": "2016-10-18T07:20:41Z",
                        "lastModifiedBy": "test@test.test",
                        "state": "AVAILABLE"
                    },
                    "properties": {
                        "name": "Bootable and linkable",
                        "type": "HDD",
                        "size": 10,
                        "availabilityZone": "AUTO",
                        "image": "bvol-img",
                        "imagePassword": null,
                        "sshKeys": null,
                        "bus": "VIRTIO",
                        "licenceType": "LINUX",
                        "cpuHotPlug": true,
                        "cpuHotUnplug": false,
                        "ramHotPlug": true,
                        "ramHotUnplug": false,
                        "nicHotPlug": true,
                        "nicHotUnplug": true,
                        "discVirtioHotPlug": true,
                        "discVirtioHotUnplug": true,
                        "discScsiHotPlug": false,
                        "discScsiHotUnplug": false,
                        "deviceNumber": 1
                    }
                },
                {
                    "id": "d6688ced-700d-4c9c-a3a7-9f7170c5edc3",
                    "type": "volume",
                    "href": "/cloudapi/v4/datacenters/dc-1/volumes/d6688ced-700d-4c9c-a3a7-9f7170c5edc3",
                    "metadata": {
                        "createdDate": "2016-10-17T13:13:36Z",
                        "createdBy": "test@test.test",
                        "etag": "c1800ce349033f9cd2c095ea1ea4976a",
                        "lastModifiedDate": "2016-10-17T13:47:52Z",
                        "lastModifiedBy": "test@test.test",
                        "state": "AVAILABLE"
                    },
                    "properties": {
                        "name": "Updated storage name",
                        "type": "HDD",
                        "size": 40,
                        "availabilityZone": "AUTO",
                        "image": "bvol-img",
                        "imagePassword": null,
                        "sshKeys": null,
                        "bus": "VIRTIO",
                        "licenceType": "LINUX",
                        "cpuHotPlug": true,
                        "cpuHotUnplug": false,
                        "ramHotPlug": true,
                        "ramHotUnplug": false,
                        "nicHotPlug": true,
                        "nicHotUnplug": true,
                        "discVirtioHotPlug": true,
                        "discVirtioHotUnplug": true,
                        "discScsiHotPlug": false,
                        "discScsiHotUnplug": false,
                        "deviceNumber": 3
                    }
                },
                {
                    "id": "21d7e7de-5054-4041-b691-717aa8b3c799",
                    "type": "volume",
                    "href": "/cloudapi/v4/datacenters/dc-1/volumes/21d7e7de-5054-4041-b691-717aa8b3c799",
                    "metadata": {
                        "createdDate": "2016-10-17T11:33:20Z",
                        "createdBy": "test@test.test",
                        "etag": "a9d0b923527efae5e7071e9118e9eece",
                        "lastModifiedDate": "2016-10-17T11:33:20Z",
                        "lastModifiedBy": "test@test.test",
                        "state": "AVAILABLE"
                    },
                    "properties": {
                        "name": "Image and location and size. - volume",
                        "type": "HDD",
                        "size": 50,
                        "availabilityZone": "AUTO",
                        "image": "bvol-img",
                        "imagePassword": null,
                        "sshKeys": null,
                        "bus": "VIRTIO",
                        "licenceType": "LINUX",
                        "cpuHotPlug": true,
                        "cpuHotUnplug": false,
                        "ramHotPlug": true,
                        "ramHotUnplug": false,
                        "nicHotPlug": true,
                        "nicHotUnplug": true,
                        "discVirtioHotPlug": true,
                        "discVirtioHotUnplug": true,
                        "discScsiHotPlug": false,
                        "discScsiHotUnplug": false,
                        "deviceNumber": 1
                    }
                }
            ]
        },
        "loadbalancers": {
            "id": "dc-1/loadbalancers",
            "type": "collection",
            "href": "/cloudapi/v4/datacenters/dc-1/loadbalancers",
            "items": []
        },
        "lans": {
            "id": "dc-1/lans",
            "type": "collection",
            "href": "/cloudapi/v4/datacenters/dc-1/lans",
            "items": [
                {
                    "id": "2",
                    "type": "lan",
                    "href": "/cloudapi/v4/datacenters/dc-1/lans/2",
                    "metadata": {
                        "createdDate": "2016-10-17T18:19:43Z",
                        "createdBy": "test@test.test",
                        "etag": "33f6b8d506e7ad756e8554b915f29c61",
                        "lastModifiedDate": "2016-10-18T07:20:41Z",
                        "lastModifiedBy": "test@test.test",
                        "state": "AVAILABLE"
                    },
                    "properties": {
                        "name": "Switch for LAN 2",
                        "public": false
                    },
                    "entities": {
                        "nics": {
                            "id": "2/nics",
                            "type": "collection",
                            "href": "/cloudapi/v4/datacenters/dc-1/lans/2/nics",
                            "items": [
                                {
                                    "id": "nic-1",
                                    "type": "nic",
                                    "href": "/cloudapi/v4/datacenters/dc-1/servers/s-3/nics/nic-1"
                                }
                            ]
                        }
                    }
                }
            ]
        }
    }
}