Freigeben über


FrontendIPConfigurationCollection.GetIfExistsAsync Methode

Definition

Versucht, Details für diese Ressource aus dem Dienst abzurufen.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}
  • Vorgang IdLoadBalancerFrontendIPConfigurations_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Network.FrontendIPConfigurationResource>> GetIfExistsAsync (string frontendIPConfigurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Network.FrontendIPConfigurationResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Network.FrontendIPConfigurationResource>>
Public Overridable Function GetIfExistsAsync (frontendIPConfigurationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of FrontendIPConfigurationResource))

Parameter

frontendIPConfigurationName
String

Der Name der Front-End-IP-Konfiguration.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

frontendIPConfigurationName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

frontendIPConfigurationName ist NULL.

Gilt für: