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
Return the list of data retention intervals, with beginning and end UTC time for each of them. Sysdig Cloud performs rollups of the data it stores. This means that data is stored at different time granularities depending on how far back in time it is. This call can be used to know what precision you can expect before you make a call to :func:`~sdcclient._client.SdcClient.get_data`.
413
+
Return the list of data retention intervals, with beginning and end UTC time for each of them. Sysdig Cloud performs rollups of the data it stores. This means that data is stored at different time granularities depending on how far back in time it is. This call can be used to know what precision you can expect before you make a call to :func:`~SdcClient.get_data`.
414
414
415
415
**Success Return Value**
416
416
A dictionary containing the list of available sampling intervals.
@@ -549,7 +549,7 @@ def get_dashboards(self):
549
549
550
550
deffind_dashboard_by(self, name=None):
551
551
'''**Description**
552
-
Finds dashboards with the specified name. You can then delete the dashboard (with :func:`~sdcclient._client.SdcClient.delete_dashboard`) or edit panels (with :func:`~sdcclient._client.SdcClient.add_dashboard_panel` and :func:`~sdcclient._client.SdcClient.remove_dashboard_panel`)
552
+
Finds dashboards with the specified name. You can then delete the dashboard (with :func:`~SdcClient.delete_dashboard`) or edit panels (with :func:`~SdcClient.add_dashboard_panel` and :func:`~SdcClient.remove_dashboard_panel`)
- **newdashname**: the name of the dashboard that will be created.
1005
-
- **filename**: name of a file containing a JSON object for a dashboard in the format of an array element returned by :func:`~sdcclient._client.SdcClient.get_dashboards`
1005
+
- **filename**: name of a file containing a JSON object for a dashboard in the format of an array element returned by :func:`~SdcClient.get_dashboards`
1006
1006
- **filter**: a boolean expression combining Sysdig Cloud segmentation criteria defines what the new dasboard will be applied to. For example: *kubernetes.namespace.name='production' and container.image='nginx'*.
1007
1007
- **shared**: if set to True, the new dashboard will be a shared one.
1008
1008
- **annotations**: an optional dictionary of custom properties that you can associate to this dashboard for automation or management reasons
Fetch the updated state of a sysdig capture. Can be used to poll the status of a capture that has been previously created and started with :func:`~sdcclient._client.SdcClient.create_sysdig_capture`.
1231
+
Fetch the updated state of a sysdig capture. Can be used to poll the status of a capture that has been previously created and started with :func:`~SdcClient.create_sysdig_capture`.
1232
1232
1233
1233
**Arguments**
1234
-
- **capture**: the capture object as returned by :func:`~sdcclient._client.SdcClient.get_sysdig_captures` or :func:`~sdcclient._client.SdcClient.create_sysdig_capture`.
1234
+
- **capture**: the capture object as returned by :func:`~SdcClient.get_sysdig_captures` or :func:`~SdcClient.create_sysdig_capture`.
1235
1235
1236
1236
**Success Return Value**
1237
1237
A dictionary showing the updated details of the capture. Use the ``status`` field to check the progress of a capture.
Switches the current user context to the specified team. In other words, this function makes it possible to start operating in the context of a different team without having to use the token of that team.
1572
1572
1573
1573
**Arguments**
1574
-
- **new_team_id**: the numeric ID of the team (such as returned by :func:`~sdcclient._client.SdcClient.get_team_ids`) to switch to.
1574
+
- **new_team_id**: the numeric ID of the team (such as returned by :func:`~SdcClient.get_team_ids`) to switch to.
0 commit comments