Skip to content

Latest commit

 

History

History
221 lines (110 loc) · 2.83 KB

File metadata and controls

221 lines (110 loc) · 2.83 KB

update services/broker

btp update services/broker

Updates an existing service broker in a subaccount.

btp update services/broker [parameters]

Required

ID

ID of the broker.

-sa, --subaccount

Subaccount ID. To find your subaccount ID, use btp list accounts/subaccount or you can omit this parameter if you have already set the context to a subaccount using btp target --subaccount ID.

Optional

-h, --help

Help for update services/broker command.

-n, --name

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

URL of the new broker.

-u, --user

Username used for basic authentication against the broker.

-p, --password

Password used for basic authentication against the broker.

-d, --description

Description of the new broker.

-l, --labels

Broker labels consist of key-value pairs. The key must be a string with a maximum length of 100 characters and only consist of alphanumeric characters, periods, hyphens, and underscores. The value must be a non-empty array of unique strings without newline characters that doesn't exceed 255 characters. Labels are passed in a JSON object with the following format: [{"op": "<OPERATION>", "key": "<LABEL_NAME>", "values": ["<LABEL_VALUE>", "<OTHER_LABEL_VALUE>"]}]..

> btp update services/broker my-broker-id -sa my-subaccount-id -n new-broker-name

id: my-broker-idmy-broker-id
name: new-broker-name
description: my-broker-description
broker_url: my-broker-url
created_at: "2020-02-27T16:04:47.810739Z"
updated_at: "2020-02-27T16:09:27.059740608Z"
labels: subaccount_id = my-subaccount-idmy-subaccount-id

OK