Cloud Datum Stream Poll Task Change State¶
Change the runtime state of Cloud Datum Stream Poll Task entities (enable or disable).
Usage¶
s10k cloud-integrations datum-streams poll-tasks change-state
-stream=datumStreamId[,datumStreamId...]
<desiredState>
Pass the desired state as the first (and only) parameter. You can specify the state as any of the following:
| Desired State | Supported Parameter Values |
|---|---|
Enabled |
enabled, true, yes, 1 |
Disabled |
anything other than one of the valid Enabled values |
Tip
Use the --dry-run global option to generate a report of what tasks would be
changed, without actually changing anything. For example:
s10k --dry-run cloud-integrations datum-streams poll-tasks change-state --stream-id 100
Output¶
A listing of updated poll tasks.
Examples¶
s10k cloud-integrations datum-streams poll-tasks change-state --stream-id 100
You can use c2c instead of cloud-integrations and ds instead of datum-streams and polls instead of poll-tasks:
s10k c2c ds polls change-state --stream-id 100 enabled
+-----+---------+------------+------+-----------+-------------------+----------------+----------------------+----------------------+-----------+-----------+
| ID | Name | Type | Kind | Object ID | Source ID | Schedule | Execute At | Start At | Old State | New State |
+-----+---------+------------+------+-----------+-------------------+----------------+----------------------+----------------------+-----------+-----------+
| 100 | My Site | SolrenView | n | 123 | /BLD1/S1/R1/GEN/1 | 0 0/30 * * * * | 2026-07-19T05:00:00Z | 2026-07-19T04:00:00Z | Disabled | Enabled |
| | | | | | /BLD1/S1/R1/INV/1 | | | | | |
| | | | | | /BLD1/S1/R1/INV/2 | | | | | |
| | | | | | /BLD1/S1/R1/INV/3 | | | | | |
+-----+---------+------------+------+-----------+-------------------+----------------+----------------------+----------------------+-----------+-----------+
ID,Name,Type,Kind,Object ID,Source ID,Schedule,Execute At,Start At,Old State,New State
100,My Site,SolrenView,n,123,"/BLD1/S1/R1/GEN/1
/BLD1/S1/R1/INV/1
/BLD1/S1/R1/INV/2
/BLD1/S1/R1/INV/3",0 0/30 * * * *,2026-07-19T05:00:00Z,2026-07-19T04:00:00Z,Enabled,Enabled
Note that in JSON display mode only the poll task state details are returned.
[
{
"datumStreamId" : 100,
"state" : "q",
"executeAt" : "2026-07-19 05:00:00Z",
"startAt" : "2026-07-19 04:00:00Z"
}
]