Skip to content

Latest commit

 

History

History
174 lines (81 loc) · 2.3 KB

File metadata and controls

174 lines (81 loc) · 2.3 KB

update-broker

smctl update-broker

Updates a service broker with the provided name in the SAP Service Manager instance.

smctl update-broker [name] <json_broker> [flags]

smctl update-broker broker '{"name": "new-name", "description": "new-description", "broker-url": "http://broker.com", "credentials": { "basic": { "username": "admin", "password": "admin" } }}'

update-broker, ub

Optional

Global Flag

-h, --help

Help for update-broker 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

-v, --verbose

Use verbose mode.

Yes

> smctl update-broker sample-broker-1 '{"description": "Updated sample-broker description"}' 

ID                                    Name             URL                             Description                        Created               Updated               
------------------------------------  ---------------  ------------------------------  ---------------------------------  --------------------  --------------------  
a52be735-30e5-4849-af23-83d65d592464  sample-broker-1  https://demobroker.domain.com/  Updated sample-broker description  2018-06-22T13:04:19Z  2018-06-22T13:04:19Z