multicloud.widget
Operation: GET /dataservice/multicloud/widget
Get All cloud widgets
def get_all_cloud_widgets() -> List[CloudWidget]: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.multicloud.widget.get_all_cloud_widgets()
Operation: GET /dataservice/multicloud/widget/{cloudType}
Get cloud widget by cloud type
def get_cloud_widget(cloud_type: str) -> CloudWidget: ...
Example:
from catalyswan.core import create_client
url = "example.com"
username = "admin"
password = "password123"
with create_client(
url=url, username=username, password=password
) as client:
client.multicloud.widget.get_cloud_widget()