Freigeben über


VirtualNetworkPeeringsOperationsExtensions.GetAsync Methode

Definition

Ruft das angegebene peering für virtuelle Netzwerke ab.

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

Parameter

operations
IVirtualNetworkPeeringsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

virtualNetworkName
String

Den Namen des virtuellen Netzwerks.

virtualNetworkPeeringName
String

Der Name des Peerings virtueller Netzwerke.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: