Freigeben über


PublicIPAddressesOperationsExtensions.GetAsync Methode

Definition

Ruft die angegebene öffentliche IP-Adresse in einer angegebenen Ressourcengruppe ab.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.PublicIPAddress> GetAsync (this Microsoft.Azure.Management.Network.IPublicIPAddressesOperations operations, string resourceGroupName, string publicIpAddressName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Network.IPublicIPAddressesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.PublicIPAddress>
<Extension()>
Public Function GetAsync (operations As IPublicIPAddressesOperations, resourceGroupName As String, publicIpAddressName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PublicIPAddress)

Parameter

operations
IPublicIPAddressesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

publicIpAddressName
String

Der Name der öffentlichen IP-Adresse.

expand
String

Erweitert die referenzierten Ressourcen.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: