Compartir a través de


TrafficManagerProfileResource.GetTrafficManagerEndpoint 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 Azure.Response<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource> GetTrafficManagerEndpoint (string endpointType, string endpointName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTrafficManagerEndpoint : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource>
override this.GetTrafficManagerEndpoint : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.TrafficManager.TrafficManagerEndpointResource>
Public Overridable Function GetTrafficManagerEndpoint (endpointType As String, endpointName As String, Optional cancellationToken As CancellationToken = Nothing) As 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