Get the versions of a component

By default, this command returns only active versions.


udclient [\[global-args...\]](../../com.udeploy.reference.doc/topics/ [\[global-flags...\]](../../com.udeploy.reference.doc/topics/
  getComponentVersions [parameters]


Parameter Type Required Description
component string true Name or ID of the component
inactive boolean false Specify true to include inactive versions; the default is false
numResults int false Specify a number greater than 0 to limit the number of results. If numResults is not specified, or is given to be < 1, no limit is applied.


udclient -username jsmith -password passwd 
  -component MyComponent

Example response#

    "id": "1a53a4a6-bfcd-4014-a0ab-83f97077a4d4",
    "name": "1",
    "description": "",
    "type": "FULL",
    "created": 1441381421819,
    "active": true,
    "archived": false,
    "sizeOnDisk": 4096
    "id": "ed2361a4-948c-4646-bda4-7465df0e38b5",
    "name": "2",
    "description": "",
    "type": "FULL",
    "created": 1441381420863,
    "active": true,
    "archived": false,
    "sizeOnDisk": 4096

Related REST command: Get the versions of a component.

Parent topic: CLI Commands