INetworkPeerings.GetByRemoteNetworkAsync Method

Definition

Overloads

GetByRemoteNetworkAsync(INetwork, CancellationToken)
GetByRemoteNetworkAsync(String, CancellationToken)

GetByRemoteNetworkAsync(INetwork, CancellationToken)

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.INetworkPeering> GetByRemoteNetworkAsync (Microsoft.Azure.Management.Network.Fluent.INetwork network, System.Threading.CancellationToken cancellationToken = null);
abstract member GetByRemoteNetworkAsync : Microsoft.Azure.Management.Network.Fluent.INetwork * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.INetworkPeering>

Parameters

network
INetwork
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<INetworkPeering>

Applies to

GetByRemoteNetworkAsync(String, CancellationToken)

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.INetworkPeering> GetByRemoteNetworkAsync (string remoteNetworkResourceId, System.Threading.CancellationToken cancellationToken = null);
abstract member GetByRemoteNetworkAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.INetworkPeering>

Parameters

remoteNetworkResourceId
System.String
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<INetworkPeering>

Applies to