device.action.status.mw

Operation: GET /dataservice/device/action/status/mw

Get status of maintenance window for vManage upgrade flag

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.device.action.status.mw.get()

Operation: POST /dataservice/device/action/status/mw

Update maintenance window flag

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.device.action.status.mw.post()