Delete a machine group
Updated at:
Run a CLI command to delete a specified machine group.
Prerequisites
Before you run this command, make sure that the following prerequisites are met:
Simple Log Service (SLS) is activated. For more information, see Getting started with SLS.
The SLS CLI is installed and configured. For more information, see Install the CLI and Configure the CLI.
Syntax
aliyun sls delete-machine-group --project=<value> --machine-group=<value>Parameters
The following table describes the required and command-specific parameters.
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| --project | String | Yes | aliyun-test-project | The name of the project. |
| --machine-group | String | Yes | container | The name of the machine group. |
For information about global parameters, see Global parameters.
Example
Delete the machine group named container.
aliyun sls delete-machine-group --project="aliyun-test-project" --machine-group="container"Response example
No response message is returned after the command is successfully executed.
Is this page helpful?