Compartir a través de


TrafficManagerProfileResource.GetTrafficManagerEndpointAsync Método

Definición

Obtiene un punto de conexión de Traffic Manager.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
  • IdEndpoints_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource>> GetTrafficManagerEndpointAsync (string endpointType, string endpointName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTrafficManagerEndpointAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource>>
override this.GetTrafficManagerEndpointAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource>>
Public Overridable Function GetTrafficManagerEndpointAsync (endpointType As String, endpointName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TrafficManagerEndpointResource))

Parámetros

endpointType
String

Tipo del punto de conexión de Traffic Manager. Aquí solo se permiten AzureEndpoints, ExternalEndpoints y NestedEndpoints.

endpointName
String

Nombre del punto de conexión de Traffic Manager.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

endpointType o endpointName es una cadena vacía y se esperaba que no estuviera vacía.

endpointType o endpointName es null.

Se aplica a