Compartilhar via


HealthMonitorStateChangeResource.Get(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}
  • IdHealthMonitors_GetStateChange de operação
public virtual Azure.Response<Azure.ResourceManager.WorkloadMonitor.HealthMonitorStateChangeResource> Get (string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WorkloadMonitor.HealthMonitorStateChangeResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.WorkloadMonitor.HealthMonitorStateChangeResource>
Public Overridable Function Get (Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HealthMonitorStateChangeResource)

Parâmetros

expand
String

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a