Partilhar via


ResourceHealthExtensions.GetAvailabilityStatusOfChildResourceAsync 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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthAvailabilityStatus>> GetAvailabilityStatusOfChildResourceAsync (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string filter = default, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAvailabilityStatusOfChildResourceAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthAvailabilityStatus>>
<Extension()>
Public Function GetAvailabilityStatusOfChildResourceAsync (client As ArmClient, scope As ResourceIdentifier, Optional filter As String = Nothing, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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