Cloudera Datalake API

Provision the datalake that carries an environment’s shared metadata, security and governance context, and back it up, restore it and cancel those runs. 56 operations.

Operations 56

POST /api/v1/datalake/listRuntimes Lists the datalake versions. #
POST /api/v1/datalake/createAWSDatalake Creates an AWS datalake. #
POST /api/v1/datalake/createAWSGovCloudDatalake Creates a Data Lake on AWS GovCloud. #
POST /api/v1/datalake/createAzureDatalake Creates an Azure datalake. #
POST /api/v1/datalake/createGCPDatalake Creates an GCP Data Lake. #
POST /api/v1/datalake/listDatalakes Lists datalakes. #
POST /api/v1/datalake/deleteDatalake Deletes a datalake. #
POST /api/v1/datalake/retryDatalake Retry last failed operation on a datalake. #
POST /api/v1/datalake/startDatalakeVerticalScaling Initiates the vertical scaling on Data Lake. #
POST /api/v1/datalake/describeDatalake Describes a datalake. #
POST /api/v1/datalake/renewCertificate Renew certificate on Datalake cluster by name or CRN #
POST /api/v1/datalake/renewPublicCertificate Renews public certificate on Datalake cluster by name or CRN. #
POST /api/v1/datalake/repairDatalake Repairs a datalake. #
POST /api/v1/datalake/restartDatalakeInstances Restarts instances of a datalake on Cloud provider. #
POST /api/v1/datalake/getClusterServiceStatus Get cluster service status. #
POST /api/v1/datalake/getClusterHostStatus Get cluster host status. #
POST /api/v1/datalake/upgradeDatalake OS or data platform upgrade for the SDX cluster. #
POST /api/v1/datalake/prepareDatalakeUpgrade Prepares the Data Lake cluster for upgrade. #
POST /api/v1/datalake/startDatabaseUpgrade Upgrades the database of the Data Lake cluster. #
POST /api/v1/datalake/startDatalake Start Datalake #
POST /api/v1/datalake/stopDatalake Stop Datalake #
POST /api/v1/datalake/backupDatalake Create backup of datalake. #
POST /api/v1/datalake/backupDatalakeStatus Check the status of a datalake backup operation performed. #
POST /api/v1/datalake/restoreDatalake Restore the datalake from backup taken. #
POST /api/v1/datalake/restoreDatalakeStatus Check the status of datalake restore operation. #
POST /api/v1/datalake/listDatalakeBackups List all the backup operations that were performed on the datalake. #
POST /api/v1/datalake/cancelBackup Cancels the specified ongoing backup operation. #
POST /api/v1/datalake/cancelRestore Cancels the restore that was performed. #
POST /api/v1/datalake/replaceRecipes Replaces recipes for the given instance groups. #
POST /api/v1/datalake/rotateSecrets Rotates secrets for a specific Datalake #
POST /api/v1/datalake/rotateDbCertificate Rotates database ssl certificate for a specific Data Lake #
POST /api/v1/datalake/listDatalakeSecretTypes Lists all Datalake related secret types. #
POST /api/v1/datalake/getDatalakeLogDescriptors Gather log descriptors that are used for diagnostics collection. #
POST /api/v1/datalake/collectDatalakeDiagnostics Start DataLake diagnostics collection #
POST /api/v1/datalake/listDatalakeDiagnostics List recent Datalake diagnostics collections #
POST /api/v1/datalake/cancelDatalakeDiagnostics Cancel running Datalake diagnostics collections #
POST /api/v1/datalake/collectCmDiagnostics Start DataLake Cloudera Manager based diagnostics collection #
POST /api/v1/datalake/getCmRoles Gather Cloudera Manager roles that can be used for filtering in CM based diagnostics collection. #
POST /api/v1/datalake/getOperation Used for retrieving operation status for the datalake cluster, defaulting to the most recent operation. Provide an operationId to view details of a specific historical operation. #
POST /api/v1/datalake/rotateAutoTlsCertificates Rotate autotls certificates on the datalake's hosts #
POST /api/v1/datalake/rotatePrivateCertificates Rotates private certificates on the datalake's hosts. #
POST /api/v1/datalake/describeDatabaseServer Gets external database server details. #
POST /api/v1/datalake/validateAwsCloudStorage Validates AWS cloud storage. #
POST /api/v1/datalake/validateAzureCloudStorage Validates Azure cloud storage. #
POST /api/v1/datalake/resizeDatalake Resizes the given datalake to the given target size. #
POST /api/v1/datalake/scaleHorizontally Horizontally scale the Data Lake nodes, to add additional compute nodes to the cluster. #
POST /api/v1/datalake/recoverDatalake Recover data lake to the original version after a failed upgrade. #
POST /api/v1/datalake/setCatalog Sets a catalog for a DataLake. #
POST /api/v1/datalake/syncComponentVersionsFromCm Syncs component versions from CM after a failed upgrade. #
POST /api/v1/datalake/rotateSaltPassword Rotate SaltStack user password on DataLake instances. #
POST /api/v1/datalake/updateOrchestratorState Run orchestrator engine state update on the Data Lake cluster. #
POST /api/v1/datalake/updateToAwsImdsV2 Updates Data Lake AWS cluster to use IMDSv2. #
POST /api/v1/datalake/updateToAwsImdsV1 Updates Data Lake AWS cluster to use IMDSv1. #
POST /api/v1/datalake/setDefaultJavaVersion Configures the default Java version for the Data Lake. #
POST /api/v1/datalake/migrateSkus Migrate the Data Lake to a new SKU. #
POST /api/v1/datalake/updatePublicDnsEntries Update public DNS entries of a Data Lake cluster by name or CRN. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cloudera-datalake-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cloudera-datalake-openapi.yml Raw ↑
swagger: '2.0'
x-endpoint-name: datalake
x-interface-model: cdp
x-products: CDP
x-form-factors: public
x-cdp-releases: PUBLIC
x-audit: true
info:
  version: 0.9.163
  title: Cloudera Datalake Service
  license:
    name: Apache 2.0
  description: Cloudera data lake is a service for launching and managing data lake clusters powered by Cloudera Runtime.
  termsOfService: https://www.cloudera.com/legal/commercial-terms-and-conditions.html
