Introduction
Updated at:
You can access and manage CADT primarily through the Alibaba Cloud console. For batch operations and automation, CADT provides an OpenAPI that enables custom resource deployment.
The CADT command-line tool is an interactive Python tool built on the OpenAPI. It is a sample implementation for integrating with CADT.
cadt % cadt --help
Usage: cadt [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
apply Creates an application, runs validation and pricing, and outputs the results. Executes deployment after you enter `yes`.
batch-apply Creates applications in batch, runs validation and pricing, and executes deployment.
create-app Creates a new application from an official or private template in CADT.
delete-app Deletes an application.
deploy Deploys an application and creates its resources.
download-app-image Downloads the architecture diagram of an application.
get-app Gets the basic information, validation results, pricing results, and deployment results of a specified application.
get-template Gets a template's image and architecture diagram information.
list-apps Lists all applications for the current user. The optional `keyword` parameter specifies a keyword contained in the application name.
list-templates Lists available templates, including their names, architecture diagram URLs, architecture diagram serialization file URLs, and more.
release Releases the resources of an application.
step-apply Sequentially creates an application, runs validation and pricing, and executes deployment.
validate Validates the resource inputs for an application. This is an asynchronous operation. The validation results can be retrieved by calling `get-app`.
valuate Performs pricing for the resources in an application. The pricing results can be retrieved by calling `get-app`.
Is this page helpful?