Partilhar via


ResourceHealthExtensions.GetHealthEventsOfSingleResourceAsync Método

Definição

Lista os eventos de integridade do serviço atuais para determinado recurso.

  • Caminho da Solicitação/{resourceUri}/providers/Microsoft.ResourceHealth/events
  • IdEvents_ListBySingleResource de operação
public static Azure.AsyncPageable<Azure.ResourceManager.ResourceHealth.ResourceHealthEventData> GetHealthEventsOfSingleResourceAsync (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetHealthEventsOfSingleResourceAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ResourceHealth.ResourceHealthEventData>
<Extension()>
Public Function GetHealthEventsOfSingleResourceAsync (client As ArmClient, scope As ResourceIdentifier, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ResourceHealthEventData)

Parâmetros

client
ArmClient

A ArmClient instância na qual o método será executado.

scope
ResourceIdentifier

O escopo ao qual o recurso será aplicado.

filter
String

O filtro a ser aplicado na operação. Para obter mais informações, consulte https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a