Data Model

All endpoints act on a common set of data. The Cloudera Manager API uses JSON.

JSON

Default Namespace
type description
ApiActivity Represents a user activity, such as a MapReduce job, a Hive query, an Oozie workflow, etc.
ApiActivityList A generic list.
ApiActivityStatus
ApiActivityType
ApiAddCustomCertsArguments Arguments to add custom certificates to the Auto-TLS certificate database
ApiAddSBNNToNSArguments
ApiAdhocHBaseSnapshot An HBase snapshot descriptor.
ApiAdhocSnapshot An adhoc snapshot descriptor.
ApiAudit Models audit events from both CM and CM managed services like HDFS, HBase and Hive. Audits for CM managed services are retrieved from Cloudera Navigator server.
ApiAuditList A generic list.
ApiAuthRole This is the model for user role scope in the API since v18. This is used to support granular permissions.
ApiAuthRoleAuthority This represents an authority with a name and description.
ApiAuthRoleList A list of auth roles.
ApiAuthRoleMetadata This is the model for auth role metadata
ApiAuthRoleMetadataList A list of auth roles metadata.
ApiAuthRoleRef An authRoleRef to operate on ApiAuthRole object
ApiBatchRequest A batch request, comprised of one or more request elements.
ApiBatchRequestElement A single element of a batch request, often part of a list with other elements.
ApiBatchResponse A batch response, comprised of one or more response elements.
ApiBatchResponseElement A single element of a batch response, often part of a list with other elements.
ApiBulkCommandList A list of commands.

This list is returned whenever commands are issued in bulk, and contains a second list with information about errors issuing specific commands.

ApiCdhUpgradeArgs Arguments used for the CDH Upgrade command.
ApiCertificateRequest This API class represents a request to retrieve Auto-TLS certificates for a given host. The request contains the host requesting the certificate, a valid token generated by the certmanager utility, and optionally a certificate signing request. Currently, the certificate signing request argument is not supported.
ApiCluster A cluster represents a set of interdependent services running on a set of hosts. All services on a given cluster are of the same software version (e.g. CDH4 or CDH5).
ApiClusterList A list of clusters.
ApiClusterNameList A list of cluster names.
ApiClusterPerfInspectorArgs Arguments used for the Cluster Performance Inspector
ApiClusterRef A clusterRef references a cluster. To operate on the cluster object, use the cluster API with the clusterName as the parameter.
ApiClusterSupportToken Information about a cluster support token.

The cluster support token indicates the current usage of a cluster managed by Cloudera Manager. The cluster support token is an ASCII encoded string of 32 characters. It is unique to each cluster.

ApiClusterSupportTokenList A list of cluster support tokens.
ApiClusterTemplate Details of cluster template
ApiClusterTemplateClusterSpec Specify type of cluster to create. If one or more ApiDataContextRef are specified, the created cluster upon import will be a cluster with clusterType "COMPUTE".
ApiClusterTemplateConfig Config Details: The config can either have a value or ref or variable.
ApiClusterTemplateHostInfo This contains information about the host or host range on which provided host template will be applied.
ApiClusterTemplateHostTemplate Host templates will contain information about the role config groups that should be applied to a host. This basically means a host will have a role corresponding to each config group.
ApiClusterTemplateInstantiator Details of cluster template
ApiClusterTemplateRole Role info: This will contain information related to a role referred by some configuration. During import type this role must be materizalized.
ApiClusterTemplateRoleConfigGroup Role config group info.
ApiClusterTemplateRoleConfigGroupInfo During import time information related to all the non-base config groups must be provided.
ApiClusterTemplateService Service information
ApiClusterTemplateVariable Variable that is referred in cluster template.
ApiClusterUtilization Utilization report information of a Cluster.
ApiClusterVersion The CDH version of the cluster.
ApiClustersPerfInspectorArgs Arguments used for the Cloudera Manager level performance inspector. Network diagnostics will be run from every host in sourceCluster to every host in targetCluster.
ApiCmPeer Information about a Cloudera Manager peer instance.

The requirement and usage of username and password properties are dependent on the clouderaManagerCreatedUser flag.

When creating peers, if 'clouderaManagerCreatedUser' is true, the username/password should be the credentials of a user with administrator privileges on the remote Cloudera Manager. These credentials are not stored, they are used to connect to the peer and create a user in that peer. The newly created user is stored and used for communication with that peer. If 'clouderaManagerCreatedUser' is false, which is not applicable to REPLICATION peer type, the username/password to the remote Cloudera Manager are directly stored and used for all communications with that peer.

