Freigeben über


TrafficManagerProfileResource.GetTrafficManagerEndpointAsync Methode

Definition

Ruft einen Traffic Manager-Endpunkt ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
  • Vorgangs-IdEndpoints_Get
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))

Parameter

endpointType
String

Der Typ des Traffic Manager-Endpunkts. Hier sind nur AzureEndpoints, ExternalEndpoints und NestedEndpoints zulässig.

endpointName
String

Der Name des Traffic Manager-Endpunkts.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

endpointType oder endpointName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

endpointType oder endpointName ist NULL.

Gilt für: