INetworkPeerings.GetByRemoteNetworkAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetByRemoteNetworkAsync(INetwork, CancellationToken) |
Asynchronously finds the peering, if any, that is associated with the specified network. (Note that this makes a separate call to Azure.). |
GetByRemoteNetworkAsync(String, CancellationToken) |
Asynchronously finds the peering, if any, that is associated with the specified network. (Note that this makes a separate call to Azure.). |
GetByRemoteNetworkAsync(INetwork, CancellationToken)
Asynchronously finds the peering, if any, that is associated with the specified network. (Note that this makes a separate call to Azure.).
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.INetworkPeering> GetByRemoteNetworkAsync (Microsoft.Azure.Management.Network.Fluent.INetwork network, System.Threading.CancellationToken cancellationToken = default);
abstract member GetByRemoteNetworkAsync : Microsoft.Azure.Management.Network.Fluent.INetwork * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.INetworkPeering>
Public Function GetByRemoteNetworkAsync (network As INetwork, Optional cancellationToken As CancellationToken = Nothing) As Task(Of INetworkPeering)
Parameters
- network
- INetwork
An existing network.
- cancellationToken
- CancellationToken
Returns
Applies to
GetByRemoteNetworkAsync(String, CancellationToken)
Asynchronously finds the peering, if any, that is associated with the specified network. (Note that this makes a separate call to Azure.).
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.INetworkPeering> GetByRemoteNetworkAsync (string remoteNetworkResourceId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetByRemoteNetworkAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.INetworkPeering>
Public Function GetByRemoteNetworkAsync (remoteNetworkResourceId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of INetworkPeering)
Parameters
- remoteNetworkResourceId
- String
The resource ID of an existing network.
- cancellationToken
- CancellationToken
Returns
Applies to
Azure SDK for .NET