schemes:
  - https
consumes:
  - application/json
produces:
  - application/json
paths:
  /api/v1/datalake/listRuntimes:
    post:
      summary: Lists the datalake versions.
      description: Lists the available datalake runtime versions.
      operationId: listRuntimes
      x-mutating: false
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/ListRuntimesRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ListRuntimesResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/createAWSDatalake:
    post:
      summary: Creates an AWS datalake.
      description: Creates an AWS datalake.
      operationId: createAWSDatalake
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/CreateAWSDatalakeRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CreateAWSDatalakeResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/createAWSGovCloudDatalake:
    post:
      summary: Creates a Data Lake on AWS GovCloud.
      description: Creates a Data Lake on AWS GovCloud.
      operationId: createAWSGovCloudDatalake
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/CreateAWSGovCloudDatalakeRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CreateAWSGovCloudDatalakeResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/createAzureDatalake:
    post:
      summary: Creates an Azure datalake.
      description: Creates an Azure datalake.
      operationId: createAzureDatalake
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/CreateAzureDatalakeRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CreateAzureDatalakeResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/createGCPDatalake:
    post:
      summary: Creates an GCP Data Lake.
      description: Creates an GCP Data Lake.
      operationId: createGCPDatalake
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/CreateGCPDatalakeRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CreateGCPDatalakeResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/listDatalakes:
    post:
      summary: Lists datalakes.
      description: Lists datalakes.
      operationId: listDatalakes
      x-mutating: false
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/ListDatalakesRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ListDatalakesResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/deleteDatalake:
    post:
      summary: Deletes a datalake.
      description: Deletes a datalake.
      operationId: deleteDatalake
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/DeleteDatalakeRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/DeleteDatalakeResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/retryDatalake:
    post:
      summary: Retry last failed operation on a datalake.
      description: Retry last failed operation on a datalake.
      operationId: retryDatalake
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/RetryDatalakeRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/RetryDatalakeResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/startDatalakeVerticalScaling:
    post:
      summary: Initiates the vertical scaling on Data Lake.
      description: Initiates the vertical scaling on Data Lake. You have the option to specify 'modifyDisks' or 'instanceTemplate' as parameter.
      operationId: startDatalakeVerticalScaling
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/StartDatalakeVerticalScalingRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/StartDatalakeVerticalScalingResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/describeDatalake:
    post:
      summary: Describes a datalake.
      description: Describes a datalake.
      operationId: describeDatalake
      x-mutating: false
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/DescribeDatalakeRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/DescribeDatalakeResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/renewCertificate:
    post:
      summary: Renew certificate on Datalake cluster by name or CRN
      description: Deprecated, please use renew-public-certificate command instead. Renew certificate on Datalake cluster by name or CRN.
      operationId: renewCertificate
      x-deprecated: true
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/RenewCertificateRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/RenewCertificateResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/renewPublicCertificate:
    post:
      summary: Renews public certificate on Datalake cluster by name or CRN.
      description: Renews public certificate on Datalake cluster by name or CRN.
      operationId: renewPublicCertificate
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/RenewPublicCertificateRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/RenewPublicCertificateResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/repairDatalake:
    post:
      summary: Repairs a datalake.
      description: Repairs a datalake.
      operationId: repairDatalake
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/RepairDatalakeRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/RepairDatalakeResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/restartDatalakeInstances:
    post:
      summary: Restarts instances of a datalake on Cloud provider.
      description: Restarts instances of a datalake on Cloud provider.
      operationId: restartDatalakeInstances
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/RestartDatalakeInstancesRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/RestartDatalakeInstancesResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/getClusterServiceStatus:
    post:
      summary: Get cluster service status.
      description: Gets the status of the services in a cluster.
      operationId: getClusterServiceStatus
      x-mutating: false
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/GetClusterServiceStatusRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/GetClusterServiceStatusResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/getClusterHostStatus:
    post:
      summary: Get cluster host status.
      description: Gets the status of the hosts in a cluster.
      operationId: getClusterHostStatus
      x-mutating: false
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/GetClusterHostStatusRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/GetClusterHostStatusResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/upgradeDatalake:
    post:
      summary: OS or data platform upgrade for the SDX cluster.
      description: OS or data platform upgrade for the SDX cluster. You have the option to either specify one of 'imageId', 'runtime' or 'lockComponents' or both 'imageId' and 'lockComponents' or none of the parameters.
      operationId: upgradeDatalake
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/UpgradeDatalakeRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/UpgradeDatalakeResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/prepareDatalakeUpgrade:
    post:
      summary: Prepares the Data Lake cluster for upgrade.
      description: In order to reduce the chance of upgrade failures, we're introducing a preparation phase for runtime upgrades. During this phase, we're running all validations and downloading the required parcels for the machines. You can track the progress of the parcel preparation on the Cloudera Manager UI or you can check on the Management Console as well.
      operationId: prepareDatalakeUpgrade
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/PrepareDatalakeUpgradeRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/PrepareDatalakeUpgradeResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/startDatabaseUpgrade:
    post:
      summary: Upgrades the database of the Data Lake cluster.
      description: This command initiates the upgrade of the database of the Data Lake cluster.
      operationId: startDatabaseUpgrade
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/StartDatabaseUpgradeRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/StartDatabaseUpgradeResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/startDatalake:
    post:
      summary: Start Datalake
      description: Deprecated, please use 'cdp environments start-environment' instead.
      operationId: startDatalake
      x-mutating: true
      x-deprecated: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/StartDatalakeRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/StartDatalakeResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/stopDatalake:
    post:
      summary: Stop Datalake
      description: Deprecated, please use 'cdp environments stop-environment' instead.
      operationId: stopDatalake
      x-mutating: true
      x-deprecated: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/StopDatalakeRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/StopDatalakeResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/backupDatalake:
    post:
      summary: Create backup of datalake.
      description: Takes a backup of all the data in the datalake.
      operationId: backupDatalake
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/BackupDatalakeRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/BackupDatalakeResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/backupDatalakeStatus:
    post:
      summary: Check the status of a datalake backup operation performed.
      description: Identifies the backup operation based on the inputs provided and gets the status. BackupName and BackupId are mutually exclusive. Only one of them can be provided.
      operationId: backupDatalakeStatus
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/BackupDatalakeStatusRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/BackupDatalakeStatusResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/restoreDatalake:
    post:
      summary: Restore the datalake from backup taken.
      description: Restore the datalake from a backup that was taken. Backup to be used for restore is identified based on the information provided in the restore request. BackupId and BackupName are mutually exclusive. Only one of them can be provided. If both are provided, BackupId takes precedence.
      operationId: restoreDatalake
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/RestoreDatalakeRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/RestoreDatalakeResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/restoreDatalakeStatus:
    post:
      summary: Check the status of datalake restore operation.
      description: Identifies the restore operation based on the inputs provided and gets the status. RestoreId and BackupName are mutually exclusive. Only one of them can be provided.
      operationId: restoreDatalakeStatus
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/RestoreDatalakeStatusRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/RestoreDatalakeStatusResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/listDatalakeBackups:
    post:
      summary: List all the backup operations that were performed on the datalake.
      description: List all the backup operations that were performed on the datalake.
      operationId: listDatalakeBackups
      x-mutating: false
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/ListDatalakeBackupsRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ListDatalakeBackupsResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/cancelBackup:
    post:
      summary: Cancels the specified ongoing backup operation.
      description: Cancels a currently running backup operation. The operation must be in a STARTED or IN_PROGRESS state. Pending sub-operations will be ignored and marked as cancelled. The operation does not wait for the currently running sub-operation(s) to complete.
      operationId: cancelBackup
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/CancelBackupRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CancelBackupResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/cancelRestore:
    post:
      summary: Cancels the restore that was performed.
      description: Cancels a currently running restore operation. The operation must be in a STARTED or IN_PROGRESS state.
      operationId: cancelRestore
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/CancelRestoreRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CancelRestoreResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/replaceRecipes:
    post:
      summary: Replaces recipes for the given instance groups.
      description: Replaces recipes for the given instance groups.
      operationId: replaceRecipes
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/ReplaceRecipesRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ReplaceRecipesResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/rotateSecrets:
    post:
      summary: Rotates secrets for a specific Datalake
      description: Rotates secrets for a specific Datalake based on what secret types are specified.
      operationId: rotateSecrets
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/RotateSecretsRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/RotateSecretsResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/rotateDbCertificate:
    post:
      summary: Rotates database ssl certificate for a specific Data Lake
      description: Rotates database ssl certificate for a specific Data Lake.
      operationId: rotateDbCertificate
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/RotateDbCertificateRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/RotateDbCertificateResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/listDatalakeSecretTypes:
    post:
      summary: Lists all Datalake related secret types.
      description: Lists Datalake related secret types for Datalake instances.
      operationId: listDatalakeSecretTypes
      x-mutating: false
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/ListDatalakeSecretTypesRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ListDatalakeSecretTypesResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/getDatalakeLogDescriptors:
    post:
      summary: Gather log descriptors that are used for diagnostics collection.
      description: Gather log descriptors that are used for diagnostics collection.
      operationId: getDatalakeLogDescriptors
      x-mutating: false
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/GetDatalakeLogDescriptorsRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/GetDatalakeLogDescriptorsResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/collectDatalakeDiagnostics:
    post:
      summary: Start DataLake diagnostics collection
      description: Start Datalake diagnostics collection
      operationId: collectDatalakeDiagnostics
      x-mutating: false
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/CollectDatalakeDiagnosticsRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CollectDatalakeDiagnosticsResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/listDatalakeDiagnostics:
    post:
      summary: List recent Datalake diagnostics collections
      description: List recent Datalake diagnostics collection
      operationId: listDatalakeDiagnostics
      x-mutating: false
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/ListDatalakeDiagnosticsRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ListDatalakeDiagnosticsResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/cancelDatalakeDiagnostics:
    post:
      summary: Cancel running Datalake diagnostics collections
      description: Cancel running Datalake diagnostics collection
      operationId: cancelDatalakeDiagnostics
      x-mutating: false
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/CancelDatalakeDiagnosticsRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CancelDatalakeDiagnosticsResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/collectCmDiagnostics:
    post:
      summary: Start DataLake Cloudera Manager based diagnostics collection
      description: Start Datalake Cloudera Manager based diagnostics collection
      operationId: collectCmDiagnostics
      x-mutating: false
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/CollectCmDiagnosticsRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CollectCmDiagnosticsResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/getCmRoles:
    post:
      summary: Gather Cloudera Manager roles that can be used for filtering in CM based diagnostics collection.
      description: Gather Cloudera Manager roles that can be used for filtering in CM based diagnostics collection.
      operationId: getCmRoles
      x-mutating: false
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/GetCmRolesRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/GetCmRolesResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/getOperation:
    post:
      summary: Used for retrieving operation status for the datalake cluster, defaulting to the most recent operation. Provide an operationId to view details of a specific historical operation.
      description: Used for retrieving operation status for the datalake cluster, defaulting to the most recent operation. Provide an operationId to view details of a specific historical operation.
      operationId: getOperation
      x-mutating: false
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/GetOperationRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/GetOperationResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/rotateAutoTlsCertificates:
    post:
      summary: Rotate autotls certificates on the datalake's hosts
      description: Deprecated, please use rotate-private-certificates command instead. Rotate autotls certificates on the datalake's hosts
      operationId: rotateAutoTlsCertificates
      x-mutating: true
      x-deprecated: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/RotateAutoTlsCertificatesRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/RotateAutoTlsCertificatesResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/rotatePrivateCertificates:
    post:
      summary: Rotates private certificates on the datalake's hosts.
      description: Rotates private certificates on the datalake's hosts.
      operationId: rotatePrivateCertificates
      x-mutating: true
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/RotatePrivateCertificatesRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/RotatePrivateCertificatesResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/describeDatabaseServer:
    post:
      summary: Gets external database server details.
      description: Gets external database server details for Data Lake by cluster CRN
      operationId: describeDatabaseServer
      x-mutating: false
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/DescribeDatabaseServerRequest'
      responses:
        200:
          description: Database server details for the requested resource.
          schema:
            $ref: '#/definitions/DescribeDatabaseServerResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/validateAwsCloudStorage:
    post:
      summary: Validates AWS cloud storage.
      description: Validates AWS cloud storage for Data Lake.
      operationId: validateAwsCloudStorage
      x-mutating: false
      parameters:
        - name: input
          in: body
          required: true
          schema:
            $ref: '#/definitions/ValidateAwsCloudStorageRequest'
      responses:
        200:
          description: AWS cloud storage validation result for Data Lake.
          schema:
            $ref: '#/definitions/ValidateAwsCloudStorageResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /api/v1/datalake/validateAzureCloudStorage:
    post:
      summary: Validates Azure cloud storage.
      description: Validates Azure cloud storage for Data Lake.
      operationId: validateAzureCloudStorage
      x-mutating: false
      parameters:
        - name: input
          in: body
          r

# --- truncated at 32 KB (143 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/cloudera/refs/heads/main/openapi/cloudera-datalake-openapi.yml