The createresource tool allows to create a new 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 <string> | The id of the context |
| -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> | E-Mail of this resource |
| -A,--adminuser <string> | Context Admin user name |
| -P,--adminpass <string> | Context Admin password |
On success:
resource <resourceid> in context <contextid> created
On failure:
resource in context <contextid> could not be created: <reason from server>