Share via


IotHubDescriptionResource.GetEndpointHealthAsync(CancellationToken) Method

Definition

Get the health for routing endpoints.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{iotHubName}/routingEndpointsHealth
  • Operation Id: IotHubResource_GetEndpointHealth
  • Default Api Version: 2023-06-30
  • Resource: IotHubDescriptionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.IotHub.Models.IotHubEndpointHealthInfo> GetEndpointHealthAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEndpointHealthAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.IotHub.Models.IotHubEndpointHealthInfo>
override this.GetEndpointHealthAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.IotHub.Models.IotHubEndpointHealthInfo>
Public Overridable Function GetEndpointHealthAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of IotHubEndpointHealthInfo)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of IotHubEndpointHealthInfo that may take multiple service requests to iterate over.

Applies to