deployment element
Type: | apiDeployment |
This objects represents a deployment including all clusters, hosts, services, roles, etc in the system. It can be used to save and restore all settings.
Example JSON
{
"timestamp" : "...",
"clusters" : [ {
"name" : "...",
"version" : "CDH3",
"maintenanceMode" : false,
"maintenanceOwners" : [ "CLUSTER", ... ],
"services" : [ {
"name" : "...",
"type" : "...",
"clusterRef" : {
"clusterName" : "..."
},
"serviceState" : "HISTORY_NOT_AVAILABLE",
"healthSummary" : "DISABLED",
"configStale" : false,
"healthChecks" : [ {
"name" : "...",
"summary" : "DISABLED"
}, ... ],
"serviceUrl" : "...",
"maintenanceMode" : false,
"maintenanceOwners" : [ "CLUSTER", ... ],
"config" : {
"roleTypeConfigs" : [ {
"roleType" : "...",
"items" : [ {
"name" : "...",
"value" : "...",
"required" : false,
"default" : "...",
"displayName" : "...",
"description" : "...",
"relatedName" : "...",
"validationState" : "OK",
"validationMessage" : "..."
}, ... ]
}, ... ],
"items" : [ {
"name" : "...",
"value" : "...",
"required" : false,
"default" : "...",
"displayName" : "...",
"description" : "...",
"relatedName" : "...",
"validationState" : "OK",
"validationMessage" : "..."
}, ... ]
},
"roles" : [ {
"name" : "...",
"type" : "...",
"hostRef" : {
"hostId" : "..."
},
"serviceRef" : {
"clusterName" : "...",
"serviceName" : "..."
},
"roleState" : "HISTORY_NOT_AVAILABLE",
"commissionState" : "COMMISSIONED",
"healthSummary" : "DISABLED",
"configStale" : false,
"healthChecks" : [ {
"name" : "...",
"summary" : "DISABLED"
}, ... ],
"haStatus" : "ACTIVE",
"roleUrl" : "...",
"maintenanceMode" : false,
"maintenanceOwners" : [ "CLUSTER", ... ],
"config" : {
"items" : [ {
"name" : "...",
"value" : "...",
"required" : false,
"default" : "...",
"displayName" : "...",
"description" : "...",
"relatedName" : "...",
"validationState" : "OK",
"validationMessage" : "..."
}, ... ]
}
}, ... ],
"displayName" : "..."
}, ... ]
}, ... ],
"hosts" : [ {
"hostId" : "...",
"ipAddress" : "...",
"hostname" : "...",
"rackId" : "...",
"lastHeartbeat" : "...",
"roleRefs" : [ {
"clusterName" : "...",
"serviceName" : "...",
"roleName" : "..."
}, ... ],
"healthSummary" : "DISABLED",
"healthChecks" : [ {
"name" : "...",
"summary" : "DISABLED"
}, ... ],
"hostUrl" : "...",
"maintenanceMode" : false,
"commissionState" : "COMMISSIONED",
"maintenanceOwners" : [ "CLUSTER", ... ],
"config" : {
"items" : [ {
"name" : "...",
"value" : "...",
"required" : false,
"default" : "...",
"displayName" : "...",
"description" : "...",
"relatedName" : "...",
"validationState" : "OK",
"validationMessage" : "..."
}, ... ]
}
}, ... ],
"users" : [ {
"name" : "...",
"password" : "...",
"roles" : [ "...", ... ],
"pwHash" : "...",
"pwSalt" : ...,
"pwLogin" : false
}, ... ],
"versionInfo" : {
"version" : "...",
"snapshot" : false,
"buildUser" : "...",
"buildTimestamp" : "...",
"gitHash" : "..."
},
"managementService" : {
"name" : "...",
"type" : "...",
"clusterRef" : {
"clusterName" : "..."
},
"serviceState" : "HISTORY_NOT_AVAILABLE",
"healthSummary" : "DISABLED",
"configStale" : false,
"healthChecks" : [ {
"name" : "...",
"summary" : "DISABLED"
}, ... ],
"serviceUrl" : "...",
"maintenanceMode" : false,
"maintenanceOwners" : [ "CLUSTER", ... ],
"config" : {
"roleTypeConfigs" : [ {
"roleType" : "...",
"items" : [ {
"name" : "...",
"value" : "...",
"required" : false,
"default" : "...",
"displayName" : "...",
"description" : "...",
"relatedName" : "...",
"validationState" : "OK",
"validationMessage" : "..."
}, ... ]
}, ... ],
"items" : [ {
"name" : "...",
"value" : "...",
"required" : false,
"default" : "...",
"displayName" : "...",
"description" : "...",
"relatedName" : "...",
"validationState" : "OK",
"validationMessage" : "..."
}, ... ]
},
"roles" : [ {
"name" : "...",
"type" : "...",
"hostRef" : {
"hostId" : "..."
},
"serviceRef" : {
"clusterName" : "...",
"serviceName" : "..."
},
"roleState" : "HISTORY_NOT_AVAILABLE",
"commissionState" : "COMMISSIONED",
"healthSummary" : "DISABLED",
"configStale" : false,
"healthChecks" : [ {
"name" : "...",
"summary" : "DISABLED"
}, ... ],
"haStatus" : "ACTIVE",
"roleUrl" : "...",
"maintenanceMode" : false,
"maintenanceOwners" : [ "CLUSTER", ... ],
"config" : {
"items" : [ {
"name" : "...",
"value" : "...",
"required" : false,
"default" : "...",
"displayName" : "...",
"description" : "...",
"relatedName" : "...",
"validationState" : "OK",
"validationMessage" : "..."
}, ... ]
}
}, ... ],
"displayName" : "..."
},
"managerSettings" : {
"items" : [ {
"name" : "...",
"value" : "...",
"required" : false,
"default" : "...",
"displayName" : "...",
"description" : "...",
"relatedName" : "...",
"validationState" : "OK",
"validationMessage" : "..."
}, ... ]
}
}