Use the SAP BTP command line interface to perform various operations related to your platforms, attached service brokers, service instances, and service bindings.
You can also get information about the service plans and service offerings associated with your subaccount.
For more information about the SAP Service Manager, see SAP Service Manager.
All of these commands are executed in subaccounts. If you know you are working in a specific subaccount, we recommend using the
btp target
command to set the target to this subaccount. Then you won't have to provide the subaccount ID with every command call. See Set a Target for Subsequent Commands with btp target.
For detailed descriptions of all SAP Service Manager CLI commands, see SAP Service Manager Commands for SAP BTP command line interface.
Task |
Run the command ... |
Command help |
---|---|---|
List all registered platforms in the current subaccount |
|
|
Get details about a specific platform registered in the current subaccount |
|
|
Register a new platform in the current subaccount |
|
|
Update an existing platform registered in the current subaccount |
|
|
Unregister an existing platform in the current subaccount |
|
Task |
Run the command ... |
Command help |
---|---|---|
List all registered brokers in the current subaccount |
|
|
Get a specific service broker in the current subaccount |
|
|
Register a new service broker in the current subaccount |
|
|
Update an existing service broker in the current subaccount |
|
|
Unregister an existing service broker in the current subaccount |
|
Task |
Run the command ... |
Command help |
---|---|---|
List all service instances associated with the current subaccount. |
|
|
Get details about a specific service instance associated with the current subaccount. |
|
|
Create a new service instance of the service you want to consume. |
|
|
Delete an existing service instance. |
|
|
Share a service instance |
|
|
Unshare a service instance |
|
|
The optional
--show-parameters
available forbtp get services/instance
andbtp get services/binding
commands returns parameters only if the service offering associated with the instance or binding for which to view parameters has theinstances_retrievable
orbindings_retrievable
parameter values respectively set to true.
To check associated service offering's
instances_retrievable
value, run the following commands:
btp get services/instance
and find theplan_id
for the instance. Use the plan ID in
btp get services/plan
and check theoffering_id
for the instance. Use the offering ID in
btp get services/offering
and see whether theinstances_retrievable
parameter's value is set to true.Start with
btp get services/binding
and then use the same commands for plan and offering details if you're checking thebindings_retrievable
value.
Task |
Run the command ... |
Command help |
---|---|---|
List all service bindings associated with the current subaccount. |
|
|
Get details about a specific service binding associated with the current subaccount. |
|
|
Create a new binding between an existing service instance and an application. |
|
|
Delete an existing binding between a service instance and an application. |
|
Task |
Run the command ... |
Command help |
---|---|---|
List all service plans of services available for consumption that are associated with your current subaccount. |
|
|
Get details about a specific service plan of a service that is available for consumption and associated with your current subaccount. |
|
Task |
Run the command ... |
Command help |
---|---|---|
List all service offerings associated with your current subaccount. |
|
|
Get details about a specific service offering associated with your subaccount. |
|
Related Information
Working with Global Accounts, Directories, and Subaccounts Using the btp CLI
Setting Entitlements Using the btp CLI
Working with Environments Using the btp CLI
Working with Multitenant Applications Using the btp CLI
Working with External Resource Providers Using the btp CLI
Managing Trust from SAP BTP to an SAP Cloud Identity Services Tenant
Managing Users and Their Authorizations Using the btp CLI
Managing Signing Keys for Access Tokens
Managing API Credentials for Calling REST APIs of SAP Authorization and Trust Management Service