When updating peers, if 'clouderaManagerCreatedUser' is true and username/password are set, a new remote user will be created. If 'clouderaManagerCreatedUser' is false and username/password are set, the stored username/password will be updated.

If 'createUserWithAdminRole' is true and 'clouderaManagerCreatedUser' is true, the created internal user will also be granted admin role.

ApiCmPeerList A list of Cloudera Manager peers.
ApiCmPeerType Enum for CM peer types.
ApiCmServer This is the model for CM server information from v41. The class models the host environment that CM server is installed. Each CM server instance has an entry of CmServer entity and updates it periodically.
ApiCmServerList A generic list.
ApiCollectDiagnosticDataArguments Arguments used for the collectDiagnosticData command.
ApiCommand Provides detailed information about a submitted command.

There are two types of commands: synchronous and asynchronous. Synchronous commands complete immediately, and their results are passed back in the returned command object after the execution of an API call. Outside of that returned object, there is no way to check the result of a synchronous command.

Asynchronous commands have unique non-negative IDs. They may still be running when the API call returns. Clients can check the status of such commands using the API.

ApiCommandList A list of commands.
ApiCommandMetadata Provides metadata information about a command.
ApiCommandMetadataList A list of command metadata.
ApiCommandStep Provides detailed information about a step of a command.
ApiCommandStepProcess Provides detailed information about a process executed by a command step.
ApiCommandWithSteps Provides detailed information about a submitted command including all steps and a summary of subcommands.

There are two types of commands: synchronous and asynchronous. Synchronous commands complete immediately, and their results are passed back in the returned command object after the execution of an API call. Outside of that returned object, there is no way to check the result of a synchronous command.

Asynchronous commands have unique non-negative IDs. They may still be running when the API call returns. Clients can check the status of such commands using the API.

ApiCommissionState Represents the Commission state of an entity.
ApiComponentInfo This is the model for a component in the host.
ApiConfig Model for a configuration parameter. When an entry's value property is not available, it means the entry is not configured. This means that the default value for the entry, if any, will be used. Setting a value to null also can be used to unset any previously set value for the parameter, reverting to the default value (if any).
ApiConfigEnforcement
ApiConfigList A list of configuration data.
ApiConfigPolicy
ApiConfigStalenessStatus Represents the configuration staleness status of an entity.
ApiConfigureForKerberosArguments Arguments used to configure a cluster for Kerberos.
ApiControlPlane A Control Plane in a Cloudera Manager instance
ApiControlPlaneList A list of ApiControlPlanes
ApiControlPlaneRef A controlPlaneRef references a control plane. To operate on the control plane object, use the control plane API with the uuid as the parameter.
ApiCopyImagesInFeaturesArgs Arguments used for the command to copy images that belongs to one or more features. This is applicable for ECS deployments, where we can perform the image copying ourselves.
ApiCreateEnvironment Arguments used to install CDP a Private Cloud Control Plane
ApiCspArguments Arguments to upload CA certificates, client certificates and client key for CSP
ApiDashboard A dashboard definition. Dashboards are composed of tsquery-based charts.
ApiDashboardList A list of dashboard definitions.
ApiDataContext ApiDataContext is the persistent storage/services context exported by the base cluster to be consumed by the compute cluster.
ApiDataContextList List of ApiDataContext
ApiDataContextRef Reference to an ApiDataContext object. More properties can be added to this object when we support mutable datacontexts, but for MVP datacontexts are immutable.
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.
ApiDeployment2 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. This model will be used v18 and beyond since users will be represented by ApiUser2 v18 and beyond.
ApiDisableJtHaArguments Arguments used for disable JT HA command.
ApiDisableLlamaHaArguments Arguments used for disable Llama HA command.
ApiDisableNnHaArguments Arguments used for Disable NameNode High Availability command.
ApiDisableOozieHaArguments
ApiDisableRmHaArguments Arguments used for Disable RM HA command.
ApiDisableSentryHaArgs Arguments used for disable Sentry HA API call.
ApiEcho The echoMessage carries a message to be echoed back from the API service.
ApiEnableCspArguments
ApiEnableJtHaArguments Arguments used for enable JT HA command.
ApiEnableLlamaHaArguments Arguments used for enable Llama HA command.
ApiEnableLlamaRmArguments Arguments used for enable Llama RM command.
ApiEnableNnHaArguments Arguments used for Enable NameNode High Availability command.
ApiEnableOozieHaArguments
ApiEnableRmHaArguments Arguments used for enable RM HA command.
ApiEnableSentryHaArgs Arguments used for enable Sentry HA command.
ApiEndPoint This defines a single logical service in the SDX cluster. A single service can expose one or more URLs. This ApiEndPoint groups the URLs logically for configuration, versioning, or any other service specific reason.
ApiEndPointHost A host endPoint for a service.
ApiEntityStatus The single value used by the Cloudera Manager UI to represent the status of the entity. It is computed from a variety of other entity-specific states, not all values apply to all entities. For example, STARTING/STOPPING do not apply to a host.
ApiEntityTag Tag associated with an Entity in a Cloudera Manager instance
ApiEntityType Represents the types of entities.
ApiEvent Events model noteworthy incidents in Cloudera Manager or the managed Hadoop cluster. An event carries its event category, severity, and a string content. They also have generic attributes, which are free-form key value pairs. Important events may be promoted into alerts.
ApiEventAttribute
ApiEventCategory
ApiEventQueryResult A generic list.
ApiEventSeverity
ApiExternalAccount Represents an instantiation of an external account type, referencing a supported external account type, via the typeName field, along with suitable configuration to access an external resource of the provided type. The typeName field must match the name of an external account type.
ApiExternalAccountCategory Type representing an external account category.
ApiExternalAccountCategoryList Represents a list of external account categories.
ApiExternalAccountList Represents a list of external accounts.
ApiExternalAccountType A supported external account type. An external account type represents an external authentication source that is used by Cloudera Manager in its APIs to take suitable actions that require authentication to an external service. An external account type is uniquely identified by a server-generated ID and identifies with a category identifier: e.g. The "AWS" category has an account type "AWS_Access_Key_Authorization"
ApiExternalAccountTypeList Represents a list of external account types.
ApiExternalUserMapping This is the model for external user mapping information in the API, v19 and beyond. These can be of 4 types : LDAP group, SAML, SAML attribute and External Script.

