IGatewayOperations.BeginSetSharedKeyAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Begin Set Virtual Network Gateway Shared Key operation sets the shared key on the virtual network gateway for the specified virtual network connection to the specified local network in Azure. (see http://msdn.microsoft.com/en-us/library/windowsazure/jj154114.aspx for more information)
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)
Parameters
- networkName
- String
The name of the virtual network for this gateway.
- localNetworkName
- String
The name of the local network.
- parameters
- GatewaySetSharedKeyParameters
Parameters supplied to the Begin Virtual Network Gateway Set Shared Key request.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
A standard service response including an HTTP status code and request ID.