Skip to content

Latest commit

 

History

History
192 lines (96 loc) · 2.44 KB

File metadata and controls

192 lines (96 loc) · 2.44 KB

update services/platform

Update an existing platform registered for service consumption in a subaccount.

btp update services/platform

btp update services/platform [parameters]

Required

ID

ID of the platform to be updated.

-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/platform command.

-n, --name

Name of the platform. 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.

-d, --description

Description of the platform.

-l, --labels

Labels of a platform must be an array of objects. It has the following format: [{"op": "<OPERATION>", "key": "<LABEL_NAME>", "values": ["<LABEL_VALUE>", "<OTHER_LABEL_VALUE>"]}].

--regenerate-credentials

Whether to regenerate credentials for credentials rotation.

Note:

Once new credentials are generated, old credentials can no longer be used.

> btp update services/platform my-platform-id -sa my-subaccount-id -d my-platform-description 

id: my-platform-id
type: kubernetes
name: my-platform-name
description: my-platform-description
created_at: "2020-02-27T14:22:41.798266Z"
updated_at: "2020-02-27T14:25:45.671124791Z"
labels: subaccount_id = my-subaccount-id

OK