createSnapshotOfEnvironment

Take a snapshot of an environment

Format

udclient [global-args...] [global-flags...]
  createSnapshotOfEnvironment [parameters]

Parameters

Table 1. Request parameters
Parameter Type Required Description
environment string true Name or ID of the environment
application string false Name or ID of the application; this value is required if you specify the environment name instead of ID
name string true Name of the new snapshot
description string false Snapshot description

Example

udclient -username admin -password admin 
  -weburl https://myserver.example.com:8443
  createSnapshotOfEnvironment 
  -environment newEnvironment 
  -application JPetStore 
  -name NewSnapshot

Example response

{
  "id": "41eab076-deb6-4746-8b2d-9f491103a06c",
  "name": "NewSnapshot"
}

Related REST command: Take a snapshot of an environment.


Feedback