Create a IotHubResource.
Reference to the service client.
Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub metadata and security metadata, and then combine them with the modified values in a new body to update the IoT hub.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The IoT hub metadata and security metadata.
Promise<msRestAzure.LROPoller>
Delete an IoT hub.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
Promise<msRestAzure.LROPoller>
Update an existing IoT Hub tags. to update other fields use the CreateOrUpdate method
Resource group identifier.
Name of iot hub to update.
Promise<msRestAzure.LROPoller>
Check if an IoT hub name is available.
The name of the IoT hub to check.
Promise<Models.IotHubResourceCheckNameAvailabilityResponse>
The name of the IoT hub to check.
The callback
The name of the IoT hub to check.
The optional parameters
The callback
Add a consumer group to an Event Hub-compatible endpoint in an IoT hub.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The name of the Event Hub-compatible endpoint in the IoT hub.
The name of the consumer group to add.
Promise<Models.IotHubResourceCreateEventHubConsumerGroupResponse>
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The name of the Event Hub-compatible endpoint in the IoT hub.
The name of the consumer group to add.
The callback
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The name of the Event Hub-compatible endpoint in the IoT hub.
The name of the consumer group to add.
The optional parameters
The callback
Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub metadata and security metadata, and then combine them with the modified values in a new body to update the IoT hub.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The IoT hub metadata and security metadata.
Promise<Models.IotHubResourceCreateOrUpdateResponse>
Delete a consumer group from an Event Hub-compatible endpoint in an IoT hub.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The name of the Event Hub-compatible endpoint in the IoT hub.
The name of the consumer group to delete.
Promise<msRest.RestResponse>
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The name of the Event Hub-compatible endpoint in the IoT hub.
The name of the consumer group to delete.
The callback
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The name of the Event Hub-compatible endpoint in the IoT hub.
The name of the consumer group to delete.
The optional parameters
The callback
Delete an IoT hub.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
Promise<Models.IotHubResourceDeleteMethodResponse>
Exports all the device identities in the IoT hub identity registry to an Azure Storage blob container. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The parameters that specify the export devices operation.
Promise<Models.IotHubResourceExportDevicesResponse>
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The parameters that specify the export devices operation.
The callback
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The parameters that specify the export devices operation.
The optional parameters
The callback
Get the non-security related metadata of an IoT hub.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
Promise<Models.IotHubResourceGetResponse>
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The callback
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The optional parameters
The callback
Get the health for routing endpoints.
Promise<Models.IotHubResourceGetEndpointHealthResponse>
The callback
The optional parameters
The callback
Get the health for routing endpoints.
The NextLink from the previous successful call to List operation.
Promise<Models.IotHubResourceGetEndpointHealthNextResponse>
The NextLink from the previous successful call to List operation.
The callback
The NextLink from the previous successful call to List operation.
The optional parameters
The callback
Get a consumer group from the Event Hub-compatible device-to-cloud endpoint for an IoT hub.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The name of the Event Hub-compatible endpoint in the IoT hub.
The name of the consumer group to retrieve.
Promise<Models.IotHubResourceGetEventHubConsumerGroupResponse>
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The name of the Event Hub-compatible endpoint in the IoT hub.
The name of the consumer group to retrieve.
The callback
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The name of the Event Hub-compatible endpoint in the IoT hub.
The name of the consumer group to retrieve.
The optional parameters
The callback
Get the details of a job from an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The job identifier.
Promise<Models.IotHubResourceGetJobResponse>
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The job identifier.
The callback
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The job identifier.
The optional parameters
The callback
Get a shared access policy by name from an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The name of the shared access policy.
Promise<Models.IotHubResourceGetKeysForKeyNameResponse>
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The name of the shared access policy.
The callback
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The name of the shared access policy.
The optional parameters
The callback
Get the quota metrics for an IoT hub.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
Promise<Models.IotHubResourceGetQuotaMetricsResponse>
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The callback
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The optional parameters
The callback
Get the quota metrics for an IoT hub.
The NextLink from the previous successful call to List operation.
Promise<Models.IotHubResourceGetQuotaMetricsNextResponse>
The NextLink from the previous successful call to List operation.
The callback
The NextLink from the previous successful call to List operation.
The optional parameters
The callback
Get the statistics from an IoT hub.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
Promise<Models.IotHubResourceGetStatsResponse>
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The callback
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The optional parameters
The callback
Get the list of valid SKUs for an IoT hub.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
Promise<Models.IotHubResourceGetValidSkusResponse>
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The callback
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The optional parameters
The callback
Get the list of valid SKUs for an IoT hub.
The NextLink from the previous successful call to List operation.
Promise<Models.IotHubResourceGetValidSkusNextResponse>
The NextLink from the previous successful call to List operation.
The callback
The NextLink from the previous successful call to List operation.
The optional parameters
The callback
Import, update, or delete device identities in the IoT hub identity registry from a blob. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The parameters that specify the import devices operation.
Promise<Models.IotHubResourceImportDevicesResponse>
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The parameters that specify the import devices operation.
The callback
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The parameters that specify the import devices operation.
The optional parameters
The callback
Get all the IoT hubs in a resource group.
The name of the resource group that contains the IoT hub.
Promise<Models.IotHubResourceListByResourceGroupResponse>
The name of the resource group that contains the IoT hub.
The callback
The name of the resource group that contains the IoT hub.
The optional parameters
The callback
Get all the IoT hubs in a resource group.
The NextLink from the previous successful call to List operation.
Promise<Models.IotHubResourceListByResourceGroupNextResponse>
The NextLink from the previous successful call to List operation.
The callback
The NextLink from the previous successful call to List operation.
The optional parameters
The callback
Get all the IoT hubs in a subscription.
Promise<Models.IotHubResourceListBySubscriptionResponse>
The callback
The optional parameters
The callback
Get all the IoT hubs in a subscription.
The NextLink from the previous successful call to List operation.
Promise<Models.IotHubResourceListBySubscriptionNextResponse>
The NextLink from the previous successful call to List operation.
The callback
The NextLink from the previous successful call to List operation.
The optional parameters
The callback
Get a list of the consumer groups in the Event Hub-compatible device-to-cloud endpoint in an IoT hub.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The name of the Event Hub-compatible endpoint.
Promise<Models.IotHubResourceListEventHubConsumerGroupsResponse>
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The name of the Event Hub-compatible endpoint.
The callback
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The name of the Event Hub-compatible endpoint.
The optional parameters
The callback
Get a list of the consumer groups in the Event Hub-compatible device-to-cloud endpoint in an IoT hub.
The NextLink from the previous successful call to List operation.
Promise<Models.IotHubResourceListEventHubConsumerGroupsNextResponse>
The NextLink from the previous successful call to List operation.
The callback
The NextLink from the previous successful call to List operation.
The optional parameters
The callback
Get a list of all the jobs in an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
Promise<Models.IotHubResourceListJobsResponse>
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The callback
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The optional parameters
The callback
Get a list of all the jobs in an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry.
The NextLink from the previous successful call to List operation.
Promise<Models.IotHubResourceListJobsNextResponse>
The NextLink from the previous successful call to List operation.
The callback
The NextLink from the previous successful call to List operation.
The optional parameters
The callback
Get the security metadata for an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
Promise<Models.IotHubResourceListKeysResponse>
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The callback
The name of the resource group that contains the IoT hub.
The name of the IoT hub.
The optional parameters
The callback
Get the security metadata for an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.
The NextLink from the previous successful call to List operation.
Promise<Models.IotHubResourceListKeysNextResponse>
The NextLink from the previous successful call to List operation.
The callback
The NextLink from the previous successful call to List operation.
The optional parameters
The callback
Test all routes configured in this Iot Hub
Input for testing all routes
IotHub to be tested
resource group which Iot Hub belongs to
Promise<Models.IotHubResourceTestAllRoutesResponse>
Input for testing all routes
IotHub to be tested
resource group which Iot Hub belongs to
The callback
Input for testing all routes
IotHub to be tested
resource group which Iot Hub belongs to
The optional parameters
The callback
Test the new route for this Iot Hub
Route that needs to be tested
IotHub to be tested
resource group which Iot Hub belongs to
Promise<Models.IotHubResourceTestRouteResponse>
Route that needs to be tested
IotHub to be tested
resource group which Iot Hub belongs to
The callback
Route that needs to be tested
IotHub to be tested
resource group which Iot Hub belongs to
The optional parameters
The callback
Update an existing IoT Hub tags. to update other fields use the CreateOrUpdate method
Resource group identifier.
Name of iot hub to update.
Promise<Models.IotHubResourceUpdateResponse>
Generated using TypeDoc
Class representing a IotHubResource.