name | data type | constraints | description |
---|---|---|---|
sshHost | string | max size: 255, min size: 0 | |
sshPort | number | max: 65535, min: 1 | |
credential | NameAndGuid | ||
sshKeyPath | string | max size: 1024, min size: 0 | |
preCommand | CommandDetails | ||
postCommand | CommandDetails | ||
preSnapCmdExecEnabled | boolean | required | |
postSnapCmdExecEnabled | boolean | required | |
preSnapStdErrorHandling | StdErrorHandling | ||
postSnapStdErrorHandling | StdErrorHandling | ||
preSnapCmdExecTimeout | number | ||
postSnapCmdExecTimeout | number | ||
preSnapIgnoredExitCodes | string | max size: 255, min size: 0 | |
postSnapIgnoredExitCodes | string | max size: 255, min size: 0 | |
storageBackupPolicy | NameAndGuid | ||
snapshotMgmtPolicy | NameAndGuid | ||
description | string | ||
path | string | ||
name | string | required, not blank |
Example
{ "sshHost" : "...", "sshPort" : 12345, "credential" : { "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67", "name" : "Entity name" }, "sshKeyPath" : "...", "preCommand" : { "commandArgs" : [ "...", "..." ], "commandType" : "POWERSHELL", "executionStage" : "POST" }, "postCommand" : { "commandArgs" : [ "...", "..." ], "commandType" : "SSH", "executionStage" : "POST" }, "preSnapCmdExecEnabled" : true, "postSnapCmdExecEnabled" : true, "preSnapStdErrorHandling" : "IGNORE_WITH_WARNING", "postSnapStdErrorHandling" : "IGNORE_WITH_WARNING", "preSnapCmdExecTimeout" : 12345, "postSnapCmdExecTimeout" : 12345, "preSnapIgnoredExitCodes" : "...", "postSnapIgnoredExitCodes" : "...", "storageBackupPolicy" : { "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67", "name" : "Entity name" }, "snapshotMgmtPolicy" : { "guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67", "name" : "Entity name" }, "description" : "...", "path" : "...", "name" : "..." }