Compartilhar via


HybridConnectivityExtensions.GetEndpointResourceAsync Método

Definição

Obtém o ponto de extremidade para o recurso.

  • Caminho da Solicitação/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}
  • Operação IdEndpoints_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridConnectivity.EndpointResource>> GetEndpointResourceAsync (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope, string endpointName, System.Threading.CancellationToken cancellationToken = default);
static member GetEndpointResourceAsync : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridConnectivity.EndpointResource>>
<Extension()>
Public Function GetEndpointResourceAsync (client As ArmClient, scope As ResourceIdentifier, endpointName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EndpointResource))

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.

endpointName
String

O nome do ponto de extremidade.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

endpointName é nulo.

Aplica-se a