btp register services/broker
Registers a service broker in a subaccount.
btp register services/broker [parameters]
|
Required |
|
|---|---|
|
|
Name of the new service broker. Use only alphanumeric characters and hyphens (no spaces). Must be unique across all service brokers registered with the SAP Service Manager in the provided subaccount. |
|
|
URL of the new broker. |
|
|
Username used for basic authentication against the broker. |
|
|
Password used for basic authentication against the broker. |
|
|
Subaccount ID. To find your subaccount ID, use |
|
Optional |
|
|---|---|
|
|
Help for |
|
|
Description of the new broker. |
|
|
Labels of a broker consist of key-value pairs. The key must be a string (100 characters maximum) and only consist of alphanumeric characters, periods, hyphens, and underscores. The value must be a non-empty array of unique strings without newline characters (255 characters maximum). The labels object must have the following format: |
> btp register services/broker -sa my-subaccount-id -n my-broker-name --url my-broker-url -u my-broker-user -p my-broker-password
btp register services/broker -sa e4d3e542-7029-4114-8b3b-09d6c921123a -n my-broker-name --url https://broker.cfapps.us10.hana.ondemand.com -u admin -p password
id: my-broker-id
name: my-broker-name
username: my-broker-user
password: my-broker-password
description: "broker description"
broker_url: my-broker-url
created_at: "2020-02-27T16:04:47.810739Z"
updated_at: "2020-02-27T16:04:47.810739Z"
labels: subaccount_id = my-subaccount-id
OK