multicloud.map

Operation: GET /dataservice/multicloud/map

Get Mapping details for cloudType

def get(cloud_type: CloudTypeParam) -> List[GetMapResponse]: ...

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.map.get()

Operation: POST /dataservice/multicloud/map

Enable Mapping for cloudType

def post(payload: PostMapRequest) -> Taskid: ...

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.map.post()