Skip to content

Latest commit

 

History

History
179 lines (111 loc) · 6.55 KB

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

File metadata and controls

179 lines (111 loc) · 6.55 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

Tip:

For information about using these btp CLI commands with the Cloud Foundry environment, see Org Management Using the SAP BTP Command Line Interface (btp CLI).

For information about using btp CLI with the project "Kyma" environment, see the Enable SAP BTP, Kyma Runtime Using the Command Line tutorial and the Creating SAP BTP, Kyma runtime via the SAP BTP cli blog.

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 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 Security Settings

Managing API Credentials for Calling REST APIs of SAP Authorization and Trust Management Service

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

btp CLI Command Reference