createEnvironment

Associate an environment with an application.

Important:

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

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

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

You cannot use this command for any other purpose in Deployment Automation version 5.0 or higher.

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.