Share via


HealthMonitorsOperationsExtensions.ListStateChangesNextAsync Method

Definition

Get the health state changes of a monitor of a virtual machine within the provided time window (default is the last 24 hours). Optional parameters: $expand (retrieve the monitor's evidence and configuration) and $filter (filter by heartbeat condition).

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WorkloadMonitor.Models.HealthMonitorStateChange>> ListStateChangesNextAsync (this Microsoft.Azure.Management.WorkloadMonitor.IHealthMonitorsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default);
static member ListStateChangesNextAsync : Microsoft.Azure.Management.WorkloadMonitor.IHealthMonitorsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WorkloadMonitor.Models.HealthMonitorStateChange>>
<Extension()>
Public Function ListStateChangesNextAsync (operations As IHealthMonitorsOperations, nextPageLink As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of HealthMonitorStateChange))

Parameters

operations
IHealthMonitorsOperations

The operations group for this extension method.

nextPageLink
String

The NextLink from the previous successful call to List operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to