Compartir a través de


HybridConnectivityExtensions.GetEndpointResourceAsync Método

Definición

Obtiene el punto de conexión al recurso.

  • Ruta de acceso de solicitud/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}
  • IdEndpoints_Get de operaciones
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

Instancia ArmClient en la que se ejecutará el método.

scope
ResourceIdentifier

Ámbito en el que se aplicará el recurso.

endpointName
String

El nombre del extremo.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

endpointName es null.

Se aplica a