ApiExternalUserMappingList A list of external user mappings.
ApiExternalUserMappingRef An externalUserMappingRef references an externalUserMapping.
ApiExternalUserMappingType Enum for external user mapping types
ApiGenerateCmcaArguments Arguments to generate a Cloudera Manager Certificate Authority (CMCA).
ApiGenerateCopyDockerArgs Arguments used for the command to generate the docker copy script. This is applicable for Openshift deployments, where we cannot perform the image copying ourselves.
ApiGenerateExternalVaultSetupArgs Arguments used for the command to generate the external vault setup template
ApiGenerateHostCertsArguments Arguments to install certificates on a host
ApiHBaseAddReplicationPeerInput
ApiHBaseCreateTable
ApiHBasePeerId Encapsulates the ID of an HBase peer.
ApiHBasePeerIdWithTableCFs
ApiHBaseReplicationArguments Replication arguments for HBase service
ApiHBaseReplicationInfo
ApiHBaseReplicationSecurityTool HBase Replication Security Tool Management
ApiHBaseReplicationSetupCleanAndResetArgs
ApiHBaseReplicationSetupCommandArgs Command args for HBaseReplicationSetupCommand
ApiHBaseReplicationSetupStatus Contains status info about the HBase replication first time setup
ApiHBaseReplicationUpdatePeerStateArgs Replication arguments for HBase service enabled/disabled peer update
ApiHBaseSetCFsReplicationScope
ApiHBaseShellCommand API request to execute generic hbase shell command The payload (command) is passed as it is to hbase shell, so the caller needs to know the exact syntax of the supported hbase shell command, based on underlying hbase version
ApiHBaseSnapshot An HBase snapshot descriptor.
ApiHBaseSnapshotError A HBase snapshot operation error.
ApiHBaseSnapshotPolicyArguments HBase specific snapshot policy arguments.
ApiHBaseSnapshotResult Detailed information about an HBase snapshot command.
ApiHBaseTable An HBase table descriptor.
ApiHBaseTableNames Encapsulates table names from HBase.
ApiHBaseUpdateReplicationPeerState
ApiHdfsCloudReplicationArguments Replication arguments for HDFS.
ApiHdfsDisableHaArguments Arguments used for the HDFS disable HA command.
ApiHdfsFailoverArguments Arguments used when enabling HDFS automatic failover.
ApiHdfsFile An HDFS file descriptor.
ApiHdfsHaArguments Arguments used for HDFS HA commands.
ApiHdfsReplicationArguments Replication arguments for HDFS.
ApiHdfsReplicationCounter A counter in an HDFS replication job.
ApiHdfsReplicationResult Detailed information about an HDFS replication job.
ApiHdfsRestoreSnapshotArgs HDFS restore snapshot arguments descriptor
ApiHdfsSnapshot An HDFS snapshot descriptor.
ApiHdfsSnapshotError An HDFS snapshot operation error.
ApiHdfsSnapshotPolicyArguments HDFS specific snapshot policy arguments.
ApiHdfsSnapshotResult Detailed information about an HDFS snapshot command.
ApiHdfsSnapshottableDirectoryStatus An HDFS Snapshottable Directory descriptor.
ApiHdfsUpgradeDomainList A map from HDFS upgrade domains to host names, implemented as a list of ApiMapEntryOfHostNameList objects, where the keys are upgrade domain strings and the values are ApiHostNameList objects.
ApiHdfsUsageReport A generic list.
ApiHdfsUsageReportRow
ApiHealthCheck Represents a result from a health test performed by Cloudera Manager for an entity.
ApiHealthSummary Represents of the high-level health status of a subject in the cluster.
ApiHive3CloudArguments API arguments for Hive3 cloud replication
ApiHive3ReplicationArguments Replication Arguments for Hive3 schedules / policies
ApiHive3ReplicationMetric
ApiHive3ReplicationMetricsMetadata
ApiHive3ReplicationMetricsProgress
ApiHive3ReplicationMetricsResultRow
ApiHive3ReplicationMetricsStage
ApiHive3ReplicationMetricsStatus
ApiHive3ReplicationQueryResult A generic list.
ApiHive3ReplicationQueryResultRow
ApiHive3ReplicationScheduledExecutionsResultRow
ApiHive3ReplicationScheduledQueriesResultRow
ApiHiveCloudReplicationArguments Replication arguments for Hive services.
ApiHiveOnTezReplicationResult Detailed information about a Hive replication job.
ApiHiveReplicationArguments Replication arguments for Hive services.
ApiHiveReplicationError A Hive replication error.
ApiHiveReplicationResult Detailed information about a Hive replication job.
ApiHiveTable A Hive table identifier.
ApiHiveUDF An hive UDF identifier.
ApiHost This is the model for a host in the system.
ApiHostCertInfo Associates a hostname with its corresponding certificate and private key
ApiHostInstallArguments Arguments to perform installation on one or more hosts
ApiHostList A list of ApiHost objects
ApiHostMaintenanceResponse
ApiHostMaintenanceResponseList A generic list.
ApiHostNameList A list of host names.
ApiHostRef A reference to a host.
ApiHostRefList A list of host references.
ApiHostTemplate A host template belongs to a cluster and contains a set of role config groups for slave roles (such as DataNodes and TaskTrackers) from services in the cluster. At most one role config group per role type can be present in a host template. Host templates can be applied to fresh hosts (those with no roles on them) in order to create a role for each of the role groups on each host.
ApiHostTemplateList A list of host templates.
ApiHostsPerfInspectorArgs Arguments used for the Cloudera Manager level performance inspector. Network diagnostics will be run from every host in sourceHostList to every host in targetHostList.
ApiHostsToRemoveArgs Arguments passed to the remove hosts from cluster api, every host passed in has the roles in it deleted and the host is removed from the cluster, but is still managed by CM. If deleteHosts is set to true hosts are also deleted from CM.
ApiIcebergReplicationArguments Replication Arguments for Iceberg Replication policies
ApiIcebergReplicationRemoteCommand API request to execute an iceberg remote command The payload (command) is executed by the remote Iceberg Replication service.
ApiIcebergReplicationResult Detailed information about an ICEBERG replication job.
ApiImpalaCancelResponse The response from an Impala cancel query response.
ApiImpalaQuery Represents an Impala Query.
ApiImpalaQueryAttribute Metadata about an Impala query attribute.
ApiImpalaQueryAttributeList The list of all the attributes that are applicable to Impala queries.
ApiImpalaQueryDetailsResponse A query details response.
ApiImpalaQueryResponse The response contains a list of queries and warnings.
ApiImpalaRoleDiagnosticsArgs Arguments used for Rolling Restart commands.
ApiImpalaTenantUtilization Utilization report information of a tenant of Impala application.
ApiImpalaTenantUtilizationList A list of impala tenant utilization reports.
ApiImpalaUDF An impala UDF identifier.
ApiImpalaUtilization Utilization report information of a Impala application service.
ApiImpalaUtilizationHistogram Histogram of Impala utilization.
ApiImpalaUtilizationHistogramBin Histogram bin of Impala utilization.
ApiImpalaUtilizationHistogramBinList A generic list.
ApiInstallControlPlaneArgs Arguments used to install CDP a Private Cloud Control Plane
ApiInstallEmbeddedControlPlaneArgs Arguments used to install a Private Cloud Control Plane on embedded kubernetes
ApiJournalNodeArguments Arguments used as part of ApiEnableNnHaArguments to specify JournalNodes.
ApiKerberosInfo Kerberos information of a Cluster or Cloudera Manager.
ApiLicense Information about the Cloudera Manager license.
ApiLicenseFeature Information about the Cloudera Manager license feature details.
ApiLicensedFeatureUsage Information about the number of nodes using which product features.

