Skip to content

deployment

YYBartT edited this page Jan 18, 2026 · 1 revision

Deployment

Functions

This module offers a collection of functions designed to address specific tasks and provide utilities for various purposes. Explore the available functions to make the most of the functionalities provided by this module.



Back To Top

elements_deployment_get_deployments

Elements Operation: getDeployments

This function retrieves the deployments for the given application.

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Callback Function.


Syntax:

elements_deployment_get_deployments(_application_id, _callback=undefined)
Argument Type Description
_application_id String The ID of the application.
_callback Function The function - with signature (status, data, request) - that will be executed upon request completion.



Returns:

N/A


Triggers:

Callback Function

Key Type Description
_status Real
_data ElementsPaginationDeployment
_request ElementsRequest



Back To Top

elements_deployment_create_new_deployment

Elements Operation: createNewDeployment

This function creates a new deployment.

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Callback Function.


Syntax:

elements_deployment_create_new_deployment(_application_id, _body=undefined, _callback=undefined)
Argument Type Description
_application_id String The ID of the application.
_body ElementsCreateDeploymentRequest The body to be included in the HTTP request.
_callback Function The function - with signature (status, data, request) - that will be executed upon request completion.



Returns:

N/A


Triggers:

Callback Function

Key Type Description
_status Real
_data ElementsDeployment
_request ElementsRequest



Back To Top

elements_deployment_get_deployment

Elements Operation: getDeployment

This function gets the deployment for the given application with the given ID.

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Callback Function.


Syntax:

elements_deployment_get_deployment(_application_id, _deployment_id, _callback=undefined)
Argument Type Description
_application_id String The ID of the application.
_deployment_id String The ID of the deployment.
_callback Function The function - with signature (status, data, request) - that will be executed upon request completion.



Returns:

N/A


Triggers:

Callback Function

Key Type Description
_status Real
_data ElementsDeployment
_request ElementsRequest



Back To Top

elements_deployment_delete_deployment

Elements Operation: deleteDeployment

This function deletes the given deployment for the given application ID.

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Callback Function.


Syntax:

elements_deployment_delete_deployment(_application_id, _deployment_id, _callback=undefined)
Argument Type Description
_application_id String The ID of the application.
_deployment_id String The ID of the deployment.
_callback Function The function - with signature (status, data, request) - that will be executed upon request completion.



Returns:

N/A


Triggers:

Callback Function

Key Type Description
_status Real
_data Undefined
_request ElementsRequest



Back To Top

elements_deployment_get_current_deployment

Elements Operation: getCurrentDeployment

This function gets the current deployment.

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Callback Function.


Syntax:

elements_deployment_get_current_deployment(_application_id, _callback=undefined)
Argument Type Description
_application_id String The ID of the deployment.
_callback Function The function - with signature (status, data, request) - that will be executed upon request completion.



Returns:

N/A


Triggers:

Callback Function

Key Type Description
_status Real
_data ElementsDeployment
_request ElementsRequest



Back To Top

elements_deployment_update_deployment

Elements Operation: updateDeployment

This function updates the deployment.

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Callback Function.


Syntax:

elements_deployment_update_deployment(_application_id, _version, _body=undefined, _callback=undefined)
Argument Type Description
_application_id String The ID of the application.
_version String The version to use.
_body ElementsUpdateDeploymentRequest The body to be included in the HTTP request.
_callback Function The function - with signature (status, data, request) - that will be executed upon request completion.



Returns:

N/A


Triggers:

Callback Function

Key Type Description
_status Real
_data ElementsDeployment
_request ElementsRequest


Clone this wiki locally