共用方式為


FrontendIPConfigurationCollection.GetAsync(String, CancellationToken) Method

Definition

Gets load balancer frontend IP configuration.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}
  • Operation Id: LoadBalancerFrontendIPConfigurations_Get
  • Default Api Version: 2024-03-01
  • Resource: FrontendIPConfigurationResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.FrontendIPConfigurationResource>> GetAsync (string frontendIPConfigurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.FrontendIPConfigurationResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.FrontendIPConfigurationResource>>
Public Overridable Function GetAsync (frontendIPConfigurationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FrontendIPConfigurationResource))

Parameters

frontendIPConfigurationName
String

The name of the frontend IP configuration.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

frontendIPConfigurationName is null.

Applies to