Partilhar via


HealthMonitorStateChangeResource.GetAsync(String, CancellationToken) Método

Definição

Obtenha a alteração do estado de integridade de um monitor de uma máquina virtual no carimbo de data/hora fornecido. Parâmetro opcional: $expand (recuperar a evidência e a configuração do monitor).

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceCollectionName}/{resourceName}/providers/Microsoft.WorkloadMonitor/monitors/{monitorId}/history/{timestampUnix}
  • Operação IdHealthMonitors_GetStateChange
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WorkloadMonitor.HealthMonitorStateChangeResource>> GetAsync (string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WorkloadMonitor.HealthMonitorStateChangeResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.WorkloadMonitor.HealthMonitorStateChangeResource>>
Public Overridable Function GetAsync (Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HealthMonitorStateChangeResource))

Parâmetros

expand
String

Opcionalmente, expanda as evidências e/ou a configuração do monitor. Exemplo: $expand=evidence,configuration.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a