Skip to content

Latest commit

 

History

History
200 lines (94 loc) · 2.38 KB

File metadata and controls

200 lines (94 loc) · 2.38 KB

update-platform

smctl update-platform

Updates a platform with the SAP Service Manager instance.

smctl update-platform [name] <json_platform> [flags]

smctl update-platform platform '{"name": "new-name", "description": "new-description", "type": "new-type"}'

update-platform, up

Optional

Global Flag

-h, --help

Help for update-platform command.

No

-o, --output

Output format of the command. Possible options: json, yaml, text

No

--config

Set the path for the smctl config.json file (default is $HOME/.sm/config.json).

Yes

--regenerate-credentials

Whether to regenerate credentials for credentials rotation.

Note:

Once new credentials are generated, old credentials can no longer be used.

 

-v, --verbose

Use verbose mode.

Yes

> smctl update-platform sample-platform '{"description": "Sample platform instance"}' 

ID                                    Name             Type    Description               Created               Updated               
------------------------------------  ---------------  ------  ------------------------  --------------------  --------------------  
6352fca0-c252-43ab-9cb3-d23613749b59  sample-platform  sample  Sample platform instance  2018-07-18T07:06:40Z  2018-07-18T07:09:48Z