x-generated: Automatically generated by protocols script. Do not edit manually.
swagger: '2.0'
x-endpoint-name: dfworkload
x-products: CDP
x-form-factors: public
x-cdp-releases: PUBLIC
info:
  description: "This REST API provides remote access to the DataFlow Service.\n Endpoints that are marked as [BETA] are subject to change in future releases of the application without backwards compatibility and without a major version change."
  version: 0.9.163
  title: Cloudera DataFlow Workload Service
  license:
    name: Apache 2.0
  termsOfService: https://www.cloudera.com/legal/commercial-terms-and-conditions.html
schemes:
  - https
consumes:
  - application/json
produces:
  - application/json
tags:
  - name: CDFLocalRPCAPIVersion1
paths:
  /dfx/api/rpc-v1/custom-nar-configurations/create-custom-nar-configuration:
    post:
      summary: Create the custom NAR configuration.
      description: Create the custom NAR configuration.
      operationId: createCustomNarConfiguration
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Create Custom NAR Configuration Request
          required: true
          schema:
            $ref: '#/definitions/CreateCustomNarConfigurationRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CreateCustomNarConfigurationResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/custom-nar-configurations/delete-custom-nar-configuration:
    post:
      summary: Deletes an orphaned custom NAR configuration.
      description: Deletes an orphaned custom NAR configuration.
      operationId: deleteCustomNarConfiguration
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Delete Custom NAR Configuration Request
          required: true
          schema:
            $ref: '#/definitions/DeleteCustomNarConfigurationRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/DeleteCustomNarConfigurationResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/custom-nar-configurations/get-custom-nar-configuration:
    post:
      summary: Get a custom NAR configuration.
      description: Get a custom NAR configuration.
      operationId: getCustomNarConfiguration
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Get Custom NAR Configuration Request
          required: true
          schema:
            $ref: '#/definitions/GetCustomNarConfigurationRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/GetCustomNarConfigurationResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/custom-nar-configurations/get-default-custom-nar-configuration:
    post:
      summary: Get the default custom NAR configuration. Deprecated, no longer supported.
      description: Get the default custom NAR configuration. Deprecated, no longer supported.
      operationId: getDefaultCustomNarConfiguration
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Get Default Custom NAR Configuration Request
          required: true
          schema:
            $ref: '#/definitions/GetDefaultCustomNarConfigurationRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/GetDefaultCustomNarConfigurationResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
      deprecated: true
      x-deprecated: true
  /dfx/api/rpc-v1/custom-nar-configurations/update-custom-nar-configuration:
    post:
      summary: Update the custom NAR configuration.
      description: Update the custom NAR configuration.
      operationId: updateCustomNarConfiguration
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Update Custom NAR Configuration Request
          required: true
          schema:
            $ref: '#/definitions/UpdateCustomNarConfigurationRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/UpdateCustomNarConfigurationResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/custom-nar-configurations/validate-custom-nar-configuration:
    post:
      summary: Validates the custom NAR configuration.
      description: Validates the custom NAR configuration.
      operationId: validateCustomNarConfiguration
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Validate Custom NAR Configuration Request
          required: true
          schema:
            $ref: '#/definitions/ValidateCustomNarConfigurationRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ValidateCustomNarConfigurationResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/custom-python-configurations/create-custom-python-configuration:
    post:
      summary: Create the custom Python configuration.
      description: Create the custom Python configuration.
      operationId: createCustomPythonConfiguration
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Create Custom Python Configuration Request
          required: true
          schema:
            $ref: '#/definitions/CreateCustomPythonConfigurationRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CreateCustomPythonConfigurationResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/custom-python-configurations/delete-custom-python-configuration:
    post:
      summary: Deletes an orphaned custom Python configuration.
      description: Deletes an orphaned custom Python configuration.
      operationId: deleteCustomPythonConfiguration
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Delete Custom Python Configuration Request
          required: true
          schema:
            $ref: '#/definitions/DeleteCustomPythonConfigurationRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/DeleteCustomPythonConfigurationResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/custom-python-configurations/get-custom-python-configuration:
    post:
      summary: Get a custom Python configuration.
      description: Get a custom Python configuration.
      operationId: getCustomPythonConfiguration
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Get Custom Python Configuration Request
          required: true
          schema:
            $ref: '#/definitions/GetCustomPythonConfigurationRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/GetCustomPythonConfigurationResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/custom-python-configurations/update-custom-python-configuration:
    post:
      summary: Update the custom Python configuration.
      description: Update the custom Python configuration.
      operationId: updateCustomPythonConfiguration
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Update Custom Python Configuration Request
          required: true
          schema:
            $ref: '#/definitions/UpdateCustomPythonConfigurationRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/UpdateCustomPythonConfigurationResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/custom-python-configurations/validate-custom-python-configuration:
    post:
      summary: Validates the custom Python configuration.
      description: Validates the custom Python configuration.
      operationId: validateCustomPythonConfiguration
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Validate Custom Python Configuration Request
          required: true
          schema:
            $ref: '#/definitions/ValidateCustomPythonConfigurationRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ValidateCustomPythonConfigurationResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployed-flows/abort-flow-request-in-deployment:
    post:
      summary: Aborts a flow request in deployment.
      description: Aborts a flow request in a deployment.
      operationId: abortFlowRequestInDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Abort Flow Request In Deployment
          required: true
          schema:
            $ref: '#/definitions/AbortFlowRequestInDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/AbortFlowRequestInDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployed-flows/add-flow-to-deployment:
    post:
      summary: Adds a flow to an existing deployment.
      description: Adds a flow to an existing deployment.
      operationId: addFlowToDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Add Flow to Deployment Request
          required: true
          schema:
            $ref: '#/definitions/AddFlowToDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/AddFlowToDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployed-flows/cancel-change-flow-version-in-deployment:
    post:
      summary: Cancel change flow version for an existing flow deployment.
      description: Cancel change flow version for an existing flow deployment.
      operationId: cancelChangeFlowVersionInDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Cancel Change Flow Version In Deployment Request
          required: true
          schema:
            $ref: '#/definitions/CancelChangeFlowVersionInDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CancelChangeFlowVersionInDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployed-flows/change-flow-version-in-deployment:
    post:
      summary: Change flow version of a running deployed flow.
      description: Change flow version of a running deployed flow.
      operationId: changeFlowVersionInDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Change Flow Version In Deployment Request
          required: true
          schema:
            $ref: '#/definitions/ChangeFlowVersionInDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ChangeFlowVersionInDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployed-flows/get-flow-configuration-in-deployment:
    post:
      summary: Retrieves the deployed flow configuration in a deployment.
      description: Retrieves the deployed flow configuration in a deployment.
      operationId: getFlowConfigurationInDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Get Flow Configuration In Deployment Request
          required: true
          schema:
            $ref: '#/definitions/GetFlowConfigurationInDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/GetFlowConfigurationInDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployed-flows/get-flow-configuration-metadata-in-deployment:
    post:
      summary: Retrieves the deployed flow configuration metadata in a deployment.
      description: Retrieves the deployed flow configuration metadata in a deployment.
      operationId: getFlowConfigurationMetadataInDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Get Flow Configuration Metadata In Deployment Request
          required: true
          schema:
            $ref: '#/definitions/GetFlowConfigurationMetadataInDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/GetFlowConfigurationMetadataInDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployed-flows/get-flow-request-details-in-deployment:
    post:
      summary: Retrieves flow request details and registers the flow deployment request.
      description: Retrieves flow request details and registers the flow deployment request.
      operationId: getFlowRequestDetailsInDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Get Flow Request Details in Deployment
          required: true
          schema:
            $ref: '#/definitions/GetFlowDeploymentRequestDetailsRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/GetFlowRequestDetailsInDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployed-flows/import-flow-into-deployment:
    post:
      summary: Import flow deployment configuration.
      description: Imports flow configuration into a deployment from archive with provided archive name.
      operationId: importFlowIntoDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Import Flow Into Deployment Request
          required: true
          schema:
            $ref: '#/definitions/ImportFlowIntoDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ImportFlowIntoDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployed-flows/start-flow-in-deployment:
    post:
      summary: Starts a flow in a deployment.
      description: Starts a NiFi flow in a deployment.
      operationId: startFlowInDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Start Flow In Deployment Request
          required: true
          schema:
            $ref: '#/definitions/StartFlowInDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/StartFlowInDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployed-flows/stop-flow-in-deployment:
    post:
      summary: Stops a flow in a deployment.
      description: Stops a NiFi flow in a deployment.
      operationId: stopFlowInDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Stop Flow In Deployment Request
          required: true
          schema:
            $ref: '#/definitions/StopFlowInDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/StopFlowInDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployed-flows/terminate-flow-in-deployment:
    post:
      summary: Terminates a flow in a deployment.
      description: Initiates the termination of a flow in a deployment.
      operationId: terminateFlowInDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Terminate Flow In Deployment Request
          required: true
          schema:
            $ref: '#/definitions/TerminateFlowInDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/TerminateFlowInDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployed-flows/update-flow-in-deployment:
    post:
      summary: Updates a flow deployment.
      description: Updates a flow deployment.
      operationId: updateFlowInDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload,df
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Update Flow In Deployment Request
          required: true
          schema:
            $ref: '#/definitions/UpdateFlowInDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/UpdateFlowInDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/abort-asset-update-request:
    post:
      summary: Aborts asset update request.
      description: Aborts an asset update request for a given deployment.
      operationId: abortAssetUpdateRequest
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Abort Asset Update Request
          required: true
          schema:
            $ref: '#/definitions/AbortAssetUpdateRequestRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/AbortAssetUpdateRequestResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/abort-deployment-request:
    post:
      summary: Aborts a deployment request.
      description: Aborts a deployment request.
      operationId: abortDeploymentRequest
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Abort Deployment Request
          required: true
          schema:
            $ref: '#/definitions/AbortDeploymentRequestRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/AbortDeploymentRequestResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/cancel-change-flow-version:
    post:
      summary: Cancel change flow version for an existing deployment. Deprecated, use cancel-change-flow-version-in-deployment.
      description: Cancel change flow version for an existing deployment.
      operationId: cancelChangeFlowVersion
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Cancel Change Flow Version Request
          required: true
          schema:
            $ref: '#/definitions/CancelChangeFlowVersionRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CancelChangeFlowVersionResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
      deprecated: true
  /dfx/api/rpc-v1/deployments/cancel-nifi-version-update:
    post:
      summary: Cancels a NiFi version update for a deployment.
      description: Cancels a NiFi version update for a deployment.
      operationId: cancelNifiVersionUpdate
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Cancel NiFi Version Update
          required: true
          schema:
            $ref: '#/definitions/CancelNifiVersionUpdateRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CancelNifiVersionUpdateResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/change-flow-version:
    post:
      summary: Change flow version of a running deployment. Deprecated, use change-flow-version-in-deployment.
      description: Change flow version of a running deployment.
      operationId: changeFlowVersion
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Change Flow Version Request
          required: true
          schema:
            $ref: '#/definitions/ChangeFlowVersionRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ChangeFlowVersionResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
      deprecated: true
  /dfx/api/rpc-v1/deployments/create-asset-update-request:
    post:
      summary: Create asset update request.
      description: Create an update request for modifying the assets of a given deployment.
      operationId: createAssetUpdateRequest
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Create Asset Update Request
          required: true
          schema:
            $ref: '#/definitions/CreateAssetUpdateRequestRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CreateAssetUpdateRequestResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/create-deployment:
    post:
      summary: Creates a deployment.
      description: Creates a deployment.
      operationId: createDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Create Deployment Request
          required: true
          schema:
            $ref: '#/definitions/CreateDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CreateDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/create-reporting-task:
    post:
      summary: Creates a reporting task.
      description: Creates a reporting task in a deployment.
      operationId: createReportingTask
      x-workload: true
      x-client-only: true
      x-extensions: workload,df
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Create Reporting Task
          required: true
          schema:
            $ref: '#/definitions/CreateReportingTaskRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CreateReportingTaskResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/delete-reporting-task:
    post:
      summary: Deletes a reporting task.
      description: Deletes a reporting task from a deployment.
      operationId: deleteReportingTask
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Delete Reporting Task
          required: true
          schema:
            $ref: '#/definitions/DeleteReportingTaskRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/DeleteReportingTaskResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/export-deployment:
    post:
      summary: Export deployment configuration.
      description: Exports deployment configuration.
      operationId: exportDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Export Deployment Request
          required: true
          schema:
            $ref: '#/definitions/ExportDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ExportDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/get-deployment-configuration:
    post:
      summary: Retrieves the deployment configuration.
      description: Retrieves the deployment configuration.
      operationId: getDeploymentConfiguration
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Get Deployment Configuration Request
          required: true
          schema:
            $ref: '#/definitions/GetDeploymentConfigurationRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/GetDeploymentConfigurationResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/get-deployment-configuration-metadata:
    post:
      summary: Retrieves the deployment configuration metadata.
      description: Retrieves the deployment configuration metadata.
      operationId: getDeploymentConfigurationMetadata
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Get Deployment Configuration Metadata Request
          required: true
          schema:
            $ref: '#/definitions/GetDeploymentConfigurationMetadataRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/GetDeploymentConfigurationMetadataResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/get-deployment-request-details:
    post:
      summary: Retrieves deployment request details and registers the deployment request.
      description: Retrieves deployment request details and registers the deployment request.
      operationId: getDeploymentRequestDetails
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Get Deployment Request details
          required: true
          schema:
            $ref: '#/definitions/GetDeploymentRequestDetailsRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/GetDeploymentRequestDetailsResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/import-deployment:
    post:
      summary: Import deployment configuration.
      description: Imports deployment configuration from archive with provided archive name.
      operationId: importDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Import Deployment Configuration Request
          required: true
          schema:
            $ref: '#/definitions/ImportDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ImportDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/list-deployment-archives:
    post:
      summary: Lists the exported archive metadata of all deployments.
      description: Lists the exported archive metadata of all deployments.
      operationId: listDeploymentArchives
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: List Deployment Archives Request
          required: true
          schema:
            $ref: '#/definitions/ListDeploymentArchivesRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ListDeploymentArchivesResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/list-reporting-tasks:
    post:
      summary: Lists all reporting tasks for a deployment.
      description: Lists all reporting tasks for a deployment.
      operationId: listReportingTasks
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: List Reporting Tasks Request
          required: true
          schema:
            $ref: '#/definitions/ListReportingTasksRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ListReportingTasksResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/restart-deployment:
    post:
      summary: Restart a deployment.
      description: Initiates restart of a deployment.
      operationId: restartDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Restart Deployment Request
          required: true
          schema:
            $ref: '#/definitions/RestartDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/RestartDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/resume-deployment:
    post:
      summary: Resumes a deployment.
      description: Initiates the deployment resume.
      operationId: resumeDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Resume Deployment Request
          required: true
          schema:
            $ref: '#/definitions/ResumeDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ResumeDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/start-all-flows-in-deployment:
    post:
      summary: Starts all flows in a deployment.
      description: Starts all NiFi flows in a deployment.
      operationId: startAllFlowsInDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Start All Flows In Deployment Request
          required: true
          schema:
            $ref: '#/definitions/StartAllFlowsInDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/StartAllFlowsInDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/start-flow:
    post:
      summary: Starts a flow. Deprecated, use start-flow-in-deployment.
      description: Starts the NiFi flow of a deployment.
      operationId: startFlow
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Start Flow
          required: true
          schema:
            $ref: '#/definitions/StartFlowRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/StartFlowResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
      deprecated: true
  /dfx/api/rpc-v1/deployments/stop-all-flows-in-deployment:
    post:
      summary: Stops all flows in a deployment.
      description: Stops all NiFi flows in a deployment.
      operationId: stopAllFlowsInDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Stop All Flows In Deployment Request
          required: true
          schema:
            $ref: '#/definitions/StopAllFlowsInDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/StopAllFlowsInDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/stop-flow:
    post:
      summary: Stops a flow. Deprecated, use stop-flow-in-deployment.
      description: Stops the NiFi flow of a deployment.
      operationId: stopFlow
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Stop Flow
          required: true
          schema:
            $ref: '#/definitions/StopFlowRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/StopFlowResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
      deprecated: true
  /dfx/api/rpc-v1/deployments/suspend-deployment:
    post:
      summary: Suspends a deployment.
      description: Initiates the deployment suspend.
      operationId: suspendDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Suspend Deployment Request
          required: true
          schema:
            $ref: '#/definitions/SuspendDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/SuspendDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/terminate-deployment:
    post:
      summary: Terminates a deployment.
      description: Initiates the termination of a deployment.
      operationId: terminateDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Terminate Deployment Request
          required: true
          schema:
            $ref: '#/definitions/TerminateDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/TerminateDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/update-deployment:
    post:
      summary: Updates a deployment.
      description: Updates a deployment.
      operationId: updateDeployment
      x-workload: true
      x-client-only: true
      x-extensions: workload,df
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Update Deployment Request
          required: true
          schema:
            $ref: '#/definitions/UpdateDeploymentRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/UpdateDeploymentResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/update-nifi-version:
    post:
      summary: Updates the NiFi version of a deployment.
      description: Initiates the process of updating the NiFi version of a deployment.
      operationId: updateNifiVersion
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Update NiFi Version
          required: true
          schema:
            $ref: '#/definitions/UpdateNifiVersionRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/UpdateNifiVersionResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/deployments/upload-asset:
    post:
      summary: Upload an asset.
      description: Uploads an asset for a deployment request or asset update request.
      operationId: uploadAsset
      x-workload: true
      x-client-only: true
      x-extensions: workload,df
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Upload Asset
          required: true
          schema:
            $ref: '#/definitions/UploadAssetRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/UploadAssetResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/environments/list-nifi-versions:
    post:
      summary: Lists all supported NiFi versions.
      description: Lists all supported NiFi versions.
      operationId: listNifiVersions
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: List NiFi Versions Request
          required: true
          schema:
            $ref: '#/definitions/ListNifiVersionsRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ListNifiVersionsResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/fd-proxy/delete-flow-draft:
    post:
      summary: Deletes flow draft.
      description: Deletes flow draft.
      operationId: deleteFlowDraft
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Delete Flow Draft Request.
          required: true
          schema:
            $ref: '#/definitions/DeleteFlowDraftRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/DeleteFlowDraftResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/fd-proxy/list-flow-drafts:
    post:
      summary: Lists flow drafts.
      description: Lists flow drafts.
      operationId: listFlowDrafts
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: List Flow Drafts Request.
          required: true
          schema:
            $ref: '#/definitions/ListFlowDraftsRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ListFlowDraftsResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/fd-proxy/list-test-sessions:
    post:
      summary: Lists test sessions.
      description: Lists test sessions.
      operationId: listTestSessions
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: List Test Sessions Request.
          required: true
          schema:
            $ref: '#/definitions/ListTestSessionsRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ListTestSessionsResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/fd-proxy/restart-test-session:
    post:
      summary: Restarts test session.
      description: Restarts test session.
      operationId: restartTestSession
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Restart Test Session Request.
          required: true
          schema:
            $ref: '#/definitions/RestartTestSessionRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/RestartTestSessionResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/fd-proxy/suspend-test-session:
    post:
      summary: Suspends test session.
      description: Suspends test session.
      operationId: suspendTestSession
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Suspend Test Session Request.
          required: true
          schema:
            $ref: '#/definitions/SuspendTestSessionRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/SuspendTestSessionResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/fd-proxy/terminate-test-session:
    post:
      summary: Terminates test session.
      description: Terminates test session.
      operationId: terminateTestSession
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Terminate Test Session Request.
          required: true
          schema:
            $ref: '#/definitions/TerminateTestSessionRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/TerminateTestSessionResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/inbound-connection-endpoint-certificates/download-client-certificates-encoded:
    post:
      summary: Get Inbound Connection Endpoint Client Certificates (in PEM encoding)
      description: Get Inbound Connection Endpoint Client Certificates (in PEM encoding)
      operationId: getClientCertificatesEncoded
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Get Inbound Connection Endpoint client's certificates
          required: true
          schema:
            $ref: '#/definitions/InboundConnectionEndpointClientCertificatesRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/InboundConnectionEndpointClientCertificatesResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/inbound-connection-endpoints/create-inbound-connection-endpoint:
    post:
      summary: Create Inbound Connection Endpoint
      description: Create Inbound Connection Endpoint
      operationId: createInboundConnectionEndpoint
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Create Inbound Connection Endpoint request
          required: true
          schema:
            $ref: '#/definitions/CreateInboundConnectionEndpointRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CreateInboundConnectionEndpointResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/inbound-connection-endpoints/delete-inbound-connection-endpoint:
    post:
      summary: Delete Inbound Connection Endpoint
      description: Delete Inbound Connection Endpoint
      operationId: deleteInboundConnectionEndpoint
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Delete Inbound Connection Endpoint request
          required: true
          schema:
            $ref: '#/definitions/DeleteInboundConnectionEndpointRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/DeleteInboundConnectionEndpointResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/inbound-connection-endpoints/describe-inbound-connection-endpoint:
    post:
      summary: Describe Inbound Connection Endpoint
      description: Describe Inbound Connection Endpoint
      operationId: describeInboundConnectionEndpoint
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Describe Inbound Connection Endpoint request
          required: true
          schema:
            $ref: '#/definitions/DescribeInboundConnectionEndpointRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/DescribeInboundConnectionEndpointResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/inbound-connection-endpoints/list-inbound-connection-endpoints:
    post:
      summary: List Inbound Connection Endpoints
      description: List Inbound Connection Endpoints
      operationId: listInboundConnectionEndpoints
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: List Inbound Connection Endpoints request
          required: true
          schema:
            $ref: '#/definitions/ListInboundConnectionEndpointsRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ListInboundConnectionEndpointsResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/inbound-connection-endpoints/renew-certificates:
    post:
      summary: Renew Inbound Connection Endpoint certificates
      description: Submits a request for renewal of Inbound Connection Endpoint certificates
      operationId: renewInboundConnectionEndpointCertificates
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: body
          description: Inbound connection endpoint certificates renewal request
          required: true
          schema:
            $ref: '#/definitions/RenewInboundConnectionEndpointCertificateRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/RenewInboundConnectionEndpointCertificateResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/parameter-groups/create-parameter-group:
    post:
      summary: Creates a new parameter group.
      description: Creates a new parameter group with the specified configuration.
      operationId: createParameterGroup
      x-workload: true
      x-client-only: true
      x-extensions: workload,df
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Create Parameter Group Request.
          required: true
          schema:
            $ref: '#/definitions/CreateParameterGroupRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/CreateParameterGroupResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/parameter-groups/delete-parameter-group:
    post:
      summary: Deletes the parameter group.
      description: Deletes a parameter group if it is not associated with any resources.
      operationId: deleteParameterGroup
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Delete Parameter Group Request.
          required: true
          schema:
            $ref: '#/definitions/DeleteParameterGroupRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/DeleteParameterGroupResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/parameter-groups/describe-parameter-group:
    post:
      summary: Describes the parameter group with the given parameter group CRN.
      description: Describe a parameter group by its CRN.
      operationId: describeParameterGroup
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Describe Parameter Group Request.
          required: true
          schema:
            $ref: '#/definitions/DescribeParameterGroupRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/DescribeParameterGroupResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/parameter-groups/duplicate-parameter-group:
    post:
      summary: Duplicates the parameter group with the given CRN under the given new name.
      description: Creates a duplicate of an existing parameter group with a new name.
      operationId: duplicateParameterGroup
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Duplicate Parameter Group Request.
          required: true
          schema:
            $ref: '#/definitions/DuplicateParameterGroupRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/DuplicateParameterGroupResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/parameter-groups/list-parameter-groups:
    post:
      summary: Lists all known parameter groups.
      description: Lists all parameter groups with optional filtering by project IDs and search term.
      operationId: listParameterGroups
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: List Parameter Groups Request.
          required: true
          schema:
            $ref: '#/definitions/ListParameterGroupsRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ListParameterGroupsResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/parameter-groups/update-parameter-group:
    post:
      summary: Updates the parameter group for the given parameter group CRN.
      description: Updates an existing parameter group with new configuration. A parameter with only its name set indicates deletion. A parameter matching an existing name indicates an update. A parameter with a new name indicates an addition.
      operationId: updateParameterGroup
      x-workload: true
      x-client-only: true
      x-extensions: workload,df
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Update Parameter Group Request.
          required: true
          schema:
            $ref: '#/definitions/UpdateParameterGroupRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/UpdateParameterGroupResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/parameter-groups/upload-parameter-asset:
    post:
      summary: Uploads a parameter asset.
      description: Uploads an asset for a parameter in a parameter group.
      operationId: uploadParameterAsset
      x-workload: true
      x-client-only: true
      x-extensions: workload,df
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Upload Parameter Asset Request.
          required: true
          schema:
            $ref: '#/definitions/UploadParameterAssetRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/UploadParameterAssetResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
  /dfx/api/rpc-v1/workload-resources/reassign-resources:
    post:
      summary: Modifies the project assignment of the given workload resources.
      description: Modifies the project assignment of the given workload resources.
      operationId: reassignResources
      x-workload: true
      x-client-only: true
      x-extensions: workload
      tags:
        - CDFLocalRPCAPIVersion1
      parameters:
        - in: body
          name: input
          description: Reassign Resources Request
          required: true
          schema:
            $ref: '#/definitions/ReassignResourcesRequest'
      responses:
        200:
          description: Expected response to a valid request.
          schema:
            $ref: '#/definitions/ReassignResourcesResponse'
        default:
          description: The default response on an error.
          schema:
            $ref: '#/definitions/Error'
