共用方式為


GatewayOperationsExtensions.BeginSetSharedKeyV2 Method

Definition

The Begin Set Virtual Network Gateway Shared Key V2 operation sets the shared key used between the gateway and customer vpn for the specified site.

public static Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse BeginSetSharedKeyV2 (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string gatewayId, string connectedentityId, Microsoft.WindowsAzure.Management.Network.Models.GatewaySetSharedKeyParameters parameters);
static member BeginSetSharedKeyV2 : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * string * Microsoft.WindowsAzure.Management.Network.Models.GatewaySetSharedKeyParameters -> Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse
<Extension()>
Public Function BeginSetSharedKeyV2 (operations As IGatewayOperations, gatewayId As String, connectedentityId As String, parameters As GatewaySetSharedKeyParameters) As GatewayOperationResponse

Parameters

operations
IGatewayOperations

Reference to the Microsoft.WindowsAzure.Management.Network.IGatewayOperations.

gatewayId
String

Required. The virtual network for this gateway Id.

connectedentityId
String

Required. The connected entity Id.

parameters
GatewaySetSharedKeyParameters

Required. Parameters supplied to the Begin Virtual Network Gateway Set Shared Key V2 request.

Returns

A standard service response including an HTTP status code and request ID.

Applies to