Partilhar via


ResourceHealthExtensions.GetHealthEventsOfSingleResource 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.Pageable<Azure.ResourceManager.ResourceHealth.ResourceHealthEventData> GetHealthEventsOfSingleResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetHealthEventsOfSingleResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ResourceHealth.ResourceHealthEventData>
<Extension()>
Public Function GetHealthEventsOfSingleResource (client As ArmClient, scope As ResourceIdentifier, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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