Skip to content

Latest commit

 

History

History
68 lines (60 loc) · 1.8 KB

update-broker.md

File metadata and controls

68 lines (60 loc) · 1.8 KB

smctl update-broker

Overview

smctl update-broker updates a service broker with the provided name in the Service Manager instance.

Usage

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

Example

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

Aliases

update-broker, ub 

Flags

help

--help (alias: -h)

Help for update-broker command.

output format

--output (alias: -o)

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

Global Flags

config

--config

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

verbose

--verbose (alias: -v)

Use verbose mode.

Example

> 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