|
37 | 37 | TokenScopes, |
38 | 38 | ActivateCockpitRequest, |
39 | 39 | DeactivateCockpitRequest, |
40 | | - ResetCockpitGrafanaRequest, |
41 | 40 | CreateDatasourceRequest, |
42 | 41 | CreateTokenRequest, |
43 | 42 | CreateContactPointRequest, |
|
64 | 63 | marshal_DeleteGrafanaUserRequest, |
65 | 64 | marshal_DisableManagedAlertsRequest, |
66 | 65 | marshal_EnableManagedAlertsRequest, |
67 | | - marshal_ResetCockpitGrafanaRequest, |
68 | 66 | marshal_ResetGrafanaUserPasswordRequest, |
69 | 67 | marshal_SelectPlanRequest, |
70 | 68 | marshal_TriggerTestAlertRequest, |
@@ -248,36 +246,6 @@ async def deactivate_cockpit( |
248 | 246 | self._throw_on_error(res) |
249 | 247 | return unmarshal_Cockpit(res.json()) |
250 | 248 |
|
251 | | - async def reset_cockpit_grafana( |
252 | | - self, |
253 | | - *, |
254 | | - project_id: Optional[str] = None, |
255 | | - ) -> Cockpit: |
256 | | - """ |
257 | | - Reset your Cockpit's Grafana associated with the specified Project ID. |
258 | | - :param project_id: ID of the Project the Cockpit belongs to. |
259 | | - :return: :class:`Cockpit <Cockpit>` |
260 | | -
|
261 | | - Usage: |
262 | | - :: |
263 | | -
|
264 | | - result = await api.reset_cockpit_grafana() |
265 | | - """ |
266 | | - |
267 | | - res = self._request( |
268 | | - "POST", |
269 | | - f"/cockpit/v1beta1/reset-grafana", |
270 | | - body=marshal_ResetCockpitGrafanaRequest( |
271 | | - ResetCockpitGrafanaRequest( |
272 | | - project_id=project_id, |
273 | | - ), |
274 | | - self.client, |
275 | | - ), |
276 | | - ) |
277 | | - |
278 | | - self._throw_on_error(res) |
279 | | - return unmarshal_Cockpit(res.json()) |
280 | | - |
281 | 249 | async def create_datasource( |
282 | 250 | self, |
283 | 251 | *, |
|
0 commit comments