Add a device. Attach a device to a given Hub.
The request CreateDeviceRequest
A Promise of CreateDeviceResponse
Create a hub. Create a new Hub in the targeted region, specifying its configuration including name and product plan.
The request CreateHubRequest
A Promise of Hub
Create a new network. 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.
The request CreateNetworkRequest
A Promise of CreateNetworkResponse
Create a route. Multiple kinds of routes can be created, such as:
s3cmd setacl s3://<my-bucket> --acl-grant=write:555c69c3-87d0-4bf8-80f1-99a2f757d031:555c69c3-87d0-4bf8-80f1-99a2f757d031
).The request CreateRouteRequest
A Promise of Route
Remove a device. Remove a specific device from the specific Hub it is attached to.
The request DeleteDeviceRequest
Delete a hub. Delete an existing IoT Hub, specified by its Hub ID. Deleting a Hub is permanent, and cannot be undone.
The request DeleteHubRequest
Delete a Network. Delete an existing network, specified by its network ID. Deleting a network is permanent, and cannot be undone.
The request DeleteNetworkRequest
Delete a route. Delete an existing route, specified by its route ID. Deleting a route is permanent, and cannot be undone.
The request DeleteRouteRequest
BETA - Delete a Cloud Twin Document.
The request DeleteTwinDocumentRequest
BETA - Delete all the documents of a Cloud Twin.
The request DeleteTwinDocumentsRequest
Disable a device. Disable an existing device, specified by its device ID.
The request DisableDeviceRequest
A Promise of Device
Disable a hub. Disable an existing IoT Hub, specified by its Hub ID.
The request DisableHubRequest
A Promise of Hub
Enable a device. Enable a specific device, specified by its device ID.
The request EnableDeviceRequest
A Promise of Device
Enable a hub. Enable an existing IoT Hub, specified by its Hub ID.
The request EnableHubRequest
A Promise of Hub
Get a device. Retrieve information about an existing device, specified by its device ID. Its full details, including name, status and ID, are returned in the response object.
The request GetDeviceRequest
A Promise of Device
Get a device's certificate. Get information for a particular PEM-encoded certificate, specified by the device ID. The response returns full details of the device, including its type of certificate.
The request GetDeviceCertificateRequest
A Promise of GetDeviceCertificateResponse
Get a device's metrics. Get the metrics of an existing device, specified by its device ID.
The request GetDeviceMetricsRequest
A Promise of GetDeviceMetricsResponse
Get a hub. Retrieve information about an existing IoT Hub, specified by its Hub ID. Its full details, including name, status and endpoint, are returned in the response object.
The request GetHubRequest
A Promise of Hub
Get the certificate authority of a hub. Get information for a particular PEM-encoded certificate, specified by the Hub ID.
The request GetHubCARequest
A Promise of GetHubCAResponse
Get a hub's metrics. Get the metrics of an existing IoT Hub, specified by its Hub ID.
The request GetHubMetricsRequest
A Promise of GetHubMetricsResponse
Retrieve a specific network. 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.
The request GetNetworkRequest
A Promise of Network
Get a route. Get information for a particular route, specified by the route ID. The response returns full details of the route, including its type, the topic it subscribes to and its configuration.
The request GetRouteRequest
A Promise of Route
BETA - Get a Cloud Twin Document.
The request GetTwinDocumentRequest
A Promise of TwinDocument
List devices. List all devices in the specified region. By default,
returned devices are ordered by creation date in ascending order, though
this can be modified via the order_by
field.
The request ListDevicesRequest
A Promise of ListDevicesResponse
List hubs. List all Hubs in the specified zone. By default, returned Hubs
are ordered by creation date in ascending order, though this can be
modified via the order_by
field.
The request ListHubsRequest
A Promise of ListHubsResponse
List the networks.
The request ListNetworksRequest
A Promise of ListNetworksResponse
List routes. List all routes in the specified region. By default, returned
routes are ordered by creation date in ascending order, though this can be
modified via the order_by
field.
The request ListRoutesRequest
A Promise of ListRoutesResponse
BETA - List the documents of a Cloud Twin.
The request ListTwinDocumentsRequest
A Promise of ListTwinDocumentsResponse
BETA - Patch a Cloud Twin Document.
The request PatchTwinDocumentRequest
A Promise of TwinDocument
BETA - Update a Cloud Twin Document.
The request PutTwinDocumentRequest
A Promise of TwinDocument
Renew a device certificate. Renew the certificate of an existing device, specified by its device ID.
The request RenewDeviceCertificateRequest
A Promise of RenewDeviceCertificateResponse
Set a custom certificate on a device. Switch the existing certificate of a given device with an EM-encoded custom certificate.
The request SetDeviceCertificateRequest
A Promise of SetDeviceCertificateResponse
Set the certificate authority of a hub. Set a particular PEM-encoded certificate, specified by the Hub ID.
The request SetHubCARequest
A Promise of Hub
Update a device. Update the parameters of an existing device, specified by its device ID.
The request UpdateDeviceRequest
A Promise of Device
Update a hub. Update the parameters of an existing IoT Hub, specified by its Hub ID.
The request UpdateHubRequest
A Promise of Hub
Update a route. Update the parameters of an existing route, specified by its route ID.
The request UpdateRouteRequest
A Promise of Route
Waits for Hub to be in a final state.
The request GetHubRequest
Optional
options: Readonly<WaitForOptions<Hub>>The waiting options
A Promise of Hub
IoT Hub API.
This API allows you to manage your IoT hubs and devices.