TrafficControllerResource.GetTrafficControllerFrontendAsync Method

Definition

Get a Frontend.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.TrafficControllerFrontendResource>> GetTrafficControllerFrontendAsync(string frontendName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTrafficControllerFrontendAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.TrafficControllerFrontendResource>>
override this.GetTrafficControllerFrontendAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.TrafficControllerFrontendResource>>
Public Overridable Function GetTrafficControllerFrontendAsync (frontendName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TrafficControllerFrontendResource))

Parameters

frontendName
String

Frontends.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

frontendName is null.

frontendName is an empty string, and was expected to be non-empty.

Applies to