Compartilhar via


ResourceHealthExtensions.GetAvailabilityStatusOfChildResource Método

Definição

Obtém status de disponibilidade atuais para um único recurso

  • Caminho da Solicitação/{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses/current
  • Operação IdChildAvailabilityStatuses_GetByResource
public static Azure.Response<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthAvailabilityStatus> GetAvailabilityStatusOfChildResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string filter = default, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAvailabilityStatusOfChildResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthAvailabilityStatus>
<Extension()>
Public Function GetAvailabilityStatusOfChildResource (client As ArmClient, scope As ResourceIdentifier, Optional filter As String = Nothing, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ResourceHealthAvailabilityStatus)

Parâmetros

client
ArmClient

A ArmClient instância em que o método será executado.

scope
ResourceIdentifier

O escopo no 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.

expand
String

Definir $expand=recommendedactions na consulta url expande as recomendações na resposta.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a