Dela via


TrafficControllerResource.GetFrontendAsync(String, CancellationToken) Method

Definition

Get a Frontend

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}
  • Operation Id: FrontendsInterface_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.FrontendResource>> GetFrontendAsync (string frontendName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFrontendAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.FrontendResource>>
override this.GetFrontendAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.FrontendResource>>
Public Overridable Function GetFrontendAsync (frontendName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FrontendResource))

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