Usage information is provided for individual clusters, as well as totals across all clusters.

ApiListBase A generic list.
ApiMapEntry Models a map entry, with a key and a value. By forming a list of these entries you can have the equivalent of Map<String, String> (since JAX-B doesn't support maps).
ApiMapEntryOfHostNameList Similar to ApiMapEntry but the value is an ApiHostNameList.
ApiMetric A metric represents a specific metric monitored by the Cloudera Management Services, and a list of values matching a user query.

These fields are available only in the "full" view:

  • displayName
  • description
ApiMetricData A single data point of metric data.
ApiMetricList A list of ApiMetric objects
ApiMetricSchema A metric schema represents the schema for a specific metric monitored by the Cloudera Management Services.
ApiMetricSchemaList A list of ApiMetricSchema objects
ApiMigrateRolesArguments
ApiMr2AppInformation Represents MapReduce2 information for a YARN application.
ApiMrUsageReport A generic list.
ApiMrUsageReportRow
ApiNameservice Provides information about an HDFS nameservice.

Nameservices can be either a stand-alone NameNode, a NameNode paired with a SecondaryNameNode, or a high-availability pair formed by an active and a stand-by NameNode.

The following fields are only available in the object's full view:

  • healthSummary
  • healthChecks
ApiNameserviceList A list of HDFS nameservices.
ApiOsDistribution Definition of an OS distribution.
ApiOsDistributionType Allowed OS distribution types.
ApiOzoneBucketInfo
ApiOzoneBucketRef Reference to an Ozone bucket.
ApiOzoneFilterSpec Listing filter options for Ozone queries.
ApiOzoneKeyRef Reference to a key of an Ozone bucket.
ApiOzoneListBucketsReq Ozone buckets list request payload
ApiOzoneListKeysReq Ozone keys list request payload
ApiOzoneListSnapshotsReq Ozone snapshot list request payload
ApiOzoneListVolumesReq Ozone volume list request payload
ApiOzoneReplicationArguments Replication arguments for HDFS.
ApiOzoneReplicationCounter A counter in an HDFS replication job.
ApiOzoneReplicationResult Detailed information about an OZONE replication job.
ApiOzoneResultSpec Result handling specification
ApiOzoneS3GatewayInfo Encapsulates information needed to utilize the s3 Gateway API- namely, the AWS credentials, the rest url of the s3 Gateway and the S3 bucket.
ApiOzoneSnapshot Reference to an Ozone snapshot.
ApiOzoneSnapshotDetails Reference to an Ozone snapshot details. Additional details (compared to ApiOzoneSnapshot of a specific Ozone snapshot.
ApiOzoneSnapshotDiffReq Reference to an Ozone snapshot diff between two snapshots or between a snapshot and current bucket state (in that case snapshotToName can be empty or null).
ApiOzoneSnapshotError An Ozone snapshot operation error.
ApiOzoneSnapshotList Reference to multiple Ozone snapshots from the same volume and bucket.
ApiOzoneSnapshotPolicyArguments Ozone specific snapshot policy arguments.
ApiOzoneSnapshotRestore Ozone snapshot restore to a destination bucket.
ApiOzoneSnapshotResult Detailed information about an Ozone snapshot command.
ApiParcel A Parcel encapsulate a specific product and version. For example, (CDH 4.1). A parcel is downloaded, distributed to all the machines of a cluster and then allowed to be activated.

> The available parcels are determined by which cluster they will be running on. For example, a SLES parcel won't show up for a RHEL cluster.

ApiParcelList A list of ApiParcel.
ApiParcelRef A parcelRef references a parcel. Each parcel is identified by its "parcelName" and "parcelVersion", and the "clusterName" of the cluster that is using it. To operate on the parcel object, use the API with the those fields as parameters.
ApiParcelState The ApiParcelState encapsulates the state of a parcel while it is in transition and reports any errors that may have occurred..

The complete progress of a parcel is broken up into two different reporting indicators - progress and count. Progress is the primary indicator that reports the global state of transitions. For example, when downloading, progress and totalProgress will show the current number of bytes downloaded and the total number of bytes needed to be downloaded respectively.

The count and totalCount indicator is used when a state transition affects multiple hosts. The count and totalCount show the current number of hosts completed and the total number of hosts respectively. For example, during distribution, the progress and totalProgress will show how many bytes have been transferred to each host and the count will indicate how many hosts of of totalCount have had parcels unpacked.

Along with the two progress indicators, the ApiParcelState shows both errors and warnings that may have turned up during a state transition.

ApiParcelUsage This object provides a complete view of the usage of parcels in a given cluster - particularly which parcels are in use for which roles.
ApiParcelUsageHost This object is used to represent a host within an ApiParcelUsage.
ApiParcelUsageParcel This object is used to represent a parcel within an ApiParcelUsage.
ApiParcelUsageRack This object is used to represent a rack within an ApiParcelUsage.
ApiParcelUsageRole This object is used to represent a role within an ApiParcelUsage.
ApiPerfInspectorBandwidthArgs Arguments to run bandwidth diagnostics as part of performance inspector. Requires iperf3 package installed on hosts.
ApiPerfInspectorPingArgs Arguments to run ping test.
ApiPrincipalList A list of kerberos principals.
ApiProcess A process represents a unix process to be managed by the Cloudera Manager agents. A process can be a daemon, e.g. if it is associated with a running role. It can also be a one-off process which is expected to start, run and finish.
ApiProductVersion
ApiRangerPolicy Holds information about a policy defined in Ranger.
ApiRangerPolicyList Holds information about local (getPolicies) and remote (getRemotePolicies) policies defined in Ranger.
ApiRangerPolicyResource Holds information about a policy resource defined in Ranger.
ApiRangerReplicationArgs Replication arguments for replicating services defined in Ranger. It works the following way:
  1. EXPORT the given services, policies and roles from the source Ranger, then COPY the exported result to destination, see available arguments in ApiRangerReplicationExportArgs. Note that if getExportArgs not provided, then services defined in Ranger won't be replicated, it will be skipped.
  2. TRANSFORM the exported services, policies and roles from the source Ranger on the destination, see available arguments in ApiRangerReplicationTransformArgs
  3. IMPORT the exported and transformed services, policies and roles from source to destination Ranger, see available arguments in ApiRangerReplicationImportArgs
  4. If getAuditLogDistCpArgs is provided then the replication will distributed copy Ranger HDFS audit logs from source to destination, see available arguments in ApiHdfsReplicationArguments. If provided, then the mandatory fields are getUserName and getSourceUser. Any other ApiHdfsReplicationArguments fields could be provided, sourcePath and destinationPath will be set appropriately by CM, when not specified.
Note that at least one of getExportArgs, getAuditLogDistCpArgs must be provided, otherwise the replication would not do anything.
ApiRangerReplicationExportArgs Arguments for EXPORTING Ranger services and policies, to be replicated later.
ApiRangerReplicationImportArgs Arguments for IMPORTING Ranger services and policies, executed after EXPORT (see ApiRangerReplicationExportArgs) and TRANSFORM (see ApiRangerReplicationTransformArgs).
ApiRangerReplicationResult Detailed information about a RANGER replication job.
ApiRangerReplicationTransformArgs Arguments for TRANSFORMING Ranger services and policies, executed after EXPORT (see ApiRangerReplicationExportArgs).
ApiRangerService Holds information about a service defined in Ranger.
ApiRangerServiceList Holds information about local (getServices) and remote (getRemoteServices) services defined in Ranger.
ApiRangerUser Holds information about a user (vXUsers) defined in Ranger.
ApiRangerUserList Holds information about local (getUsers) and remote (getRemoteUsers) users defined in Ranger.
ApiRemoteCommand References a command executed on a peer cluster by a local command step.
ApiRemoteDataContext This object contains enough information for a Workload cluster to connect to an SDX cluster. This object contains no secrets.
ApiRemoteRepoUrl A remote repository URL. Cannot be provided as a path parameter because it may contain special characters.
ApiReplicationCommand Information about a replication command.

This object holds all the information a regular ApiCommand object provides, and adds specific information about the results of a replication command.

Depending on the type of the service where the replication was run, a different result property will be populated.

ApiReplicationCommandList A list of replication commands.
ApiReplicationDiagnosticsCollectionArgs Optional arguments for diagnostics collection.
ApiReplicationSchedule A replication job schedule.

Replication jobs have service-specific arguments. This object has methods to retrieve arguments for all supported types of replication, but only one argument type is allowed to be set; the backend will check that the provided argument matches the service type where the replication is being scheduled.

The replication job's arguments should match the underlying service. Refer to each property's documentation to find out which properties correspond to which services.

ApiReplicationScheduleDataLimits This class encapsulates the data limits that we want to put on ApiReplicationSchedule to avoid potential OOME. It is currently used when archiving replication history. Available since v11.
ApiReplicationScheduleList A list of replication schedules.
ApiReplicationScheduleListLimits This class encapsulates the data limits that we want to put on ApiReplicationSchedule to avoid potential OOME. It is currently used when archiving replication history. Available since v11.
ApiReplicationState The state of Hive/HDFS Replication.
ApiRestartClusterArgs Arguments used for Cluster Restart command. Since V11: If both restartOnlyStaleServices and restartServiceNames are specified, a service must be specified in restartServiceNames and also be stale, in order to be restarted.
ApiRole A role represents a specific entity that participate in a service. Examples are JobTrackers, DataNodes, HBase Masters. Each role is assigned a host where it runs on.
ApiRoleConfigGroup A role config group contains roles of the same role type sharing the same configuration. While each role has to belong to a group, a role config group may be empty. There exists a default role config group for each role type. Default groups cannot be removed nor created. The name of a role config group is unique and cannot be changed. The configuration of individual roles may be overridden on role level.
ApiRoleConfigGroupList A list of role config groups.
ApiRoleConfigGroupRef
ApiRoleList A list of roles.
ApiRoleNameList A list of role names.
ApiRoleRef A roleRef references a role. Each role is identified by its "roleName", the "serviceName" for the service it belongs to, and the "clusterName" in which the service resides. To operate on the role object, use the API with the those fields as parameters.
ApiRoleState Represents the configured run state of a role.
ApiRoleTypeConfig Role type configuration information.
ApiRoleTypeList A list of roles types that exists for a given service.
ApiRolesToInclude Roles to include during a cluster rolling restart.
ApiRollEditsArgs Arguments used for the Roll Edits command.
ApiRollingRestartArgs Arguments used for Rolling Restart commands.
ApiRollingRestartClusterArgs Arguments used for Rolling Restart Cluster command.
ApiRollingUpgradeClusterArgs Rolling upgrade arguments used in the CDH Upgrade Command. Part of ApiCdhUpgradeArgs.
ApiRollingUpgradeServicesArgs Arguments used for Rolling Upgrade command.
ApiSchedule Base class for commands that can be scheduled in Cloudera Manager.

Note that schedule IDs are not preserved upon import.

ApiScheduleInterval Represents the unit for the repeat interval for schedules.
ApiScmDbInfo Cloudera Manager server's database information
ApiService A service (such as HDFS, MapReduce, HBase) runs in a cluster. It has roles, which are the actual entities (NameNode, DataNodes, etc.) that perform the service's functions.

HDFS services and health checks

In CDH4, HDFS services may not present any health checks. This will happen if the service has more than one nameservice configured. In those cases, the health information will be available by fetching information about the nameservices instead.

The health summary is still available, and reflects a service-wide summary.

ApiServiceConfig Service and role type configuration.
ApiServiceList A list of services.
ApiServiceRef A serviceRef references a service. It is identified by the "serviceName", "clusterName" (name of the cluster which the service belongs to) and an optional "peerName" (to reference a remote service i.e. services managed by other CM instances). To operate on the service object, use the API with those fields as parameters.
ApiServiceState Represents the configured run state of a service.
ApiServiceTypeList A list of service types that exists for a given cluster.
ApiShutdownReadiness Cloudera Manager server's shutdown readiness
ApiSimpleRollingRestartClusterArgs Basic arguments used for Rolling Restart Cluster commands.
ApiSnapshotCommand Information about snapshot commands.

This object holds all the information a regular ApiCommand object provides, and adds specific information about the results of a snapshot command.

Depending on the type of the service where the snapshot command was run, a different result property will be populated.

ApiSnapshotCommandList A list of snapshot commands.
ApiSnapshotPolicy A snapshot policy.

Snapshot policies have service specific arguments. This object has methods to retrieve arguments for all supported types of snapshots, but only one argument type is allowed to be set; the backend will check that the provided argument matches the type of the service with which the snapshot policy is associated.

ApiSnapshotPolicyList A list of snapshot policies.
ApiStringList A list of strings.
ApiTagToEntities API object which groups types of entities as per the associated tag
ApiTagToEntitiesList A list of ApiTagEntities
ApiTenantUtilization Utilization report information of a tenant.
ApiTenantUtilizationList A list of tenant utilization reports.
ApiTestCmExternalAuthArguments
ApiTimeSeries A time series represents a stream of data points. Each data point contains a time and a value. Time series are returned by executing a tsquery.
ApiTimeSeriesAggregateStatistics Statistics related to one time series aggregate data point. It is available from v6 for data points containing aggregate data. It includes further statistics about the data point. An aggregate can be across entities (e.g., fd_open_across_datanodes), over time (e.g., a daily point for the fd_open metric for a specific DataNode), or both (e.g., a daily point for the fd_open_across_datanodes metric). If the data point is for non-aggregate date this will return null.
ApiTimeSeriesCrossEntityMetadata A class holding additional metadata to the ApiTimeSeriesAggregateStatistics class that applies specifically to cross-entity aggregate metrics.
ApiTimeSeriesData A single data point of time series data.
ApiTimeSeriesEntityAttribute A time series entity attribute represents a possible attribute of a time series entity type monitored by the Cloudera Management Services.

Available since API v11.

ApiTimeSeriesEntityAttributeList A list of ApiTimeSeriesEntityAttribute objects
ApiTimeSeriesEntityType Describe a time series entity type and attributes associated with this entity type.

Available since API v11.

ApiTimeSeriesEntityTypeList A list of ApiTimeSeriesEntityType objects
ApiTimeSeriesMetadata Metadata for a time series.
ApiTimeSeriesRequest Request object containing information needed for querying timeseries data. Available since API v11.
ApiTimeSeriesResponse The time series response for a time series query.
ApiTimeSeriesResponseList A generic list.
ApiUninstallControlPlaneArgs Arguments used to uninstall CDP a Private Cloud Control Plane
ApiUpdateControlPlaneValuesYamlArgs Arguments used to get an existing CDP Private Cloud Control Plane's info
ApiUpdateCspTypeArguments
ApiUpdateGlobalTruststoreArguments Arguments to update certificates from the Auto-TLS truststore
ApiUpgradeControlPlaneArgs Arguments used to upgrade a CDP Private Cloud Control Plane
ApiUpgradeEmbeddedControlPlaneArgs Arguments used to upgrade a Private Cloud Control Plane on embedded kubernetes and the associated Containerized Cluster.
ApiUser This is the model for user information in the API prior to v18. Post v18, please refer to ApiUser2.java.

Note that any method that returns user information will not contain any password information. The password property is only used when creating or updating users.

ApiUser2 This is the model for user information in the API, v18 and beyond.

Note that any method that returns user information will not contain any password information. The password property is only used when creating or updating users.

ApiUser2List A list of users.
ApiUser2Ref A userRef references a user.
ApiUserList A list of users.
ApiUserSession This is the model for interactive user session information in the API.

A user may have more than one active session. Each such session will have its own session object.

ApiUserSessionList A list of user sessions.
ApiVersionInfo Version information of Cloudera Manager itself.
ApiWatchedDir
ApiWatchedDirList A list of watched directories.
ApiYarnApplication Represents a Yarn application
ApiYarnApplicationAttribute Metadata about a YARN application attribute.
ApiYarnApplicationAttributeList The list of all attributes that are applicable to YARN applications.
ApiYarnApplicationDiagnosticsCollectionArgs Arguments used for collecting diagnostics data for Yarn applications
ApiYarnApplicationResponse The response contains a list of applications and warnings.
ApiYarnKillResponse The response from an Yarn kill application response.
ApiYarnTenantUtilization Utilization report information of a tenant of Yarn application.
ApiYarnTenantUtilizationList A list of yarn tenant utilization reports.
ApiYarnUtilization Utilization report information of a Yarn application service.
BaseApiSshCmdArguments Contains common arguments for commands which require SSH'ing into one or more hosts.
DeleteHdfsPathResult
HBaseDatabaseArgs Holds information for an HBase all database replication.
HBasePeerState
HBaseTableArgs Holds information for an HBase table.
HTTPMethod
HaStatus
IcebergReplicationYarnOptions
Origin
OzoneReplicationCommandType
OzoneReplicationType
PerfInspectorPolicyType Enum to pick the type of Performance Inspector Diagnostics to run
PolicyStatus
RangerReplicationImportStrategy The strategy to be used for Ranger replication import step.
ReplicationOption This will decide how cloud replication will take place
ReplicationStrategy The strategy for distributing the file replication tasks among the mappers of the MR job associated with a replication.
ReplicationType
RestartType Restart type to be used for restarting services
ScmDbType Enum for Cloudera Manager DB type. Note that DERBY and SQLITE3 are not supported DBs
ShutdownReadinessState Enum for Cloudera Manager shutdown readiness state.
State
Status
Storage
StreamingOutput
SubStatus
ValidationState
ZooKeeperServerMode The state of the Zookeeper server.