/// <summary>
 /// The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual
 /// network gateway connection shared key for passed virtual network gateway
 /// connection in the specified resource group through Network resource
 /// provider.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='virtualNetworkGatewayConnectionName'>
 /// The virtual network gateway connection name.
 /// </param>
 /// <param name='parameters'>
 /// Parameters supplied to the Begin Set Virtual Network Gateway connection
 /// Shared key operation throughNetwork resource provider.
 /// </param>
 public static ConnectionSharedKey BeginSetSharedKey(this IVirtualNetworkGatewayConnectionsOperations operations, string resourceGroupName, string virtualNetworkGatewayConnectionName, ConnectionSharedKey parameters)
 {
     return(operations.BeginSetSharedKeyAsync(resourceGroupName, virtualNetworkGatewayConnectionName, parameters).GetAwaiter().GetResult());
 }