Advanced
Тема интерфейса

Checking Command

The dryrun option is used to check the correctness of a command. Add --dryrun in a command. The system prints the request message after verification. It does not call the target API.

cloud RDS CreateConfiguration --cli-region="ru-moscow-1" --project_id="0dd8cb****************19b5a84546" --datastore.type="MySQL" --datastore.version="5.7" --values.max_connections="10" --name="test-001" --description="test create configuration" --dryrun
-------- The execution is eliminated in dry-run mode. Current request: --------
POST https://rds.ru-moscow-1.hc.sbercloud.ru/v3/0dd8cb****************19b5a84546/configurations
Content-Type: application/json
X-Project-Id: 0dd8cb****************19b5a84546
X-Sdk-Date: 20220621T103331Z
Authorization: ****
{
"datastore": {
"type": "MySQL",
"version": "5.7"
},
"description": "test create configuration",
"name": "test-001",
"values": {
"max_connections": "10"
}
}