IGatewayOperations.BeginSetSharedKeyV2Async 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 V2 operation sets the shared key used between the gateway and customer vpn for the specified site.
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse> BeginSetSharedKeyV2Async (string gatewayId, string connectedentityId, Microsoft.WindowsAzure.Management.Network.Models.GatewaySetSharedKeyParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member BeginSetSharedKeyV2Async : string * string * Microsoft.WindowsAzure.Management.Network.Models.GatewaySetSharedKeyParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.GatewayOperationResponse>
Public Function BeginSetSharedKeyV2Async (gatewayId As String, connectedentityId As String, parameters As GatewaySetSharedKeyParameters, cancellationToken As CancellationToken) As Task(Of GatewayOperationResponse)
Parameters
- gatewayId
- String
The virtual network for this gateway Id.
- connectedentityId
- String
The connected entity Id.
- parameters
- GatewaySetSharedKeyParameters
Parameters supplied to the Begin Virtual Network Gateway Set Shared Key V2 request.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
A standard service response including an HTTP status code and request ID.