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.
hcloud RDS CreateConfiguration --cli-region="eu-west-101" --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.eu-west-101.myhuaweicloud.eu/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"
}
}
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.