You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- t0 (string): The beginning of the timespan for the data.
37
+
- t1 (string): The end of the timespan for the data. t1 can be a maximum of 14 days after t0.
38
+
- timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be greater than or equal to 30 minutes and be less than or equal to 14 days. The default is 30 minutes.
- gatewayIp (string): The gateway IP (next hop) of the static route
1551
-
- gatewayVlanId (string): The gateway IP (next hop) VLAN ID of the static route
1552
-
- enabled (boolean): The enabled state of the static route
1553
-
- fixedIpAssignments (object): The DHCP fixed IP assignments on the static route. This should be an object that contains mappings from MAC addresses to objects that themselves each contain "ip" and "name" string fields. See the sample request/response for more details.
1554
-
- reservedIpRanges (array): The DHCP reserved IP ranges on the static route
1581
+
- name (string): Name of the route
1582
+
- subnet (string): Subnet of the route
1583
+
- gatewayIp (string): Gateway IP address (next hop)
1584
+
- gatewayVlanId (string): Gateway VLAN ID
1585
+
- enabled (boolean): Whether the route should be enabled or not
1586
+
- fixedIpAssignments (object): Fixed DHCP IP assignments on the route
1587
+
- reservedIpRanges (array): DHCP reserved IP ranges
- force (boolean): If true, the system deletes the GP even if there are active clients using the GP. After deletion, active clients that were assigned to that Group Policy will be left without any policy applied. Default is false.
- total_pages (integer or string): use with perPage to get total results up to total_pages*perPage; -1 or "all" for all pages
18
+
- direction (string): direction to paginate, either "next" (default) or "prev" page
19
+
- operations (array): Optional parameter to filter commands by operation. Allowed values are disableDownstreamPower, enableDownstreamPower, cycleDownstreamPower, and refreshData.
20
+
- perPage (integer): The number of entries per page returned. Acceptable range is 3 - 1000. Default is 10.
21
+
- startingAfter (string): A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
22
+
- endingBefore (string): A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
23
+
- sortOrder (string): Sorted order of entries. Order options are 'ascending' and 'descending'. Default is 'descending'.
24
+
- t0 (string): The beginning of the timespan for the data. The maximum lookback period is 30 days from today.
25
+
- t1 (string): The end of the timespan for the data. t1 can be a maximum of 30 days after t0.
26
+
- timespan (number): The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 30 days. The default is 30 days.
27
+
"""
28
+
29
+
kwargs.update(locals())
30
+
31
+
if'sortOrder'inkwargs:
32
+
options= ['ascending', 'descending']
33
+
assertkwargs['sortOrder'] inoptions, f'''"sortOrder" cannot be "{kwargs['sortOrder']}", & must be set to one of: {options}'''
- operation (string): Operation to run on the sensor. 'enableDownstreamPower', 'disableDownstreamPower', and 'cycleDownstreamPower' turn power on/off to the device that is connected downstream of an MT40 power monitor. 'refreshData' causes an MT15 or MT40 device to upload its latest readings so that they are immediately available in the Dashboard API.
0 commit comments