Digibeectl operations
Explore the various operations available in Digibeectl.
Last updated
Explore the various operations available in Digibeectl.
Last updated
With simple commands, you can easily configure your customer. Settings are automatically saved to a file, speeding up subsequent commands.
Follow the table for the standard syntax and descriptions for performing operations in Digibeectl:
completion
digibeectl completion SUB-COMMAND [flags]
Generate the autocompletion script for digibeectl for the specified shell.
config
digibeectl config [flags]
Configure digibeectl.
create
digibeectl create RESOURCE [flags]
Command to create resources
delete
digibeectl delete RESOURCE [flags]
Command to delete resources
get
digibeectl get RESOURCE [flags]
Get all resources or a specific resource.
help
digibeectl get SUB-COMMAND or RESOURCE [flags]
Help about any command.
info
digibeectl info [flags]
Show all commands available.
set
digibeectl create RESOURCE [flags]
Set a specific resource.
update
digibeectl update [flags]
Update digibeectl to the latest version.
version
digibeectl version [flags]
Show the version info of digibeectl.
Below you can see the Help documentation within Digibeectl:
Resource types are the specific resources to be accessed and used to compose certain commands.
Check out the sages examples for resource type:
The following table includes a list of all the supported resource types and their abbreviated aliases:
create, delete, get
api-mgmt-credentials
Create/ delete / get API credentials for Pipeline Metrics API.
create, delete, get
deployment
Create/ delete deployments/ Retrieve details of a specific deployment.
get
api-mgmt-url
Get API URL for Pipeline Metrics API.
get
deployment-history
Get all deployment history.
get
license
Display the realm's license information. By using flags, you can view the license details filtered by pipeline or project.
get
metrics
Get metrics from a valid pipeline.
get
pipeline
Read content from the pipeline.
get
project
Read available projects.
get
realm
Get realm resource.
create
pipeline
Creates a new pipeline.
create
project
Creates a new project.
set
deployment
Manage deployment operations.
The following tables categorize resources based on their corresponding operations and indicate the respective flags for each operation:
get
deployment
List deployments.
DEPLOYMENT:READ
--deployment-id
-d
Filter deployment by ID.
--environment
-e
Filter deployments by environment (default "test").
--name
-n
Filter deployments by name.
--projectName
-p
Filter deployments by project name.
--status
-s
Filter deployments by status.
--allspecs
-a
Show all pipeline specs (FlowSpec, TriggerSpec, InSpec, OutSpec).
--flowspec
-f
Show pipeline Flow specs.
--output
-o
Display the resources in JSON format.
get
deployment-history
List deployments history.
--name string
-n
Filter deployments history by pipeline name.
--majorversion
-m
Filter deployments history by major version.
--page
-p
Show the number of items to return. Default is 1.
--output
-o
Display the resources in JSON format.
--size
-s
Show the number of pages to filter. Default is 20.
--help
-h
Get help with deployment history.
create
deployment
Create a deployment.
DEPLOYMENT:CREATE, DEPLOYMENT:CREATE:REDEPLOY, CONFIGURATION:READ, CONFIGURATION:UPDATE
--pipeline-id
(mandatory flag)
The pipeline ID.
--pipeline-size
-s
The pipeline size (SMALL/MEDIUM/LARGE). Default: SMALL
--consumers
-c
The maximum number of consumers on the pipeline to be deployed (Default: SMALL=10 / MEDIUM=20 / LARGE=40).
--environment
-e
The pipeline environment for deployment. Default: test.
--instance-name
-i
The pipeline instance name required when the pipeline has multiple instances.
--redeploy
Enable the pipeline redeployment.
--replicas
The pipeline number of replicas. Default: 1
--wait
If active, waits for the deployment to be completed. Timeout: 300 seconds.
delete
deployment
Remove a deployment.
DEPLOYMENT:DELETE
--deployment-id
-d
The ID of the deployment to be deleted.
--environment
-e
The environment of the deployment to be deleted.
--help
-h
List of help commands for implementation.
set
deployment
Manage deployment operations.
--rollback
--id (must be used together)
Perform rollback to restore the previous version of the pipeline that was deployed.
-- restore
--history-id (must be used together)
Create a new deployment using the ID of a previously deployed version.
get
license
--by-project
--by-pipeline
Display the realm's license information. By using flags, you can view the license details filtered by pipeline or project.
get
metrics
--pipeline-name
--pipeline-version
--from
--to
--relative-date
Get metrics from a valid pipeline.
Use the --from and --to flag to filter metrics for a specific date or interval. The --from flag can be used without the --to flag, but the --to flag cannot be used on its own.
The --relative-date flag is another option that allows you to filter metrics within relative time intervals. You can use values such as: last 5 minutes, last 3 days, last 7 days or specify a date range.
get
pipeline
List pipelines.
PIPELINE:READ
--allspecs
Show all pipeline specs (FlowSpec, TriggerSpec, InSpec, OutSpec). Required:pipeline-id
--flowspec
-o
Show pipeline FlowSpec. Required: --pipeline-id
--archived
-a
Show only archived pipelines.
--help
-h
Get help for the pipeline.
--name string
-n
Filter pipelines by name.
--page int
Page results (default 1).
--pipeline-id string
Filter pipelines by ID.
--pipeline-version-major string
Filter pipelines bymajor version.
--pipeline-version-minor string
Filter pipelines by minor version.
--project-id string
Filter pipelines by project id.
--show-versions
Show pipelines with versions.
--output
-o
Display the resources in JSON format.
create
pipeline
--name string
--description
(mandatory flags)
--project string
--help
-n
-d
-p
-h
Creates a new pipeline.
create
project
--name
--description
(mandatory flags)
--help
-n
-d
-h
Creates a new project.
get
realm
List realm information.
REALM:READ
--help
-h
List help commands.
--output
-o
Display the resources in JSON format.
get
api-mgmt-credentials
Get API credentials for Pipeline Metrics API.
--username
-u
Search by username (optional).
--help
-h
Get help with the commands.
get
api-mgmt-url
Get API URL for Pipeline Metrics API.
--help
-h
Get help with the commands.
create
api-mgmt-credentials
Create API credentials for Pipeline Metrics API.
--username
-u
username for API credentials (required).
--password
-p
password for API credentials (required).
delete
api-mgmt-credentials
--username
-u
Delete a username.
For the username to be deleted, the realm name must be included before the username.
set
config
Set a new configuration with authentication parameters.
--file (mandatory)
-f
Generate a configuration file.
--secret-key (mandatory)
-s
The encrypted key.
--auth-key (mandatory)
-a
The authentication key.
get
config
Get the realm configuration details. Default is the current realm.
--help
-h
List help commands.
--realm
-r
The realm name.
view
config
Show all available realms and their configurations.
list
config
List all available realms and their configurations.
use
config
Change the current digibeectl realm.
--realm
-r
The realm name.
delete
config
Delete a digibeectl configuration from a realm.
--realm
-r
The realm name.
update
config
Update digibeectl to LTS (Long-term support) version.
version
config
Display current digibeectl version.