Sdílet prostřednictvím


TrafficControllerResource.GetFrontend(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 Azure.Response<Azure.ResourceManager.ServiceNetworking.FrontendResource> GetFrontend (string frontendName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFrontend : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceNetworking.FrontendResource>
override this.GetFrontend : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceNetworking.FrontendResource>
Public Overridable Function GetFrontend (frontendName As String, Optional cancellationToken As CancellationToken = Nothing) As 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