statistics.on_demand.queue

Operation: GET /dataservice/statistics/on-demand/queue

gets current on-demand queue entries

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.statistics.on_demand.queue.get()

Operation: POST /dataservice/statistics/on-demand/queue

Create on-demand troubleshooting queue entry

def post(payload: Any) -> 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.statistics.on_demand.queue.post()

Operation: PUT /dataservice/statistics/on-demand/queue/{entryId}

Updates on-demand troubleshooting queue entry

def put(entry_id: str, payload: Any) -> 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.statistics.on_demand.queue.put()

Operation: DELETE /dataservice/statistics/on-demand/queue/{entryId}

removes on-demand queue entry

def delete(entry_id: str) -> 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.statistics.on_demand.queue.delete()