Share via


IotHubResourceOperationsExtensions.ListByResourceGroup Method

Definition

Get all the IoT hubs in a resource group

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.IotHub.Models.IotHubDescription> ListByResourceGroup (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName);
static member ListByResourceGroup : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.IotHub.Models.IotHubDescription>
<Extension()>
Public Function ListByResourceGroup (operations As IIotHubResourceOperations, resourceGroupName As String) As IPage(Of IotHubDescription)

Parameters

operations
IIotHubResourceOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the IoT hub.

Returns

Remarks

Get all the IoT hubs in a resource group.

Applies to