cyphermed.api.devices.get_device_tunnel_by_id

def sync_detailed( device_id: str, tunnel_uuid: str, *, client: cyphermed.client.AuthenticatedClient) -> cyphermed.types.Response[cyphermed.models.tunnel_info.TunnelInfo]:

Get Device Tunnel By Id

Get a tunnel by ID for a device

Args: device_id (str): tunnel_uuid (str):

Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns: Response[TunnelInfo]

def sync( device_id: str, tunnel_uuid: str, *, client: cyphermed.client.AuthenticatedClient) -> Optional[cyphermed.models.tunnel_info.TunnelInfo]:

Get Device Tunnel By Id

Get a tunnel by ID for a device

Args: device_id (str): tunnel_uuid (str):

Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns: TunnelInfo

async def asyncio_detailed( device_id: str, tunnel_uuid: str, *, client: cyphermed.client.AuthenticatedClient) -> cyphermed.types.Response[cyphermed.models.tunnel_info.TunnelInfo]:

Get Device Tunnel By Id

Get a tunnel by ID for a device

Args: device_id (str): tunnel_uuid (str):

Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns: Response[TunnelInfo]

async def asyncio( device_id: str, tunnel_uuid: str, *, client: cyphermed.client.AuthenticatedClient) -> Optional[cyphermed.models.tunnel_info.TunnelInfo]:

Get Device Tunnel By Id

Get a tunnel by ID for a device

Args: device_id (str): tunnel_uuid (str):

Raises: errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. httpx.TimeoutException: If the request takes longer than Client.timeout.

Returns: TunnelInfo