|
100 | 100 |
|
101 | 101 | class IotV1API(API): |
102 | 102 | """ |
103 | | - IoT API. |
| 103 | + IoT Hub API. |
104 | 104 |
|
105 | 105 | This API allows you to manage IoT hubs and devices. |
106 | | - IoT API. |
| 106 | + IoT Hub API. |
107 | 107 | """ |
108 | 108 |
|
109 | 109 | async def list_hubs( |
@@ -493,6 +493,7 @@ async def get_hub_metrics( |
493 | 493 | ) -> GetHubMetricsResponse: |
494 | 494 | """ |
495 | 495 | Get a hub's metrics. |
| 496 | + Get the metrics of an existing IoT Hub, specified by its Hub ID. |
496 | 497 | :param region: Region to target. If none is passed will use default region from the config. |
497 | 498 | :param hub_id: Hub ID. |
498 | 499 | :param start_date: Start date used to compute the best scale for returned metrics. |
@@ -1061,6 +1062,7 @@ async def get_device_metrics( |
1061 | 1062 | ) -> GetDeviceMetricsResponse: |
1062 | 1063 | """ |
1063 | 1064 | Get a device's metrics. |
| 1065 | + Get the metrics of an existing device, specified by its device ID. |
1064 | 1066 | :param region: Region to target. If none is passed will use default region from the config. |
1065 | 1067 | :param device_id: Device ID. |
1066 | 1068 | :param start_date: Start date used to compute the best scale for the returned metrics. |
@@ -1385,7 +1387,7 @@ async def list_networks( |
1385 | 1387 | topic_prefix: Optional[str] = None, |
1386 | 1388 | ) -> ListNetworksResponse: |
1387 | 1389 | """ |
1388 | | - List the Networks. |
| 1390 | + List the networks. |
1389 | 1391 | :param region: Region to target. If none is passed will use default region from the config. |
1390 | 1392 | :param page: Page number to return, from the paginated results. |
1391 | 1393 | :param page_size: Number of networks to return. The maximum value is 100. |
@@ -1433,7 +1435,7 @@ async def list_networks_all( |
1433 | 1435 | topic_prefix: Optional[str] = None, |
1434 | 1436 | ) -> List[Network]: |
1435 | 1437 | """ |
1436 | | - List the Networks. |
| 1438 | + List the networks. |
1437 | 1439 | :param region: Region to target. If none is passed will use default region from the config. |
1438 | 1440 | :param page: Page number to return, from the paginated results. |
1439 | 1441 | :param page_size: Number of networks to return. The maximum value is 100. |
@@ -1474,7 +1476,8 @@ async def create_network( |
1474 | 1476 | type_: NetworkNetworkType = NetworkNetworkType.UNKNOWN, |
1475 | 1477 | ) -> CreateNetworkResponse: |
1476 | 1478 | """ |
1477 | | - Create a new Network. |
| 1479 | + Create a new network. |
| 1480 | + Create a new network for an existing hub. Beside the default network, you can add networks for different data providers. Possible network types are Sigfox and REST. |
1478 | 1481 | :param region: Region to target. If none is passed will use default region from the config. |
1479 | 1482 | :param name: Network name. |
1480 | 1483 | :param type_: Type of network to connect with. |
@@ -1520,7 +1523,8 @@ async def get_network( |
1520 | 1523 | region: Optional[Region] = None, |
1521 | 1524 | ) -> Network: |
1522 | 1525 | """ |
1523 | | - Retrieve a specific Network. |
| 1526 | + Retrieve a specific network. |
| 1527 | + Retrieve an existing network, specified by its network ID. The response returns full details of the network, including its type, the topic prefix and its endpoint. |
1524 | 1528 | :param region: Region to target. If none is passed will use default region from the config. |
1525 | 1529 | :param network_id: Network ID. |
1526 | 1530 | :return: :class:`Network <Network>` |
@@ -1552,6 +1556,7 @@ async def delete_network( |
1552 | 1556 | ) -> Optional[None]: |
1553 | 1557 | """ |
1554 | 1558 | Delete a Network. |
| 1559 | + Delete an existing network, specified by its network ID. Deleting a network is permanent, and cannot be undone. |
1555 | 1560 | :param region: Region to target. If none is passed will use default region from the config. |
1556 | 1561 | :param network_id: Network ID. |
1557 | 1562 |
|
|
0 commit comments