IotHubDescriptionResource.GetEndpointHealthAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.