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

VirtualNetworkGatewayConnectionsOperationsExtensions.SetSharedKey 方法

定义

放置 VirtualNetworkGatewayConnectionSharedKey 操作通过网络资源提供程序为指定资源组中传递的虚拟网络网关连接设置虚拟网络网关连接共享密钥。

public static Microsoft.Azure.Management.Network.Models.ConnectionSharedKey SetSharedKey (this Microsoft.Azure.Management.Network.IVirtualNetworkGatewayConnectionsOperations operations, string resourceGroupName, string virtualNetworkGatewayConnectionName, Microsoft.Azure.Management.Network.Models.ConnectionSharedKey parameters);
static member SetSharedKey : Microsoft.Azure.Management.Network.IVirtualNetworkGatewayConnectionsOperations * string * string * Microsoft.Azure.Management.Network.Models.ConnectionSharedKey -> Microsoft.Azure.Management.Network.Models.ConnectionSharedKey
<Extension()>
Public Function SetSharedKey (operations As IVirtualNetworkGatewayConnectionsOperations, resourceGroupName As String, virtualNetworkGatewayConnectionName As String, parameters As ConnectionSharedKey) As ConnectionSharedKey

参数

operations
IVirtualNetworkGatewayConnectionsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

virtualNetworkGatewayConnectionName
String

虚拟网络网关连接名称。

parameters
ConnectionSharedKey

通过网络资源提供程序提供给 Begin Set 虚拟网络 网关连接共享密钥操作的参数。

返回

适用于