update-service - Cloud Foundry CLI Reference Guide


NAME

update-service - Update a service instance

USAGE

cf update-service SERVICE_INSTANCE [-p NEW_PLAN] [-c PARAMETERS_AS_JSON] [-t TAGS] Optionally provide service-specific configuration parameters in a valid JSON object in-line: cf update-service SERVICE_INSTANCE -c '{"name":"value","name":"value"}' Optionally provide a file containing service-specific configuration parameters in a valid JSON object. The path to the parameters file can be an absolute or relative path to a file: cf update-service SERVICE_INSTANCE -c PATH_TO_FILE Example of valid JSON object: { "cluster_nodes": { "count": 5, "memory_mb": 1024 } } Optionally provide a list of comma-delimited tags that will be written to the VCAP_SERVICES environment variable for any bound applications.

EXAMPLES

cf update-service mydb -p gold cf update-service mydb -c '{"ram_gb":4}' cf update-service mydb -c ~/workspace/tmp/instance_config.json cf update-service mydb -t "list, of, tags"

OPTIONS

-c

Valid JSON object containing service-specific configuration parameters, provided either in-line or in a file. For a list of supported configuration parameters, see documentation for the particular service offering.

-p

Change service plan for a service instance

-t

User provided tags

--wait, -w

Wait for the operation to complete

SEE ALSO

rename-service, services, update-user-provided-service