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.
name | data type | description |
---|---|---|
timestamp | string | Readonly. This timestamp is provided when you request a deployment and is not required (or even read) when creating a deployment. This timestamp is useful if you have multiple deployments saved and want to determine which one to use as a restore point. |
clusters | array of ApiCluster | List of clusters in the system including their services, roles and complete config values. |
hosts | array of ApiHost | List of hosts in the system |
users | array of ApiUser | List of all users in the system |
versionInfo | ApiVersionInfo | Full version information about the running Cloudera Manager instance |
managementService | ApiService | The full configuration of the Cloudera Manager management service including all the management roles and their config values |
managerSettings | ApiConfigList | The full configuration of Cloudera Manager itself including licensing info |
allHostsConfig | ApiConfigList | Configuration parameters that apply to all hosts, unless overridden at the host level. Available since API v3. |
peers | array of ApiCmPeer | The list of peers configured in Cloudera Manager. Available since API v3. |
hostTemplates | ApiHostTemplateList | The list of all host templates in Cloudera Manager. |
Example
{ "timestamp" : "...", "clusters" : [ { "name" : "...", "displayName" : "...", "fullVersion" : "...", "maintenanceMode" : true, "maintenanceOwners" : [ "CLUSTER", "CLUSTER" ], "services" : [ { "name" : "...", "type" : "...", "clusterRef" : { }, "serviceState" : "NA", "healthSummary" : "DISABLED", "configStalenessStatus" : "STALE_REFRESHABLE", "clientConfigStalenessStatus" : "FRESH", "healthChecks" : [ { }, { } ], "serviceUrl" : "...", "roleInstancesUrl" : "...", "maintenanceMode" : true, "maintenanceOwners" : [ "SERVICE", "ROLE" ], "config" : { }, "roles" : [ { }, { } ], "displayName" : "...", "roleConfigGroups" : [ { }, { } ], "replicationSchedules" : [ { }, { } ], "snapshotPolicies" : [ { }, { } ], "entityStatus" : "STOPPING", "tags" : [ { }, { } ], "serviceVersion" : "..." }, { "name" : "...", "type" : "...", "clusterRef" : { }, "serviceState" : "STOPPED", "healthSummary" : "HISTORY_NOT_AVAILABLE", "configStalenessStatus" : "STALE", "clientConfigStalenessStatus" : "STALE_REFRESHABLE", "healthChecks" : [ { }, { } ], "serviceUrl" : "...", "roleInstancesUrl" : "...", "maintenanceMode" : true, "maintenanceOwners" : [ "CONTROL_PLANE", "ROLE" ], "config" : { }, "roles" : [ { }, { } ], "displayName" : "...", "roleConfigGroups" : [ { }, { } ], "replicationSchedules" : [ { }, { } ], "snapshotPolicies" : [ { }, { } ], "entityStatus" : "CONCERNING_HEALTH", "tags" : [ { }, { } ], "serviceVersion" : "..." } ], "parcels" : [ { "product" : "...", "version" : "...", "stage" : "...", "state" : { }, "clusterRef" : { }, "displayName" : "...", "description" : "..." }, { "product" : "...", "version" : "...", "stage" : "...", "state" : { }, "clusterRef" : { }, "displayName" : "...", "description" : "..." } ], "clusterUrl" : "...", "hostsUrl" : "...", "entityStatus" : "BAD_HEALTH", "uuid" : "...", "dataContextRefs" : [ { "name" : "..." }, { "name" : "..." } ], "clusterType" : "...", "tags" : [ { "name" : "...", "value" : "..." }, { "name" : "...", "value" : "..." } ] }, { "name" : "...", "displayName" : "...", "fullVersion" : "...", "maintenanceMode" : true, "maintenanceOwners" : [ "SERVICE", "CLUSTER" ], "services" : [ { "name" : "...", "type" : "...", "clusterRef" : { }, "serviceState" : "HISTORY_NOT_AVAILABLE", "healthSummary" : "NOT_AVAILABLE", "configStalenessStatus" : "STALE_REFRESHABLE", "clientConfigStalenessStatus" : "FRESH", "healthChecks" : [ { }, { } ], "serviceUrl" : "...", "roleInstancesUrl" : "...", "maintenanceMode" : true, "maintenanceOwners" : [ "ROLE", "SERVICE" ], "config" : { }, "roles" : [ { }, { } ], "displayName" : "...", "roleConfigGroups" : [ { }, { } ], "replicationSchedules" : [ { }, { } ], "snapshotPolicies" : [ { }, { } ], "entityStatus" : "STOPPING", "tags" : [ { }, { } ], "serviceVersion" : "..." }, { "name" : "...", "type" : "...", "clusterRef" : { }, "serviceState" : "STOPPED", "healthSummary" : "DISABLED", "configStalenessStatus" : "FRESH", "clientConfigStalenessStatus" : "STALE_REFRESHABLE", "healthChecks" : [ { }, { } ], "serviceUrl" : "...", "roleInstancesUrl" : "...", "maintenanceMode" : true, "maintenanceOwners" : [ "HOST", "SERVICE" ], "config" : { }, "roles" : [ { }, { } ], "displayName" : "...", "roleConfigGroups" : [ { }, { } ], "replicationSchedules" : [ { }, { } ], "snapshotPolicies" : [ { }, { } ], "entityStatus" : "CONCERNING_HEALTH", "tags" : [ { }, { } ], "serviceVersion" : "..." } ], "parcels" : [ { "product" : "...", "version" : "...", "stage" : "...", "state" : { }, "clusterRef" : { }, "displayName" : "...", "description" : "..." }, { "product" : "...", "version" : "...", "stage" : "...", "state" : { }, "clusterRef" : { }, "displayName" : "...", "description" : "..." } ], "clusterUrl" : "...", "hostsUrl" : "...", "entityStatus" : "DOWN", "uuid" : "...", "dataContextRefs" : [ { "name" : "..." }, { "name" : "..." } ], "clusterType" : "...", "tags" : [ { "name" : "...", "value" : "..." }, { "name" : "...", "value" : "..." } ] } ], "hosts" : [ { "hostId" : "...", "ipAddress" : "...", "hostname" : "...", "rackId" : "...", "lastHeartbeat" : "...", "roleRefs" : [ { "clusterName" : "...", "serviceName" : "...", "roleName" : "...", "healthSummary" : "BAD", "roleStatus" : "STARTING" }, { "clusterName" : "...", "serviceName" : "...", "roleName" : "...", "healthSummary" : "GOOD", "roleStatus" : "STOPPED" } ], "healthSummary" : "DISABLED", "healthChecks" : [ { "name" : "...", "summary" : "NOT_AVAILABLE", "explanation" : "...", "suppressed" : true }, { "name" : "...", "summary" : "GOOD", "explanation" : "...", "suppressed" : true } ], "hostUrl" : "...", "maintenanceMode" : true, "commissionState" : "COMMISSIONED", "maintenanceOwners" : [ "HOST", "CLUSTER" ], "config" : { "items" : [ { }, { } ] }, "numCores" : 12345, "numPhysicalCores" : 12345, "totalPhysMemBytes" : 12345, "entityStatus" : "GOOD_HEALTH", "clusterRef" : { "clusterName" : "...", "displayName" : "..." }, "distribution" : { "distributionType" : "SLES11", "name" : "...", "version" : "..." }, "tags" : [ { "name" : "...", "value" : "..." }, { "name" : "...", "value" : "..." } ] }, { "hostId" : "...", "ipAddress" : "...", "hostname" : "...", "rackId" : "...", "lastHeartbeat" : "...", "roleRefs" : [ { "clusterName" : "...", "serviceName" : "...", "roleName" : "...", "healthSummary" : "BAD", "roleStatus" : "NA" }, { "clusterName" : "...", "serviceName" : "...", "roleName" : "...", "healthSummary" : "CONCERNING", "roleStatus" : "STARTED" } ], "healthSummary" : "BAD", "healthChecks" : [ { "name" : "...", "summary" : "HISTORY_NOT_AVAILABLE", "explanation" : "...", "suppressed" : true }, { "name" : "...", "summary" : "NOT_AVAILABLE", "explanation" : "...", "suppressed" : true } ], "hostUrl" : "...", "maintenanceMode" : true, "commissionState" : "OFFLINING", "maintenanceOwners" : [ "ROLE", "SERVICE" ], "config" : { "items" : [ { }, { } ] }, "numCores" : 12345, "numPhysicalCores" : 12345, "totalPhysMemBytes" : 12345, "entityStatus" : "UNKNOWN", "clusterRef" : { "clusterName" : "...", "displayName" : "..." }, "distribution" : { "distributionType" : "RHEL8_PPC64LE", "name" : "...", "version" : "..." }, "tags" : [ { "name" : "...", "value" : "..." }, { "name" : "...", "value" : "..." } ] } ], "users" : [ { "name" : "...", "password" : "...", "roles" : [ "...", "..." ], "pwHash" : "...", "pwSalt" : 12345, "pwLogin" : true }, { "name" : "...", "password" : "...", "roles" : [ "...", "..." ], "pwHash" : "...", "pwSalt" : 12345, "pwLogin" : true } ], "versionInfo" : { "version" : "...", "snapshot" : true, "buildUser" : "...", "buildTimestamp" : "...", "gitHash" : "..." }, "managementService" : { "name" : "...", "type" : "...", "clusterRef" : { "clusterName" : "...", "displayName" : "..." }, "serviceState" : "UNKNOWN", "healthSummary" : "NOT_AVAILABLE", "configStalenessStatus" : "STALE", "clientConfigStalenessStatus" : "FRESH", "healthChecks" : [ { "name" : "...", "summary" : "CONCERNING", "explanation" : "...", "suppressed" : true }, { "name" : "...", "summary" : "HISTORY_NOT_AVAILABLE", "explanation" : "...", "suppressed" : true } ], "serviceUrl" : "...", "roleInstancesUrl" : "...", "maintenanceMode" : true, "maintenanceOwners" : [ "HOST", "CONTROL_PLANE" ], "config" : { "roleTypeConfigs" : [ { }, { } ], "items" : [ { }, { } ] }, "roles" : [ { "name" : "...", "type" : "...", "hostRef" : { }, "serviceRef" : { }, "roleState" : "HISTORY_NOT_AVAILABLE", "commissionState" : "OFFLINING", "healthSummary" : "DISABLED", "configStalenessStatus" : "FRESH", "healthChecks" : [ { }, { } ], "haStatus" : "UNKNOWN", "roleUrl" : "...", "maintenanceMode" : true, "maintenanceOwners" : [ "CLUSTER", "HOST" ], "config" : { }, "roleConfigGroupRef" : { }, "zooKeeperServerMode" : "STANDALONE", "entityStatus" : "UNKNOWN_HEALTH", "tags" : [ { }, { } ] }, { "name" : "...", "type" : "...", "hostRef" : { }, "serviceRef" : { }, "roleState" : "BUSY", "commissionState" : "UNKNOWN", "healthSummary" : "CONCERNING", "configStalenessStatus" : "FRESH", "healthChecks" : [ { }, { } ], "haStatus" : "UNKNOWN", "roleUrl" : "...", "maintenanceMode" : true, "maintenanceOwners" : [ "CONTROL_PLANE", "SERVICE" ], "config" : { }, "roleConfigGroupRef" : { }, "zooKeeperServerMode" : "UNKNOWN", "entityStatus" : "UNKNOWN_HEALTH", "tags" : [ { }, { } ] } ], "displayName" : "...", "roleConfigGroups" : [ { "name" : "...", "roleType" : "...", "base" : true, "config" : { }, "displayName" : "...", "serviceRef" : { } }, { "name" : "...", "roleType" : "...", "base" : true, "config" : { }, "displayName" : "...", "serviceRef" : { } } ], "replicationSchedules" : [ { "hdfsArguments" : { }, "hiveArguments" : { }, "hdfsCloudArguments" : { }, "ozoneReplicationArguments" : { }, "history" : [ { }, { } ], "active" : true, "hiveCloudArguments" : { }, "hbaseArguments" : { }, "hive3Arguments" : { }, "id" : 12345, "displayName" : "...", "description" : "...", "startTime" : "...", "endTime" : "...", "interval" : 12345, "intervalUnit" : "DAY", "nextRun" : "...", "paused" : true, "alertOnStart" : true, "alertOnSuccess" : true, "alertOnFail" : true, "alertOnAbort" : true }, { "hdfsArguments" : { }, "hiveArguments" : { }, "hdfsCloudArguments" : { }, "ozoneReplicationArguments" : { }, "history" : [ { }, { } ], "active" : true, "hiveCloudArguments" : { }, "hbaseArguments" : { }, "hive3Arguments" : { }, "id" : 12345, "displayName" : "...", "description" : "...", "startTime" : "...", "endTime" : "...", "interval" : 12345, "intervalUnit" : "YEAR", "nextRun" : "...", "paused" : true, "alertOnStart" : true, "alertOnSuccess" : true, "alertOnFail" : true, "alertOnAbort" : true } ], "snapshotPolicies" : [ { "name" : "...", "description" : "...", "hourlySnapshots" : 12345, "dailySnapshots" : 12345, "weeklySnapshots" : 12345, "monthlySnapshots" : 12345, "yearlySnapshots" : 12345, "minuteOfHour" : 12345, "hoursForHourlySnapshots" : [ 12345, 12345 ], "hourOfDay" : 12345, "dayOfWeek" : 12345, "dayOfMonth" : 12345, "monthOfYear" : 12345, "alertOnStart" : true, "alertOnSuccess" : true, "alertOnFail" : true, "alertOnAbort" : true, "hbaseArguments" : { }, "hdfsArguments" : { }, "lastCommand" : { }, "lastSuccessfulCommand" : { }, "paused" : true }, { "name" : "...", "description" : "...", "hourlySnapshots" : 12345, "dailySnapshots" : 12345, "weeklySnapshots" : 12345, "monthlySnapshots" : 12345, "yearlySnapshots" : 12345, "minuteOfHour" : 12345, "hoursForHourlySnapshots" : [ 12345, 12345 ], "hourOfDay" : 12345, "dayOfWeek" : 12345, "dayOfMonth" : 12345, "monthOfYear" : 12345, "alertOnStart" : true, "alertOnSuccess" : true, "alertOnFail" : true, "alertOnAbort" : true, "hbaseArguments" : { }, "hdfsArguments" : { }, "lastCommand" : { }, "lastSuccessfulCommand" : { }, "paused" : true } ], "entityStatus" : "UNKNOWN", "tags" : [ { "name" : "...", "value" : "..." }, { "name" : "...", "value" : "..." } ], "serviceVersion" : "..." }, "managerSettings" : { "items" : [ { "name" : "...", "value" : "...", "required" : true, "default" : "...", "displayName" : "...", "description" : "...", "relatedName" : "...", "sensitive" : true, "validationState" : "ERROR", "validationMessage" : "...", "validationWarningsSuppressed" : true }, { "name" : "...", "value" : "...", "required" : true, "default" : "...", "displayName" : "...", "description" : "...", "relatedName" : "...", "sensitive" : true, "validationState" : "ERROR", "validationMessage" : "...", "validationWarningsSuppressed" : true } ] }, "allHostsConfig" : { "items" : [ { "name" : "...", "value" : "...", "required" : true, "default" : "...", "displayName" : "...", "description" : "...", "relatedName" : "...", "sensitive" : true, "validationState" : "ERROR", "validationMessage" : "...", "validationWarningsSuppressed" : true }, { "name" : "...", "value" : "...", "required" : true, "default" : "...", "displayName" : "...", "description" : "...", "relatedName" : "...", "sensitive" : true, "validationState" : "OK", "validationMessage" : "...", "validationWarningsSuppressed" : true } ] }, "peers" : [ { "name" : "...", "type" : "REPLICATION", "url" : "...", "username" : "...", "password" : "...", "clouderaManagerCreatedUser" : true, "createUserWithAdminRole" : true }, { "name" : "...", "type" : "STATUS_AGGREGATION", "url" : "...", "username" : "...", "password" : "...", "clouderaManagerCreatedUser" : true, "createUserWithAdminRole" : true } ], "hostTemplates" : { "items" : [ { "name" : "...", "clusterRef" : { }, "roleConfigGroupRefs" : [ { }, { } ] }, { "name" : "...", "clusterRef" : { }, "roleConfigGroupRefs" : [ { }, { } ] } ] } }