你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithRemoteNetwork.WithRemoteNetwork 方法

定义

重载

WithRemoteNetwork(INetwork)

指定要与之对等互连的远程网络。 远程网络将自动关联匹配的对等互连。

WithRemoteNetwork(String)

指定要与之对等互连的远程网络。 远程网络将自动关联匹配的对等互连。

WithRemoteNetwork(INetwork)

指定要与之对等互连的远程网络。 远程网络将自动关联匹配的对等互连。

public Microsoft.Azure.Management.Network.Fluent.NetworkPeering.Definition.IWithCreate WithRemoteNetwork (Microsoft.Azure.Management.Network.Fluent.INetwork network);
abstract member WithRemoteNetwork : Microsoft.Azure.Management.Network.Fluent.INetwork -> Microsoft.Azure.Management.Network.Fluent.NetworkPeering.Definition.IWithCreate
Public Function WithRemoteNetwork (network As INetwork) As IWithCreate

参数

network
INetwork

现有网络。

返回

适用于

WithRemoteNetwork(String)

指定要与之对等互连的远程网络。 远程网络将自动关联匹配的对等互连。

public Microsoft.Azure.Management.Network.Fluent.NetworkPeering.Definition.IWithCreate WithRemoteNetwork (string resourceId);
abstract member WithRemoteNetwork : string -> Microsoft.Azure.Management.Network.Fluent.NetworkPeering.Definition.IWithCreate
Public Function WithRemoteNetwork (resourceId As String) As IWithCreate

参数

resourceId
String

现有网络的资源 ID。

返回

适用于