The Cloud Foundry environment allows you to create polyglot cloud applications in Cloud Foundry. To manage the lifecycle of an org in the Cloud Foundry environment, use the accounts/environment-instance
command in the btp CLI.
To create a Cloud Foundry org in a subaccount, you use the Cloud Foundry Runtime service. The Cloud Foundry Runtime service offers the following plans for this purpose:
Plan Name |
Description |
---|---|
|
This is an enterprise-grade plan that allows you to create an org in your Cloud Foundry environment to start developing polyglot cloud-native applications. By default, a Cloud Foundry org that is created with this plan does not have any application runtime. To assign application runtime, the global account admin must assign the Cloud Foundry Runtime service with the |
|
Use this plan to try out the Cloud Foundry environment without an additional charge before switching to the By default, a Cloud Foundry org that is created with this plan is given a fixed application-runtime quota. There is no need to assign the Cloud Foundry Runtime service with the For more information about the free tier model for SAP BTP and its availability, see Using Free Service Plans. |
|
Use this plan to utilize your trial period.
|
For more information, about the features that each plan offers, see Cloud Foundry Runtime on SAP Discovery Center.
The btp CLI offers the following environment instance command actions to manage Cloud Foundry orgs in SAP BTP:
Action |
Command |
Description |
Parameters |
Additional Info |
---|---|---|---|---|
|
|
List all the Cloud Foundry orgs and other environment instances in a subaccount. |
|
|
|
|
Get the details of a specific Cloud Foundry org in a subaccount. |
|
|
|
|
Create a Cloud Foundry org in a subaccount. |
|
For examples that show how to pass JSON parameters in the command line with different operating systems and shells, see the Passing JSON Parameters on the Command Line. |
|
|
Update an existing Cloud Foundry org in a subaccount. |
|
For the Cloud Foundry environment, you can use this command to change only the plan of an existing Cloud Foundry environment instance. In other words, update an org created with the
|
|
|
Delete a Cloud Foundry org created in a subaccount. |
|
The Cloud Foundry org and all its data will be lost. |
You can obtain the subaccount ID by running
btp list accounts/subaccount
. You can also target the subaccount usingbtp target --subaccount <ID>
, and then omit thesubaccount
parameter from the rest of the commands.
You can also use the btp CLI to add or remove org managers.
Action |
Command |
Description |
Parameters |
Additional Info |
---|---|---|---|---|
|
For the default identity provider:
For a custom identity provider:
|
Add one or more org managers to a Cloud Foundry org in a subaccount.
|
|
For examples that show how to pass JSON parameters in the command line with different operating systems and shells, see the Passing JSON Parameters on the Command Line. |
|
For the default identity provider:
For a custom identity provider:
|
Remove one or more org managers from a Cloud Foundry org in a subaccount.
|
|
To learn how to remove a user from the Cloud Foundry org and the subaccount, see About User Management in the Cloud Foundry Environment. |
Related Information
Account Administration Using the SAP BTP Command Line Interface (btp CLI)
About Roles in the Cloud Foundry Environment