Configuring Parameters of an Object Store Instance
Understand how to create, retrieve, and update parameters on Object Store instances.
Creating an Object Store Instance on Cloud Foundry
You can create an Object Store instance with specified parameters in one of two ways:
-
Using Cloud Foundry in SAP BTP cockpit.
Create an instance and enter your JSON parameters in the Parameters tab. For more information on creating an instance in SAP BTP cockpit, see Creating Service Instances in Cloud Foundry.
-
Using the Cloud Foundry CLI.
Enter your JSON parameters using the following command:cf create-service objectstore <plan_name> <service_instance_name> -c <JSON_parameters>
You can also specify a file with the following command:cf create-service objectstore <plan_name> <service_instance_name> -c <file_path>
Examples
{
"preventDeletion": true,
"enableSAL": true
}
cf create-service objectstore standard my-instance -c '{"preventDeletion" : true}'
cf create-service objectstore standard my-instance -c '{\"preventDeletion\" : true}'
cf create-service objectstore standard my-instance -c config.json
Retrieving Parameters of an Object Store Instance on Cloud Foundry
You can retrieve an Object Store instance's parameters in one of two ways:
-
Using Cloud Foundry in SAP BTP cockpit.
Choose and select at the end of an instance's row, then choose View Parameters.
-
Using the Cloud Foundry CLI.
Enter the following command:cf service <service_instance_name> --params
Example
cf service my-instance --params
Updating Parameters of an Object Store Instance on Cloud Foundry
You can update an Object Store instance with specified parameters in one of two ways:
-
Using Cloud Foundry in SAP BTP cockpit.
Update an instance and enter your JSON parameters in the Parameters tab. For example, to update preventDeletion to be enabled, enter:{"preventDeletion" : true}For more information on updating an instance in SAP BTP cockpit, see Updating Service Instances. -
Using the Cloud Foundry CLI.
Enter your JSON parameters in the following command:cf update-service <service_instance_name> -c <JSON_parameters>
You can also specify a file with the following command:cf update-service <service_instance_name> -c <file_path>
Examples
{
"preventDeletion": true,
"enableSAL": true
}
cf update-service my-instance -c '{"preventDeletion" : true}'
cf update-service my-instance -c '{\"preventDeletion\" : true}'
cf update-service my-instance -c config.json
Creating and Connecting to an Object Store Instance on Kyma
You can create and connect to Object Store through the Kyma environment.
-
To manage your Kyma environment, see Administration and Operations in the Kyma Environment.
-
To use the SAP BTP Operator module for Kyma, see SAP BTP Operator Module.
-
To follow a tutorial on connecting Kyma and Object Store, see Setting up Object Store on a Kyma Environment
.