definitions:
  AWSNodeStorageProfile:
    type: object
    description: Custom AWS node storage parameters.
    x-workload: true
    x-client-only: true
    properties:
      repoSize:
        type: integer
        format: int32
        description: The size of the repository in GB.
      iops:
        type: string
        description: The IOPS of the repository.
      throughput:
        type: string
        description: The throughput of the repository.
  AWSNodeStorageProfileMetaData:
    type: object
    description: Custom AWS node storage limits.
    x-workload: true
    x-client-only: true
    properties:
      minRepoSize:
        type: integer
        format: int32
        description: The minimum size of the volume in GB.
      maxRepoSize:
        type: integer
        format: int32
        description: The maximum size of the volume in GB.
      iops:
        type: array
        description: The IOPS values of the volume.
        items:
          type: string
      throughput:
        type: array
        description: The throughput values of the volume.
        items:
          type: string
  AbortAssetUpdateRequestRequest:
    type: object
    description: Request object for aborting an asset update request
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - assetUpdateRequestCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
      assetUpdateRequestCrn:
        type: string
        description: The CRN of the asset update request
      deployedFlowCrn:
        type: string
        description: The CRN of the deployed flow.  If specified, this is used to validate that the specified asset update request indeed applies to this flow.
  AbortAssetUpdateRequestResponse:
    type: object
    description: Response object for aborting an asset update request
    x-workload: true
    x-client-only: true
  AbortDeploymentRequestRequest:
    type: object
    description: Request object for abort deployment request.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentRequestCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentRequestCrn:
        type: string
        description: The deployment request crn.
  AbortDeploymentRequestResponse:
    type: object
    description: Response object for aborting a deployment request.
    x-workload: true
    x-client-only: true
  AbortFlowRequestInDeploymentRequest:
    type: object
    description: Request object for abort flow deployment request.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deployedFlowRequestCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deployedFlowRequestCrn:
        type: string
        description: The flow deployment request crn.
  AbortFlowRequestInDeploymentResponse:
    type: object
    description: Response object for aborting a flow deployment request.
    x-workload: true
    x-client-only: true
  AddFlowToDeploymentRequest:
    type: object
    description: Request object to add a flow to an existing deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - configurationVersion
      - deployedFlowRequestCrn
      - deploymentCrn
      - name
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      name:
        type: string
        description: The name of the deployed NiFi flow.
      configurationVersion:
        type: integer
        format: int32
        description: The version of this configuration.
      deploymentCrn:
        type: string
        description: The CRN of the deployment.
      deployedFlowRequestCrn:
        type: string
        description: The CRN of the flow deployment request.
      parameterGroups:
        type: array
        description: The list of flow parameter groups.
        items:
          $ref: '#/definitions/FlowParameterGroup'
      kpis:
        type: array
        description: The list of configured KPIs.
        items:
          $ref: '#/definitions/ConfiguredKpi'
      autoStartFlow:
        type: boolean
        description: Indicates whether or not the flow should be started during deployment creation.
      ignoreCustomNarConfigurationCheck:
        type: boolean
        description: When specified, ignore the check to validate if deployment has custom NARs configured when the flow definition contains custom components.
      ignoreCustomPythonConfigurationCheck:
        type: boolean
        description: When specified, ignore the check to validate if deployment has custom Python configured when the flow definition contains custom Python processors.
      ignoreDeploymentInboundConfigurationChecks:
        type: boolean
        description: When specified, ignore the check to validate if deployment has inbound connection configured for all listen components.
      projectCrn:
        type: string
        description: The CRN of the project to which the deployment belongs, used for authorization.
      useSharedParameterGroupCrn:
        type: string
        description: The CRN of the shared group to use. All parameters of the flow should be present in the provided shared parameter group.
  AddFlowToDeploymentResponse:
    type: object
    description: Response object from creating a deployment.
    x-workload: true
    x-client-only: true
    properties:
      deployedFlow:
        description: The deployment.
        $ref: '#/definitions/RpcDeployedFlow'
  AlertFrequencyTolerance:
    type: object
    description: The alert frequency tolerance unit choices, including a default
    x-workload: true
    x-client-only: true
    required:
      - units
    properties:
      units:
        type: array
        description: The legal alert frequency values
        items:
          $ref: '#/definitions/AlertFrequencyUnit'
      defaultUnitId:
        type: string
        description: The default alert frequency ID to use as the default chooser value
  AlertFrequencyUnit:
    type: object
    description: The alert frequency unit to use in KPI tolerances and metrics
    x-workload: true
    x-client-only: true
    required:
      - id
      - label
    properties:
      id:
        type: string
        description: The id of the frequency unit
        enum:
          - SECONDS
          - MINUTES
          - HOURS
          - DAYS
      label:
        type: string
        description: The user-friendly label of the frequency unit
      abbreviation:
        type: string
        description: The abbreviation for frequency unit
  AssetReference:
    type: object
    description: A reference to an asset used in a flow parameter
    x-workload: true
    x-client-only: true
    properties:
      id:
        type: string
        description: The ID of the asset
      name:
        type: string
        description: The name of the asset
      path:
        type: string
        description: The path of the asset
      version:
        type: string
        description: The version of the asset
      environmentProvided:
        type: boolean
        description: Whether or not the asset is provided automatically by the environment. If true, the asset cannot removed or replaced.
  AzureNodeStorageProfileMetaData:
    type: object
    description: Azure node storage profile metadata.
    x-workload: true
    x-client-only: true
    properties:
      profileName:
        type: string
        description: Azure node storage profile name.
      repoSize:
        type: integer
        format: int32
        description: Azure node storage profile repo size.
      iops:
        type: string
        description: Azure node storage profile iops.
      throughput:
        type: string
        description: Azure node storage profile throughput.
  BasicClusterSize:
    type: object
    description: Cluster scaling parameters.
    x-workload: true
    x-client-only: true
    required:
      - name
    properties:
      name:
        type: string
        description: The name of this Cluster Size.
        enum:
          - EXTRA_SMALL
          - SMALL
          - MEDIUM
          - LARGE
          - CUSTOM
      coresPerNode:
        type: number
        format: double
        description: The number of CPU Cores per node (will be truncated to the nearest integer).
      memoryLimit:
        type: number
        format: double
        description: The memory limit (will be truncated to the nearest integer).
  CancelChangeFlowVersionInDeploymentRequest:
    type: object
    description: Request object for cancel change flow version of a flow deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deployedFlowCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The crn of the deployment to cancel change flow deployment version.
      deployedFlowCrn:
        type: string
        description: The crn of the deployment to cancel change flow deployment version.
  CancelChangeFlowVersionInDeploymentResponse:
    type: object
    description: Response object for cancel change flow version of a flow deployment.
    x-workload: true
    x-client-only: true
    properties:
      deployedFlowConfiguration:
        description: The deployed flow configuration.
        $ref: '#/definitions/RpcDeployedFlowConfiguration'
  CancelChangeFlowVersionRequest:
    type: object
    description: Request object for cancel change flow version of a deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The crn of the deployment to cancel change flow version.
  CancelChangeFlowVersionResponse:
    type: object
    description: Response object for cancel change flow version of a deployment.
    x-workload: true
    x-client-only: true
    properties:
      deploymentConfiguration:
        description: The deployment configuration.
        $ref: '#/definitions/RpcDeploymentConfiguration'
  CancelNifiVersionUpdateRequest:
    type: object
    description: Request object for cancelling a NiFi version update for a deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
  CancelNifiVersionUpdateResponse:
    type: object
    description: Response object for cancelling a NiFi version update for a deployment.
    x-workload: true
    x-client-only: true
    properties:
      deployment:
        description: The deployment.
        $ref: '#/definitions/RpcDeployment'
  ChangeFlowVersionInDeploymentRequest:
    type: object
    description: Request object for change flow version of a flow deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deployedFlowCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The crn of the deployment being updated.
      deployedFlowCrn:
        type: string
        description: The crn of the flow deployment being updated.
      parameterGroups:
        type: array
        description: The list of flow parameter groups.
        items:
          $ref: '#/definitions/FlowParameterGroup'
      kpis:
        type: array
        description: The list of configured KPIs.
        items:
          $ref: '#/definitions/ConfiguredKpi'
      strategy:
        type: string
        description: The strategy to use during change flow version.
        enum:
          - STOP_AND_PROCESS_DATA
          - STOP_AND_EMPTY_QUEUES
          - ONLY_RESTART_AFFECTED_COMPONENTS
      waitForFlowToStopInMinutes:
        type: integer
        format: int32
        description: The max time in minutes to wait for the flow to process data.
      ignoreCustomNarConfigurationCheck:
        type: boolean
        description: When specified, ignore the check to validate if deployment has custom NARs configured when the flow definition contains custom components.
      ignoreCustomPythonConfigurationCheck:
        type: boolean
        description: When specified, ignore the check to validate if deployment has custom Python configured when the flow definition contains custom Python processors.
      ignoreDeploymentInboundConfigurationChecks:
        type: boolean
        description: When specified, ignore the check to validate if deployment has inbound connection configured for all listen components.
      deploymentRequestCrn:
        type: string
        description: The CRN of the deployment request. Required for a new deployment.
      assetUpdateRequestCrn:
        type: string
        description: The CRN of the asset update request. Required when updating assets of an existing deployment.
      updateSharedParameterGroupCrns:
        type: array
        description: The CRNs of the shared parameter groups to update. They will be updated across all parameter groups.
        items:
          type: string
  ChangeFlowVersionInDeploymentResponse:
    type: object
    description: Response object for change flow version of a flow deployment.
    x-workload: true
    x-client-only: true
    properties:
      deployedFlowConfiguration:
        description: The deployed flow configuration.
        $ref: '#/definitions/RpcDeployedFlowConfiguration'
  ChangeFlowVersionRequest:
    type: object
    description: Request object for change flow version of a deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The crn of the deployment being updated.
      parameterGroups:
        type: array
        description: The list of flow parameter groups.
        items:
          $ref: '#/definitions/FlowParameterGroup'
      kpis:
        type: array
        description: The list of configured KPIs.
        items:
          $ref: '#/definitions/ConfiguredKpi'
      strategy:
        type: string
        description: The strategy to use during change flow version.
        enum:
          - STOP_AND_PROCESS_DATA
          - STOP_AND_EMPTY_QUEUES
          - ONLY_RESTART_AFFECTED_COMPONENTS
      waitForFlowToStopInMinutes:
        type: integer
        format: int32
        description: The max time in minutes to wait for the flow to process data.
      ignoreCustomNarConfigurationCheck:
        type: boolean
        description: When specified, ignore the check to validate if deployment has custom NARs configured when the flow definition contains custom components.
      ignoreCustomPythonConfigurationCheck:
        type: boolean
        description: When specified, ignore the check to validate if deployment has custom Python configured when the flow definition contains custom Python processors.
      ignoreDeploymentInboundConfigurationChecks:
        type: boolean
        description: When specified, ignore the check to validate if deployment has inbound connection configured for all listen components.
      deploymentRequestCrn:
        type: string
        description: The CRN of the deployment request.
      assetUpdateRequestCrn:
        type: string
        description: The CRN of the asset update request. Required when updating assets of an existing deployment.
  ChangeFlowVersionResponse:
    type: object
    description: Response object for change flow version of a deployment.
    x-workload: true
    x-client-only: true
    properties:
      deploymentConfiguration:
        description: The deployment configuration.
        $ref: '#/definitions/RpcDeploymentConfiguration'
  ClusterSize:
    type: object
    description: Cluster scaling parameters.
    x-workload: true
    x-client-only: true
    required:
      - name
    properties:
      name:
        type: string
        description: The name of this Cluster Size.
        enum:
          - EXTRA_SMALL
          - SMALL
          - MEDIUM
          - LARGE
          - CUSTOM
      coresPerNode:
        type: number
        format: double
        description: The number of CPU Cores per node (will be truncated to the nearest integer).
      memoryLimit:
        type: number
        format: double
        description: The memory limit (will be truncated to the nearest integer).
      text:
        type: string
        description: The text (i.e., the human readable name) for this Cluster Size.
      heapSize:
        type: number
        format: double
        description: The heap size.
      enabled:
        type: boolean
        description: Flag to signal whether this ClusterSize is enabled.
      customClusterSizeLimits:
        description: Custom cluster size limits.
        $ref: '#/definitions/CustomClusterSizeLimits'
  ConfiguredAlert:
    type: object
    description: An alert configuration that specifies a configured frequency with lower and/or upper thresholds
    x-workload: true
    x-client-only: true
    properties:
      thresholdMoreThan:
        description: The optional moreThan threshold that should trigger an alert; at least one of thresholdMoreThan and thresholdLessThan is required
        $ref: '#/definitions/ConfiguredAlertThreshold'
      thresholdLessThan:
        description: The optional lessThan threshold that should trigger an alert
        $ref: '#/definitions/ConfiguredAlertThreshold'
      frequencyTolerance:
        description: The configured alert frequency tolerance for the KPI
        $ref: '#/definitions/ConfiguredAlertFrequencyTolerance'
  ConfiguredAlertFrequencyTolerance:
    type: object
    description: An alert configuration frequency tolerance for measuring an amount of time and unit for alert triggering
    x-workload: true
    x-client-only: true
    required:
      - unit
      - value
    properties:
      unit:
        description: The unit of time controlling how long a metric value can persist outside its boundaries before an alert is generated
        $ref: '#/definitions/AlertFrequencyUnit'
      value:
        type: number
        format: double
        description: The amount of time, associated with the given unit, a metric value can persist outside its boundaries before an alert is generated
  ConfiguredAlertThreshold:
    type: object
    description: A configured alert threshold to pair together a statistical unit and value
    x-workload: true
    x-client-only: true
    required:
      - unitId
      - value
    properties:
      unitId:
        type: string
        description: The identifier of the alert threshold unit to associate with the given threshold value
      value:
        type: number
        format: double
        description: The threshold value whose triggering causes an alert
  ConfiguredKpi:
    type: object
    description: An instantiated KPI specifying a metric on which to alert
    x-workload: true
    x-client-only: true
    required:
      - metricId
    properties:
      metricId:
        type: string
        description: The id of the associated metric
      id:
        type: string
        description: The id of the KPI; used only when viewing and editing existing KPIs
      metricComponentType:
        type: string
        description: The component type of the associated metric
        enum:
          - SYSTEM
          - NIFI_FLOW
          - NIFI_PROCESSOR
          - NIFI_PROCESS_GROUP
          - NIFI_CONNECTION
      alert:
        description: The alert specification for the associated metric
        $ref: '#/definitions/ConfiguredAlert'
      componentId:
        type: string
        description: The optional process group ID, processor ID, or connection ID. This is a composite ID containing a chain of process group IDs representing the component's full ancestry
  CreateAssetUpdateRequestRequest:
    type: object
    description: Request object for creating an asset update request
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
      deployedFlowCrn:
        type: string
        description: The CRN of the deployed flow.  If unspecified and there is exactly one flow in the deployment, the asset will be uploaded to that flow.
  CreateAssetUpdateRequestResponse:
    type: object
    description: Response object for creating an asset update request
    x-workload: true
    x-client-only: true
    properties:
      assetUpdateRequestCrn:
        type: string
        description: The CRN of the created asset update request
  CreateCustomNarConfigurationRequest:
    type: object
    description: Request object for creating a custom NAR configuration.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - configurationVersion
      - password
      - storageLocation
      - username
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      username:
        type: string
        description: The username used to access the storage location.
      password:
        type: string
        description: The password used to access the storage location.
      storageLocation:
        type: string
        description: The storage location, such as an S3 bucket or ADLS container.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration.
      projectCrn:
        type: string
        description: The CRN of the project.
  CreateCustomNarConfigurationResponse:
    type: object
    description: Response for creating a custom NAR configuration.
    x-workload: true
    x-client-only: true
    required:
      - configurationVersion
      - password
      - storageLocation
      - username
    properties:
      username:
        type: string
        description: The username used to access the storage location.
      password:
        type: string
        description: The password used to access the storage location.
      storageLocation:
        type: string
        description: The storage location, such as an S3 bucket or ADLS container.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration.
      projectCrn:
        type: string
        description: The CRN of the project.
      crn:
        type: string
        description: The CRN of the custom resource configuration to update.
  CreateCustomPythonConfigurationRequest:
    type: object
    description: Request object for creating a custom Python configuration.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - configurationVersion
      - password
      - storageLocation
      - username
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      username:
        type: string
        description: The username used to access the storage location.
      password:
        type: string
        description: The password used to access the storage location.
      storageLocation:
        type: string
        description: The storage location, such as an S3 bucket or ADLS container.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration.
      projectCrn:
        type: string
        description: The CRN of the project.
  CreateCustomPythonConfigurationResponse:
    type: object
    description: Response for creating a custom Python configuration.
    x-workload: true
    x-client-only: true
    required:
      - configurationVersion
      - password
      - storageLocation
      - username
    properties:
      username:
        type: string
        description: The username used to access the storage location.
      password:
        type: string
        description: The password used to access the storage location.
      storageLocation:
        type: string
        description: The storage location, such as an S3 bucket or ADLS container.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration.
      projectCrn:
        type: string
        description: The CRN of the project.
      crn:
        type: string
        description: The CRN of the custom resource configuration to update.
  CreateDeploymentRequest:
    type: object
    description: Request object to create a deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - configurationVersion
      - deploymentRequestCrn
      - name
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      configurationVersion:
        type: integer
        format: int32
        description: The version of this configuration.
      name:
        type: string
        description: The name of the deployment.
      deploymentRequestCrn:
        type: string
        description: The CRN of the deployment request.
      parameterGroups:
        type: array
        description: The list of flow parameter groups.
        items:
          $ref: '#/definitions/FlowParameterGroup'
      autoScalingEnabled:
        type: boolean
        description: Specifies that auto-scaling should be enabled.
      flowMetricsScalingEnabled:
        type: boolean
        description: Specifies that Flow metrics should be enabled for scaling.
      autoScaleMinNodes:
        type: integer
        format: int32
        description: The minimum number of nodes that the cluster should allocate. May only be specified when autoScalingEnabled is true.
      autoScaleMaxNodes:
        type: integer
        format: int32
        description: The maximum number of nodes that the cluster should scale to. May only be specified when autoScalingEnabled is true.
      staticNodeCount:
        type: integer
        format: int32
        description: The static number of nodes that the cluster should allocate. May only be specified when autoScalingEnabled is false.
      kpis:
        type: array
        description: The list of configured KPIs.
        items:
          $ref: '#/definitions/ConfiguredKpi'
      deployedFlowName:
        type: string
        description: The name of the deployed flow.
      cfmNifiVersion:
        type: string
        description: The CFM NiFi version associated with the deployment.
      autoStartFlow:
        type: boolean
        description: Indicates whether or not the flow should be started during deployment creation.
      clusterSize:
        description: The size of the cluster to deploy.
        $ref: '#/definitions/BasicClusterSize'
      inboundHostname:
        type: string
        description: The FQDN of inbound hostname or just the prefix part.
      listenComponents:
        type: array
        description: Listen components port and protocol data.
        items:
          $ref: '#/definitions/ListenComponent'
      inboundConnectionAuthorizedIpRanges:
        type: array
        description: Set of authorized CIDR ranges for the inbound connections.
        uniqueItems: true
        items:
          type: string
      nodeStorageProfileName:
        type: string
        description: The node storage profile name.
        enum:
          - STANDARD_AWS
          - STANDARD_AZURE
          - TEST_SESSION_AWS
          - TEST_SESSION_AZURE
          - PERFORMANCE_AWS
          - PERFORMANCE_AZURE
          - LOCAL_K8S
          - CUSTOM_AWS
          - CUSTOM_AZURE
      nodeStorage:
        description: The node storage data.
        $ref: '#/definitions/NodeStorage'
      pythonWorkDirectorySize:
        type: integer
        format: int32
        description: The size of the extra volume mounted for flows containing python.
      ignoreDeploymentInboundConfigurationChecks:
        type: boolean
        description: When specified, ignore the check to validate if deployment has inbound connection configured for all listen components.
      customNarConfigurationCrn:
        type: string
        description: The CRN of the custom NAR configuration.
      customPythonConfigurationCrn:
        type: string
        description: The CRN of the custom Python configuration.
      projectCrn:
        type: string
        description: The CRN of the project.
      useSharedParameterGroupCrn:
        type: string
        description: The CRN of the shared group to use. All parameters of the flow should be present in the provided shared parameter group.
  CreateDeploymentResponse:
    type: object
    description: Response object from creating a deployment.
    x-workload: true
    x-client-only: true
    properties:
      deployment:
        description: The deployment.
        $ref: '#/definitions/RpcDeployment'
  CreateInboundConnectionEndpointRequest:
    type: object
    description: Request object that contains FQDN for the Inbound Connection Endpoint to create
    x-workload: true
    x-client-only: true
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      hostname:
        type: string
        description: Fully qualified domain name
      projectCrn:
        type: string
        description: The project CRN to associate this endpoint with, or null to not associate with a project
    required:
      - environmentCrn
  CreateInboundConnectionEndpointResponse:
    type: object
    description: Response object returned during Inbound Connection Endpoint creation
    x-workload: true
    x-client-only: true
    properties:
      inboundConnectionEndpointSummary:
        description: Data that describes the Inbound Connection Endpoint.
        $ref: '#/definitions/InboundConnectionEndpointSummary'
  CreateParameterGroupRequest:
    type: object
    description: Request object for creating a parameter group.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - name
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      name:
        type: string
        description: The name of the parameter group.
      description:
        type: string
        description: The description of the parameter group.
      parameters:
        type: array
        description: The parameters in this group.
        uniqueItems: true
        items:
          $ref: '#/definitions/ParameterRequest'
      projectCrn:
        type: string
        description: Optional project CRN that parameter group is assigned to.
  CreateParameterGroupResponse:
    type: object
    description: Response object for creating a parameter group.
    x-workload: true
    x-client-only: true
    properties:
      parameterGroup:
        description: The created parameter group.
        $ref: '#/definitions/ParameterGroupSummary'
  CreateReportingTaskRequest:
    type: object
    description: Request object for creating a reporting task
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - filePath
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      filePath:
        type: string
        description: The full local path to the file containing the reporting task definition
      deploymentCrn:
        type: string
        description: The CRN of the deployment.
  CreateReportingTaskResponse:
    type: object
    description: Response for creating a reporting task.
    x-workload: true
    x-client-only: true
    properties:
      crn:
        type: string
        description: The CRN of the created reporting task.
  CustomClusterSizeLimits:
    type: object
    description: Limits for the custom cluster size type.
    x-workload: true
    x-client-only: true
    properties:
      maximumCpuCoresPerNode:
        type: number
        format: double
        description: The maximum number of CPU Cores per node, that fit on the node type.
      minimumCpuCoresPerNode:
        type: number
        format: double
        description: The minimum number of CPU Cores per node, that fit on the node type.
      maximumMemoryLimit:
        type: number
        format: double
        description: The upper memory limit that is available on the node type.
      minimumMemoryLimit:
        type: number
        format: double
        description: The lower memory limit that is available on the node type.
  DeleteCustomNarConfigurationRequest:
    type: object
    description: Request object for deleting a custom NAR configuration by CRN.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - configurationVersion
      - customNarConfigurationCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      customNarConfigurationCrn:
        type: string
        description: The CRN of the custom NAR configuration to delete.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration
  DeleteCustomNarConfigurationResponse:
    type: object
    description: Response object for deleting a custom NAR configuration.
    x-workload: true
    x-client-only: true
    required:
      - configurationVersion
      - password
      - storageLocation
      - username
    properties:
      username:
        type: string
        description: The username used to access the storage location.
      password:
        type: string
        description: The password used to access the storage location.
      storageLocation:
        type: string
        description: The storage location, such as an S3 bucket or ADLS container.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration.
      projectCrn:
        type: string
        description: The CRN of the project.
      crn:
        type: string
        description: The CRN of the custom resource configuration to update.
  DeleteCustomPythonConfigurationRequest:
    type: object
    description: Request object for deleting a custom Python configuration by CRN.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - configurationVersion
      - customPythonConfigurationCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      customPythonConfigurationCrn:
        type: string
        description: The CRN of the custom Python configuration to delete.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration
  DeleteCustomPythonConfigurationResponse:
    type: object
    description: Response object for deleting a custom python configuration.
    x-workload: true
    x-client-only: true
    required:
      - configurationVersion
      - password
      - storageLocation
      - username
    properties:
      username:
        type: string
        description: The username used to access the storage location.
      password:
        type: string
        description: The password used to access the storage location.
      storageLocation:
        type: string
        description: The storage location, such as an S3 bucket or ADLS container.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration.
      projectCrn:
        type: string
        description: The CRN of the project.
      crn:
        type: string
        description: The CRN of the custom resource configuration to update.
  DeleteFlowDraftRequest:
    type: object
    description: Request object for deleting a flow designer draft.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - flowDraftCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      flowDraftCrn:
        type: string
        description: The CRN of the flow designer draft to be deleted.
  DeleteFlowDraftResponse:
    type: object
    description: Response object for deleting a flow draft.
    x-workload: true
    x-client-only: true
    properties:
      flowMetadata:
        description: The metadata of the deleted flow designer draft.
        $ref: '#/definitions/FlowMetadata'
  DeleteInboundConnectionEndpointRequest:
    type: object
    description: Request object that contains the identifier of the Inbound Connection Endpoint to delete
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - crn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      crn:
        type: string
        description: The CRN of the Inbound Connection Endpoint
  DeleteInboundConnectionEndpointResponse:
    type: object
    description: Response object returned during deletion of an Inbound Connection Endpoint
    x-workload: true
    x-client-only: true
  DeleteParameterGroupRequest:
    type: object
    description: Request object for deleting a parameter group.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - parameterGroupCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      parameterGroupCrn:
        type: string
        description: The parameter group CRN.
  DeleteParameterGroupResponse:
    type: object
    description: Response object for deleting a parameter group.
    x-workload: true
    x-client-only: true
  DeleteReportingTaskRequest:
    type: object
    description: Request object for deleting a reporting task
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentCrn
      - reportingTaskCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The CRN of the deployment.
      reportingTaskCrn:
        type: string
        description: The CRN of the reporting task
  DeleteReportingTaskResponse:
    type: object
    description: Response for deleting a reporting task.
    x-workload: true
    x-client-only: true
    properties:
      crn:
        type: string
        description: The CRN of the deleted reporting task.
  DeployedFlow:
    type: object
    description: A deployed flow on a NiFi cluster
    x-workload: true
    x-client-only: true
    required:
      - configurationVersion
      - deploymentId
      - id
      - status
      - targetProcessGroupId
    properties:
      id:
        type: string
        description: The id of the deployed flow.
      status:
        description: The status of the deployed flow.
        $ref: '#/definitions/DeployedFlowStatus'
      deploymentId:
        type: string
        description: The id of the deployment.
      configurationVersion:
        type: integer
        format: int32
        description: The version of this configuration.
      targetProcessGroupId:
        type: string
        description: The id of the process group in NiFi.
      name:
        type: string
        description: The name of the deployed flow.
      activeInfoAlertCount:
        type: integer
        format: int64
        description: Current count of active alerts classified as an info.
      activeWarningAlertCount:
        type: integer
        format: int64
        description: Current count of active alerts classified as a warning.
      activeErrorAlertCount:
        type: integer
        format: int64
        description: Current count of active alerts classified as an error.
      environmentId:
        type: string
        description: The id of the environment.
      environment:
        description: Simple information about the environment of the deployment.
        $ref: '#/definitions/DfxLocalMeta'
      deploymentName:
        type: string
        description: The name of the deployment.
      crn:
        type: string
        description: The CRN of the deployed flow.
      projectId:
        type: string
        description: The id of the project the deployment belongs to, or null if does not belong to a project.
      project:
        description: Simple information about the project this deployment belongs to, or null if does not belong to a project.
        $ref: '#/definitions/ProjectMeta'
      artifactName:
        type: string
        description: The name of the flow definition.
      catalogItemId:
        type: string
        description: The id of the catalog item. Will either be the flow definition id or the id of the imported ready flow.
      flowVersion:
        type: integer
        format: int32
        description: The version of the flow.
      flowVersionCrn:
        type: string
        description: The deployed flow definition version CRN.
      flowCrn:
        type: string
        description: The deployed flow definition CRN.
      creatorCrn:
        type: string
        description: The CRN of the user who deployed the flow.
      artifactTypeName:
        type: string
        description: The type of artifact of the flow definition.
      deployedByUsername:
        type: string
        description: The username of the person who deployed the flow.
      deployedByName:
        type: string
        description: The name of the person who deployed the flow.
      flowVersionId:
        type: string
        description: The deployed flow definition version id.
      created:
        type: integer
        format: int64
        description: Timestamp of the first time the flow deployed into a NiFi cluster.
      updated:
        type: integer
        format: int64
        description: Timestamp of the last time the deployed flow was modified.
      validActions:
        type: array
        description: Valid actions that can be applied to the deployed flow in its current state.
        uniqueItems: true
        items:
          type: string
          enum:
            - VIEW_NIFI
            - START_FLOW
            - STOP_FLOW
            - EDIT
            - TERMINATE
            - CHANGE_FLOW_VERSION
            - RETRY_CHANGE_FLOW_VERSION
            - CANCEL_CHANGE_FLOW_VERSION
      dataSent:
        type: array
        description: The dataSent values, if requested.
        items:
          $ref: '#/definitions/MetricValue'
      dataReceived:
        type: array
        description: The dataReceived values, if requested.
        items:
          $ref: '#/definitions/MetricValue'
  DeployedFlowMetadata:
    type: object
    description: Contains metadata about a deployed flow.
    x-workload: true
    x-client-only: true
    properties:
      deployedFlowName:
        type: string
        description: The name of the deployed flow.
      flowDefinitionName:
        type: string
        description: The name of the flow definition.
  DeployedFlowStatus:
    type: object
    description: The state and state message associated with a deployed flow.
    x-workload: true
    x-client-only: true
    required:
      - state
    properties:
      state:
        type: string
        description: The state that the deployed flow is currently in.
        enum:
          - DEPLOYING
          - GOOD_HEALTH
          - CONCERNING_HEALTH
          - BAD_HEALTH
          - IMPORTING_FLOW
          - STARTING_FLOW
          - STOPPING_FLOW
          - FLOW_STOPPED
          - CHANGING_FLOW_VERSION
          - UPDATING
          - TERMINATING
          - TERMINATED
          - DEPLOYMENT_SUSPENDED
          - UNKNOWN
      detailedState:
        type: string
        description: The detailed state that the deployed flow is currently in.
        enum:
          - NEW
          - FAILED_TO_INITIATE
          - GOOD_HEALTH
          - IMPORTING_FLOW
          - FAILED_TO_IMPORT
          - STOPPING_FLOW
          - FLOW_STOPPED
          - FAILED_TO_STOP_FLOW
          - STARTING_FLOW
          - FAILED_TO_START_FLOW
          - FAILED_TO_UPDATE
          - UPDATING
          - CHANGING_FLOW_VERSION
          - FAILED_TO_PREPARE_FOR_CHANGE_FLOW_VERSION
          - FAILED_TO_CHANGE_FLOW_VERSION
          - CANCELLING_CHANGE_FLOW_VERSION
          - FAILED_TO_CANCEL_CHANGE_FLOW_VERSION
          - CANCEL_REQUESTED
          - FAILED_TO_TERMINATE
          - TERMINATING
          - TERMINATED
          - UNKNOWN
          - KPI_OUT_OF_RANGE
          - DEPLOYMENT_SUSPENDED
      message:
        type: string
        description: Detail message relating to the current status of the deployed flow.
  DeploymentStatus:
    type: object
    description: The state and state message associated with a deployment.
    x-workload: true
    x-client-only: true
    required:
      - detailedState
      - state
    properties:
      detailedState:
        type: string
        description: The detailed state that the deployment is currently in.
        enum:
          - GOOD_HEALTH
          - FAILED_TO_STOP_FLOW
          - FAILED_TO_UPDATE_NIFI_VERSION
          - FAILED_TO_START_FLOW
          - FAILED_TO_RESTART
          - FLOW_STOPPED
          - FAILED_TO_DEPLOY
          - FAILED_TO_IMPORT
          - FAILED_TO_UPDATE
          - FAILED_TO_TERMINATE
          - NEW
          - CREATING_NODES
          - DEPLOYING_ASSETS
          - DEPLOYING_FLOW_DEFINITION
          - DEPLOYING_FLOW
          - IMPORTING_FLOW
          - STARTING_FLOW
          - STOPPING_FLOW
          - UPDATING
          - UPDATING_NIFI_VERSION
          - CANCELLING_NIFI_VERSION_UPDATE
          - RESTARTING
          - CHANGING_FLOW_VERSION
          - FAILED_TO_PREPARE_FOR_CHANGE_FLOW_VERSION
          - FAILED_TO_CHANGE_FLOW_VERSION
          - CANCELLING_CHANGE_FLOW_VERSION
          - FAILED_TO_CANCEL_CHANGE_FLOW_VERSION
          - SUSPENDING
          - RESUMING
          - SUSPENDED
          - FAILED_TO_SUSPEND
          - FAILED_TO_RESUME
          - TERMINATING
          - CANCEL_REQUESTED
          - STOPPED
          - TEST_SESSION_SUSPENDED
          - TEST_SESSION_TERMINATED
          - UNKNOWN
          - UPGRADING
          - FAILED_TO_UPGRADE
          - ROLLING_BACK
          - KPI_OUT_OF_RANGE
          - CANNOT_AUTOSCALE
          - DEPLOYMENT_DISCONNECTED
          - UNUSED_LOGICAL_BAD_HEALTH
          - AT_CAPACITY
          - SDX_OUTPUT_CHANGED
          - METRICS_UNAVAILABLE
          - METERING_WARNING
          - METERING_OFFLINE
          - PROMETHEUS_APPROACHING_MEMORY_LIMIT
          - CERTIFICATE_RENEWED
          - NOT_HEALTHY
          - EXCESSIVE_OFFLOAD_TIME
          - NIFI_BULLETIN_WARNING
      state:
        type: string
        description: The state that the deployment is currently in.
        enum:
          - DEPLOYING
          - GOOD_HEALTH
          - CONCERNING_HEALTH
          - BAD_HEALTH
          - IMPORTING_FLOW
          - STARTING_FLOW
          - STOPPING_FLOW
          - FLOW_STOPPED
          - CHANGING_FLOW_VERSION
          - UPDATING
          - TERMINATING
          - RESTARTING
          - SUSPENDING
          - RESUMING
          - SUSPENDED
          - UPGRADING
          - ROLLING_BACK
          - STOPPED
          - TERMINATED
          - UNKNOWN
      message:
        type: string
        description: Detail message relating to the current status of the deployment.
  DescribeInboundConnectionEndpointRequest:
    type: object
    description: Request object that contains the identifier of the Inbound Connection Endpoint to describe
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - crn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      crn:
        type: string
        description: The CRN of the Inbound Connection Endpoint
  DescribeInboundConnectionEndpointResponse:
    type: object
    description: Response object that describes an Inbound Connection Endpoint
    x-workload: true
    x-client-only: true
    properties:
      inboundConnectionEndpointSummary:
        description: Data that describes the Inbound Connection Endpoint.
        $ref: '#/definitions/InboundConnectionEndpointSummary'
  DescribeParameterGroupRequest:
    type: object
    description: Request object for describing a parameter group.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - parameterGroupCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      parameterGroupCrn:
        type: string
        description: The parameter group CRN.
  DescribeParameterGroupResponse:
    type: object
    description: Response object for describing a parameter group.
    x-workload: true
    x-client-only: true
    properties:
      parameterGroup:
        description: The parameter group.
        $ref: '#/definitions/ParameterGroup'
  DfxEnvironmentStatus:
    type: object
    description: Environment status.
    x-workload: true
    x-client-only: true
    properties:
      detailedState:
        type: string
        description: The detailed state that the environment is currently in.
        enum:
          - NEW
          - DEPROVISIONING_OLD_INFRASTRUCTURE
          - PREPARING_EXISTING_INFRASTRUCTURE
          - PROVISIONING_INFRASTRUCTURE
          - DEPLOYING_SHARED_SERVICES
          - UPDATING
          - RENEWING_CERTS
          - ROTATING_PASSWORD
          - COLLECTING_DIAGNOSTICS
          - GOOD_HEALTH
          - FAILED_TO_ENABLE
          - FAILED_TO_UPDATE
          - FAILED_TO_ROTATE_PASSWORD
          - FAILED_TO_DISABLE
          - CANCEL_REQUESTED
          - TERMINATING_DEPLOYMENTS
          - REMOVING_SHARED_SERVICES
          - TERMINATING_DATABASE_SERVER
          - DEPROVISIONING_INFRASTRUCTURE
          - NOT_ENABLED
          - CLOUDBREAK_READY
          - CLOUDBREAK_NOT_READY
          - CLOUDBREAK_ERROR
          - AT_CAPACITY
          - ORPHANED
          - ORPHANED_NOT_ENABLED
          - WORKLOAD_DISCONNECTED
          - METERING_DISCONNECTED
          - METERING_OFFLINE
          - CERTIFICATES_EXPIRING_SOON
          - CERTIFICATES_EXPIRED
          - PROMETHEUS_APPROACHING_MEMORY_LIMIT
          - METRICS_UNAVAILABLE
          - ALERTMANAGER_OFFLINE
          - MINIFI_OFFLINE
          - POD_UNAVAILABLE
          - DEPLOYMENT_UNAVAILABLE
          - STATEFULSET_UNAVAILABLE
          - JOB_UNAVAILABLE
          - KUBE_STATE_METRICS_UNAVAILABLE
          - COMPONENT_APPROACHING_MEMORY_LIMIT
          - MANUAL_RESOURCE_CLEANUP_REQUIRED
          - UPGRADING
          - FAILED_TO_UPGRADE
          - ABORTING_UPGRADE
          - ROLLING_BACK
          - POST_UPGRADE_CLEANUP
      message:
        type: string
        description: Detail message relating to the current status of the environment.
      state:
        type: string
        description: The state that the environment is currently in.
        enum:
          - NOT_ENABLED
          - ENABLING
          - GOOD_HEALTH
          - CONCERNING_HEALTH
          - BAD_HEALTH
          - UPDATING
          - RENEWING_CERTS
          - DISABLING
          - UNKNOWN
          - UPGRADING
          - COLLECTING_DIAGNOSTICS
          - MIGRATING
          - ROTATING_PASSWORD
  DfxLocalMeta:
    type: object
    description: Metadata about the workload.
    x-workload: true
    x-client-only: true
    required:
      - cloudPlatform
      - cloudbreakCrn
      - crn
      - name
      - region
    properties:
      crn:
        type: string
        description: The CRN of the environment.
      name:
        type: string
        description: The name of the environment.
      cloudPlatform:
        type: string
        description: The cloudPlatform flag of the environment.
        enum:
          - AWS
          - AZURE
          - YARN
          - YCLOUD
          - GCP
          - OPENSTACK
          - LOCAL_K8S
          - MOCK
      region:
        description: The region of the environment.
        $ref: '#/definitions/EnvCloudRegion'
      cloudbreakCrn:
        type: string
        description: Crn of associated cloudbreak environment.
      id:
        type: string
        description: The internal ID of the environment.
      localUrl:
        type: string
        description: The DataFlow Service contact url.
      workloadVersion:
        type: string
        description: The version of the DataFlow Service.
      environmentStatus:
        description: The status of the DataFlow Service.
        readOnly: true
        $ref: '#/definitions/DfxEnvironmentStatus'
      accountId:
        type: string
        description: The account ID from the CRN.
        readOnly: true
  DuplicateParameterGroupRequest:
    type: object
    description: Request object for duplicating a parameter group.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - newParameterGroupName
      - parameterGroupCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      parameterGroupCrn:
        type: string
        description: The parameter group CRN.
      newParameterGroupName:
        type: string
        description: The new parameter group name.
      description:
        type: string
        description: The description.
  DuplicateParameterGroupResponse:
    type: object
    description: Response object for duplicating a parameter group.
    x-workload: true
    x-client-only: true
    properties:
      parameterGroup:
        description: The duplicated parameter group.
        $ref: '#/definitions/ParameterGroup'
  EnvCloudRegion:
    type: object
    description: A cloud region
    x-workload: true
    x-client-only: true
    properties:
      name:
        type: string
        description: Name of the cloud region
      displayName:
        type: string
        description: Display-friendly name of the cloud region
  Error:
    type: object
    description: An object returned on an error.
    x-workload: true
    x-client-only: true
    properties:
      code:
        type: string
        description: The error code.
      message:
        type: string
        description: The error message.
  ExportDeploymentRequest:
    type: object
    description: Request object to export deployment configuration.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
      archiveDescription:
        type: string
        description: The description about deployment configuration export archive
  ExportDeploymentResponse:
    type: object
    description: Response object for exporting a deployment.
    x-workload: true
    x-client-only: true
    properties:
      archiveName:
        type: string
        description: The exported deployment configuration archive name .
  FlowMetadata:
    type: object
    description: Provides details about a flow designer draft.
    x-workload: true
    x-client-only: true
    properties:
      runtimeVersion:
        type: string
        description: The runtime version associated with this flow.
      flowName:
        type: string
        description: The name of the flow.
      created:
        type: integer
        format: int64
        description: The timestamp the flow was created
        readOnly: true
      updated:
        type: integer
        format: int64
        description: The timestamp the flow was updated
        readOnly: true
      catalogArtifactVersion:
        type: integer
        format: int32
        description: The version of the flow artifact in the catalog associated with this flow design.
      catalogArtifactName:
        type: string
        description: The name of the flow artifact in the catalog associated with this flow design.
      catalogArtifactVersionCrn:
        type: string
        description: The CRN of the flow artifact in the catalog associated with this flow design.
      resourceType:
        type: string
        description: Resource type of the catalog item.
        enum:
          - READY_FLOW
          - FLOW
      project:
        description: Optional project that the flow is assigned to
        readOnly: true
        $ref: '#/definitions/ProjectMeta'
      crn:
        type: string
        description: The CRN of the flow designer draft.
      nifiMajorVersion:
        type: integer
        format: int32
        description: The NiFi major version of the runtime
        readOnly: true
  FlowParameter:
    type: object
    description: A flow parameter
    x-workload: true
    x-client-only: true
    properties:
      name:
        type: string
        description: The name of the parameter
      description:
        type: string
        description: The description of the param
      value:
        type: string
        description: The value of the parameter
        x-no-paramfile: true
      sensitive:
        type: boolean
        description: Whether or not the parameter value is sensitive
      type:
        type: string
        description: The type of parameter. Possibly TEXT, FILE, FILES
        enum:
          - TEXT
          - FILE
          - FILES
      assetReferences:
        type: array
        description: The list of referenced assets.
        items:
          $ref: '#/definitions/AssetReference'
      valueSet:
        type: boolean
        description: Indicates if the value of this parameter is set (i.e. not null)
        readOnly: true
      sourceParameterGroupId:
        type: string
        description: The ID of the shared parameter group where the value should come from.
  FlowParameterGroup:
    type: object
    description: A flow parameter group
    x-workload: true
    x-client-only: true
    properties:
      name:
        type: string
        description: The name of the parameter group
      parameters:
        type: array
        description: The parameters in the group
        items:
          $ref: '#/definitions/FlowParameter'
      inheritedParameterGroups:
        type: array
        description: The names and versions of the inherited parameter groups
        uniqueItems: true
        items:
          $ref: '#/definitions/VersionedParameterGroupReference'
      otherName:
        type: string
        description: The other name that can be used to reference this group in a flow. This is used when multiple flows with same parameter group are deployed in to same NiFi cluster.
  FlowSummary:
    type: object
    description: Data object for information describing a flow designer draft.
    x-workload: true
    x-client-only: true
    properties:
      flowName:
        type: string
        description: The name of the flow.
      created:
        type: integer
        format: int64
        description: Creation timestamp of the flow.
      lastModified:
        type: integer
        format: int64
        description: The timestamp the flow was last modified.
      lastModifiedBy:
        type: string
        description: The identity of the user that last modified the flow.
      createdBy:
        type: string
        description: The identity of the user that created the flow.
      catalogArtifactVersion:
        type: integer
        format: int32
        description: Optional, originating artifact version from the flow catalog this flow is associated with.
      catalogArtifactName:
        type: string
        description: Optional, originating artifact name from the flow catalog this flow is associated with.
      catalogArtifactVersionCrn:
        type: string
        description: The crn of the flow in the catalog associated with this flow design.
      resourceType:
        type: string
        description: Resource type of the catalog item.
        enum:
          - READY_FLOW
          - FLOW
      nifiMajorVersion:
        type: integer
        format: int32
        description: The NiFi Major version.
      project:
        description: Optional project summary that the flow is assigned to.
        $ref: '#/definitions/ProjectSummary'
      crn:
        type: string
        description: The CRN of the flow designer draft.
      runtimeSession:
        description: Information about the runtime session, if one exists for the flow under design.
        $ref: '#/definitions/RuntimeSession'
  GetCustomNarConfigurationRequest:
    type: object
    description: Request object for retrieving a custom NAR configuration by configuration CRN or deployment CRN.
    x-workload: true
    x-client-only: true
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The CRN of the deployment whose custom resource configuration should be retrieved.
      customNarConfigurationCrn:
        type: string
        description: The CRN of the custom NAR configuration to retrieve.
    required:
      - environmentCrn
  GetCustomNarConfigurationResponse:
    type: object
    description: Response object for retrieving a custom NAR configuration by CRN.
    x-workload: true
    x-client-only: true
    required:
      - configurationVersion
      - password
      - storageLocation
      - username
    properties:
      username:
        type: string
        description: The username used to access the storage location.
      password:
        type: string
        description: The password used to access the storage location.
      storageLocation:
        type: string
        description: The storage location, such as an S3 bucket or ADLS container.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration.
      projectCrn:
        type: string
        description: The CRN of the project.
      crn:
        type: string
        description: The CRN of the custom resource configuration to update.
  GetCustomPythonConfigurationRequest:
    type: object
    description: Request object for retrieving a custom Python configuration by configuration CRN or deployment CRN.
    x-workload: true
    x-client-only: true
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The CRN of the deployment whose custom resource configuration should be retrieved.
      customPythonConfigurationCrn:
        type: string
        description: The CRN of the custom Python configuration to retrieve.
    required:
      - environmentCrn
  GetCustomPythonConfigurationResponse:
    type: object
    description: Response object for retrieving a custom Python configuration by CRN.
    x-workload: true
    x-client-only: true
    required:
      - configurationVersion
      - password
      - storageLocation
      - username
    properties:
      username:
        type: string
        description: The username used to access the storage location.
      password:
        type: string
        description: The password used to access the storage location.
      storageLocation:
        type: string
        description: The storage location, such as an S3 bucket or ADLS container.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration.
      projectCrn:
        type: string
        description: The CRN of the project.
      crn:
        type: string
        description: The CRN of the custom resource configuration to update.
  GetDefaultCustomNarConfigurationRequest:
    type: object
    description: Request object for retrieving the default custom NAR configuration.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
  GetDefaultCustomNarConfigurationResponse:
    type: object
    description: Response object for retrieving the default custom NAR configuration.
    x-workload: true
    x-client-only: true
    required:
      - configurationVersion
      - password
      - storageLocation
      - username
    properties:
      username:
        type: string
        description: The username used to access the storage location.
      password:
        type: string
        description: The password used to access the storage location.
      storageLocation:
        type: string
        description: The storage location, such as an S3 bucket or ADLS container.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration.
      projectCrn:
        type: string
        description: The CRN of the project.
      crn:
        type: string
        description: The CRN of the custom resource configuration to update.
  GetDeploymentConfigurationMetadataRequest:
    type: object
    description: Request object for retrieving deployment configuration metadata.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
  GetDeploymentConfigurationMetadataResponse:
    type: object
    description: Response object for retrieving deployment configuration metadata request.
    x-workload: true
    x-client-only: true
    properties:
      deploymentConfigurationMetadata:
        description: The deployment configuration metadata.
        $ref: '#/definitions/RpcDeploymentConfigurationMetadata'
  GetDeploymentConfigurationRequest:
    type: object
    description: Request object for retrieving deployment configuration.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
  GetDeploymentConfigurationResponse:
    type: object
    description: Response object for retrieving deployment configuration request.
    x-workload: true
    x-client-only: true
    properties:
      deploymentConfiguration:
        description: The deployment configuration.
        $ref: '#/definitions/RpcDeploymentConfiguration'
  GetDeploymentRequestDetailsRequest:
    type: object
    description: Request object for retrieving deployment request details.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentRequestCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentRequestCrn:
        type: string
        description: The deployment request crn.
  GetDeploymentRequestDetailsResponse:
    type: object
    description: Response object for retrieving deployment request details request.
    x-workload: true
    x-client-only: true
    properties:
      deploymentConfigurationMetadata:
        description: The deployment configuration metadata.
        $ref: '#/definitions/RpcDeploymentConfigurationMetadata'
  GetFlowConfigurationInDeploymentRequest:
    type: object
    description: Request object for retrieving a deployed flow configuration in a deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deployedFlowCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
      deployedFlowCrn:
        type: string
        description: The deployed flow crn.
  GetFlowConfigurationInDeploymentResponse:
    type: object
    description: Response object for retrieving deployed flow configuration in a deployment.
    x-workload: true
    x-client-only: true
    properties:
      deployedFlowConfiguration:
        description: The deployed flow configuration.
        $ref: '#/definitions/RpcDeployedFlowConfiguration'
  GetFlowConfigurationMetadataInDeploymentRequest:
    type: object
    description: Request object for retrieving a deployed flow configuration metadata in a deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deployedFlowCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
      deployedFlowCrn:
        type: string
        description: The deployed flow crn.
  GetFlowConfigurationMetadataInDeploymentResponse:
    type: object
    description: Response object for retrieving deployed flow configuration metadata in a deployment.
    x-workload: true
    x-client-only: true
    properties:
      deployedFlowConfigurationMetadata:
        description: The deployed flow configuration metadata.
        $ref: '#/definitions/RpcDeployedFlowConfigurationMetadata'
  GetFlowDeploymentRequestDetailsRequest:
    type: object
    description: Request object for retrieving flow deployment request details.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deployedFlowRequestCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deployedFlowRequestCrn:
        type: string
        description: The flow deployment request crn.
  GetFlowRequestDetailsInDeploymentResponse:
    type: object
    description: Response object for retrieving flow deployment request details request.
    x-workload: true
    x-client-only: true
    properties:
      deployedFlowConfigurationMetadata:
        description: The deployment configuration metadata.
        $ref: '#/definitions/RpcDeployedFlowConfigurationMetadata'
  ImportDeploymentRequest:
    type: object
    description: Request object to import deployment configuration.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentRequestCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentRequestCrn:
        type: string
        description: The CRN of the deployment request.
      archiveName:
        type: string
        description: Search term to filter exported archives by deployment name.
      flowName:
        type: string
        description: The name of the deployed flow in the exported archive.
  ImportDeploymentResponse:
    type: object
    description: Response object for importing deployment configuration.
    x-workload: true
    x-client-only: true
    properties:
      rpcImportedDeploymentConfiguration:
        description: The imported deployment configuration.
        $ref: '#/definitions/RpcImportedDeploymentConfiguration'
  ImportFlowIntoDeploymentRequest:
    type: object
    description: Request object to import a flow configuration into a deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - archiveName
      - deployedFlowRequestCrn
      - flowName
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      archiveName:
        type: string
        description: Search term to filter exported archives by deployment name.
      flowName:
        type: string
        description: The name of the deployed flow in the exported archive.
      deployedFlowRequestCrn:
        type: string
        description: The CRN of the flow deployment request.
  ImportFlowIntoDeploymentResponse:
    type: object
    description: Response object for importing a flow configuration into a deployment.
    x-workload: true
    x-client-only: true
    properties:
      rpcImportedDeploymentConfiguration:
        description: The imported deployment configuration.
        $ref: '#/definitions/RpcImportedDeploymentConfiguration'
  InboundConnectionEndpointCertificateSummary:
    type: object
    description: Inbound Connection Endpoint Certificate Summary
    x-workload: true
    x-client-only: true
    properties:
      expiration:
        type: integer
        format: int64
        description: The timestamp of when the Inbound Connection Endpoint Certificate expires
        readOnly: true
      certificateType:
        type: string
        description: The type of the Inbound Connection Endpoint Certificate
        readOnly: true
        enum:
          - CLIENT_ENTITY
          - CLIENT_CA
          - SERVER_ENTITY
      state:
        type: string
        description: The state of the Inbound Connection Endpoint Certificate
        readOnly: true
        enum:
          - PROVISIONING
          - CURRENT
          - EXPIRED
          - RENEWING
          - RENEWAL_FAILED
      statusMessage:
        type: string
        description: The status message of the Inbound Connection Endpoint Certificate
        readOnly: true
  InboundConnectionEndpointClientCertificatesRequest:
    type: object
    description: Request object to retrieve Inbound Connection Endpoint client's certificates.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - crn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      crn:
        type: string
        description: The CRN of the Inbound Connection Endpoint
  InboundConnectionEndpointClientCertificatesResponse:
    type: object
    description: Response object that contains the client's certificates.
    x-workload: true
    x-client-only: true
    properties:
      clientCertificate:
        type: string
        description: The client's certificate.
        readOnly: true
      clientPrivateKey:
        type: string
        description: The client's private key.
        readOnly: true
  InboundConnectionEndpointSummary:
    type: object
    description: Inbound Connection Endpoint Summary
    x-workload: true
    x-client-only: true
    properties:
      fullyQualifiedDomainName:
        type: string
        description: The FQDN of the inbound connection hostname
        readOnly: true
      state:
        type: string
        description: State of the Inbound Connection Endpoint
        readOnly: true
        enum:
          - UNASSIGNED
          - ASSIGNED
          - PROVISIONING_CERTIFICATES
          - RENEWING_CERTIFICATES
          - READY
          - FAILED
      deploymentCrn:
        type: string
        description: The CRN of the deployment the hostname is assigned to
        readOnly: true
      crn:
        type: string
        description: The CRN of the Inbound Connection Endpoint
        readOnly: true
      certificateSummaries:
        type: array
        description: The summaries of certificates associated with the Inbound Connection Endpoint
        readOnly: true
        uniqueItems: true
        items:
          $ref: '#/definitions/InboundConnectionEndpointCertificateSummary'
      projectCrn:
        type: string
        description: The CRN of the project.
      authorizedIpRanges:
        type: array
        description: Set of authorized IP ranges for the inbound connection.
        readOnly: true
        uniqueItems: true
        items:
          type: string
  KpiContextGroup:
    type: object
    description: Captures the use of a KPI in the context of a process group
    x-workload: true
    x-client-only: true
    required:
      - id
      - name
    properties:
      id:
        type: string
        description: The id of the containing process group
      name:
        type: string
        description: The name of the containing process group
      scopeComponents:
        type: array
        description: The scope components of the group
        items:
          $ref: '#/definitions/KpiScopeComponent'
  KpiMetaData:
    type: object
    description: A template for instantiating KPIs
    x-workload: true
    x-client-only: true
    required:
      - alertFrequencyTolerance
      - kpiScopes
      - unitTypes
    properties:
      kpiScopes:
        type: array
        description: The KPI scope meta data list, one per MetricComponentType.
        items:
          $ref: '#/definitions/KpiScopeMetaData'
      unitTypes:
        type: object
        description: The entire tree of legal unit types for all metrics.
        additionalProperties:
          type: array
          items:
            $ref: '#/definitions/KpiUnit'
      alertFrequencyTolerance:
        description: The alert frequency tolerance shared by all metrics.
        $ref: '#/definitions/AlertFrequencyTolerance'
  KpiScopeComponent:
    type: object
    description: Provides scoping when defining KPIs
    x-workload: true
    x-client-only: true
    required:
      - id
      - name
    properties:
      id:
        type: string
        description: The internal id of the scope, for example the connection ID
      name:
        type: string
        description: The child name to show in the hierarchical chooser
  KpiScopeMetaData:
    type: object
    description: Provides scoping meta data for use during KPI creation
    x-workload: true
    x-client-only: true
    required:
      - label
      - metricTypes
      - type
    properties:
      type:
        type: string
        description: The type of the scope
        enum:
          - SYSTEM
          - NIFI_FLOW
          - NIFI_PROCESSOR
          - NIFI_PROCESS_GROUP
          - NIFI_CONNECTION
      metricTypes:
        type: array
        description: The available metric types for the chosen scope type
        items:
          $ref: '#/definitions/KpiScopeMetricType'
      label:
        type: string
        description: The label to use for the chosen scope type
      contextGroups:
        type: array
        description: The context identifiers for the chosen scope type
        items:
          $ref: '#/definitions/KpiContextGroup'
      contextLabel:
        type: string
        description: The label to use for the context identifier, which depends on scope type.
  KpiScopeMetricType:
    type: object
    description: Provides the legal metric types for an owning scope
    x-workload: true
    x-client-only: true
    required:
      - defaultUnitId
      - id
      - label
      - unitTypeKey
    properties:
      id:
        type: string
        description: The internal id of the metric type
      label:
        type: string
        description: The user-visible label of the metric type
      unitTypeKey:
        type: string
        description: The unit type key for this metric
        enum:
          - DURATION
          - RATIO
          - SIZE
          - RATE
          - COUNT
      defaultUnitId:
        type: string
        description: The default unitId for this metric
      description:
        type: string
        description: The user-visible description of the metric type
  KpiUnit:
    type: object
    description: Captures the legal units for a metric, a means to avoid large numbers either before or after a decimal point
    x-workload: true
    x-client-only: true
    required:
      - factor
      - id
      - label
    properties:
      id:
        type: string
        description: The internal ID of the unit
      label:
        type: string
        description: The user-visible label of the unit
      factor:
        type: integer
        format: int64
        description: The conversion factor to use to normalize values with this unit into a common unit
  ListDeploymentArchivesRequest:
    type: object
    description: Request object to list exported archives of all deployments matching the search term.
    x-workload: true
    x-client-only: true
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      searchTerm:
        type: string
        description: Search term to filter exported archives by deployment name.
    required:
      - environmentCrn
  ListDeploymentArchivesResponse:
    type: object
    description: Response for listing the deployment configuration backup archives.
    x-workload: true
    x-client-only: true
    properties:
      archives:
        type: array
        description: The deployment configuration exported archives.
        items:
          $ref: '#/definitions/RpcDeploymentArchiveMetadata'
  ListFlowDraftsRequest:
    type: object
    description: Request object for listing the flow designer drafts.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
  ListFlowDraftsResponse:
    type: object
    description: Response object for listing the flow drafts.
    x-workload: true
    x-client-only: true
    properties:
      flowSummaries:
        type: array
        description: The flow summaries.
        items:
          $ref: '#/definitions/FlowSummary'
  ListInboundConnectionEndpointsRequest:
    type: object
    description: Request object to use to list Inbound Connection Endpoints
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
  ListInboundConnectionEndpointsResponse:
    type: object
    description: Response object that contains a list of Inbound Connection Endpoints
    x-workload: true
    x-client-only: true
    properties:
      inboundConnectionEndpoints:
        type: array
        description: A list of Inbound Connection Endpoints.
        readOnly: true
        items:
          $ref: '#/definitions/InboundConnectionEndpointSummary'
  ListNifiVersionsRequest:
    type: object
    description: Request object for listing the supported NiFi versions.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
  ListNifiVersionsResponse:
    type: object
    description: Response object for listing the supported NiFi versions.
    x-workload: true
    x-client-only: true
    properties:
      nifiVersions:
        type: array
        description: A list of supported NiFi versions.
        items:
          type: string
  ListParameterGroupsRequest:
    type: object
    description: Request object for listing parameter groups.
    x-workload: true
    x-client-only: true
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      projectCrns:
        type: array
        description: The list of project CRNs by which to filter the parameter group list.
        items:
          type: string
      searchTerm:
        type: string
        description: The search term to filter by parameter group name.
    required:
      - environmentCrn
  ListParameterGroupsResponse:
    type: object
    description: Response object for listing parameter groups.
    x-workload: true
    x-client-only: true
    properties:
      parameterGroups:
        type: array
        description: A list of parameter groups.
        items:
          $ref: '#/definitions/ParameterGroupSummary'
  ListReportingTasksRequest:
    type: object
    description: Request object for listing the reporting tasks for a deployment
    x-workload: true
    x-client-only: true
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The CRN of the deployment.
    required:
      - environmentCrn
  ListReportingTasksResponse:
    type: object
    description: Response for listing the reporting tasks of a deployment.
    x-workload: true
    x-client-only: true
    properties:
      reportingTasks:
        type: array
        description: The listed reporting tasks.
        items:
          $ref: '#/definitions/ReportingTaskSummary'
  ListTestSessionsRequest:
    type: object
    description: Request object for listing the test sessions.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
  ListTestSessionsResponse:
    type: object
    description: Response object for listing the test sessions.
    x-workload: true
    x-client-only: true
    properties:
      runtimeSessions:
        type: array
        description: The runtime sessions.
        items:
          $ref: '#/definitions/FlowSummary'
  ListenComponent:
    type: object
    description: Provides subset of metadata of a Listen* component
    x-workload: true
    x-client-only: true
    required:
      - protocol
    properties:
      protocol:
        type: string
        description: Inbound protocol.
        enum:
          - TCP
          - UDP
      listenComponentType:
        type: string
        description: Listen component type
        readOnly: true
        enum:
          - ListenHTTP
          - ListenFTP
          - ListenSyslog
          - ListenRELP
          - ListenTCP
          - ListenUDP
          - ListenTCPRecord
          - ListenUDPRecord
          - ListenGRPC
          - ListenSMTP
          - ListenBeats
          - ListenLumberjack
          - ListenWebSocket
          - HandleHttpRequest
      port:
        type: string
        description: Inbound port.
  MetricValue:
    type: object
    description: A metric value.
    x-workload: true
    x-client-only: true
    properties:
      timestamp:
        type: integer
        format: int64
        description: Timestamp of the metric value.
      value:
        type: number
        format: double
        description: The value of the metric.
  NodeStorage:
    type: object
    description: Node storage parameters.
    x-workload: true
    x-client-only: true
    properties:
      azureContentRepoProfile:
        type: string
        description: The Azure content repository profile.
        enum:
          - AZURE_P6
          - AZURE_P10
          - AZURE_P15
          - AZURE_P30
      azureProvenanceRepoProfile:
        type: string
        description: The Azure provenance repository profile.
        enum:
          - AZURE_P6
          - AZURE_P10
          - AZURE_P15
          - AZURE_P30
      azureFlowFileRepoProfile:
        type: string
        description: The Azure flow file repository profile.
        enum:
          - AZURE_P6
          - AZURE_P10
          - AZURE_P15
          - AZURE_P30
      awsContentRepoProfile:
        description: The AWS content repository profile.
        $ref: '#/definitions/AWSNodeStorageProfile'
      awsProvenanceRepoProfile:
        description: The AWS provenance repository profile.
        $ref: '#/definitions/AWSNodeStorageProfile'
      awsFlowFileRepoProfile:
        description: The AWS flow file repository profile.
        $ref: '#/definitions/AWSNodeStorageProfile'
  NodeStorageProfileMetadata:
    type: object
    description: Provides details about the node storage options.
    x-workload: true
    x-client-only: true
    required:
      - contentRepoSize
      - flowfileRepoSize
      - iops
      - provenanceRepoSize
      - storageVolumeType
      - throughput
    properties:
      contentRepoSize:
        type: integer
        format: int32
        description: Content repository size
        readOnly: true
      provenanceRepoSize:
        type: integer
        format: int32
        description: Provenance repository size
        readOnly: true
      flowfileRepoSize:
        type: integer
        format: int32
        description: FlowFile repository size
        readOnly: true
      iops:
        type: string
        description: IOPS
        readOnly: true
      throughput:
        type: string
        description: Throughput
        readOnly: true
      storageVolumeType:
        type: string
        description: Storage volume type
        readOnly: true
      name:
        type: string
        description: The name of this Storage Profile
        enum:
          - LEGACY_STANDARD
          - LEGACY_PERFORMANCE
          - TEST_SESSION_AWS
          - TEST_SESSION_AZURE
          - STANDARD_AWS
          - PERFORMANCE_AWS
          - CUSTOM_AWS
          - STANDARD_AZURE
          - PERFORMANCE_AZURE
          - CUSTOM_AZURE
          - LOCAL_K8S
      text:
        type: string
        description: The text (i.e., the human readable name) for this Storage Profile
      azureNodeStorageProfileMetaData:
        type: array
        description: Provides details about the node storage custom disk sizes and performance options.
        readOnly: true
        items:
          $ref: '#/definitions/AzureNodeStorageProfileMetaData'
      awsNodeStorageProfileMetaData:
        description: AWS custom storage size, iops and throughput limits
        readOnly: true
        $ref: '#/definitions/AWSNodeStorageProfileMetaData'
  Parameter:
    type: object
    description: Represents a parameter which can be used in a parameter context or a deployed flow.
    x-workload: true
    x-client-only: true
    required:
      - name
    properties:
      name:
        type: string
        description: The name of the parameter.
      sensitive:
        type: boolean
        description: Whether or not the parameter value is sensitive.
      description:
        type: string
        description: A brief explanation of how the parameter is used.
      value:
        type: string
        description: The value of the parameter in this context.
      valueSet:
        type: boolean
        description: Indicates if the value of this parameter is set (i.e. not null).
        readOnly: true
      assetReferences:
        type: array
        description: The list of asset references, if this parameter is a FILE or FILES type.
        items:
          $ref: '#/definitions/AssetReference'
  ParameterGroup:
    type: object
    description: A parameter group represents a collection of parameters that can be used across multiple workloads.
    x-workload: true
    x-client-only: true
    required:
      - name
    properties:
      name:
        type: string
        description: The name of the parameter group.
      id:
        type: string
        description: The parameter group ID.
      source:
        type: string
        description: The source of parameter group creation.
        enum:
          - LOCAL
          - SHARED_FLOW_DRAFT
          - SHARED
          - SHARED_PARAMETER_PROVIDER
      projectId:
        type: string
        description: Optional project ID that parameter group is assigned to.
      projectSummary:
        description: Optional project summary that the parameter group is assigned to.
        $ref: '#/definitions/ProjectSummary'
      usages:
        type: array
        description: The list of usages where this parameter group is used.
        uniqueItems: true
        items:
          $ref: '#/definitions/ParameterGroupUsage'
      created:
        type: integer
        format: int64
        description: Creation timestamp of the parameter group.
      updated:
        type: integer
        format: int64
        description: Timestamp of the last time the parameter group was modified.
      description:
        type: string
        description: The description of the parameter group.
      crn:
        type: string
        description: The CRN of the Parameter Group.
        readOnly: true
      createdBy:
        type: string
        description: The username of the creator of the parameter group.
      version:
        type: integer
        format: int64
        description: The version of the parameter group.
      parameters:
        type: array
        description: The parameters in this group.
        uniqueItems: true
        items:
          $ref: '#/definitions/Parameter'
  ParameterGroupSummary:
    type: object
    description: Summary of a parameter group.
    x-workload: true
    x-client-only: true
    required:
      - name
    properties:
      name:
        type: string
        description: The name of the parameter group.
      id:
        type: string
        description: The parameter group ID.
      source:
        type: string
        description: The source of parameter group creation.
        enum:
          - LOCAL
          - SHARED_FLOW_DRAFT
          - SHARED
          - SHARED_PARAMETER_PROVIDER
      projectId:
        type: string
        description: Optional project ID that parameter group is assigned to.
      projectSummary:
        description: Optional project summary that the parameter group is assigned to.
        $ref: '#/definitions/ProjectSummary'
      usages:
        type: array
        description: The list of usages where this parameter group is used.
        uniqueItems: true
        items:
          $ref: '#/definitions/ParameterGroupUsage'
      created:
        type: integer
        format: int64
        description: Creation timestamp of the parameter group.
      updated:
        type: integer
        format: int64
        description: Timestamp of the last time the parameter group was modified.
      description:
        type: string
        description: The description of the parameter group.
      crn:
        type: string
        description: The CRN of the Parameter Group.
        readOnly: true
      createdBy:
        type: string
        description: The username of the creator of the parameter group.
      version:
        type: integer
        format: int64
        description: The version of the parameter group.
  ParameterGroupUsage:
    type: object
    description: Represents a resource that uses a parameter group.
    x-workload: true
    x-client-only: true
    required:
      - resourceId
      - resourceType
    properties:
      resourceId:
        type: string
        description: The ID of the resource that uses the parameter group.
      resourceType:
        type: string
        description: The type of the resource that uses the parameter group.
        enum:
          - FLOW_DRAFT
          - DEPLOYED_FLOW
      parentResourceId:
        type: string
        description: The parent-resource ID (e.g., deploymentId when resourceType is DEPLOYED_FLOW).
      resourceName:
        type: string
        description: The name of the resource that uses the parameter group.
      status:
        type: string
        description: The synchronization status between the parameter group and the resource.
        enum:
          - SYNCED
          - UNSYNCED
          - SYNCING
          - SYNC_FAILED
  ParameterRequest:
    type: object
    description: Represents a parameter in a parameter group.
    x-workload: true
    x-client-only: true
    required:
      - name
    properties:
      name:
        type: string
        description: The name of the parameter.
      sensitive:
        type: boolean
        description: Whether or not the parameter value is sensitive.
      description:
        type: string
        description: A brief explanation of how the parameter is used.
      value:
        type: string
        description: The value of the parameter in this context.
      assetReferences:
        type: array
        description: The list of asset references. Required if this parameter is a FILE or FILES type.
        items:
          $ref: '#/definitions/AssetReference'
  ProjectMeta:
    type: object
    description: The meta information about a project.
    x-workload: true
    x-client-only: true
    properties:
      id:
        type: string
        description: The ID of the project.
        readOnly: true
      crn:
        type: string
        description: The CRN of the project.
        readOnly: true
      name:
        type: string
        description: The name of the group.
        readOnly: true
  ProjectSummary:
    type: object
    description: Provides a summary of the project.
    x-workload: true
    x-client-only: true
    properties:
      id:
        type: string
        description: The ID of the project.
        readOnly: true
      crn:
        type: string
        description: The CRN of the project.
        readOnly: true
      name:
        type: string
        description: The name of the group.
        readOnly: true
      description:
        type: string
        description: The description of the group.
        readOnly: true
      workloadAdministrationGroup:
        type: string
        description: The name of the workload administration group for this project.
        readOnly: true
      deleting:
        type: boolean
        description: Indicates the project is in the process of being deleted.
        readOnly: true
  ReassignResourcesRequest:
    type: object
    description: Request object to reassign resources.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - workloadResourceSummaries
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      workloadResourceSummaries:
        type: array
        description: The summaries of the resources being reassigned.
        uniqueItems: true
        items:
          $ref: '#/definitions/RpcWorkloadResourceSummary'
      destinationProjectCrn:
        type: string
        description: The crn of the project to reassign the resources to, or null to unassign the resources.
  ReassignResourcesResponse:
    type: object
    description: Response object from reassigning resources.
    x-workload: true
    x-client-only: true
  RenewInboundConnectionEndpointCertificateRequest:
    type: object
    description: Request object to renew Inbound Connection Endpoint certificate(s)
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - crn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      crn:
        type: string
        description: The CRN of the Inbound Connection Endpoint
      renewServerCertificate:
        type: boolean
        description: Whether to renew Inbound Connection Endpoint's server certificate
      renewClientCertificates:
        type: boolean
        description: Whether to renew Inbound Connection Endpoint's client certificates
      revokeClientCertificates:
        type: boolean
        description: Whether to revoke existing Inbound Connection Endpoint's client certificates
  RenewInboundConnectionEndpointCertificateResponse:
    type: object
    description: Response object for Inbound Connection Endpoint certificate renewal request
    x-workload: true
    x-client-only: true
  ReportingTaskSummary:
    type: object
    description: A reporting task summary
    x-workload: true
    x-client-only: true
    properties:
      crn:
        type: string
        description: The CRN of the reporting task
      identifier:
        type: string
        description: The component's unique identifier
      name:
        type: string
        description: The component's name
      type:
        type: string
        description: The type of the extension component
  RestartDeploymentRequest:
    type: object
    description: Request object to restart a deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
      forceStopFlow:
        type: boolean
        description: Whether to force stop the NiFi flow during restart.
  RestartDeploymentResponse:
    type: object
    description: Response object for restarting a deployment request.
    x-workload: true
    x-client-only: true
    properties:
      deployment:
        description: The deployment.
        $ref: '#/definitions/RpcDeployment'
  RestartTestSessionRequest:
    type: object
    description: Request object for restarting a test session.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - flowDraftCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      flowDraftCrn:
        type: string
        description: The CRN for the flow designer draft to be restarted.
  RestartTestSessionResponse:
    type: object
    description: Response object for restarting a flow designer runtime session.
    x-workload: true
    x-client-only: true
    properties:
      runtimeSession:
        description: The restarted runtime session.
        $ref: '#/definitions/RuntimeSession'
  ResumeDeploymentRequest:
    type: object
    description: Request object to resume a deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
  ResumeDeploymentResponse:
    type: object
    description: Response object for resuming a deployment.
    x-workload: true
    x-client-only: true
    properties:
      deployment:
        description: The deployment.
        $ref: '#/definitions/RpcDeployment'
  RpcDeployedFlow:
    type: object
    description: Provides details about a deployed flow.
    x-workload: true
    x-client-only: true
    required:
      - configurationVersion
      - status
      - targetProcessGroupId
    properties:
      status:
        description: The status of the deployed flow.
        $ref: '#/definitions/DeployedFlowStatus'
      configurationVersion:
        type: integer
        format: int32
        description: The version of this configuration.
      targetProcessGroupId:
        type: string
        description: The id of the process group in NiFi.
      name:
        type: string
        description: The name of the deployed flow.
      activeInfoAlertCount:
        type: integer
        format: int64
        description: Current count of active alerts classified as an info.
      activeWarningAlertCount:
        type: integer
        format: int64
        description: Current count of active alerts classified as a warning.
      activeErrorAlertCount:
        type: integer
        format: int64
        description: Current count of active alerts classified as an error.
      environmentId:
        type: string
        description: The id of the environment.
      environment:
        description: Simple information about the environment of the deployment.
        $ref: '#/definitions/DfxLocalMeta'
      deploymentName:
        type: string
        description: The name of the deployment.
      crn:
        type: string
        description: The CRN of the deployed flow.
      project:
        description: Simple information about the project this deployment belongs to, or null if does not belong to a project.
        $ref: '#/definitions/ProjectMeta'
      artifactName:
        type: string
        description: The name of the flow definition.
      catalogItemId:
        type: string
        description: The id of the catalog item. Will either be the flow definition id or the id of the imported ready flow.
      flowVersion:
        type: integer
        format: int32
        description: The version of the flow.
      flowVersionCrn:
        type: string
        description: The deployed flow definition version CRN.
      flowCrn:
        type: string
        description: The deployed flow definition CRN.
      creatorCrn:
        type: string
        description: The CRN of the user who deployed the flow.
      artifactTypeName:
        type: string
        description: The type of artifact of the flow definition.
      deployedByUsername:
        type: string
        description: The username of the person who deployed the flow.
      deployedByName:
        type: string
        description: The name of the person who deployed the flow.
      created:
        type: integer
        format: int64
        description: Timestamp of the first time the flow deployed into a NiFi cluster.
      updated:
        type: integer
        format: int64
        description: Timestamp of the last time the deployed flow was modified.
      validActions:
        type: array
        description: Valid actions that can be applied to the deployed flow in its current state.
        uniqueItems: true
        items:
          type: string
          enum:
            - VIEW_NIFI
            - START_FLOW
            - STOP_FLOW
            - EDIT
            - TERMINATE
            - CHANGE_FLOW_VERSION
            - RETRY_CHANGE_FLOW_VERSION
            - CANCEL_CHANGE_FLOW_VERSION
      dataSent:
        type: array
        description: The dataSent values, if requested.
        items:
          $ref: '#/definitions/MetricValue'
      dataReceived:
        type: array
        description: The dataReceived values, if requested.
        items:
          $ref: '#/definitions/MetricValue'
      projectCrn:
        type: string
        description: The crn of the project this flow belongs to, or null if does not belong to a project.
      deploymentCrn:
        type: string
        description: The crn of the deployment this flow belongs to.
  RpcDeployedFlowConfiguration:
    type: object
    description: Provides all of the configuration that dictates how a flow is deployed.
    x-workload: true
    x-client-only: true
    required:
      - configurationVersion
    properties:
      configurationVersion:
        type: integer
        format: int32
        description: The version of this configuration.
      deployedFlowId:
        type: string
        description: The id of the deployed flow.
      deployedFlowName:
        type: string
        description: The name of the deployed flow.
      deployedFlowCrn:
        type: string
        description: The CRN of the deployed flow.
      parametersDirty:
        type: boolean
        description: Indicates whether or not all current parameter values have successfully been applied to NiFi.
        readOnly: true
      kpisDirty:
        type: boolean
        description: Indicates whether or not the current KPIs have successfully been deployed as alert rules.
        readOnly: true
      lastUpdatedByUsername:
        type: string
        description: The username of the last person to update the deployed flow configuration.
        readOnly: true
      parameterGroups:
        type: array
        description: The list of flow parameter groups.
        items:
          $ref: '#/definitions/FlowParameterGroup'
      kpis:
        type: array
        description: The list of configured KPIs.
        items:
          $ref: '#/definitions/ConfiguredKpi'
  RpcDeployedFlowConfigurationMetadata:
    type: object
    description: Provides details about the deployed flow and all of the different configuration items that are available.
    x-workload: true
    x-client-only: true
    required:
      - flowCrn
      - flowName
      - flowVersion
      - flowVersionCrn
      - requiresEnvironmentSslContextService
    properties:
      flowCrn:
        type: string
        description: The CRN of the flow to deploy
      flowName:
        type: string
        description: The name of the flow to deploy
      flowVersion:
        type: integer
        format: int32
        description: The version of the flow to deploy
      flowVersionCrn:
        type: string
        description: The CRN for the flow version
      requiresEnvironmentSslContextService:
        type: boolean
        description: A flag indicating if the flow requires an Environment specific SSLContextService
        readOnly: true
      artifactTypeName:
        type: string
        description: The type of the artifact of the flow.
        readOnly: true
      parameterGroups:
        type: array
        description: The list of flow parameter groups
        items:
          $ref: '#/definitions/FlowParameterGroup'
      kpiMetaData:
        description: The KPI meta data
        $ref: '#/definitions/KpiMetaData'
  RpcDeployment:
    type: object
    description: Provides details about a deployment.
    x-workload: true
    x-client-only: true
    required:
      - name
      - service
      - status
    properties:
      name:
        type: string
        description: The name of the deployment.
      status:
        description: The workflow status of the deployment.
        $ref: '#/definitions/DeploymentStatus'
      service:
        description: Simple information about the DataFlow service of the deployment.
        $ref: '#/definitions/ServiceMeta'
      crn:
        type: string
        description: The CRN of the deployment.
      runtimeStatus:
        description: The runtime status of the deployment.
        $ref: '#/definitions/DeploymentStatus'
      activeInfoAlertCount:
        type: integer
        format: int64
        description: Current count of active alerts classified as an info.
      activeWarningAlertCount:
        type: integer
        format: int64
        description: Current count of active alerts classified as a warning.
      activeErrorAlertCount:
        type: integer
        format: int64
        description: Current count of active alerts classified as an error.
      created:
        type: integer
        format: int64
        description: Timestamp of the creation of the deployment.
      updated:
        type: integer
        format: int64
        description: Timestamp of the last time the deployment was modified.
      validActions:
        type: array
        description: Valid actions that can be applied to the deployment in its current state.
        uniqueItems: true
        items:
          type: string
          enum:
            - VIEW_NIFI
            - START_FLOW
            - STOP_FLOW
            - EDIT
            - CANCEL_CREATE
            - TERMINATE
            - VIEW_METRICS
            - UPDATE_NIFI_VERSION
            - CANCEL_NIFI_VERSION_UPDATE
            - RESTART_DEPLOYMENT
            - MANAGE_DEPLOYMENT
            - EXPORT
            - SUSPEND
            - RESUME
            - DOWNLOAD_LOG
            - CHANGE_FLOW_VERSION
            - RETRY_CHANGE_FLOW_VERSION
            - CANCEL_CHANGE_FLOW_VERSION
            - DEPLOY_NEW_FLOW
            - START_ALL
            - STOP_ALL
      project:
        description: Simple information about the project this deployment belongs to, or null if does not belong to a project.
        readOnly: true
        $ref: '#/definitions/ProjectMeta'
      nifiUrl:
        type: string
        description: The url to open the deployed flow in NiFi.
      clusterSizeParams:
        description: The initial size of the deployment.
        $ref: '#/definitions/ClusterSize'
      autoscalingEnabled:
        type: boolean
        description: Whether or not autoscaling is enabled for this deployment.
      flowMetricsScalingEnabled:
        type: boolean
        description: Whether or not flow metrics scaling is enabled for this deployment.
      autoscaleMinNodes:
        type: integer
        format: int32
        description: The minimum number of nodes that the deployment will allocate; can only be used when autoscalingEnabled is true.
      autoscaleMaxNodes:
        type: integer
        format: int32
        description: The maximum number of nodes that the deployment can scale up to; can only be used when autoscalingEnabled is true.
      staticNodeCount:
        type: integer
        format: int32
        description: The static number of nodes of the deployment; can only be used when autoscalingEnabled is false.
      flowName:
        type: string
        description: The artifact name of the first deployed flow. Deprecated, use flowName inside deployedFlows.
        x-deprecated: true
      flowVersion:
        type: integer
        format: int32
        description: The version of the first deployed flow. Deprecated, use flowVersion inside deployedFlows.
        x-deprecated: true
      flowVersionCrn:
        type: string
        description: The current flow version CRN of the first deployed flow. Deprecated, use flowVersionCrn inside deployedFlows.
        x-deprecated: true
      flowCrn:
        type: string
        description: The current flow CRN of the first deployed flow. Deprecated, use flowCrn inside deployedFlows.
        x-deprecated: true
      creatorCrn:
        type: string
        description: The CRN of the user who deployed the first flow.
      artifactTypeName:
        type: string
        description: The type of artifact of the first deployed flow. Deprecated, use artifactTypeName inside deployedFlows.
        x-deprecated: true
      currentNodeCount:
        type: integer
        format: int32
        description: The current node count.
      deployedByUsername:
        type: string
        description: The username of the person who deployed the first flow.
      deployedByName:
        type: string
        description: The name of the person who deployed the first flow.
      dfxLocalUrl:
        type: string
        description: Base URL to the CDF Local instance running this deployment.
      configurationVersion:
        type: integer
        format: int32
        description: The current version of the deployment's configuration.
      lastUpdatedByUsername:
        type: string
        description: The username of the last person to update the deployment.
      cfmNifiVersion:
        type: string
        description: The CFM NiFi version associated with the deployment.
      inboundConnectionEndpointId:
        type: string
        description: The ID of Inbound Connection Endpoint assigned to the deployment.
      testSession:
        type: boolean
        description: Indicates this deployment was created as a test session for designing a flow.
      flowDesignerId:
        type: string
        description: The ID of the flow design for a test session deployment.
      customNarConfigurationId:
        type: string
        description: The identifier of the custom NAR configuration, if used.
      customPythonConfigurationId:
        type: string
        description: The identifier of the custom python configuration, if used.
      nodeStorageProfile:
        type: string
        description: The node storage profile.
      nodeStorage:
        description: The node storage data.
        $ref: '#/definitions/NodeStorage'
      targetProcessGroupId:
        type: string
        description: The target process group ID of the first deployed flow. Deprecated, use targetProcessGroupId inside deployedFlows.
        x-deprecated: true
      inboundConnectionAuthorizedIpRanges:
        type: array
        description: Set of authorized IP ranges for the inbound connections.
        uniqueItems: true
        items:
          type: string
      deployedFlows:
        type: array
        description: The details about the flows that are deployed into the NiFi cluster.
        items:
          $ref: '#/definitions/DeployedFlow'
      projectCrn:
        type: string
        description: The crn of the project this deployment belongs to, or null if does not belong to a project.
  RpcDeploymentArchiveMetadata:
    type: object
    description: Provides the metadata about deployment exported archive
    x-workload: true
    x-client-only: true
    properties:
      workloadVersion:
        type: string
        description: The version of workload when deployment configuration is exported.
        readOnly: true
      deploymentName:
        type: string
        description: The name of the deployment
        readOnly: true
      flowName:
        type: string
        description: The name of the flow
        readOnly: true
      deployedFlows:
        type: array
        description: The list of the deployed flows and flow definition names tuples exported as part of deployment configuration
        readOnly: true
        items:
          $ref: '#/definitions/DeployedFlowMetadata'
      archiveName:
        type: string
        description: The name of the exported deployment archive
        readOnly: true
      modifiedTime:
        type: integer
        format: int64
        description: The time when the deployment archive is created or modified
        readOnly: true
      archiveDescription:
        type: string
        description: The description provided during deployment configuration export
        readOnly: true
      uploadTime:
        type: integer
        format: int64
        description: The time when the deployment archive is uploaded to cloud
        readOnly: true
      projectCrn:
        type: string
        description: The CRN of the project that exported deployment is assigned to.
        readOnly: true
  RpcDeploymentConfiguration:
    type: object
    description: Provides all of the configuration that dictates how a flow should be deployed.
    x-workload: true
    x-client-only: true
    required:
      - configurationVersion
    properties:
      configurationVersion:
        type: integer
        format: int32
        description: The version of this configuration.
      parameterGroups:
        type: array
        description: The list of flow parameter groups, for the first deployed flow.
        items:
          $ref: '#/definitions/FlowParameterGroup'
      autoScalingEnabled:
        type: boolean
        description: Specifies that auto-scaling should be enabled.
      flowMetricsScalingEnabled:
        type: boolean
        description: Specifies that Flow metrics should be enabled for scaling.
      autoScaleMinNodes:
        type: integer
        format: int32
        description: The minimum number of nodes that the cluster should allocate. May only be specified when autoScalingEnabled is true.
      autoScaleMaxNodes:
        type: integer
        format: int32
        description: The maximum number of nodes that the cluster should scale to. May only be specified when autoScalingEnabled is true.
      staticNodeCount:
        type: integer
        format: int32
        description: The static number of nodes that the cluster should allocate. May only be specified when autoScalingEnabled is false.
      kpis:
        type: array
        description: The list of configured KPIs.
        items:
          $ref: '#/definitions/ConfiguredKpi'
      deploymentId:
        type: string
        description: The id of the deployment.
      deploymentCrn:
        type: string
        description: The CRN of the deployment.
      name:
        type: string
        description: The name of the deployment
      cfmNifiVersion:
        type: string
        description: The CFM NiFi version associated with the deployment.
      autoStartFlow:
        type: boolean
        description: Indicates whether or not the flow should be started during deployment creation.
      clusterSize:
        description: The size of the cluster to deploy.
        $ref: '#/definitions/BasicClusterSize'
      nodeStorageProfileName:
        type: string
        description: Node storage profile name.
        enum:
          - LEGACY_STANDARD
          - LEGACY_PERFORMANCE
          - STANDARD_AWS
          - TEST_SESSION_AWS
          - TEST_SESSION_AZURE
          - STANDARD_AZURE
          - PERFORMANCE_AWS
          - PERFORMANCE_AZURE
          - LOCAL_K8S
          - CUSTOM_AWS
          - CUSTOM_AZURE
      parametersDirty:
        type: boolean
        description: Indicates whether or not all current parameter values have successfully been applied to NiFi, for the first deployed flow. Deprecated, use parametersDirty inside deployedFlowConfigurations instead.
        readOnly: true
        x-deprecated: true
      kpisDirty:
        type: boolean
        description: Indicates whether or not the current KPIs have successfully been deployed as alert rules, at the deployment level. Use kpisDirty inside deployedFlowConfigurations for any flow-level KPIs.
        readOnly: true
      sizingAndScalingDirty:
        type: boolean
        description: Indicates whether or not the current sizing and scaling configuration has been successfully applied in Kubernetes.
        readOnly: true
      customNarConfigurationDirty:
        type: boolean
        description: Indicates whether or not the current custom NAR configuration has been successfully applied.
        readOnly: true
      customPythonConfigurationDirty:
        type: boolean
        description: Indicates whether or not the current custom Python configuration has been successfully applied.
        readOnly: true
      lastUpdatedByUsername:
        type: string
        description: The username of the last person to update the deployment configuration.
        readOnly: true
      inboundHostname:
        type: string
        description: The inbound hostname.
      listenComponents:
        type: array
        description: Listen components port and protocol data.
        items:
          $ref: '#/definitions/ListenComponent'
      projectCrn:
        type: string
        description: The crn of the project this deployment belongs to, or null if does not belong to a project.
      assetConfigurationAvailable:
        type: boolean
        description: Indicates whether the cluster is configured to accept FILE/FILES type parameters.
      nodeStorage:
        description: The node storage data.
        $ref: '#/definitions/NodeStorage'
      pythonWorkDirectorySize:
        type: integer
        format: int32
        description: The size of the extra volume mounted for flows containing python.
        readOnly: true
      customNarConfigurationId:
        type: string
        description: The id of the custom NAR configuration associated with the deployment.
      customPythonConfigurationId:
        type: string
        description: The id of the custom Python configuration associated with the deployment.
  RpcDeploymentConfigurationMetadata:
    type: object
    description: Provides details about the deployment and all of the different configuration items that are available.
    x-workload: true
    x-client-only: true
    required:
      - flowCrn
      - flowName
      - flowVersion
      - flowVersionCrn
      - requiresEnvironmentSslContextService
      - service
    properties:
      flowCrn:
        type: string
        description: The flow CRN of the first deployed flow. Deprecated, use flowCrn inside DeployedFlow.
        x-deprecated: true
      flowName:
        type: string
        description: The artifact name of the first deployed flow. Deprecated, use flowName inside DeployedFlow.
        x-deprecated: true
      flowVersion:
        type: integer
        format: int32
        description: The version of the first deployed flow. Deprecated, use flowVersion inside DeployedFlow.
        x-deprecated: true
      flowVersionCrn:
        type: string
        description: The current flow version CRN of the first deployed flow. Deprecated, use flowVersionCrn inside DeployedFlow.
        x-deprecated: true
      service:
        description: Simple information about the DataFlow service of the deployment
        $ref: '#/definitions/ServiceMeta'
      requiresEnvironmentSslContextService:
        type: boolean
        description: A flag indicating if the flow requires an Environment specific SSLContextService
        readOnly: true
      artifactTypeName:
        type: string
        description: The type of artifact of the first deployed flow. Deprecated, use artifactTypeName inside DeployedFlow.
        readOnly: true
        x-deprecated: true
      parameterGroups:
        type: array
        description: The list of flow parameter groups
        items:
          $ref: '#/definitions/FlowParameterGroup'
      kpiMetaData:
        description: The KPI meta data
        $ref: '#/definitions/KpiMetaData'
      clusterSizingOptions:
        type: array
        description: The options that are available for determining the size of the deployed cluster
        items:
          $ref: '#/definitions/ClusterSize'
      nodeStorageProfileMetadata:
        type: array
        description: The list of node storage profiles
        items:
          $ref: '#/definitions/NodeStorageProfileMetadata'
  RpcImportedDeploymentConfiguration:
    type: object
    description: Contains the configuration data imported from exported archive.
    x-workload: true
    x-client-only: true
    properties:
      autoScalingEnabled:
        type: boolean
        description: The auto-scaling flag value retrieved from archive.
        readOnly: true
      flowMetricsScalingEnabled:
        type: boolean
        description: The flow-metrics flag value retrieved from archive.
        readOnly: true
      autoScaleMinNodes:
        type: integer
        format: int32
        description: The cluster's minimum number of nodes value retrieved from archive.
        readOnly: true
      autoScaleMaxNodes:
        type: integer
        format: int32
        description: The cluster's maximum number of nodes value retrieved from archive.
        readOnly: true
      staticNodeCount:
        type: integer
        format: int32
        description: The cluster's static node count retrieved from archive.
        readOnly: true
      clusterSize:
        description: The deployment t-shirt size.
        $ref: '#/definitions/BasicClusterSize'
      kpis:
        type: array
        description: The list of configured KPIs imported from archive.
        readOnly: true
        items:
          $ref: '#/definitions/ConfiguredKpi'
      deployedFlowKpis:
        type: array
        description: The list of configured component KPIs imported from archive.
        readOnly: true
        items:
          $ref: '#/definitions/ConfiguredKpi'
      flowParameterGroups:
        type: array
        description: The flow parameter groups with values imported from archive.
        readOnly: true
        items:
          $ref: '#/definitions/FlowParameterGroup'
      cfmNifiVersion:
        type: string
        description: The CFM NiFi version retrieved from archive.
        readOnly: true
      inboundHostName:
        type: string
        description: The FQDN of inbound hostname constructed with prefix imported from archive.
        readOnly: true
      listenComponents:
        type: array
        description: The concatenated list of Nifi listen components imported from archive and flow.
        readOnly: true
        uniqueItems: true
        items:
          $ref: '#/definitions/ListenComponent'
      inboundConnectionAuthorizedIpRanges:
        type: array
        description: Set of authorized CIDR ranges for the inbound connections.
        readOnly: true
        uniqueItems: true
        items:
          type: string
      nodeStorageProfile:
        type: string
        description: The node storage profile imported from archive.
        readOnly: true
      nodeStorage:
        description: The node storage data imported from archive.
        readOnly: true
        $ref: '#/definitions/NodeStorage'
      projectCrn:
        type: string
        description: The project CRN retrieved from backup.
        readOnly: true
      customNarConfigurationCrn:
        type: string
        description: The CRN of the custom NAR configuration.
        readOnly: true
      customPythonConfigurationCrn:
        type: string
        description: The CRN of the custom Python configuration.
        readOnly: true
  RpcWorkloadResourceSummary:
    type: object
    description: Provides a summary of the workload resource.
    x-workload: true
    x-client-only: true
    required:
      - resourceCrn
    properties:
      resourceCrn:
        type: string
        description: The crn of the workload resource.
      projectCrn:
        type: string
        description: The project crn that the resource is assigned to. Should be null if resource is not assigned to a project.
  RuntimeSession:
    type: object
    description: Provides details about a flow designer runtime session.
    x-workload: true
    x-client-only: true
    properties:
      status:
        description: The workflow status of the deployment for the runtime session.
        readOnly: true
        $ref: '#/definitions/DeploymentStatus'
      runtimeStatus:
        description: The runtime status of the deployment for the runtime session.
        readOnly: true
        $ref: '#/definitions/DeploymentStatus'
      runtimeVersion:
        type: string
        description: Runtime version of NiFi backing this session.
        readOnly: true
      createdTimestamp:
        type: integer
        format: int64
        description: Timestamp of the creation of the runtime session.
      crn:
        type: string
        description: The CRN of the deployment for the runtime session.
        readOnly: true
      name:
        type: string
        description: The name of the deployment for the runtime session.
        readOnly: true
  ServiceMeta:
    type: object
    description: The meta information about a DataFlow service.
    x-workload: true
    x-client-only: true
    required:
      - cloudPlatform
      - crn
      - environmentCrn
      - name
      - region
    properties:
      crn:
        type: string
        description: The CRN of the DataFlow service
      name:
        type: string
        description: The name of the DataFlow service
      cloudPlatform:
        type: string
        description: The cloudPlatform flag of the DataFlow service
        enum:
          - AWS
          - AZURE
          - YARN
          - YCLOUD
          - GCP
          - OPENSTACK
          - LOCAL_K8S
          - MOCK
      region:
        description: The region of the DataFlow service
        $ref: '#/definitions/EnvCloudRegion'
      environmentCrn:
        type: string
        description: Crn of associated CDP environment
  SimpleListenComponent:
    type: object
    description: Provides subset of metadata of a Listen* component.
    x-workload: true
    x-client-only: true
    required:
      - protocol
    properties:
      protocol:
        type: string
        description: Inbound protocol.
        enum:
          - TCP
          - UDP
      port:
        type: string
        description: Inbound port.
  StartAllFlowsInDeploymentRequest:
    type: object
    description: Request object for starting the NiFi flows in a deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
  StartAllFlowsInDeploymentResponse:
    type: object
    description: Response object for starting all NiFi flows in a deployment.
    x-workload: true
    x-client-only: true
    properties:
      deployment:
        description: The deployment.
        $ref: '#/definitions/RpcDeployment'
  StartFlowInDeploymentRequest:
    type: object
    description: Request object for starting the NiFi flow.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deployedFlowCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
      deployedFlowCrn:
        type: string
        description: The deployed flow crn.
  StartFlowInDeploymentResponse:
    type: object
    description: Response object for starting the NiFi flow.
    x-workload: true
    x-client-only: true
    properties:
      deployedFlow:
        description: The deployment.
        $ref: '#/definitions/RpcDeployedFlow'
  StartFlowRequest:
    type: object
    description: Request object for starting the NiFi flow.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
  StartFlowResponse:
    type: object
    description: Response object for starting the NiFi flow.
    x-workload: true
    x-client-only: true
    properties:
      deployment:
        description: The deployment.
        $ref: '#/definitions/RpcDeployment'
  StopAllFlowsInDeploymentRequest:
    type: object
    description: Request object for stopping the NiFi flows in a deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
      waitForFlowToStopInMinutes:
        type: integer
        format: int32
        description: The max time in minutes to wait for flows to stop.
  StopAllFlowsInDeploymentResponse:
    type: object
    description: Response object for stopping all NiFi flows in a deployment.
    x-workload: true
    x-client-only: true
    properties:
      deployment:
        description: The deployment.
        $ref: '#/definitions/RpcDeployment'
  StopFlowInDeploymentRequest:
    type: object
    description: Request object for stopping the NiFi flow.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deployedFlowCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
      deployedFlowCrn:
        type: string
        description: The deployed flow crn.
      waitForFlowToStopInMinutes:
        type: integer
        format: int32
        description: The max time in minutes to wait for flow to stop.
  StopFlowInDeploymentResponse:
    type: object
    description: Response object for stopping the NiFi flow.
    x-workload: true
    x-client-only: true
    properties:
      deployedFlow:
        description: The deployment.
        $ref: '#/definitions/RpcDeployedFlow'
  StopFlowRequest:
    type: object
    description: Request object for stopping the NiFi flow.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
      waitForFlowToStopInMinutes:
        type: integer
        format: int32
        description: The max time in minutes to wait for flow to stop.
  StopFlowResponse:
    type: object
    description: Response object for stopping the NiFi flow.
    x-workload: true
    x-client-only: true
    properties:
      deployment:
        description: The deployment.
        $ref: '#/definitions/RpcDeployment'
  SuspendDeploymentRequest:
    type: object
    description: Request object to suspend a deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
  SuspendDeploymentResponse:
    type: object
    description: Response object for suspending a deployment.
    x-workload: true
    x-client-only: true
    properties:
      deployment:
        description: The deployment.
        $ref: '#/definitions/RpcDeployment'
  SuspendTestSessionRequest:
    type: object
    description: Request object for suspending a running test session.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - flowDraftCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      flowDraftCrn:
        type: string
        description: The CRN for the flow designer draft to be suspended.
  SuspendTestSessionResponse:
    type: object
    description: Response object for suspending a flow designer runtime session.
    x-workload: true
    x-client-only: true
    properties:
      runtimeSession:
        description: The suspended runtime session.
        $ref: '#/definitions/RuntimeSession'
  TerminateDeploymentRequest:
    type: object
    description: Request object to terminate a deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
  TerminateDeploymentResponse:
    type: object
    description: Response object for terminating a deployment request.
    x-workload: true
    x-client-only: true
    properties:
      deployment:
        description: The deployment.
        $ref: '#/definitions/RpcDeployment'
  TerminateFlowInDeploymentRequest:
    type: object
    description: Request object to terminate a flow in a deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - deployedFlowCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
      deployedFlowCrn:
        type: string
        description: The deployed flow crn.
  TerminateFlowInDeploymentResponse:
    type: object
    description: Response object for terminating a flow in a deployment.
    x-workload: true
    x-client-only: true
    properties:
      deployedFlow:
        description: The deployment.
        $ref: '#/definitions/RpcDeployedFlow'
  TerminateTestSessionRequest:
    type: object
    description: Request object for terminating a test session.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - flowDraftCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      flowDraftCrn:
        type: string
        description: The CRN for the flow designer draft to be terminated.
  TerminateTestSessionResponse:
    type: object
    description: Response object for terminating a flow designer test session.
    x-workload: true
    x-client-only: true
    properties:
      runtimeSession:
        description: The terminated runtime session.
        $ref: '#/definitions/RuntimeSession'
  UpdateCustomNarConfigurationRequest:
    type: object
    description: Request object to update a custom NAR configuration.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - configurationVersion
      - password
      - storageLocation
      - username
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      username:
        type: string
        description: The username used to access the storage location.
      password:
        type: string
        description: The password used to access the storage location.
      storageLocation:
        type: string
        description: The storage location, such as an S3 bucket or ADLS container.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration.
      projectCrn:
        type: string
        description: The CRN of the project.
      crn:
        type: string
        description: The CRN of the custom NAR configuration to update.
  UpdateCustomNarConfigurationResponse:
    type: object
    description: Response object for updating a custom NAR configuration.
    x-workload: true
    x-client-only: true
    required:
      - configurationVersion
      - password
      - storageLocation
      - username
    properties:
      username:
        type: string
        description: The username used to access the storage location.
      password:
        type: string
        description: The password used to access the storage location.
      storageLocation:
        type: string
        description: The storage location, such as an S3 bucket or ADLS container.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration.
      projectCrn:
        type: string
        description: The CRN of the project.
      crn:
        type: string
        description: The CRN of the custom resource configuration to update.
  UpdateCustomPythonConfigurationRequest:
    type: object
    description: Request object to update a custom Python configuration.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - configurationVersion
      - crn
      - password
      - storageLocation
      - username
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      username:
        type: string
        description: The username used to access the storage location.
      password:
        type: string
        description: The password used to access the storage location.
      storageLocation:
        type: string
        description: The storage location, such as an S3 bucket or ADLS container.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration.
      crn:
        type: string
        description: The CRN of the custom Python configuration to update.
      projectCrn:
        type: string
        description: The CRN of the project.
  UpdateCustomPythonConfigurationResponse:
    type: object
    description: Response object for updating a custom Python configuration.
    x-workload: true
    x-client-only: true
    required:
      - configurationVersion
      - password
      - storageLocation
      - username
    properties:
      username:
        type: string
        description: The username used to access the storage location.
      password:
        type: string
        description: The password used to access the storage location.
      storageLocation:
        type: string
        description: The storage location, such as an S3 bucket or ADLS container.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration.
      projectCrn:
        type: string
        description: The CRN of the project.
      crn:
        type: string
        description: The CRN of the custom resource configuration to update.
  UpdateDeploymentRequest:
    type: object
    description: Provides all of the configuration that dictates how a deployment should be updated.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - configurationVersion
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The CRN of the existing deployment to be updated.
      configurationVersion:
        type: integer
        format: int32
        description: The version of this configuration.
      assetUpdateRequestCrn:
        type: string
        description: The CRN of the asset update request. Required when updating assets of an existing deployment. Deprecated, use asset-update-request-crn in the update-flow-in-deployment command.
        x-deprecated: true
      clusterSize:
        description: The deployment t-shirt size.
        $ref: '#/definitions/BasicClusterSize'
      parameterGroups:
        type: array
        description: The list of flow parameter groups, for the first deployed flow. Deprecated, use parameter-groups in the update-flow-in-deployment command.
        items:
          $ref: '#/definitions/FlowParameterGroup'
        x-deprecated: true
      autoScaleMinNodes:
        type: integer
        format: int32
        description: The minimum number of nodes that the cluster should allocate. May only be specified when autoScalingEnabled is true.
      autoScaleMaxNodes:
        type: integer
        format: int32
        description: The maximum number of nodes that the cluster should scale to. May only be specified when autoScalingEnabled is true.
      staticNodeCount:
        type: integer
        format: int32
        description: The static number of nodes that the cluster should allocate. May only be specified when autoScalingEnabled is false.
      kpis:
        type: array
        description: The list of Key Performance Indicators (KPIs) with which to replace the current list of configured KPIs. Only deployment-level KPIs are allowed. To configure flow-level KPIs, use update-flow-in-deployment. If the list is empty, all KPIs are deleted; however, if it is not specified, the current KPI settings are not updated.
        items:
          $ref: '#/definitions/ConfiguredKpi'
      inboundHostname:
        type: string
        description: The FQDN of inbound hostname or just the prefix part.
      listenComponents:
        type: array
        description: Listen components port and protocol data.
        items:
          $ref: '#/definitions/SimpleListenComponent'
      inboundConnectionAuthorizedIpRanges:
        type: array
        description: Set of authorized CIDR ranges for the inbound connections.
        uniqueItems: true
        items:
          type: string
      deactivateInboundConnection:
        type: boolean
        description: Specifies that the inbound connection be deactivated.
      customNarConfigurationCrn:
        type: string
        description: The CRN of the Custom NAR configuration.
      customPythonConfigurationCrn:
        type: string
        description: The CRN of the Custom Python configuration.
      cliSupportsMultiFlow:
        type: boolean
        description: Specifies whether the CDP CLI supports the multi-flow. Deprecated, this argument is only for internal use.
        x-deprecated: true
  UpdateDeploymentResponse:
    type: object
    description: Response object from updating a deployment.
    x-workload: true
    x-client-only: true
    properties:
      deploymentConfiguration:
        description: The deployment configuration.
        $ref: '#/definitions/RpcDeploymentConfiguration'
  UpdateFlowInDeploymentRequest:
    type: object
    description: Provides all of the configuration that dictates how a deployed flow should be updated.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - configurationVersion
      - deployedFlowCrn
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The CRN of the deployment.
      deployedFlowCrn:
        type: string
        description: The CRN of the deployed flow.
      configurationVersion:
        type: integer
        format: int32
        description: The version of this configuration.
      assetUpdateRequestCrn:
        type: string
        description: The CRN of the asset update request. Required when updating assets of an existing deployed flow. Deprecated, this argument is only for internal use.
        x-deprecated: true
      parameterGroups:
        type: array
        description: The list of flow parameter groups. When updating shared parameters, individual shared parameters cannot be updated. All parameters referencing a given shared parameter group need to be updated simultaneously by providing the group id under inheritedParameterGroups, and also explicitly providing these parameters with the sourceParameterGroupId populated.
        items:
          $ref: '#/definitions/FlowParameterGroup'
      kpis:
        type: array
        description: The list of configured KPIs.
        items:
          $ref: '#/definitions/ConfiguredKpi'
      updateSharedParameterGroupCrns:
        type: array
        description: The CRNs of the shared parameter groups to update. They will be updated across all parameter groups.
        items:
          type: string
  UpdateFlowInDeploymentResponse:
    type: object
    description: Response object from updating a deployed flow.
    x-workload: true
    x-client-only: true
    properties:
      deployedFlowConfiguration:
        description: The deployed flow configuration.
        $ref: '#/definitions/RpcDeployedFlowConfiguration'
  UpdateNifiVersionRequest:
    type: object
    description: Request object for updating the NiFi version of a deployment.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - cfmNifiVersion
      - deploymentCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      deploymentCrn:
        type: string
        description: The deployment crn.
      cfmNifiVersion:
        type: string
        description: The NiFi version to which to update the deployment.
  UpdateNifiVersionResponse:
    type: object
    description: Response object for updating the NiFi version of a deployment.
    x-workload: true
    x-client-only: true
    properties:
      deployment:
        description: The deployment.
        $ref: '#/definitions/RpcDeployment'
  UpdateParameterGroupRequest:
    type: object
    description: Request object for updating a parameter group. A parameter with only its name set indicates deletion. A parameter matching an existing name indicates an update. A parameter with a new name indicates an addition.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - parameterGroupCrn
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      parameterGroupCrn:
        type: string
        description: The CRN of the Parameter Group.
        readOnly: true
      description:
        type: string
        description: The description of the parameter group.
      parameters:
        type: array
        description: The parameters in this group.
        uniqueItems: true
        items:
          $ref: '#/definitions/ParameterRequest'
  UpdateParameterGroupResponse:
    type: object
    description: Response object for updating a parameter group.
    x-workload: true
    x-client-only: true
    properties:
      parameterGroup:
        description: The updated parameter group.
        $ref: '#/definitions/ParameterGroup'
  UploadAssetRequest:
    type: object
    description: Request object for uploading an asset
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - filePath
      - parameterGroup
      - parameterName
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      parameterGroup:
        type: string
        description: The name of the parameter group
      parameterName:
        type: string
        description: The name of the parameter within the parameter group
      filePath:
        type: string
        description: The full local path to the file being uploaded
      deploymentRequestCrn:
        type: string
        description: The CRN of the deployment request. Required during initial deployment.
      deployedFlowName:
        type: string
        description: The name of the deployed flow.  If unspecified, the deployment name will be used.
      deploymentName:
        type: string
        description: The name of the deployment. Required during initial deployment.
      assetUpdateRequestCrn:
        type: string
        description: The CRN of the asset update request. Required when updating assets of an existing deployment.
  UploadAssetResponse:
    type: object
    description: Response for uploading an asset.
    x-workload: true
    x-client-only: true
  UploadParameterAssetRequest:
    type: object
    description: Request object for uploading an asset to a parameter.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - filePath
      - parameterGroupCrn
      - parameterName
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      parameterGroupCrn:
        type: string
        description: The CRN of the parameter group.
      parameterName:
        type: string
        description: The name of the parameter.
      filePath:
        type: string
        description: The full local path to the file being uploaded.
  UploadParameterAssetResponse:
    type: object
    description: Response object for uploading a parameter asset.
    x-workload: true
    x-client-only: true
  ValidateCustomNarConfigurationRequest:
    type: object
    description: Request object for validating a custom NAR configuration.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - configurationVersion
      - password
      - storageLocation
      - username
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      username:
        type: string
        description: The username used to access the storage location.
      password:
        type: string
        description: The password used to access the storage location.
      storageLocation:
        type: string
        description: The storage location, such as an S3 bucket or ADLS container.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration.
      projectCrn:
        type: string
        description: The CRN of the project.
  ValidateCustomNarConfigurationResponse:
    type: object
    description: Response object for validating custom NAR configuration.
    x-workload: true
    x-client-only: true
  ValidateCustomPythonConfigurationRequest:
    type: object
    description: Request object for validating a custom Python configuration.
    x-workload: true
    x-client-only: true
    required:
      - environmentCrn
      - configurationVersion
      - password
      - storageLocation
      - username
    properties:
      environmentCrn:
        type: string
        description: The CRN of an environment to execute the command.
      username:
        type: string
        description: The username used to access the storage location.
      password:
        type: string
        description: The password used to access the storage location.
      storageLocation:
        type: string
        description: The storage location, such as an S3 bucket or ADLS container.
      configurationVersion:
        type: integer
        format: int32
        description: The version of the configuration.
      projectCrn:
        type: string
        description: The CRN of the project.
  ValidateCustomPythonConfigurationResponse:
    type: object
    description: Response object for validating custom Python configuration.
    x-workload: true
    x-client-only: true
  VersionedParameterGroupReference:
    type: object
    description: A reference to a specific version of a shared parameter group
    x-workload: true
    x-client-only: true
    required:
      - groupId
    properties:
      groupId:
        type: string
        description: The ID of the parameter group
      version:
        type: integer
        format: int64
        description: The version of the parameter group. Empty or null means the latest version.
