Query project details
Updated at:
Run a CLI command to query the details of a specified project.
Prerequisites
Before you run the CLI command, make sure that the following requirements are met:
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 get-project --project=<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. |
For information about global parameters, see Global parameters.
Example
Query the details of a project named aliyun-test-project.
aliyun sls get-project --project="aliyun-test-project"
Is this page helpful?