Skip to content

Latest commit

 

History

History
216 lines (104 loc) · 5.21 KB

working-with-environments-using-the-btp-cli-48db155.md

File metadata and controls

216 lines (104 loc) · 5.21 KB

Working with Environments Using the btp CLI

Use the SAP BTP command line interface (btp CLI) to manage runtime environment instances in a subaccount. For example, enable the Cloud Foundry environment by creating a Cloud Foundry org (environment instance).

Tip:

By default, all commands are executed in the global account you're logged in to. To change this target to a subaccount, use btp target -sa <my-subaccount-id>. See Set a Target for Subsequent Commands with btp target.

Task

Run the command ...

Command help

Get all available environments for a subaccount

btp list accounts/available-environment

btp list accounts/available-environment

Get details about an environment available for a subaccount

btp get accounts/available-environment

btp get accounts/available-environment

Get all environment instances of a subaccount

btp list accounts/environment-instance

btp list accounts/environment-instance

Get a specific environment instance of a subaccount

btp get accounts/environment-instance

btp get accounts/environment-instance

Create an environment instance in a subaccount

btp create accounts/environment-instance

btp create accounts/environment-instance

Update the plan and/or configuration parameters of an environment in a subaccount

btp update accounts/environment-instance

btp update accounts/environment-instance

Delete environment instances of a subaccount

btp delete accounts/environment-instance

btp delete accounts/environment-instance

Related Information

Working with Global Accounts, Directories, and Subaccounts Using the btp CLI

Setting Entitlements Using the btp CLI

Working with Multitenant Applications Using the btp CLI

Working with External Resource Providers Using the btp CLI

Managing Users and Their Authorizations Using the btp CLI

Working With Resources of the SAP Service Manager Using the btp CLI

Org Management Using the SAP BTP Command Line Interface (btp CLI) [Feature Set B]

btp CLI Command Reference