Skip to content

Latest commit

 

History

History
187 lines (87 loc) · 3.07 KB

File metadata and controls

187 lines (87 loc) · 3.07 KB

register-platform

smctl register-platform

Registers a platform in the SAP Service Manager instance.

smctl register-platform [name] [type] <description> [flags]

register-platform, rp

Optional

Global Flag

-h, --help

Help for register-platform command.

No

-i, --id

Sets the platform ID. An ID is autogenerated in cases when it's not provided.

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

-v, --verbose

Use verbose mode.

Yes

> smctl register-platform sample-platform sample "Sample platform"

ID                                    Name             Type    Description      Created               Updated               Username                                                                                                                                                                      Password                                                                                                                                                                      
------------------------------------  ---------------  ------  ---------------  --------------------  --------------------  ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------  ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------  
261b96d5-3c22-44f4-a1dc-bb4a7d3d337c  sample-platform  sample  Sample platform  2018-07-18T07:04:40Z  2018-07-18T07:04:40Z  lp1tN6bB9ZfP3cDj69nUGclKOXTAhTqfta72giJB0RIe8x1dH07USE8SEvSKthNBXN+x6QxaYCCvN1f1WcQEn6qD3JH5pCfTG5EMSvpo96bhpU2VwYEN8NXc6TUt1smGOnTf8+RWAnbDjLbLhLMFB/PlhcjHaWLiZfu0T0/8LzM=  cQ6Uq1v1xlAT+eBlzkuFLUZBJJlMt2KN6w2eQH/MdjQsYRdjFCZKWkHzODLJCvaZHa/061ygqmZ5nQabxtXpq/p9Oxccs4yLEhDZBrFzhYqc8c2l45NuNlZfwBsL3eq/o2sEddu0zz10K1M7JnBcztiTM7DOeycS7uWFO2/K0PU=