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

Using SAP BTP cockpit while connected with Amazon Web Services, the following example creates an instance that prevents accidental deletion and enables Server Access Logging:
{
  "preventDeletion": true,
  "enableSAL": true
}
The following example uses the Cloud Foundry CLI on macOS or Linux to create an instance called my-instance on the standard plan, while enabling preventDeletion:
cf create-service objectstore standard my-instance -c '{"preventDeletion" : true}'
The following example uses the Cloud Foundry CLI on Windows to create an instance called my-instance on the standard plan, while enabling preventDeletion:
cf create-service objectstore standard my-instance -c '{\"preventDeletion\" : true}'
The following example uses the Cloud Foundry CLI to create an instance called my-instance on the standard plan with parameters in a file called config.json:
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 Start of the navigation pathServices Next navigation step InstancesEnd of the navigation path and select Actions 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

The following example uses the Cloud Foundry CLI to check the parameters of an instance called my-instance:
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

Using SAP BTP cockpit while connected with Amazon Web Services, the following example updates an instance to prevent accidental deletion and enable Server Access Logging:
{
  "preventDeletion": true,
  "enableSAL": true
}
The following example uses Cloud Foundry CLI on macOS or Linux to enable preventDeletion by updating an instance called my-instance:
cf update-service my-instance -c '{"preventDeletion" : true}'
The following example uses Cloud Foundry CLI on Windows to enable preventDeletion by updating an instance called my-instance:
cf update-service my-instance -c '{\"preventDeletion\" : true}'
The following example uses the Cloud Foundry CLI to update an instance called my-instance on the standard plan with parameters in a file called config.json:
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.