IotHubDescriptionResource.GetEndpointHealth(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.Pageable<Azure.ResourceManager.IotHub.Models.IotHubEndpointHealthInfo> GetEndpointHealth (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEndpointHealth : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.IotHub.Models.IotHubEndpointHealthInfo>
override this.GetEndpointHealth : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.IotHub.Models.IotHubEndpointHealthInfo>
Public Overridable Function GetEndpointHealth (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of IotHubEndpointHealthInfo)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of IotHubEndpointHealthInfo that may take multiple service requests to iterate over.