This class represents a simple script that can run on a provisioned VM.
name | data type | description |
---|---|---|
name | string | The name of the script |
contents | string | The contents of the script |
Properties inherited from OwnedObject |
||
owner | string | The owner (username) for the particular object. This value is set when the DAO saves the object based on the principal how made the call |
id | string | The UID of this object. This value is auto generated by the DAO when the object is saved. |
Example
{ "name" : "config.sh", "contents" : " #!/bin/bash\necho \"Reading system-wide config....\" >&2\\n. /etc/cool.cfg\nif [ -r ~/.coolrc ]; then\n echo \"Reading user config....\" >&2\\n . ~/.coolrc\\nfi", "owner" : "user1", "id" : "58e3946e0fb4f562d84ba1ad" }