次の方法で共有


GatewayOperationsExtensions.BeginSetSharedKeyV2Async メソッド

定義

Begin Set Virtual Network Gateway Shared Key V2 操作は、指定したサイトのゲートウェイと顧客 vpn の間で使用される共有キーを設定します。

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)

パラメーター

operations
IGatewayOperations

Microsoft.WindowsAzure.Management.Network.IGatewayOperations への参照。

gatewayId
String

必須。 このゲートウェイ ID の仮想ネットワーク。

connectedentityId
String

必須。 接続されたエンティティ ID。

parameters
GatewaySetSharedKeyParameters

必須。 Begin Virtual Network Gateway Set Shared Key V2 要求に指定されたパラメーター。

戻り値

HTTP 状態コードと要求 ID を含む標準のサービス応答。

適用対象