Deploy a Data Code Extension %s package to a Salesforce org.
Deploys an initialized and packaged Data Cloud code extension to a Salesforce org. The package must be initialized and zipped before deployment. Supports both script and function packages with configurable CPU resources and network settings.
-
Deploy a %s package to the org with alias "myorg":
<%= config.bin %> data-code-extension %s deploy --name my-package --package-version 1.0.0 --description "My package" --package-dir ./package --target-org myorg
-
Deploy with a specific CPU size:
<%= config.bin %> data-code-extension %s deploy --name my-package --package-version 1.0.0 --description "My package" --package-dir ./package --target-org myorg --cpu-size CPU_4XL
-
Deploy a script package to the org with alias "myorg":
<%= config.bin %> data-code-extension script deploy --name my-package --package-version 1.0.0 --description "My package" --package-dir ./package --target-org myorg
-
Deploy with a specific CPU size:
<%= config.bin %> data-code-extension script deploy --name my-package --package-version 1.0.0 --description "My package" --package-dir ./package --target-org myorg --cpu-size CPU_4XL
-
Deploy a function package to the org with alias "myorg":
<%= config.bin %> data-code-extension function deploy --name my-package --package-version 1.0.0 --description "My package" --package-dir ./package --target-org myorg --function-invoke-opt UnstructuredChunking
-
Deploy with a specific CPU size:
<%= config.bin %> data-code-extension function deploy --name my-package --package-version 1.0.0 --description "My package" --package-dir ./package --target-org myorg --cpu-size CPU_4XL --function-invoke-opt UnstructuredChunking
Checking Python version...
Python %s found at '%s'
Checking required Python packages...
Package '%s' version %s found
Checking datacustomcode binary...
Datacustomcode binary version %s found
Authenticating with Salesforce org '%s'...
Successfully authenticated with org '%s'
Deploying package to Salesforce org...
Package '%s' version '%s' deployed successfully!
Deployment ID: %s
Endpoint URL: %s
Deployment Status: %s
Data Code Extension deployment completed successfully!
Failed to deploy Data Code Extension package
Name of the package to deploy.
The unique name identifier for your Data Cloud custom code package. This name is used to identify the deployment in your Salesforce org.
Version of the package to deploy.
The version string for your package deployment. Use semantic versioning (such as 1.0.0) to track different releases of your code.
Description of the package.
A meaningful description of what your Data Cloud custom code package does. This helps identify the package purpose in your Salesforce org.
Network configuration for Jupyter notebooks.
Optional network configuration setting for packages that include Jupyter notebooks. Common values include 'host' for host network mode. Typically applies to packages with Jupyter notebook support.
Directory containing the packaged code.
The path to the directory containing your initialized and zipped Data Cloud custom code package. This directory contains the package files created by the 'zip' command.
CPU size for the deployment.
The CPU allocation size for your deployed package. Options are: CPU_L (small), CPU_XL (large), CPU_2XL (extra large, default), CPU_4XL (maximum). Higher CPU sizes provide more processing power but may have quota implications.
Target Salesforce org for deployment.
The alias or username of the Salesforce org where you want to deploy the Data Cloud custom code package. The org must have Data Cloud enabled and appropriate permissions.
Function invocation option (function packages only).
Configuration for how functions should be invoked. UnstructuredChunking is only valid option at this point