PoolCapability
A Pool-Capability assigns Capabilities to a Pool to define which actions can be scheduled using this pool. A config for the whole pool can be defined here.
Properties
Property | Possible Values | Example | Description |
---|---|---|---|
id | string | VCR-0B | External ID of the PoolCapability. |
capability | see Capability | The Capability that is assigned to the superordinated Device by this PoolCapability. | |
config | string (JSON) |
CODE
| The values for the properties defined in the Capabilities. |
poolId | string | VCR-MX | The ID of the pool referenced by this PoolCapability. |
capabilityId | string | VCR-2Mn | The ID of the capability referenced by this PoolCapability. |
Example JSON Snippet
{
"id": "VCR-0B",
"capability": {
"id": "VCR-0B",
"content": "{\"action\":\"Record\",\"input\":{\"targetPath\":{\"label\":\"Target Path\",\"hint\":\"The target path\",\"defaultValue\":\"Default\",\"type\":\"string\",\"optional\":\"true\"}},\"output\":{},\"properties\":{\"provisioningTime\":{\"type\":\"integer\",\"kind\":\"fix\"}}, \"events\": [ \"RecorderMock.fileCreated\", \"RecorderMock.recordingFailed\", \"RecorderMock.recordingStarted\", \"RecorderMock.recordingFinished\" ]}",
"capabilityType": "Record",
"needsStopCommand": true
},
"config": "{\"provisioningTime\":2}",
"poolId": "VCR-YDQ",
"capabilityId": "VCR-avN"
}