共用方式為


GatewayOperationsExtensions.BeginSetSharedKeyV2Async 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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse> BeginSetSharedKeyV2Async (this Microsoft.WindowsAzure.Management.Network.IGatewayOperations operations, string gatewayId, string connectedentityId, Microsoft.WindowsAzure.Management.Network.Models.GatewaySetSharedKeyParameters parameters);
static member BeginSetSharedKeyV2Async : Microsoft.WindowsAzure.Management.Network.IGatewayOperations * string * string * Microsoft.WindowsAzure.Management.Network.Models.GatewaySetSharedKeyParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse>
<Extension()>
Public Function BeginSetSharedKeyV2Async (operations As IGatewayOperations, gatewayId As String, connectedentityId As String, parameters As GatewaySetSharedKeyParameters) As Task(Of 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