Cloudera Environments API
The tenancy root of CDP. Register cloud credentials and create, describe and delete environments on AWS, Azure, GCP and AWS GovCloud, including FreeIPA, proxies, telemetry and audit credentials. 104 operations and the most referenced identifier in the whole contract.
Operations 104
POST
/api/v1/environments2/getCredentialPrerequisites
This API provides the credential prerequisites for the given cloud provider.
#
POST
/api/v1/environments2/getGovCloudCredentialPrerequisites
This API provides the credential prerequisites for GovCloud for the enabled providers.
#
POST
/api/v1/environments2/createAWSEnvironment
Creates a new AWS environment by providing the cloud provider access and network information. A FreeIPA server will be automatically provisioned when an environment is created.
#
POST
/api/v1/environments2/createAWSGovCloudEnvironment
Creates a new AWS GovCloud environment by providing the cloud provider access and network information. A FreeIPA server will be automatically provisioned when an environment is cre
#
POST
/api/v1/environments2/createAzureEnvironment
Creates a new Azure environment by providing the cloud provider access and network information. A FreeIPA server will be automatically provisioned when an environment is created.
#
POST
/api/v1/environments2/createGCPEnvironment
Creates a new GCP environment by providing the cloud provider access and network information. A FreeIPA server will be automatically provisioned when an environment is created.
#
POST
/api/v1/environments2/createPrivateEnvironment
Creates a new Private Cloud environment by providing the Cloudera Manager address and credentials.
#
POST
/api/v1/environments2/createAWSCredential
Creates a new AWS credential that can be attatched to an environment. The credential is used for authorization to provision resources such as compute instances within your cloud pr
#
POST
/api/v1/environments2/createAWSGovCloudCredential
Creates a new AWS credential for GovCloud that can be attatched to an environment. The credential is used for authorization to provision resources such as compute instances within
#
POST
/api/v1/environments2/createAzureCredential
Creates a new Azure credential that can be attached to an environment. The credential is used for authorization to provision resources such as compute instances within your cloud p
#
POST
/api/v1/environments2/updateAzureCredential
Updates a new certificate based Azure credential that can be attached to an environment. The credential is used for authorization to provision resources such as compute instances w
#
POST
/api/v1/environments2/updateAwsCredential
Updates an AWS credential that can be attached to an environment. The credential is used for authorization to provision resources such as compute instances within your cloud provid
#
POST
/api/v1/environments2/createGCPCredential
Creates a new GCP credential that can be attatched to an environment. The credential is used for authorization to provision resources such as compute instances within your cloud pr
#
POST
/api/v1/environments2/updateAzureEncryptionResources
Update the Azure encryption resources for the environment.
#
POST
/api/v1/environments2/updateAzureDatabaseResources
Update the Azure database resources for the environment.
#
POST
/api/v1/environments2/updateAzureAvailabilityZones
Update the Availability Zones for the Azure environment.
#
POST
/api/v1/environments2/updateAwsDiskEncryptionParameters
Update the AWS encryption key ARN for the environment.
#
POST
/api/v1/environments2/syncAllUsers
Synchronizes environments with all users and groups state with CDP.
#
POST
/api/v1/environments2/syncUser
Synchronizes environments with single user to the FreeIPA servers.
#
POST
/api/v1/environments2/lastSyncStatus
Returns status of the sync operation for the environment crn.
#
POST
/api/v1/environments2/listConnectedDataServices
Returns the list of Data Services and their cluster names that are attached the given environment.
#
POST
/api/v1/environments2/getEnvironmentUserSyncState
Returns the user synchronization state for an environment.
#
POST
/api/v1/environments2/setPassword
Sets workload user's password and updates into all environments.
#
POST
/api/v1/environments2/getRootCertificate
This API provides contents of public certificate for an environment.
#
POST
/api/v1/environments2/getAutomatedSyncEnvironmentStatus
Gets the the automated sync status for the environment.
#
POST
/api/v1/environments2/getOperation
Get the latest (in progress or finished) operation for the environment resource.
#
POST
/api/v1/environments2/checkEnvironmentConnectivity
Checks connectivity to a new Private Cloud environment by trying to access the Cloudera Manager address with provided credentials.
#
POST
/api/v1/environments2/checkDatabaseConnectivity
Checks Database connectivity based on the input parameters.
#
POST
/api/v1/environments2/checkKubernetesConnectivity
Checks connectivity to a Kubernetes address with provided kubeconfig files.
#
POST
/api/v1/environments2/getRepairFreeipaStatus
Returns status of the repair operation for the operation id.
#
POST
/api/v1/environments2/createProxyConfig
Creates a new proxy config that can be attatched to an environment.
#
POST
/api/v1/environments2/setTelemetryFeatures
Configure environment level telemetry feature setting.
#
POST
/api/v1/environments2/getEnvironmentSetting
Read a configuration setting from the environment service.
#
POST
/api/v1/environments2/setEnvironmentSetting
Read a configuration setting from the environment service.
#
POST
/api/v1/environments2/setAccountTelemetry
Set account level telemetry settings. (telemetry features and anonymization rules)
#
POST
/api/v1/environments2/getAccountTelemetry
Get account level telemetry settings. (telemetry features and anonymization rules)
#
POST
/api/v1/environments2/getAccountTelemetryDefault
Get default account level telemetry settings. Helps to set back the default values.
#
POST
/api/v1/environments2/testAccountTelemetryRules
Test anonymization rules (for account telemetry) against text input.
#
POST
/api/v1/environments2/getFreeipaLogDescriptors
Gather log descriptors that are used for diagnostics collection.
#
POST
/api/v1/environments2/cancelFreeipaDiagnostics
Cancel running FreeIPA diagnostics collections
#
POST
/api/v1/environments2/getAuditCredentialPrerequisites
This API provides the audit credential prerequisites for the given cloud provider.
#
POST
/api/v1/environments2/getGovCloudAuditCredentialPrerequisites
This API provides the audit credential prerequisites for GovCloud for the enabled providers.
#
POST
/api/v1/environments2/setAWSAuditCredential
Creates or updates the AWS audit credential for the account. The credential is used for authorization to archive audit events to your cloud storage.
#
POST
/api/v1/environments2/setAWSGovCloudAuditCredential
Creates or updates the AWS GovCloud audit credential for the account. The credential is used for authorization to archive audit events to your cloud storage.
#
POST
/api/v1/environments2/setAzureAuditCredential
Creates or updates the Azure audit credential for the account. The credential is used for authorization to archive audit events to your cloud storage.
#
POST
/api/v1/environments2/setGCPAuditCredential
Creates or updates the GCP audit credential for the account. The credential is used for authorization to archive audit events to your cloud storage.
#
POST
/api/v1/environments2/setEndpointAccessGateway
Sets endpoint access gateway settings for the environment.
#
POST
/api/v1/environments2/updateSshKey
Updates the designated SSH key for the given environment. The newly added SSH key will only be used for the Cloudera Data Hub clusters created within the environment after the new
#
POST
/api/v1/environments2/updateSubnet
Updates the subnet(s) of the given environment. The newly added subnets will only be used for the Cloudera Data Hub clusters created within the environment after the new subnets we
#
POST
/api/v1/environments2/updateSecurityAccess
Updates the security access settings of the given environment. The newly added security groups will only be used for the Cloudera Data Hub clusters created within the environment a
#
POST
/api/v1/environments2/updateTags
Updates the user defined tags of the given environment. The newly added tags will only be used for the Cloudera Data Hub clusters created within the environment after the new tags
#
POST
/api/v1/environments2/validateAwsCloudStorage
Validates AWS cloud storage settings of the given environment.
#
POST
/api/v1/environments2/validateAzureCloudStorage
Validates Azure cloud storage settings of the given environment.
#
POST
/api/v1/environments2/upgradeCcm
Upgrades Cluster Connectivity Manager on the environment to the latest available version.
#
POST
/api/v1/environments2/rotateSaltPassword
Rotate SaltStack user password on FreeIPA instances.
#
POST
/api/v1/environments2/rotateFreeipaSecrets
Rotate FreeIPA related secret for FreeIPA instances.
#
POST
/api/v1/environments2/updateOrchestratorState
Run orchestrator engine state update on the FreeIPA cluster.
#
POST
/api/v1/environments2/updateProxyConfig
Updates the proxy config of the given environment. The newly added proxy configs will only be used for the Cloudera Data Hub clusters created within the environment after the new p
#
POST
/api/v1/environments2/updateAzureImageTermsPolicy
Updates account level Azure Marketplace image policy. CDP is capable to automatically accept Azure Marketplace image terms during cluster deployment. You can use this setting in yo
#
POST
/api/v1/environments2/getAzureImageTermsPolicy
Gets account level Azure Marketplace image policy. CDP is capable to automatically accept Azure Marketplace image terms during cluster deployment. You can use this setting in your
#
POST
/api/v1/environments2/updateDataServiceResources
Updates Data Service resources of an environment.
#
POST
/api/v1/environments2/updateCustomDockerRegistry
Updates custom docker registry CRN of an environment.
#
POST
/api/v1/environments2/initializeAWSComputeCluster
Initialize compute cluster for AWS environment.
#
POST
/api/v1/environments2/initializeAzureComputeCluster
Initialize compute cluster for Azure environment.
#
POST
/api/v1/environments2/setupActiveDirectoryTrust
Setup cross-realm trust between FreeIPA and Active Directory.
#
POST
/api/v1/environments2/repairTrust
Repair cross-realm trust of FreeIPA with an Active Directory Server.
#
POST
/api/v1/environments2/getTrustSetupCommands
Lists the commands to be executed for cross-realm trust setup.
#
POST
/api/v1/environments2/getTrustCleanupCommands
Gets the commands to be run for cross-realm trust clean up.
#
Documentation
📖
Documentation
https://docs.cloudera.com/cdp-public-cloud/cloud/api/topics/mc-api-overview.html
📖
APIReference
https://cloudera.github.io/cdp-dev-docs/api-docs/