Supported cf CLI commands

This topic describes the Cloud Foundry command-line interface (cf CLI) commands and options that this version of the Application Service Adapter supports:

cf push

Application Service Adapter supports the basic use of cf push APP-NAME, where APP-NAME is the name of your app.

Flag Supported? Notes
--app-start-timeout, -t N
--buildpack, -b N Automatic buildpack detection is supported. Omit the flag or set to null or default.
User-specified buildpacks are not supported.
--disk, -k N
--docker-image, -o N
--docker-username N
--droplet N
--endpoint N
--health-check-type, -u N
--instances, -i N
--manifest, -f Y Some manifest configurations described in App Manifest Attribute Reference are supported. See the Supported manifest configuration section.
--memory, -m Y
--no-manifest Y
--no-route N
--no-start Y
--no-wait N
--path, -p N
--random-route Y
--stack, -s N
--start-command, -c N
--strategy N
--task N
--var N
--vars-file N

Supported manifest configuration

The Application Service Adapter supports a subset of the Cloud Foundry manifest schema. For more information, see The manifest schema in the Cloud Foundry API documentation.

Supported app-level configuration

Attribute Supported? Notes
buildpacks N
command N
default-route Y
disk_quota N
docker N
env Y
health-check-http-endpoint N
health-check-invocation-timeout N
health-check-type N
instances Y
memory Y
metadata N
no-route N
path N
processes Y See the Supported process-level configuration section.
random-route Y
routes Y See the Supported route-level configuration section.
services N
sidecars N
stack N
timeout N

Supported process-level configuration

Attribute Supported? Notes
type Y
command Y
disk_quota Y
docker N
health-check-http-endpoint Y
health-check-invocation-timeout Y
health-check-type Y
instances Y
memory Y
timeout Y

Supported route-level configuration

Attribute Supported? Notes
route Y
protocol N Only http1 routes are supported.

App operations

Command Supported? Notes
cf apps Y The default usage of cf apps is supported.
Using --labels to filter apps is not supported.
cf app Y
cf create-app Y
cf scale Y
cf delete Y
cf rename N
cf cancel-deployment N
cf start Y
cf stop Y
cf restart Y
cf stage-package Y
cf restage Y Using --strategy flag is not supported.
cf restart-app-instance N
cf run-task Y Only the -c parameter is supported.
cf tasks Y
cf terminate-task Y
cf packages Y
cf create-package Y
cf droplets N
cf set-droplet Y
cf download-droplet N
cf events N
cf logs Y
cf env Y Fetching system-provided, running, and staging environment variables are not supported.
cf set-env Y
cf unset-env Y
cf stacks N
cf stack N
cf copy-source N
cf create-app-manifest N
cf get-health-check Y
cf set-health-check Y
cf enable-ssh N
cf disable-ssh N
cf ssh-enabled N
cf ssh N

Org and space operations

This section describes the org and space operations that Application Service Adapter supports.

Org operations

Command Supported? Notes
cf orgs Y
cf org Y Using the --guid flag to retrieve the GUID of the org is supported.
Using the command without the --guid flag is not supported.
cf create-org Y
cf delete-org Y
cf rename-org N

Space operations

Command Supported? Notes
cf spaces Y
cf space Y Using the --guid flag to retrieve the GUID of the space is supported.
Using the command without the --guid flag is not supported.
cf create-space Y
cf delete-space Y
cf rename-space N
cf apply-manifest Y
cf allow-space-ssh N
cf disallow-space-ssh N
cf space-ssh-allowed N

Route and domain operations

This section describes the route and domain operations that Application Service Adapter supports.

Route operations

Command Supported? Notes
cf routes Y
cf route Y
cf create-route Y
cf check-route N
cf map-route Y
cf unmap-route Y
cf delete-route Y
cf delete-orphaned-routes N

Domain operations

Command Supported? Notes
cf domains Y
cf create-private-domain N
cf delete-private-domain N
cf create-shared-domain N
cf delete-shared-domain N
cf router-groups N

Service operations

This section describes the service operations that Application Service Adapter supports.

Command Supported? Notes
cf marketplace N
cf services Y
cf service Y
cf create-service N
cf update-service N
cf upgrade-service N
cf delete-service Y
cf rename-service N
cf create-service-key N
cf bind-service Y
cf unbind-service Y
cf delete-service-key N
cf bind-route-service N
cf unbind-route-service N
cf create-user-provided-service Y
cf update-user-provided-service N
cf share-service N
cf unshare-service N
check-circle-line exclamation-circle-line close-line
Scroll to top icon