getEnvironmentBaseResources
Get all base resources for an environment
Format
udclient [global-args...] [global-flags...]
getEnvironmentBaseResources [parameters]
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
environment | string | true | Name or ID of the environment |
application | string | false | Name of the application; this value is required if you specify the environment name instead of ID |
Example
udclient -username jsmith -password passwd
-weburl https://deployserver.example.com:8443
getEnvironmentBaseResources
-application JPetStore
-environment "Tutorial environment 1"
Example response
[
{
"id": "4db385d8-34bb-4625-8e62-c627175a2cf7",
"name": "Tutorial agent 1",
"path": "/JPetStore agents/Tutorial agent 1",
"active": true,
"description": "",
"inheritTeam": true,
"impersonationPassword": "****",
"impersonationUseSudo": false,
"impersonationForce": false,
"type": "agent",
"status": "ONLINE",
"hasAgent": true,
"tags": [
]
}
]
Related REST command: Get all base resources for an environment.