Share via


FrontendCollection.GetAsync(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>> GetAsync (string frontendName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.FrontendResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.FrontendResource>>
Public Overridable Function GetAsync (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 an empty string, and was expected to be non-empty.

frontendName is null.

Applies to