Compartilhar via


VirtualNetworkPeeringsOperationsExtensions.GetAsync Método

Definição

Obtém o emparelhamento de rede virtual especificado.

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)

Parâmetros

operations
IVirtualNetworkPeeringsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

virtualNetworkName
String

O nome da rede virtual.

virtualNetworkPeeringName
String

O nome do emparelhamento de rede virtual.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a