IBM Business Process Manager, V8.0.1, All platforms > Reference > Commands and scripts > Commands (wsadmin scripting)
renameDeploymentEnvDef command
Use the renameDeploymentEnvDef command to rename a deployment environment definition.
You would typically run this command after importing an existing deployment environment definition.
After using the command, save your changes to the master configuration using one of the following commands:
Required parameters
- -oldName current_name_of_deployment_environment_definition
- Indicates the name of the deployment environment definition you are renaming.
- -newName new_name_of_deployment_environment_definition
- Specifies the name for the deployment environment definition you are renaming.
Optional parameters
None.
Examples
The examples are for illustrative purposes only. They include variable values and are not meant to be reused as snippets of code.
The following example uses renameDeploymentEnvDef to rename a deployment environment definition from (TheOldDepEnvName) to (TheNewDepEnvName).
- Jython example:
AdminTask.renameDeploymentEnvDef('[-oldName TheOldDepEnvName -newName TheNewDepEnvName]')- Jacl example:
$AdminTask renameDeploymentEnvDef {-oldName TheOldDepEnvName -newName TheNewDepEnvName }
Parent topic: Commands (wsadmin scripting)
Related information:
![]()
Obtaining online help using wsadmin scripting
![]()
Administrative command invocation syntax using wsadmin scripting
![]()
Use the wsadmin scripting tool
![]()
Jython script library