createEnvironment

Associates an environment with an application.

Note: This command was deprecated in Deployment Automation 5.0, when the product was changed to enable you to create environments at the global level. The command can no longer create environments. However, you can still use it to add existing environments to applications.

For example, the following command adds the PROD environment to the QSocial application.

da-client -weburl "http://serverName:8080/da" -username admin -password admin createEnvironment -application QSocial -name PROD

Format

da-client [global-args...] [global-flags...] 
createEnvironment [args...]

Options

-application, ––application
   Required. Application to add the environment to.
-name, ––name
   Required. Name of the environment.