Update a project
Updated at:
Run a CLI command to update the description of a specified project.
Prerequisites
SLS is activated. For more information, see Getting started with Simple Log Service.
The SLS CLI is installed and configured. For more information, see Install the CLI and Configure the CLI.
A project is created. For more information, see Create a project.
Command syntax
aliyun sls update-project --project=<value> [--description=<value>]
Parameters
The following table describes the required and command-specific parameters.
Parameter |
Type |
Required |
Example |
Description |
|
String |
Yes |
aliyun-test-project |
The name of the project. |
|
String |
No |
Updated description |
The new description of the project. |
For information about global parameters, see Global parameters.
Example
Update the description of a project named aliyun-test-project.
aliyun sls update-project --project="aliyun-test-project" --description="Updated description"
Is this page helpful?