cluster_management.tenancy.mode

Operation: GET /dataservice/clusterManagement/tenancy/mode

Get vManage tenancy mode<br><br><br>Note: In a multitenant vManage system, this API is only available in the Provider view.

def get() -> 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.cluster_management.tenancy.mode.get()

Operation: POST /dataservice/clusterManagement/tenancy/mode

Update vManage tenancy mode

def post(payload: Any) -> None: ...

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.cluster_management.tenancy.mode.post()