def generate_vpn_profile(resource_group_name, gateway_name, parameters, custom_headers:nil)
      response = generate_vpn_profile_async(resource_group_name, gateway_name, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def generate_vpn_profile(resource_group_name, gateway_name, parameters, custom_headers:nil)
      response = generate_vpn_profile_async(resource_group_name, gateway_name, parameters, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Generates VPN profile for P2S client of the P2SVpnGateway in the specified
 resource group.

 @param resource_group_name [String] The name of the resource group.
 @param gateway_name [String] The name of the P2SVpnGateway.
 @param parameters [P2SVpnProfileParameters] Parameters supplied to the
 generate P2SVpnGateway VPN client package operation.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [VpnProfileResponse] operation results.