template.cor.map

Operation: GET /dataservice/template/cor/map

Deprecated!!!

Get mapped VPC/VNet list

def get_mapped_vp_cs(accountid: str, cloudregion: str) -> Any: ...

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.template.cor.map.get_mapped_vp_cs()

Operation: POST /dataservice/template/cor/map

Deprecated!!!

Map host to transit VPC/VNet

def map_vp_cs(payload: Optional[Any] = None) -> Any: ...

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.template.cor.map.map_vp_cs()

Operation: DELETE /dataservice/template/cor/map

Deprecated!!!

Unmap host from transit VPC/VNet

def unmap_vp_cs(payload: Optional[Any] = None) -> Any: ...

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.template.cor.map.unmap_vp_cs()