A platform context describes the configuration of a platform associated to a host. Settings may be associated to a platform context, in particular for template rendering.
The following elements are defined as part of a platform context representation:
{
"platform": "Hyp3",
"organization": "Guardis Test",
"environment": "Test Environment",
"host": "test-host-on-Hyp3",
"versionStamp": 1,
"settings": [
{
"key": "vm_nvirtcpus",
"value": "1",
"version": 0
},
{
"key": "vm_capacity",
"value": "2048",
"version": 0
},
{
"key": "vm_memory",
"value": "512",
"version": 0
}
]
}
/organizations/{org_name}/environments/{env_name}/hosts/{host_name}/platform
/organizations/{org_name}/environments/{env_name}/hosts/{host_name}/platform/files/{file_name}
/organizations/{org_name}/environments/{env_name}/hosts/{host_name}/platform/files/{file_name}/link?short=[true|false]
2016 © ComodIT. All Rights Reserved. Privacy Policy | Terms of Service