共用方式為


IotHubResourceOperationsExtensions.GetEndpointHealthAsync Method

Definition

Get the health for routing endpoints

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.IotHub.Models.EndpointHealthData>> GetEndpointHealthAsync (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string iotHubName, System.Threading.CancellationToken cancellationToken = default);
static member GetEndpointHealthAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.IotHub.Models.EndpointHealthData>>
<Extension()>
Public Function GetEndpointHealthAsync (operations As IIotHubResourceOperations, resourceGroupName As String, iotHubName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of EndpointHealthData))

Parameters

operations
IIotHubResourceOperations

The operations group for this extension method.

resourceGroupName
String
iotHubName
String
cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get the health for routing endpoints.

Applies to