EndpointsOperationsExtensions.GetAsync(IEndpointsOperations, String, String, String, String, CancellationToken) Method

Definition

Gets a Traffic Manager endpoint.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.TrafficManager.Fluent.Models.EndpointInner> GetAsync (this Microsoft.Azure.Management.TrafficManager.Fluent.IEndpointsOperations operations, string resourceGroupName, string profileName, string endpointType, string endpointName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.TrafficManager.Fluent.IEndpointsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.TrafficManager.Fluent.Models.EndpointInner>
<Extension()>
Public Function GetAsync (operations As IEndpointsOperations, resourceGroupName As String, profileName As String, endpointType As String, endpointName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EndpointInner)

Parameters

operations
IEndpointsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group containing the Traffic Manager endpoint.

profileName
System.String

The name of the Traffic Manager profile.

endpointType
System.String

The type of the Traffic Manager endpoint.

endpointName
System.String

The name of the Traffic Manager endpoint.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<EndpointInner>

Applies to