次の方法で共有


IGatewayOperations.BeginSetSharedKeyAsync メソッド

定義

Begin Set Virtual Network Gateway Shared Key 操作は、指定した仮想ネットワーク接続の仮想ネットワーク ゲートウェイ上の共有キーを Azure 内の指定されたローカル ネットワークに設定します。 (詳細については、 を参照 http://msdn.microsoft.com/en-us/library/windowsazure/jj154114.aspx してください)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse> BeginSetSharedKeyAsync (string networkName, string localNetworkName, Microsoft.WindowsAzure.Management.Network.Models.GatewaySetSharedKeyParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member BeginSetSharedKeyAsync : string * string * Microsoft.WindowsAzure.Management.Network.Models.GatewaySetSharedKeyParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse>
Public Function BeginSetSharedKeyAsync (networkName As String, localNetworkName As String, parameters As GatewaySetSharedKeyParameters, cancellationToken As CancellationToken) As Task(Of GatewayOperationResponse)

パラメーター

networkName
String

このゲートウェイの仮想ネットワークの名前。

localNetworkName
String

ローカル ネットワークの名前。

parameters
GatewaySetSharedKeyParameters

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

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

適用対象