We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 655f1e6 + 1f8334a commit c9c4048Copy full SHA for c9c4048
hpecp/k8s_cluster.py
@@ -582,3 +582,27 @@ def import_generic_cluster(
582
data=data,
583
)
584
return response.json()
585
+
586
+ def import_generic_cluster_with_json(
587
+ self, json
588
+ ):
589
+ """Import a generic k8s cluster.
590
591
+ TODO
592
593
+ Returns
594
+ -------
595
596
597
+ Raises
598
+ ------
599
+ APIException
600
+ """
601
602
+ response = self.client._request(
603
+ url="/api/v2/k8scluster/import",
604
+ http_method="post",
605
+ description="K8sClusterController/import_generic_cluster",
606
+ data=json,
607
+ )
608
+ return response.json()
0 commit comments