The changeresource
tool allows to change a resource within a given context.
-h,--help | Prints a help text |
--environment | Show info about commandline environment |
--nonl | Remove all newlines (\n) from output |
-c,--contextid <integer> | The id of the context |
-i,--resourceid <integer> | Id of this resource |
-n,--name <string> | The resource name |
-d,--displayname <string> | The resource display name |
-a,--available <true/false> | Toggle resource availability |
-D,--description <string> | Description of this resource |
-e,--email <string> | Email of this resource |
-A,--adminuser <string> | Context Admin user name |
-P,--adminpass <string> | Context Admin password |
contextid {adminuser adminpass} (resourceid or name ) and at least one attribute to change
On success:
resource <resourceid> in context <contextid> changed
On failure:
resource <resourceid> in context <contextid> could not be changed: <reason from server>